Info on HotKeys with AveScripter 1.0.5.5

With the latest version you can create hotkeys now.

Here is an example of how I modified the calculator.

I open the calculator.xml and added the following within the skindata section

This now will make the calculator appear if you press Ctrl+Alt+C and Hide it if you press Shift+Ctrl+Alt+C.

The number 67 represent the letter C when the keyboard button is pressed where the shiftkey='ACS' represets Alt, Control, Shift key combo.

Have fun.

#380485

Great. I know it doesn't matter where it goes in the skindata section but, just a thought maybe after controls before menu?

Trying to aim at some consistency...it's my anal side shining through. :)

#380494

Ya.. Like you said it doesn't matter. But I usually try to keep it after the controls and layer.

#380495

Another quick question...can we use event options on hot keys? Like SHOW/HIDE for gradual fading in/out.

#380498

you can use events on all events with the latest version, I made it more "common".

Code wise. I call 1 common command and treat event show/hide flip and parameters all in the event handler. An I believe even when your call other desklets.

But there is no "show/hide" for the entire desklet just for layers.

That's part of the animator modules I want to implement.

#380500

:D Thanks a lot.

You've made it far simpler & easier for people to create desklets than Y!Gadgets.

#380501

Also.. Something I forgot to write in the SDK document. I'll have to remember to update it.

If you are using new fonts. AveScripter will autoregister new fonts if you create a subdirectory called fonts and place them all there.

#380506

Thanks man!!

#380513