[release] AddedEffect effectlet

This effectlet will let you set an action that will be executed on certain events: choose between Activate or Toggle ShowCase, Show Control Panel and others (*) and assign them to user generated events such as MouseOn, LeftClick or Select. :)

(*) maybe more actions will come. I was trying with the LoadTheme method but it just hangs my AD. Can an effectlet change a theme? has anyone tried something like this?

Download the aveinst package

Version 0.0.1

Known issues:

  • Toggle ShowCase: you may need a Delay of at least 2 seconds if you are using the MouseOn event. This is due to Avedesk sending a 2nd event to the desklet when it appears on the ShowCase layer
  • Mouse clicks are captured by the effectlet as well as by the desklet. If the desklet is set to ignore mouse click, so does the effectlet...

- And yes, I've been playing FF-VII :P

#267492

The only problem I can image with the LoadTheme() is that all other desklets +their effectlets need to be destroyed. Since your effectlet is waiting for the LoadTheme() to end, it cannot be destroyed so LoadTheme() will actually never finish then.

#267500

The only problem I can image with the LoadTheme() is that all other desklets +their effectlets need to be destroyed. Since your effectlet is waiting for the LoadTheme() to end, it cannot be destroyed so LoadTheme() will actually never finish then.
Yep, Avedesk is working, just the desklet+effectlet are not responding... it "feels" multi-thread, with a thread in deadlock :)

#267504

NICE!! Testing,,

#268940

HI there,

Great work! I can see how this will be very useful when the bugs are ironed out (yes, I know it's a 0.0.1 release ;) ).

I'm just wondering if it would be possible to have an option for a left-double click, since I have my desklets set to activate on double-click, and the effectlet is exiting showcase early... :(

Keep up the good work!

#292044

Wowza, überfantastico release! (how could I have missed this one???)

A request: could you add support for more keys? I would love the ability to choose the key you want (e.g. mouse5 or "page up"), that would make the package complete :)

#292086

@Zxian:

the Effect activates on single/double click depending on Avedesk configuration: if you have it set on double-click it will activate on a double-click, not before :) by default the Effectlet has "toggle ShowCase" on the MouseOn event... make sure it's disabled if you want it only on MouseClick !

About the version number... well, I don't know if there are bugs at all since the code is quite straightforward. I think this is a full release :P

@Phat-Liz0ard:

actually, I can't :slant: Effectlets have a limited number of events the can answer to, and I've used them all... you probably need a desklet for everything else, but I'm not even sure it is possible at all.

#292087

@dreadnaut:

I see now... I think I got it figured out. Thanks for the heads up. And yeah... it's pretty fool-proof. Go ahead and at least give it a release number of 0.9 :P

#292104

@Phat-Liz0ard:

actually, I can't :slant: Effectlets have a limited number of events the can answer to, and I've used them all... you probably need a desklet for everything else, but I'm not even sure it is possible at all.

#292262

actually, I can't :slant: Effectlets have a limited number of events the can answer to, and I've used them all... you probably need a desklet for everything else, but I'm not even sure it is possible at all.

If you need more effectlet events, please name them so that I can tunnel them into the 1.3 release.

Also if you need more functionality in the AveDesk object model, go on.

On the wish list for 1.3, I only ever see user interface enhancement bits but almost no feedback from scripters. :(

While designing the EffectLet events, I thought of a key-preview event that would get the keystrokes first and decide if the desklet sees them at all. Would that be a solution?

#292315

If you need more effectlet events, please name them so that I can tunnel them into the 1.3 release.
nice :) I'm going to open a new thread in the Developers Hangout right now !

#292320