Jump to content

Recommended Posts

Posted

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 :P

ooh yeah and if it is possible then how? :shocked:

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

Posted

is it possible in autoit to create custom macros?????

cause i cant find anything in the help file and neither in the forum :P(

(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? :shocked:

I think what you're looking for is Au3Recorder, included in Scite. Look under tools. :(

Posted
Posted

nobody know anything about this??? :shocked:(

Ahhh! Ok I don't think so, but I'll do a quick search

already 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

Posted

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

:shocked:

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

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...