Dizzydbd Posted November 26, 2006 Posted November 26, 2006 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 SmOke_N Posted November 26, 2006 Moderators Posted November 26, 2006 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.
Helge Posted November 26, 2006 Posted November 26, 2006 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)
GaryFrost Posted November 26, 2006 Posted November 26, 2006 (edited) Call()Thought it was Execute?Edit: Too late, Helge beat me to it. Edited November 26, 2006 by Lobishomen SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Moderators SmOke_N Posted November 26, 2006 Moderators Posted November 26, 2006 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.
Lakes Posted November 27, 2006 Posted November 27, 2006 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 My brain hurts after reading that!! 2015 - Still no flying cars, instead blankets with sleeves.
Dizzydbd Posted November 28, 2006 Author Posted November 28, 2006 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 :|
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now