ame1011 Posted August 19, 2006 Posted August 19, 2006 (edited) Hey there, just wanted to get a few things cleared up for the program I'm making... --PROBLEM 1 FIXED--- (used wrong function) Additionally, I was wondering whether its possible to call a function with parameters with a hotkey. ie: HotKeySet("testfunc(param1, param2)", "^a") thanks in advance for any help you can give me. Edited August 19, 2006 by ame1011 [font="Impact"] I always thought dogs laid eggs, and I learned something today. [/font]
CoePSX Posted August 19, 2006 Posted August 19, 2006 You can't call a function from HotKeySet with parameters. I would advice you to create a second function to call that one with the right parameters, like: HotKeySet("^a", "CallTestfunc") Func CallTestFunc() testfunc(param1, param2) EndFunc Func testfunc(param1, param2) ;Do something here EndFunc [quote name='Valik' post='301213' date='Jan 31 2007, 10:36 PM']You seem to have a habit of putting things in the wrong place. I feel sorry for any female you attempt to have sex with.[/quote][font="Lucida Sans Unicode"]╔══════════════════════════════╗║░░██░░░░░░░░██░░███░░░████░░░█║║░█░░█░░██░░█░░█░█░░█░█░░░░█░█░║║░█░░░░█░░█░████░███░░░██░░░█░░║║░█░░█░█░░█░█░░░░█░░░░░░░█░█░█░║║░░██░░░██░░░██░░█░░░░███░█░░░█║╚══════════════════════════════╝[/font]
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