--- I wrote:

> I think I read somewhere that you wish to toggle the clock's
> visibility? If so, have you considered closing down ClocX if it is
> running and invoking it if not?

--- Ben wrote:

> That sounds good. How might I do that?

Please save the following lines to a file under PowerPro's Scripts
folder, changing the path to ClocX if necessary:

; --- script starts here
If(AnyWindow("=ClocX")) Do
    Window.PostMessage("WM_COMMAND 1 0 =ClocX")
Else
    "C:\Program Files\ClocX\ClocX.exe"
EndIf
; script ends here

And assuming that you have named the file ToggleClocX.PowerPro or
ToggleClocX.txt, you can assign the following command to a hotkey or
bar button:

.ToggleClocX

-- 

Alex Peters / Melbourne, Australia
PowerPro v3.8.19 / Windows XP



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/JV_rlB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to