Sign in to follow this  
Followers 0
Xand3r

help pls stuck

9 posts in this topic

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

no man macros like

@WindowsDir or @crlf or @scriptname or...

only custom ones

Edited 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

Share this post


Link to post
Share on other sites

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Why not use global constants?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

tnx Psaltyds :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

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0