Greydrako Posted February 25, 2008 Share Posted February 25, 2008 (edited) Hi Guys. This is my fist post here... Im starting in editing/create AutoIt scrips. So, my doubt is this. I need to set a HotKeySet to a function. But this funciton have a parameter variable tha mus be sent. Heres is the code func Main () HotKeySet ("{F5}", CountMembers(2) ) endfunc func CountMembers($member) MsgBox(4096,"", "Members: "& $member) endfunc But Im getting a Error.... How can I solve this? Thanks for any help =] Edited February 25, 2008 by Greydrako Link to comment Share on other sites More sharing options...
weaponx Posted February 25, 2008 Share Posted February 25, 2008 (edited) Hotkeyset requires a string for the function name and cannot pass parameters. Edited February 25, 2008 by weaponx Link to comment Share on other sites More sharing options...
Greydrako Posted February 25, 2008 Author Share Posted February 25, 2008 Hotkeyset requires a string for the function name and cannot pass parameters.=/ Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now