Jump to content

Recommended Posts

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.


HotKeySet("testfunc(param1, param2)", "^a")

thanks in advance for any help you can give me.

Edited by ame1011
[font="Impact"] I always thought dogs laid eggs, and I learned something today. [/font]
Link to post
Share on other sites

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)

Func testfunc(param1, param2)
  ;Do something here

[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]

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...