Jump to content

AutoIt Options


Recommended Posts

Hi,

Is it possible to use the AutoIt options more then once in one script ?

e.g.

Opt("WinTitleMatchMode", 2) 
WinExists("test window","")
Opt("WinTitleMatchMode", 4) 
WinExists("classname=classname","")

Thnx Dre

:iamstupid:

What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel!
Link to comment
Share on other sites

AFAIK you can change them as many time you want and need:

E.G.

Opt("TrayIconHide",1)
ToolTip("Help! The Autoit icon is missing!",@desktopheight * 2/3,0)
Sleep(6000)
Opt("TrayIconHide",0)
ToolTip("Oh! What a relief... it is still there...",@desktopheight * 2/3,0)
Sleep(6000)
Opt("TrayIconHide",1)
ToolTip("No... Again? Are you playing hide and seek?",@desktopheight * 2/3,0)
Sleep(5000)
Opt("TrayIconHide",0)
Sleep(1000)
TrayTip("Autoit Icon answer:","Yes... I am feeling happy today",20,1)
Sleep(10000)
Link to comment
Share on other sites

AFAIK you can change them as many time you want and need:

E.G.

Opt("TrayIconHide",1)
ToolTip("Help! The Autoit icon is missing!",@desktopheight * 2/3,0)
Sleep(6000)
Opt("TrayIconHide",0)
ToolTip("Oh! What a relief... it is still there...",@desktopheight * 2/3,0)
Sleep(6000)
Opt("TrayIconHide",1)
ToolTip("No... Again? Are you playing hide and seek?",@desktopheight * 2/3,0)
Sleep(5000)
Opt("TrayIconHide",0)
Sleep(1000)
TrayTip("Autoit Icon answer:","Yes... I am feeling happy today",20,1)
Sleep(10000)
too much time on your hands! LOL

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
Share on other sites

There is no problem was just asking.......

No, he was responding to the "too much time on your hands" comment.

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Link to comment
Share on other sites

In fact. I think the emmanuel's comment is quite hateful.

<{POST_SNAPBACK}>

Looked to me like he was just kidding around. That's the problem with the written language and multicultures and multilanguages reading it. You can't see smiles and slap someone on the shoulder

Rick

Only $2.00 with Resale Rights How to Block Better for Martial Artists and NonMartial Artistshttp://kirkhamsebooks.com/MartialArts/Bloc...tterEbook_m.htm

Link to comment
Share on other sites

In fact. I think the emmanuel's comment is quite hateful.

<{POST_SNAPBACK}>

I'm very sorry it came across that way, I in no way meant for it to be anything but friendly, hence the LOL... I am not a hateful person, and you can be sure that in general, you can apply a smile to my side of the screen more than a scowl...

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
Share on other sites

Those day I am quite mean... Just because I am stressed. Sorry about being so hateful my self.

But I had the wrong feeling that you were blaming me just because I gave a more correct answer than yours.

Friend as before! Right? :ph34r:

Link to comment
Share on other sites

Those day I am quite mean... Just because I am stressed. Sorry about being so hateful my self.

But I had the wrong feeling that you were blaming me just because I gave a more correct answer than yours.

Friend as before! Right? :ph34r:

<{POST_SNAPBACK}>

Sorry you're so stressed.

Nah, it's great that you'd done that, I was just having some fun.

You betcha. :">

"I'm not even supposed to be here today!" -Dante (Hicks)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...