Sign in to follow this  
Followers 0
dazza

Calling an autoIT function via a string

5 posts in this topic

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



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

Share this post


Link to post
Share on other sites

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

That was easy - thicky me. Many thanks.

Share this post


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