Basic Functions & Procedures as Actions

Post comments and suggestions for RoboTask here
Post Reply
ahunkins
Posts: 24
Joined: Wed Dec 15, 2004 7:37 am

Basic Functions & Procedures as Actions

Post by ahunkins »

It would be cool to have two new actions: one to call a Windows function (return a value) and one to make a Windows call to a procudure. 
This is like the Declare Function in the Basic plug-in.  It would be a way to make custom system variables.
For example, you could get the handle to the foremost window and assign it to a varriable.  You would type "GetForegroundWindow" into a field for the action, type in the library "user32", and finally type in the RoboTask variable name to place the result of the function call.
It would be difficult to accomodate the different types of parameter types in the functions and procedures.  And it would be difficult to validate the call.
...but cool nonetheless.  You'd have custom system variables without the overhead of initiating the Basic Plug In.
Thanks!
Post Reply