Page 1 of 1

CX Hotkey is not Tooltype based *shock*

Posted: Fri Nov 16, 2012 10:46 pm
by djrikki
Hi Andreas,

Firstly, congratulations on releasing Hollywood 5.2 this weekend, haven't really had much time to have a look at yet, however I did look at the new HotKey event and its slightly disappointing.
According to the documentation the Hotkey is static, i.e. its defined during compile time. I kinda expected it to read the CX_POPUP tooltype determined if it is set to YES or NO, read CX_POPKEY tooltype and use that within event handling to iconify/deiconify the application - unfortunately it doesn't work that way at all!

Re: CX Hotkey is not Tooltype based *shock*

Posted: Fri Nov 16, 2012 10:56 pm
by airsoftsoftwair
RTFM ;)

Re: CX Hotkey is not Tooltype based *shock*

Posted: Sat Nov 17, 2012 10:18 am
by fingus
djrikki wrote:Hi Andreas,

Firstly, congratulations on releasing Hollywood 5.2 this weekend, haven't really had much time to have a look at yet, however I did look at the new HotKey event and its slightly disappointing.
According to the documentation the Hotkey is static, i.e. its defined during compile time. I kinda expected it to read the CX_POPUP tooltype determined if it is set to YES or NO, read CX_POPKEY tooltype and use that within event handling to iconify/deiconify the application - unfortunately it doesn't work that way at all!
LOL, i kinda face the same problem, but in the Manual is described that you can use it as Tooltype-Argument too, but it isn“t working for me too, look here:

viewtopic.php?f=10&t=585

Re: CX Hotkey is not Tooltype based *shock*

Posted: Fri Jan 04, 2013 11:03 pm
by TheMartian
Hi

As far as I can establish, it does work on my X1000.

If I set the icon for my executable to "start from" = Workbench and add a

CXKEY=alt F12

tool type, and click the icon the Hotkey event will trigger when the program runs. This also works if I set it to "Start from" = Shell and unset the 'Prompt for input' flag.

If I set the icon to "Start from" = Shell and set the 'Prompt for input' flag, and click the icon I get the command line to start the program. I can then use a syntax like

myprogram.exe -cxkey = "alt F12"

and again the Hotkey event works.

regards
Jesper