AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Macros

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Sandler
Guest





PostPosted: Tue Mar 01, 2005 8:22 pm    Post subject: Macros Reply with quote

Is there something like macros like in AutoIt?
@ScriptDir = <the dir where this file is>
@FileName = <the name this file is named>
@SystemDir = <users system dir C:\Windows\system\>
@Compiled = (1 if this file is complied, 0 if this file is not complied)
and so and so and so?

by the way...
how can i do this?
if <sometext> isin %somevar%
{
send, bla bla
}
example:
if a isin bac (true)
if b isin acd (false)
Back to top
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Tue Mar 01, 2005 8:29 pm    Post subject: Reply with quote

Built-in variables
If ... in
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5049
Location: imaginationland

PostPosted: Tue Mar 01, 2005 8:29 pm    Post subject: Re: Macros Reply with quote

Sandler wrote:
if <sometext> isin %somevar%
{
send, bla bla
}
See: IfIn
_________________

RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2")
Back to top
View user's profile Send private message Visit poster's website
Sandler
Guest





PostPosted: Tue Mar 01, 2005 8:44 pm    Post subject: Reply with quote

gracias Smile
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group