Source language: Translate to:

Windows Vista look and feel

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Windows Vista look and feel

Postby Gigi » Tue Dec 06, 2005 12:49 am

Making soomething and want a Windows Vista look and feel to it. It is a tray application and I will make the buttons as similar as possible to the current available previews. Then I want the thing to fade in and out so I put this in the Start Up actions:

SetVar "[WindowState]" "Minimized"
tmTransparencyValue "100"
SetVar "[WindowState]" "Normal"
Loop "1" "33" "[TempVar]"
Math "100-[TempVar]*3+1" "0" "[TempVar2]"
tmTransparencyValue "[TempVar2]"

It works OK but you can see the window brifly at start up. THe shut down action:
Loop "1" "25" "[TempVar]"
Math "[TempVar]*4" "0" "[TempVar2]"
tmTransparencyValue "[TempVar2]"

works like a charm.

Can anyone advise how to get the start up to fade in without the brief flash at the beginning? ALso does anyone have advise on resources available for Vista-vication???


PS: The "tmTransparencyValue" thingy is great.
Posts: 49
Joined: Mon Oct 17, 2005 4:47 pm

Postby Neosoft Support » Tue Dec 06, 2005 12:49 pm

You could try adding the following to the beginning of your startup action:

SetVar "[StartInSystemTray]" "False"

It may not be possible to completely prevent the window from appearing briefly because the transparency is being set by a plug-in.
NeoSoft Support
Neosoft Support
NeoSoft Team
Posts: 5620
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Postby Gigi » Mon Dec 11, 2006 8:04 pm

Got it working fine by adding a fade in to the fist page and fading out with the plug in.
Posts: 49
Joined: Mon Oct 17, 2005 4:47 pm

Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest