[release] Corner hotspot for showcase

Update 11 June 2005

*Aveinstall file added!

*updated the aveinstall file - a thumbs.db was added that caused an error (thanks for that Ave)

Update 9 June 2005

*New effectlet

*aveinstall file coming soon

-------------------------

Ave.png

Dont want to touch your keyboard to enable avedesk's showcase option? Well, here's the solution: an installable package that will make a corner hotspot for you!

Q: is there any way to put it in another corner?

A: Yes, you'll just have to rotate the icon: doubleclick the avedesk icon in your system tray, select the showcase desklet, and rotate the icon! (90 for upper left corner, (-)180 for upper right corner, -90 for lower right corner)

Many thanks to dreadnaut for his excellent effectlet!

Cornershowcase.zip

Attachment: Cornershowcase.zip

#290667

that's awesome! thx phat-liz0rd and dreadnaut!

#290686

whoa ! it's the first derivative work of something I wrote I've ever seen !! I'm touched ;)

Can I optimize it a bit ?

<?xml version="1.0" encoding="UTF-8"?>

<effectlet>

<info>

<name>Showcase Activation Script</name>

<author>Phat-Liz0rd</author>

<notes><![CDATA[ write notes here ]]></notes>

<version>0.0.1</version>

</info>

<settings>

<param name="Debug" type="Boolean" defval="False"/>

</settings>



<preferences> </preferences>

<images></images>



<script engine="vbScript"><![CDATA[



Dim state

Dim aveDesk



Sub OnCreate()

state = 0

set aveDesk = CreateObject("AveDesk.Application")

End Sub



Sub OnMouseOn()

If state = 0 Then

aveDesk.ShowCase.ActivateOnAllDesklets()

state = 1

Else

aveDesk.ShowCase.DeActivate()

state = 0

End If

End Sub

]]></script>

</effectlet>

no need for preferences or for the many empty functions :) You may consider to pack it in an .aveinst file (they are just renamed zip's !), take mine and edit the installation script. And just put your name on it !

#290737

beautiful guys! this is what ave's work is all about! :D

I could kiss you two right now. PUCKER UP! :P

#290782

Thanks for the new script dreadnaut... Uploaded in this post, to make things easier.

I'm working on an aveinst based on a sysstats config (it's the lighter than a pidlshortcut) - having some issues with the xml code though :/

The aveinst has this structure:

avedesk_installer.xml

Screenshot.png

[Docklets]

...[sysstats]

.......[Configs]

...........ShowcaseHotcorner.ini

.......[images]

...........showcorner.png

...[Effects]

......[showcasehotcorner]

.........Showcase.effectlet

The avedesk_installer xml code:

<?xml version="1.0" encoding="UTF-8"?>

<AveInstaller>



<About>

<Author>Phat-Liz0rd, Dreadnaut</Author>

<Name>Showcase Hotcorner</Name>

<Version>1.0</Version>

<Description>Displays a corner that enables/disables showcase</Description>

<URL></URL>

<GUID></GUID> [B]What is this supposed to be?[/B]

</About>



<Dependencies>

<!-- GUID of SysStats 2.5 -->

<Item>807BF0E6-B135-4E6C-A267-6106469700B5</Item>

</Dependencies>



<Requirements>

<Item Type="RequiredAveDeskVersion">1.2</Item>

<Item Type="RequiredInstallerVersion">1.2</Item>

<Item Type="FileExists">

<Directory BaseFolder="Docklets">

<Directory Name="SysStats">

<File>SysStats.dll</File>

</Directory>

</Directory>



<OnError>

<Message>You will need SysStats for this.</Message>

<DownloadableFile>

<URL>http://dockex.com/__dkpackage.php?dk=38</URL>

</DownloadableFile>

</OnError>

</Item>

</Requirements>



<CopyInformation>

<Directory BaseFolder="Effects">

<Directory Name="Showcase">

<File>showcase.effectlet</File>

</Directory>

</Directory>

<Directory BaseFolder="Docklets">

<Directory Name="SysStats">

<CopyAll Recursively="yes"/>

</Directory>

</Directory>

</CopyInformation>



<AfterCopySucceeded>

<!-- if you don't want an about.png as splashscreen, remove the next Item-node (showbitmap) -->

<Item Type="ShowBitmap">screenshot.png</Item>

<Item Type="LoadDesklet">

<Desklet><DLL>dockletssysstatssysstats.dll</DLL><label><MainLabelProperties><HasShadow>1</HasShadow><Font>Arial</Font><Color>4294967295</Color><Style>0</Style><Size>14</Size><ShadowProperties><XOffset>1</XOffset><YOffset>1</YOffset><ExtraWidth>0</ExtraWidth><ExtraHeight>0</ExtraHeight><BlurRatio>1</BlurRatio><Intensity>20</Intensity><Color>4278190080</Color></ShadowProperties></MainLabelProperties><SubLabelProperties><HasShadow>1</HasShadow><Font>Arial</Font><Color>4294967295</Color><Style>0</Style><Size>14</Size><ShadowProperties><XOffset>1</XOffset><YOffset>1</YOffset><ExtraWidth>0</ExtraWidth><ExtraHeight>0</ExtraHeight><BlurRatio>1</BlurRatio><Intensity>20</Intensity><Color>4278190080</Color></ShadowProperties></SubLabelProperties><Alpha>0</Alpha><Rotation>0</Rotation><VAlign>0</VAlign><HAlign>1</HAlign><Width>200</Width><Height>75</Height><Margin>5</Margin><Position>0</Position><DrawTopDown>0</DrawTopDown><ShowSubLabel>1</ShowSubLabel><MainCaption>Showcase</MainCaption><SubCaption></SubCaption><Background></Background></label><labelType>1</labelType><labelOnlyOnMouseOver>0</labelOnlyOnMouseOver><ignoreLeftClicks>0</ignoreLeftClicks><ignoreRightClicks>0</ignoreRightClicks><isClickThru>0</isClickThru><snapToGrid>0</snapToGrid><lockPosition>0</lockPosition><style>0</style><Alpha>255</Alpha><xPos>37</xPos><yPos>84</yPos><width>48</width><height>48</height><rotation>0</rotation><useColorization>0</useColorization><saturation>1</saturation><hue>100</hue><quality>2</quality><drawShadow>0</drawShadow><shadowX>4</shadowX><shadowY>4</shadowY><shadowGray>0</shadowGray><shadowColor>0</shadowColor><shadowAlpha>0</shadowAlpha><Image></Image><effectFile>Showcase.effectlet</effectFile><ownerSettings>[TMP]

config=configsshowcasehotcorner.ini

version=250

</ownerSettings></Desklet> </Item>

</AfterCopySucceeded>



<AfterCopyFailed>

<Item Type="ShowMessage">

<Caption>Installation Failed</Caption>

<Text>The installation for this config failed.</Text>

</Item>

</AfterCopyFailed>



</AveInstaller>

But that doesnt seem to work. Anyone got an idea where my logical mistake is?

Showcase.zip

Attachment: Showcase.zip

#290831

And here's the updated desklet for showcased desklets only...

Showcase2.zip

Attachment: Showcase2.zip

#290834

What is this supposed to be?

From the docs:

• GUID , a Globally Unique IDentifier for this package

Example:

Andreas Verhoeven

averhoev.2@hccnet.nl

http://www.avedesk.com

DesktopGrabber Add-on Module

1.0

Dropped files on the desktop will become desklets!

http://www.mpj.tomaatnet.nl/desktopgrabber.aveinst

EFB7AAEF-F02C-4EF1-85FF-D6E2D77B95C1

you can use: http://mpj.tomaatnet.nl/gen_guid.vbs to create guids. give the messagebox focus, hit CTRL+C, open notepad, copy the guid.

Can you post your XML file? - I cannot copy/paste from the iframe

#290835

Thanks ave, I seem to have missed that in the docs, sorry about that! Here's the xml:

I took one of judge's installpackages as example, but that obviously didnt help :)

(ziet er naar uit dat ik niet de enige ben die om 01:09 nog niet slaapt :) )

avedesk_installer.zip

Attachment: avedesk_installer.zip

#290842

Give this a try:

	<CopyInformation>

<Directory BaseFolder="Effects" Name="Effects">

<Directory Name="Showcase">

<File>showcase.effectlet</File>

</Directory>

</Directory>

<Directory BaseFolder="Docklets" Name="Docklets">

<Directory Name="SysStats">

<CopyAll Recursively="yes"/>

</Directory>

</Directory>

</CopyInformation>

NOTE: If you define a Base-folder, it's not necessary to set the Name atrribute: the root of the ZIPped package will be used as the directory to copy from. However, you can set the Name attribute if you want the installer to get the files from that directory. For example, you can have a Desklets directory in your ZIPped package, thus you would use to copy the files in the ZIPped Desklets folder to the special Desklets folder on the users harddisk.

ziet er naar uit dat ik niet de enige ben die om 01:09 nog niet slaapt

HEHE

#290843

How does the command work exactly? I've tried things such as

showcase.effectlet

and

showcase/showcase.effectlet

But that doesnt seem to work.

(sorry for being such a pain, I'm actually trying to make this easier on everyone by making an aveinst file :P )

--2.30AM=sleeping time--

#290849

effects/showcasehotcorner/showcase.effectlet

#291322

Added an aveinst file (zipped, the forum doesnt accept any other format). Let me know how this works for you.

#291754

Found the problem. There's a hidden thumbs.db in docklets/sysstats/images/ removing this file from the zip (with winzip or winrar) solves the problem.

Windows uses the thumbs.db to store those cute little thumbnails of images. For some reason, the one in docklets/systats/images on the users HD is locked, thus copying this file will fail, thus the installer fails on it.

#291768

arg

Ok, updating now!

----

Updated!

#291779

Wow... very very nice.

Great work!

*applies this to all computers*

#291831

Let me know if you have any issues!

#291903

I have an issue with this.

I wasn't sure which one I need to download so I got the one from the first post.

I click on the installer the open the control panel and try adding the desklet but when I go to click on the corner spot nothing happens. I then tried changing the effects to add the showcase effectlet but I just get an error then AveDesk crashes. What am I doing wrong?

#291950

What kind of error are you getting? Normally, you shouldnt even have to click, simply moving your mouse over the hotspot should make showcase appear. I tried installing the desklet on a new install of avedesk and everything worked fine here. Same with my "used" version of avedesk: could you tell me how to reproduce this? Your settings/desklets/...?

#291955

Ok, this is exactly how it goes -

Unzipped the .zip file I downloaded.

Clicked on the Cornershowcase.aveinst (With other desklets this normally starts up AveDesk and places the new desklet on the desktop but with Cornershowcase it doesn't do this)

Open AveDesk ControlPanel, select add desklet and select Cornershowcase.

Small black triangle appears on screen

Move triangle to corner of screen.

Move mouse over triangle - nothing happens. Click on it - nothing happens.

Open the desklet properties and go to effects and select Alternative Showcase (I'm not sure what else it would be)

Move mouse over triangle and get this error -

C:Program Filesavedeskeffectsshowcase.effectlet (29) error 800a01b6:

Object doesn't support this property or method: 'aveDesk.ShowCase'

Avedesk then sometimes crashes, if it doesn't and I then close AveDesk, the triangle stays there and according to task manager there is still an instance of AveDesk running.

I'm using AveDesk 1.2 and the latest SysStats, frsh installs of both and both installed in default locations.

I've tried downloading the desklet 4 times and have also tried extracing the installer and manually putting everything in place with the same result.

I'm thinking it's maybe something I've missed or done wrong. Could you give me a step by step guide on exactly how one should normally install and set up the desklet?

#291962

have you tried to unregister and then register again AveDesk with the two batch files in its directory ?

#291963

fannymites: close avedesk, run register.bat in the avedesk folder and see if the error is still there.

#291964

I've just tried unregistering AveDesk and completely removed all trace of it.

I then re-installed Avedesk and systats. Clicked on register.bet then tried installing Showcasecorner.

This time Avedesk started up and when I went add desklet Showcasecorner wasn't there and when I checked the avedesk folder there was nothing relating to showcase corner there either.

I extracted the Showcasecorner installer and manually put everything in their correct folders.

Opened control panel and added the desklet and got the same problem as before.

#291969

Hey there,

The only issue I've had so far - and I don't know if this is a desklet problem, an AveDesk problem, or a SysStats problem - is that when Showcase is deactivated, my network meter SysStats desklet stops updating.

Other than that, it's pretty much perfect!

#292045

Well I've had non-stop problems since AveDesk 1.2 came out. It seems every time I try to add a new (sysstats) desklet I have some problems.

After a Windows re-install things worked ok but after a while I have problems again.

Though the desklets I have at the moment seem to be mostly behaving so I'm reasonably happy, it seems I just have to avoid certain desklets or they either don't work or completely mess up my AveDesk.

[EDIT] Forgot to mention, I'm certain none of these problems are anything to do with AveDesk, Sysstats or the desklets. It's something to do with my comp or more specifically something I'm running that is probably interfering. I think this is one of those desklets that just aint gonna work for me.

#292073

fannymites:

Well, I know this isnt the "real" solution, but did you try adding a pidlshortcut, changing the icon (the icon that I supplied would do), and changing the effectlet to the showcase one?

If sysstats is causing the troubles, a pidlshortcut with effectlet should solve it. Let me know how that works, ok?

(you could link the pidlshortcut to the desktop, mouseover goes to showcase, doubleclick opens explorer, showing you your "real" desktop)

Zxian:

Does this happen when you dont use this desklet too? Or just when you add this desklet?

#292083