View Single Post
  #6 (permalink)  
Old 08-06-2007, 11:19 AM
wowthatisrandom's Avatar
wowthatisrandom
What I do is a Lou Thang
Offline
Location: Stl MO
 
Join Date: Nov 2006
Posts: 1,001
Reputation: 350
wowthatisrandom is becoming a PPCGeeks regularwowthatisrandom is becoming a PPCGeeks regularwowthatisrandom is becoming a PPCGeeks regularwowthatisrandom is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to wowthatisrandom Send a message via MSN to wowthatisrandom Send a message via Yahoo to wowthatisrandom
Theoretically you could write a script in mortscript that looks simliar to this one.. i just never really got a good grasp on how looping works... this will do what u want but not really bc it just redraws and redraws.. i guess you could set up a check to see if its already removed...

clearly im just checking to see the mode..
then im disabling the plugin of my choice (palringo start in this case)
then redrawing the today

Code:
#turn off plugin on landscape


While(1)

#Check for Orientation (landscape returns 1)
x= Screen ("landscape")

#If landscape is returned, turn off plugins and redraw today
if(x=1)

RegWriteDWord("HKLM", "\SOFTWARE\Microsoft\Today\Items\Palringo Start" , "Enabled", 0)
RedrawToday

#If Landscape is not returned, turn on plugin and redraw today
Else

RegWriteDWord("HKLM", "\SOFTWARE\Microsoft\Today\Items\Palringo Start", "Enabled", 1)
RedrawToday

EndIf

EndWhile
__________________
If someone helps ya them!
Reply With Quote