Page 1 of 1

wiki win+x AHK script

Posted: 03 Sep 2008 09:53
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

Re: wiki win+x AHK script

Posted: 03 Sep 2008 20:27
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.

Re: wiki win+x AHK script

Posted: 03 Sep 2008 23:29
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
}

Re: wiki win+x AHK script

Posted: 04 Sep 2008 11:31
by calude
Thanks Kartal

this one worked

Calude

Re: wiki win+x AHK script

Posted: 04 Sep 2008 23:01
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