PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   HTC Titan (http://forum.ppcgeeks.com/forumdisplay.php?f=44)
-   -   Automatically load/unload Today plugin based on screen mode? (http://forum.ppcgeeks.com/showthread.php?t=6863)

Statikk 08-05-2007 02:58 PM

Automatically load/unload Today plugin based on screen mode?
 
I'm wondering if there is currently an application designed to unload specified today plugins when the screen switches from portait to landscape and then reload them when it switches back.

The reason I'm asking is because I hate having scroll bars in landscape mode but I would love to use the extra space in portrait mode. I'm not sure how this sort of thing would impact performance, or if the plugin could be hidden instead of fully unloaded.

If anyone knows of an app that does this please direct me to it, or if you would enjoy using an app like this then please say so. Maybe with enough interest someone would be kind enough to throw one together. :)

stroths 08-05-2007 09:37 PM

Not sure if it would stop the scrollbars, but try changing all your today plugins from a type 4 to a type 5 and see if it gets rid of the scroll bars. Take note of what they were so you can change them back if it doesn't help. Use the registry key location below to make the changes.

HKLM\Software\Microsoft\Today\Items\"Plugin you want to lock or Unlock"
change TYPE from 5 to 4

5=locked
4=unlock

Big D5 08-05-2007 11:13 PM

Here is something that might help, wont change on its own when you change views, but allows for multiple desk tops.

http://shop.my-symbian.com/PlatformP...SectionId=4725

papped 08-06-2007 09:52 AM

Wisbar Advanced Desktop + Wisbar Advance 2 will actually let you load a different theme when the phone is slid open vs closed.

Not sure if this is exactly what you want though.

sheltem 08-06-2007 10:05 AM

Quote:

Originally Posted by stroths
Not sure if it would stop the scrollbars, but try changing all your today plugins from a type 4 to a type 5 and see if it gets rid of the scroll bars. Take note of what they were so you can change them back if it doesn't help. Use the registry key location below to make the changes.

HKLM\Software\Microsoft\Today\Items\"Plugin you want to lock or Unlock"
change TYPE from 5 to 4

5=locked
4=unlock

Could you give more of an explanation as to what locking a today screen plugin entails? Thanks!

wowthatisrandom 08-06-2007 11:19 AM

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



All times are GMT -4. The time now is 05:17 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0