ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Skrommel's Software

Problems with Ghoster

<< < (5/10) > >>

brotherS:
:o You seem to be right! I closed my main AHK script and just started Ghoster.exe - played around with it and right-clicked it in the tray to exit it - and everything worked as it should...

Is there maybe some way around "Process,Close" to fix this for all those guys running AHK 24/7 (like me)?
 

skrommel:
 :) WinClose is more gentle.

Skrommel

brotherS:
Nice! :)

I now use

--- ---^+p::
Process, Exist, Ghoster.exe
pid=%ErrorLevel%
If pid=0
  Run,D:\Downloads\Ghoster.exe
Else
  WinClose, Ghoster
Return

in my main AHK script and IT WORKS! :) It just takes the focus away from the current window altough the mouse cursor is still above it - how to fix that?

skrommel:
It just takes the focus away from the current window altough the mouse cursor is still above it - how to fix that?
-brotherS (October 10, 2005, 03:41 AM)
--- End quote ---

 :huh: What do you mean?

Edit: I think I get it. To be on the safe side when exiting, I activate the taskbar.

Skrommel

brotherS:
I think I get it. To be on the safe side when exiting, I activate the taskbar.
-skrommel (October 10, 2005, 06:00 AM)
--- End quote ---
Hmm...  so I would just need to add a line to my start/stop script?
That just activates the window the cursor is over after the "WinClose, Ghoster" command?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version