View Full Version : MortScript command for WaitFor"In"active? (for hiding & showing today bars)
windjohnson
14th May 2008, 11:40 AM
So vjtottletodayIIalpha can hide the task bar, but since we use the task bar quite often so this is my idea:
A mort script that can execute the vjtoggle program when today shows up, and kill the program when the screen is occupied by other programs.
Can this be done? Any help? Please~~~?
windjohnson
15th May 2008, 09:24 AM
Sorry for my bad english, I'll try to make it clearer:
Ok, so this probably doesn't sound very interesting for most people, but last night I did some digging and finally figured something out and it feels good.
But I STILL NEED HELP!
Anyone can tell me if there's a command that can achieve something like WaitForActive("AnyProgramButDesktop",-1) ?
I would really appreciate it!!!!!
The below script is what I have so far:
RegWriteDWord ( "HKLM", "Software\VJTodayToggle\", "SoftKeySize",26 )
RegWriteDWord ( "HKLM", "Software\VJTodayToggle\", "StartSize",26 )
Run ( "\Program Files\vjtoggletodayiialpha.exe" )
Sleep( 2000 )
If ( wndActive( "Desktop" ) )
RegWriteDWord ( "HKLM", "Software\VJTodayToggle\", "SoftKeySize",0 )
RegWriteDWord ( "HKLM", "Software\VJTodayToggle\", "StartSize",0 )
Run ( "\Program Files\vjtoggletodayiialpha.exe" )
Else
WaitForActive("Desktop",-1)
RegWriteDWord ( "HKLM", "Software\VJTodayToggle\", "SoftKeySize",0 )
RegWriteDWord ( "HKLM", "Software\VJTodayToggle\", "StartSize",0 )
Run ( "\Program Files\vjtoggletodayiialpha.exe" )
EndIf
sphinxy
15th May 2008, 09:32 AM
Im actually lost about what your trying to achieve?
vijays toggletodayIIalpha just hides your soft button taskbar on the today screen. It comes back up in any other screen/program you launch.
windjohnson
15th May 2008, 10:13 AM
Actually the program hides top & buttom bars, but when in other program only the buttom bar comes back, not the top bar. So what I wanna do is to make a script that detects whether the screen in occupied(active) by desktop/other apps, and hide/show the bars. Is it more obvious now? Sorry for my bad English :P
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.