Jump to content

Hotkeyset: Can I Pass A Parameter To The Function?


Recommended Posts

My current code is this...

HotKeySet ("!^t","WriteTrigger") ;call the WriteTrigger fuction when Ctrl-Alt-T is pressed

I wish I could do this...

HotKeySet ("!^t","WriteTrigger("TriggerA")") ;call the WriteTrigger fuction with "TriggerA" parameter when Ctrl-Alt-T is pressed

I tried using double quotes and stuff such as...

HotKeySet ("!^t","WriteTrigger(""TriggerA"")")

but it doesn't like that either. I am I having a brain problem, or is this not supported?

Thanks in advance.

T

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...