[question] Is there any way to get AD 1.2 module API?

And da best is getting API with sample module ;)

I have a [WIP] - something like TP2 and its a standalone app now. But i want to make it AD module and standalone same time...

just for little info: i attached my [WIP]. Please no bugs :P

ideas/suggestion/app_name/app_icon only :cool:

----------

Known issue

* thumbnail not close itself after app restored

* i can't intercept FireFox minimized :confused: don't know why... maybe some other apps that i dont use

* i can't get screenshot of some apps (Delphi for example). I think i know why but can't repair it.

* many more :)

#263613

aaaah ! you've been reading into my brain !! :)

I haven't tried your program (I'm on linux right now) but I can share a few ideas I had. A TaskPicture module should spawn TP-desklets, so first we need to write a TP-desklet (I'm looking forward to SDK 1.2...). A TP-desklet should be connected to a window/handle [so it follows everything that application does - for example it could hide itself when the application is visible or bounce when it asks for attention (usually blinking in the taskbar)] and at the same time to an application name, so it is possible (for the module or for the desklet?) to store information on icons, sizes, labels... the desklet could have 4 layers: background, screenshot, foreground, application badge icon; this way it could be possible to have a frame behind the screenshot and a glass effect in front of it :) It would be nice if each TP-desklet would be tilted by a random amount (-10 ... +10 degrees ?) to give some "randomness" to the desktop.

Problems:

- the module probably needs a configuration dialog

- where does it spawn the desklets ? constrains on the area? constrains on the number? grid? random?

mmmh there were probably other things, but I don't remember right now :P

[edit] what about starting just with a taskpicture desklet, following an instance of a given executable ?

#263691

About "config dialog" - yes. It will have one ;)

And it spawns desklets by windows "default" method. I don't say M$ where to put my window. So it semi-random )

And about make it "desklet"... it's not a desklet ;) it should be module (like "desktopgrabber" etc.). IMHO.

#264595

About "config dialog" - yes. It will have one ;)
Have you noticed there is no option for a module configuration dialog in AD 1.2 ? :)

And it spawns desklets by windows "default" method.
your program probably spawns -forms- in the standalone version, so Win does the positioning for you... I don't know about avedesk politics about new desklet positions... I think they just appear all in the same place...

And about make it "desklet"... it's not a desklet ;) it should be module (like "desktopgrabber" etc.). IMHO.
I was thinking about module + desklet: if you're not writing your own desklet, what will you show for each minimized task? a form? (please no - you have a desklet engine) a pidlshortcut ? a note desklet? :P

#264619

Have you noticed there is no option for a module configuration dialog in AD 1.2 ? :)

Yes ;)

your program probably spawns -forms- in the standalone version, so Win does the positioning for you... I don't know about avedesk politics about new desklet positions... I think they just appear all in the same place...

I don't know AD "politics" too but i want to keep both version - standalone and AD-module. Thats why i think i will create -forms- my self. But its just guess-work...

I was thinking about module + desklet: if you're not writing your own desklet, what will you show for each minimized task? a form? (please no - you have a desklet engine) a pidlshortcut ? a note desklet? :P
Why i should use a "desklet" to show programm screenshot? I'll check AD desklet API for useful funcions and if it will simplier to use it to show thumb - i will use it. But in general i plan to do all drawnings myself (why? for standalone version)...

#264629

Have you noticed there is no option for a module configuration dialog in AD 1.2 ?
There is.

I'll publish the module API soon.

#264631

There is. I'll publish the module API soon.
Hidden features - I love them :D

@nilcolor: AD already offers you scaling, rotation, labels, effects, shadows... it could be easier than writing everything again ;)

#264636

@nilcolor: AD already offers you scaling, rotation, labels, effects, shadows... it could be easier than writing everything again ;)

me thinking.......;)

#264644