• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Classic - Titanium Today Toggle (for NON TF3D/Manila Devices)

Search This thread

copenhagen

Inactive Recognized Developer
May 21, 2005
2,116
1,866
inside the Grid
Thanks in part to NoPluginsToday- I developed a reliable back and forth toggle; from classic to titanium and back... no more start-> settings-> personal-> Today-> Items-> CheckCheckCheck-> OK. Just one tap.

Requirements:
1. The script assumes you have NoPlugingsToday and Mortscript installed to their default locations. Both can be found easily via web search, and are both free and commonly used.
2. Copy the .mscr to your \windows\ folder on your device and the .lnk file anywhere you want. Run via the .lnk (or make your own .lnk)
3. For the script to work right, before running it; set up your classic today plugins.
-switch to wm classic today; start/settings/personal/today/items (uncheck windows default) and select the classic plugins you want working when you switch to classic mode, click ok. this is important to do BEFORE running the script the first time, and only needs to be done once.

!!if you are having issues with your classic today items not showing up!!
--switch to classic today, enable the items you want active
--run nopluginstoday (to make sure they disappear) and then
--run nopluginstoday again (to reenable them)
if the reverse or something else happens you are trying to set classic items up when nopluginstoday is set to "hide items". I've seen issues where nopluginstoday was in the wrong state when I configured my classic today items... and thus when my script called it there were no items to enable.



Code:
regReadDword HKLM, Software\Microsoft\Today\Items\"Windows Default", Enabled, derk

if equals %derk%,1
	regWriteDword HKLM, Software\Microsoft\Today\Items\"Windows Default", Enabled, 0
	RedrawToday
	RunWait "\Program Files\NoPluginsToday\NoPluginsToday.exe"
    else
	RunWait "\Program Files\NoPluginsToday\NoPluginsToday.exe"
	regWriteDword HKLM, Software\Microsoft\Today\Items\"Windows Default", Enabled, 1
	RedrawToday
endif

What it does:

Script from classic today:
Checks reg for titanium enabled (in this case it is not) - no change
runs NoPluginsToday which stores active classic plugin info and shuts them all off.
Then write reg entry to enable titanium and call redrawtoday.
Titanium Enabled.

From Titanium:
Check reg for titanium enabled (which it is now) - change
call redrawtoday (to unload titanium residuals??? maybe? cant hurt)
run NoPluginsToday which retrieves active classic plugin list and starts them back up.
Classic Enabled.

-cope
 
Last edited:

jimski

Senior Member
Jan 11, 2009
563
26
Florida
Tried opening your ZIP file on both my laptop and Tilt 2 (running 6.5) and got error messages on both devices saying the file was corrupted or missing something. Can you check to see if the file is valid.

Curious to see how this might work on my device. Already have the other necessary files installed and only running Today Screen now (TouchFlo turned off).

Thanks,

JIM

UPDATE: Never mind. I copied and pasted the above into an mscr file and gave it a try. Works OK, except Uptime, an uptime meter plugin from AE Button Plus, does not reappear when I restore my Today Screen. The only thing that brings it back is opening and then closing the Today settings applet. Uptime remains checked.
 
Last edited:

kevinpwhite

Retired Recognized Developer
Nov 19, 2006
438
90
Thanks in part to NoPluginsToday- I developed a reliable back and forth toggle; from classic to titanium and back... no more start-> settings-> personal-> Today-> Items-> CheckCheckCheck-> OK. Just one tap.

Requirements:
1. The script assumes you have NoPlugingsToday and Mortscript installed to their default locations. Both can be found easily via web search, and are both free and commonly used.
2. Copy the .mscr to your \windows\ folder on your device and the .lnk file anywhere you want. Run via the .lnk (or make your own .lnk)
3. For the script to work right, before running it; set up your classic today plugins.
-switch to wm classic today; start/settings/personal/today/items (uncheck windows default) and select the classic plugins you want working when you switch to classic mode, click ok. this is important to do BEFORE running the script the first time, and only needs to be done once.

Code:
regReadDword HKLM, Software\Microsoft\Today\Items\"Windows Default", Enabled, derk

if equals %derk%,1
	regWriteDword HKLM, Software\Microsoft\Today\Items\"Windows Default", Enabled, 0
	RedrawToday
	RunWait "\Program Files\NoPluginsToday\NoPluginsToday.exe"
    else
	RunWait "\Program Files\NoPluginsToday\NoPluginsToday.exe"
	regWriteDword HKLM, Software\Microsoft\Today\Items\"Windows Default", Enabled, 1
	RedrawToday
endif

What it does:

Script from classic today:
Checks reg for titanium enabled (in this case it is not) - no change
runs NoPluginsToday which stores active classic plugin info and shuts them all off.
Then write reg entry to enable titanium and call redrawtoday.
Titanium Enabled.

From Titanium:
Check reg for titanium enabled (which it is now) - change
call redrawtoday (to unload titanium residuals??? maybe? cant hurt)
run NoPluginsToday which retrieves active classic plugin list and starts them back up.
Classic Enabled.

-cope

Excellent ! Many thanks @copenhagen :) I've been looking for something to do this for some time and now found your script.

As the .zip above appears to be corrupted, I've recreated - attached new .zip includes the Mortscript (taken from your code box) and also Link files for the script toggle and NoPluginsToday - was puzzling on how to cope with having changed the composition of my classic Today plugis and then realised that all that is needed is to rerun NoPlugins Today to reset the Registry record.

View attachment 474989
 
  • Like
Reactions: copenhagen

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    very instructive for me
    Thx man
    1
    Thanks in part to NoPluginsToday- I developed a reliable back and forth toggle; from classic to titanium and back... no more start-> settings-> personal-> Today-> Items-> CheckCheckCheck-> OK. Just one tap.

    Requirements:
    1. The script assumes you have NoPlugingsToday and Mortscript installed to their default locations. Both can be found easily via web search, and are both free and commonly used.
    2. Copy the .mscr to your \windows\ folder on your device and the .lnk file anywhere you want. Run via the .lnk (or make your own .lnk)
    3. For the script to work right, before running it; set up your classic today plugins.
    -switch to wm classic today; start/settings/personal/today/items (uncheck windows default) and select the classic plugins you want working when you switch to classic mode, click ok. this is important to do BEFORE running the script the first time, and only needs to be done once.

    Code:
    regReadDword HKLM, Software\Microsoft\Today\Items\"Windows Default", Enabled, derk
    
    if equals %derk%,1
    	regWriteDword HKLM, Software\Microsoft\Today\Items\"Windows Default", Enabled, 0
    	RedrawToday
    	RunWait "\Program Files\NoPluginsToday\NoPluginsToday.exe"
        else
    	RunWait "\Program Files\NoPluginsToday\NoPluginsToday.exe"
    	regWriteDword HKLM, Software\Microsoft\Today\Items\"Windows Default", Enabled, 1
    	RedrawToday
    endif

    What it does:

    Script from classic today:
    Checks reg for titanium enabled (in this case it is not) - no change
    runs NoPluginsToday which stores active classic plugin info and shuts them all off.
    Then write reg entry to enable titanium and call redrawtoday.
    Titanium Enabled.

    From Titanium:
    Check reg for titanium enabled (which it is now) - change
    call redrawtoday (to unload titanium residuals??? maybe? cant hurt)
    run NoPluginsToday which retrieves active classic plugin list and starts them back up.
    Classic Enabled.

    -cope

    Excellent ! Many thanks @copenhagen :) I've been looking for something to do this for some time and now found your script.

    As the .zip above appears to be corrupted, I've recreated - attached new .zip includes the Mortscript (taken from your code box) and also Link files for the script toggle and NoPluginsToday - was puzzling on how to cope with having changed the composition of my classic Today plugis and then realised that all that is needed is to rerun NoPlugins Today to reset the Registry record.

    View attachment 474989