wiki win+x AHK script

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
calude
Posts: 355
Joined: 13 Aug 2008 10:16
Location: Switzerland
Contact:

wiki win+x AHK script

Post by calude »

Hi

scratching my head the script I found in the wiki http://88.191.26.34/XYwiki/index.php/FA ... ey.2BX_.3F that should load and restore xy with the win+x key only works once and doesnt restore if xy is minimized.
also if I fire the script once (xy loads) and then launch xy with a desktop shortcut I get multiple instances although I set it _not_ to in the conf

scratch scratch

I'm not a programmer so I'm lost

Thanks

Calude

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: wiki win+x AHK script

Post by serendipity »

1. I don't know much about those scripts but I guess nobody answered to this post because you have not mentioned which script you used, because there are 3 of them viz. AutoHotKey, HoeKey and PStart.
2. Are you using /ini or /win command-line switches when starting XY? See here why this matters.

kartal
Posts: 208
Joined: 14 Aug 2008 18:06

Re: wiki win+x AHK script

Post by kartal »

Try mine


#IfWinExist ahk_class ThunderRT6FormDC
{


#x::WinActivate
State := !State
If State
WinActivate
else
WinMinimize

Return

}



#IfWinNotExist ahk_class ThunderRT6FormDC
{
#x::
run "PATH TO \XYplorer\XYplorer.exe"

WinActivate
Return
}

calude
Posts: 355
Joined: 13 Aug 2008 10:16
Location: Switzerland
Contact:

Re: wiki win+x AHK script

Post by calude »

Thanks Kartal

this one worked

Calude

calude
Posts: 355
Joined: 13 Aug 2008 10:16
Location: Switzerland
Contact:

Re: wiki win+x AHK script

Post by calude »

Kartal
In my last post I said it worked but as I looked at the script, is it supposed to minimize the xy window if present ?
this doesn't work here !!

Calude

Post Reply