VBscript code

VBscript code

1. Whats the difference between ScreenWidth and VScreenWidth?

2. When using timers, I see object.killtimer when existing the app. Whats happens if you don't kill the timer when you exit the app?

Thanks
3,711 views 2 replies
Reply #1 Top
1. ScreenWidth is just the screen width of the main monitor, VScreenWidth will output the total width of a multi-monitor setup. You should use VScreenWidth as that will also work on a single monitor system, unless you specifically want the main monitor's screen width on a multi-monitor setup.

2. The timer will die along with the app.


edit: https://www.stardock.com/products/desktopx/documentation/index.html
Developer's Guide -> Scripting -> Reference -> System namespace ~1/3rd of the way down
Reply #2 Top
Thanks for the info and link Woodbridge.