Jump to content

How to bring FileOpenDialog() to the foreground


Recommended Posts

$glos1 = FileOpenDialog("Select Main Glossary", "::{450D8FBA-AD25-11D0-98A8-0800361B1103}", "Plain Text (*.txt)", 3)

If I use that in my script, for no apparent reason the open dialog opens in the background. How can I give it the focus?

If tried WinActivate(), but it seems that FileOpenDialog() pauses execution until it gets feedback from the user... B)

Guillermo

Link to comment
Share on other sites

Hi!

Yes, your script is paused if you have a fileOpenDialog open.

You could run another script, that just has the line "WinActivate("File Open")" in it.

Otherwise you could post your code, so that we can have a look on it.

peethebee

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvGerman Forums: http://www.autoit.deGerman Help File: http://autoit.de/hilfe vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

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