Login | |
|
 |
RE: Colourfull Progress bar - 12/28/2007 9:59:44 AM
|
|
 |
|
| |
Meg
Posts: 123
Score: 2
Joined: 7/13/2006
From: Australia
Status: offline
|
I tried it on my system and got the same error too. Even though we all probably only have one monitor, in system device manager my computer has two video adaptors, so when I run the script it reads the monitor dimentions and then reads the second monitor which is zero. Under line intVertical = objItem.ScreenHeight Add this if intHorizontal<>"" then exit for Obvoiusly it's personal taste and depends on what your progress bar is monitoring but here is a different colour scheme that looks cool. (GradientType=1, StartColorStr='#000000', EndColorStr='#FF0000')" Happy HTA scripting.
|
|
| |
|
|
|
 |
RE: Colourfull Progress bar - 12/28/2007 10:53:39 AM
|
|
 |
|
| |
Meg
Posts: 123
Score: 2
Joined: 7/13/2006
From: Australia
Status: offline
|
Thats funny I am not sure? Maybe call it as a sub or launch it as a new HTA from an existing HTA. Or maybe just run it from a plain vbs script with a wait for completed switch?
|
|
| |
|
|
|
|
|