Jump to content
Sign in to follow this  
dazza

Calling an autoIT function via a string

Recommended Posts

dazza

Assume I have a list of functions called:

  • fn1
  • fn2
  • fn3
  • fn4

Is there any way I can call them like this:

call_func("fn1") or

call_func("fn2") etc.

Is this an API thing?

:P

Share this post


Link to post
Share on other sites
Innovative

Call ( "function" [, param1 [, param2 [, paramN ]]] )

Share this post


Link to post
Share on other sites
BrettF
dazza

Call ( "function" [, param1 [, param2 [, paramN ]]] )

That was easy - thicky me. Many thanks.

Share this post


Link to post
Share on other sites
BrettF

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
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.