Jump to content

Recommended Posts

Posted

Hard to explain but i hope u get the ideea ...

$code = InputBox("Code","Input execution code")

And i input something like ... let's say

Send("This?")

. Now how do i make the program to run this function ? It can be done?
  • Moderators
Posted

Call()

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

For user-defined functions use Call, as mentioned by Smoke, but if you want to

call a built-in function then you have to use Execute instead. Notice the limitations

as described under "Remarks".

$code = InputBox("Code", "Input your code here..", "Beep()")
If @error Then Exit

Execute($code)
  • Moderators
Posted

Thought it was Execute?

I was thinking of UDFs as helge mentioned, and the ability to maybe pass a parameter with a function to call a function to do a thing in a function to return a result from a function ;)

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Posted

I was thinking of UDFs as helge mentioned, and the ability to maybe pass a parameter with a function to call a function to do a thing in a function to return a result from a function ;)

:lmao: My brain hurts after reading that!! :evil:

2015 - Still no flying cars, instead blankets with sleeves.

Posted

Environment, Files, Dir, Disk, GUI, InputBox, MsgBox, Misc, Network, Obj/COM, Process, Registry, Tray, WinKill functions implying deletion or modification will not be executed.

BUT if i use InputBox it actualy execute them, but if i read the commands from a file it doesn't :|

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
×
×
  • Create New...