Xand3r Posted April 17, 2007 Posted April 17, 2007 is it possible in autoit to create custom macros????? cause i cant find anything in the help file and neither in the forum ( (it must be possible but i just don't know how ) pls pls pls help me ooh yeah and if it is possible then how? Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro
BrettF Posted April 17, 2007 Posted April 17, 2007 is it possible in autoit to create custom macros?????cause i cant find anything in the help file and neither in the forum ( (it must be possible but i just don't know how )pls pls pls help me ooh yeah and if it is possible then how? I think what you're looking for is Au3Recorder, included in Scite. Look under tools. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Xand3r Posted April 17, 2007 Author Posted April 17, 2007 (edited) no man macros like @WindowsDir or @crlf or @scriptname or... only custom ones Edited April 17, 2007 by alexmadman Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro
BrettF Posted April 17, 2007 Posted April 17, 2007 no man macros like @WindowsDir or @crlf or @scriptname or... only custom ones Ahhh! Ok :"> I don't think so, but I'll do a quick search Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
BrettF Posted April 17, 2007 Posted April 17, 2007 Ahhh! Ok :"> I don't think so, but I'll do a quick search From what I can see it's not. Could someone high up give some insight into this? Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
Xand3r Posted April 17, 2007 Author Posted April 17, 2007 nobody know anything about this??? (Ahhh! Ok I don't think so, but I'll do a quick searchalready tried that Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro
amokoura Posted April 17, 2007 Posted April 17, 2007 is it possible in autoit to create custom macros?????Why not use global constants?
PsaltyDS Posted April 17, 2007 Posted April 17, 2007 Why not use global constants? Macros are not the same as constants because they can give changing results, like @SEC. The equivalent is simply a user defined function that accepts no parameters. Let's say you were wishing for a macro that returned the current username and computer name, formatted as an email address. You want @USREMAIL, but it doesn't exist so instead you create a UDF called USREMAIL: $Message = USREMAIL() MsgBox(64, "User Email", $Message) Func USREMAIL() Return @UserName & "@" & @ComputerName EndFunc Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Xand3r Posted April 19, 2007 Author Posted April 19, 2007 tnx Psaltyds Only two things are infinite, the universe and human stupidity, and i'm not sure about the former -Alber EinsteinPractice makes perfect! but nobody's perfect so why practice at all?http://forum.ambrozie.ro
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