Jump to content

Recommended Posts

Posted

I'm making a silent install of crossword maestro, I need to close a window after install

In vmware, this works, but doesn't work in real windows

Opt("WinWaitDelay", 400)
Run ("SETUP.EXE -s")
Opt("MouseCoordMode",0)
WinActivate("C:\Documents and Settings\All Users\Start Menu\Programs\Crossword Maestro","FolderView")
WinWaitActive("C:\Documents and Settings\All Users\Start Menu\Programs\Crossword Maestro","FolderView")
Send("{ALTDOWN}f{ALTUP}{DOWN  5}{ENTER}")

In windows this works, but doesn't work in vmware

Opt("WinWaitDelay", 400)
Run ("SETUP.EXE -s")
Opt("MouseCoordMode",0)
WinActivate("Crossword Maestro","FolderView")
WinWaitActive("Crossword Maestro","FolderView")
Send("{ALTDOWN}f{ALTUP}{DOWN  5}{ENTER}")

Any ideas would be appreciated.


Posted

Strange how you get full window title in VMWare, but the usual folder title in windows.

But, just use an Opt() to sort this script.

("WinTitleMatchMode", 2)

This will allow substring title recognition, rather then from the start of the title.

;)

Posted

I'm not great at autoit & I don't know how to implement your help.

Would you be kind enough to edit my script ?

TIA

Posted

Opt("WinWaitDelay", 400)
Opt("WinTitleMatchMode", 2)
Run ("SETUP.EXE -s")
Opt("MouseCoordMode",0)
WinWait("Crossword Maestro","FolderView"); Added also.
WinActivate("Crossword Maestro","FolderView")
WinWaitActive("Crossword Maestro","FolderView")
Send("{ALTDOWN}f{ALTUP}{DOWN  5}{ENTER}")

Certainly I can.

Opt() just is added to the top of the script as shown.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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