You are here

ExecWait and Firefox 1.5

4 posts / 0 new
Last post
Anonymous (not verified)
ExecWait and Firefox 1.5

Hi,

looks like using ExecWait for Firefox 1.5 no longer works. It was ok with 1.0.7. I guess it must be starting up a child process and then quiting or something. Not sure of a way around this.

Bevan.

John T. Haller
John T. Haller's picture
Offline
Last seen: 10 hours 28 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Restart it a couple times

Sometimes, the impossible can become possible, if you're awesome!

hobbyscripter
Offline
Last seen: 15 years 4 months ago
Joined: 2005-12-09 11:01
How about using FindProc?

How about using this code after EXECWAIT?

Sleep 2000
FindProcDLL::FindProc "firefox.exe"
Pop $R0
StrCmp $R0 "1" 0 -3

John T. Haller
John T. Haller's picture
Offline
Last seen: 10 hours 28 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Debating that...

I've been debating adding in an option like that. I was trying to solidfy on a time period to wait between each check, since it is possible the user could launch a local copy while the wait is going on.

As long as you relaunch a couple times, the PID is stable. And, since you wouldn't use the updater or be installing extensions while using ExecWait, it's fine.

Sometimes, the impossible can become possible, if you're awesome!

Topic locked