Info on HotKeys with AveScripter 1.0.5.5
Rate Topic:




-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 18 April 2006 - 02:35 PM
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.
0

- Douchebag
-
Group:
Member
-
Posts:
1,885
-
Joined:
28-June 05
Posted 18 April 2006 - 03:14 PM
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.
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 18 April 2006 - 03:16 PM
Ya.. Like you said it doesn't matter. But I usually try to keep it after the controls and layer.
0

- Douchebag
-
Group:
Member
-
Posts:
1,885
-
Joined:
28-June 05
Posted 18 April 2006 - 03:21 PM
Another quick question...can we use event options on hot keys? Like SHOW/HIDE for gradual fading in/out.
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 18 April 2006 - 03:35 PM
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.
0

- Douchebag
-
Group:
Member
-
Posts:
1,885
-
Joined:
28-June 05
Posted 18 April 2006 - 03:41 PM

Thanks a lot.
You've made it far simpler & easier for people to create desklets than Y!Gadgets.
0
-
Group:
Member
-
Posts:
617
-
Joined:
02-May 05
Posted 18 April 2006 - 04:01 PM
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.
0
#8
Guest_DavorG_*
Posted 18 April 2006 - 04:26 PM
Thanks man!!
0