View Single Post
  #2 (permalink)  
Old 09-13-2007, 07:30 PM
Darkness231's Avatar
Darkness231
mmmm Freebirds
Offline
Threadstarter
Location: Cedar Park, TX
 
Join Date: Mar 2007
Posts: 1,218
Reputation: 2543
Darkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIPDarkness231 is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Talking

Figured It out...
This script is for
1. Check the BT state and turn on if off (using a simple BT toggler program located HERE....and turn off when program is exited
2. Rotating the screen to 90º (So Keyboard will be Functional)
3. Keeping the screen rotated at 90º even if switched to portrait (this is achived with the program called Landscaper)
4. Running Google Maps
5. Returning everything (BT Status/Rotation) to state prior to executing the script

Of course you can change any of the programs to suite your needs..

Here is the Script I used



B = RegRead ("HKLM", "Software\oem\bluetooth\" , "BTcomstatus" )
If ( B = 0 )
Run( "\Program Files\BlindLemon\BTToggle.exe" )
Rotate(90)
Run( "\windows\Start Menu\programs\Landscaper.exe" )
WaitForActive( "Landscaper", 05 )
SendDown ( "Landscaper" )
Runwait( "\Program Files\GoogleMaps\GoogleMaps.exe" )
Close( "Landscaper" )
Run( "\Program Files\BlindLemon\BTToggle.exe" )
Rotate(0)

Else
If ( B = 1 )
Rotate(90)
Run( "\windows\Start Menu\programs\Landscaper.exe" )
WaitForActive( "Landscaper", 05 )
SendDown ( "Landscaper" )
Runwait( "\Program Files\GoogleMaps\GoogleMaps.exe" )
Close( "Landscaper" )
Rotate(0)
Attached Files
File Type: zip Google Maps 90 With BTToggle.zip (398 Bytes, 5 views) Click for barcode!
__________________

Good things don't end in 'eum,' they end in 'mania'...or 'teria'
Easily switch between TouchFlo and Mobile Shell
If you like my work feel free to

Last edited by Darkness231; 09-13-2007 at 07:37 PM.
Reply With Quote