SlingPlayer Mobile Hack - Ask if You Want to Start in Landscape or Portrait Mode

[article image]

I'm using a mortscript to start SlingPlayer Mobile, which is allowing me to start SlingPlayer Mobile in landscape or portrait mode. Basically, when I start SlingPlayer, it asks a question, rotates the screen, starts SlingPlayer, then rotates back upon exit (if I tell it to turn).

To do this hack, you need mortscript - available here.



Here's the script that will do the dirty work:

Switch (question ( "Rotate screen for Slingmobile?", "SlingMobile Launcher", "YesNoCancel" ))
case (1)
Rotate(90)
Runwait( "\Program Files\Sling Media\SlingPlayer Mobile\SlingPlayer.exe" )
Rotate(0)
case (0)
Run( "\Program Files\Sling Media\SlingPlayer Mobile\SlingPlayer.exe" )
case (2)
EndSwitch

To use this script, install mortscript, then cut/paste the above script (starting with the line 'Switch' and ending with 'EndSwitch') into a text file named 'SlingplayerLauncher.mscr and launch it using your favorite launcher (I'm actually launching this from SPB Mobile Shell 2.0, as an added item under multimedia).

Upon starting it, it'll prompt you and ask if you want to rotate your screen.. yes/no/cancel. If you say yes, it'll rotate/run slingplayer/then un-rotate...

Hope this helps someone.. Original script is from xda (and meant for tomtom..)

Discussion:

Brandon C. on April 24, 2008 8:30 PM

Cool stuff! Thanks for the info.

rwoltag on May 27, 2008 8:38 PM

Hi, Will this work on a Treo 750 (ATT) Windows Mobile 6? I do not have SPB Software..

Mark [Slingbox/PPC6700] on May 27, 2008 8:43 PM

Hi,

The Treo 750 has a square 240x240 screen, so I'm not sure how useful it'd be - but yes, it should work, as long as that device allows you to switch to landscape view..

You do not need SPB Mobile shell for this (although I'd suggest you look at it - it's awesome)
-mark