Jump to content

noobie question


Recommended Posts

msgbox() pausing the script is driving me nuts. Is there a way for me to popup a message box that doesn't pause the script?

Only thing i have been able to think of is making myself a new gui message box. All I want is a popup box that has a message and can be closed when you have read the message. If only msgbox() had an option to not pause the scipt I would use that.

While I'm already asking a question, I might as well ask another. How do i get my gui to open to the tab i want? It has 4 tabs, and i want to be able to open it to a specific tab when it opens depending on what menu option i click in the toolbar menu. Like first tab is setup and 4th is about. So if i click setup in the menu i want the gui to open up to setup and if i click about I want it to open up to the about tab. Any help would be greatly appreciated

Link to comment
Share on other sites

Thank you for your quick response. One more question while i'm here:

How do i get a txt file to open up in notepad ?? I could run notepad, but then don't know how to get it to load the file i want. There has to be an easy way to do this and i just can't find it. I've been searching the help file but I can't figure it out. I ran accros word.au3 but i just want it to open in notepad. I don't even have word...

Link to comment
Share on other sites

message boxes always seem to pause a script.

can you use a balloon tooltip instead?

ToolTip("This is a Message", 400, 400, "message", 0, 1)
sleep(4000)
No i want the message to stay open till someone clicks ok or cancel or whatever. I though of tootip, or splashtoscreen, but both just stay open till sleep is over. I want it to stay open indefinately until it gets closed. However i don't want the script remaining paused during this time.
Link to comment
Share on other sites

I guess you could write stand-alone scripts to call, that had msgboxs in them and nothing more. Then they would be running separately and it would not pause anything...

Seems kind of silly and cumbersome, but that's the best idea I've got...Because I suck.

Link to comment
Share on other sites

Your mind cannot comprehend the most basic things, can it?

My mind can comprehend, alot more than yours can. Yours just goes, in, and then out. Your problem is, that you never give enough information, so you leave room for alot of errors, and then when they're wrong, you insult them. I wonder why know one likes you? Dbak didn't, thats why he banned you. And im pretty sure, more people like me than you.
Link to comment
Share on other sites

I did not leave errors. Your mind did not comprehend what I said, your too young (Especially with that childish remark)

This is in the helpfile.

Run(@ScriptFullPath & ' /AutoIt3ExecuteLine "MsgBox(0, ''Hello World!'', ''Hi!'')"')

PS. I'm LS

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