|
|
#1 (permalink) | |||
|
Aximsite Major League
|
Mortscript Help: Launch BT DUN script
Does anyone who uses Mortscript have a script to launch Internet connection via bluetooth DUN with their cellphone or can you help with a script that starts/launches the process below?
My PDA: Axim x51v, WM5, VGA, Widcomm Stack, Paired w/LG, Verizon Wireless My current process to start the connection is this: 1. Start Bluetooth Manager (BTConnManagerCE.exe) 2. In Bluetooth Shortcuts screen: Tap & Hold on VX8500DUN (paired name, only icon in BT Manager), then select Connect 3. Next screen: Bluetooth: Dial-Up connection --select a connection to use: 4. Click on connection name "vzw" 5. Click OK upper right corner. Done. | |||
|
|
|
| sponsor links |
|
|
#2 (permalink) | |||
|
Aximsite Major League
|
Nevermind, I DID IT!!!
Provided that BT is already OFF. Script looks like this: Run ("Windows\BTConnManagerCE.exe") WaitForActive( "Bluetooth Manager", 20) MouseDblClick( "Bluetooth Manager", 70, 150) ***Note***VGA icon position WaitForActive( "Bluetooth: Dial-Up connection", 20) Sleep(1000) SendOK (Bluetooth: Dial-Up connection") WaitForActive( "Connection Manager", 20) Minimize ( "Connection Manager") KillScript (Name of your script) | |||
|
Last edited by mphayvanh; 07-31-07 at 03:14 PM.. |
||||
|
|
|
|
|
#3 (permalink) | |||
|
Aximsite Minor League
|
Hey,
Looks good, but thought i'd share my 2 cents. For a bunch of programs, if you simply go to : Start>>Settings>>Connections>>Connections then click on the "advanced" tab, then select networks........if you select both to "bluetooth work settings" it will actually on SOME programs, do it for you automatically. Only thing is, if there are no open connections wifi, or BT is off, it will tell you it cant connect (no biggie) EDIT: for those few programs, it will NOT close the connection upon closing out the window. If you use the script it WILL close the connection upon closing the window. My script was a bit less complicated than yours, perhaps yours in theory works better, but i just did the following: If ( NOT Connected() ) Connect( "The Internet" ) EndIf RunWait ( "\Program Files\NetFront LocationFree Player\NLFPlayer.exe" ) obviously this is only for NFL Player, but you can substitute whatever *.exe you want in there. Upon closing the window, it disconnects as well. I think your script actually goes through all the steps. I had to do that for active sync, but for any other program, this script is much neater, no windows opening to double click, etc...... IMHO | |||
|
----------------------------------------------------------------
Things my PDA Does: 1.) TomTom Nav 6 2.) Control my home theater with Novii 3.) LocationFree TV via EVDO V3c 4.) Remote computer access via EVDO and XP pro Vaio Last edited by VtJay22; 07-31-07 at 09:34 PM.. |
||||
|
|
|
|
|
#4 (permalink) | |||
|
Aximsite Minor League
|
After re-evaluating my above post, i figured I'd share that you MUST default "the internet" to the BT connection through the start>>settings>>......otherwise you'd have to go through all the steps as you mentioned.
The other thing to note is that with programs such as "flexmail", I actually just press flexmail (mapped to mail button), it connects, checks mail, and ends connection as to not waste precious minutes while i type an e-mail. Then i click send, and it opens connection, sends, then ends connection again. Pretty cool.... | |||
|
----------------------------------------------------------------
Things my PDA Does: 1.) TomTom Nav 6 2.) Control my home theater with Novii 3.) LocationFree TV via EVDO V3c 4.) Remote computer access via EVDO and XP pro Vaio |
||||
|
|
|
|
|
#5 (permalink) | |||
|
Aximsite Major League
|
Wow. Your script works better. Obviously I have a lot to learn about writing scripts.
I also learned a quick script to close the connection once I'm done and turn off bluetooth. Script: Disconnect( "The Internet") RunWait ("Windows\BTOFF.exe") KillScript (CloseDUN) (BTOFF.exe is a mini program to toggle BT ON/OFF I found that works with my Widcomm Stack BT) I also use Flexmail 2006. Can you share your script that connects, check mail and ends the connection? Thanks! | |||
|
Last edited by mphayvanh; 08-01-07 at 10:45 AM.. |
||||
|
|
|
|
|
#6 (permalink) | |||
|
Aximsite Minor League
|
MPH,
I just looked and it appears there is no script at all that i'm using. I guess since i defaulted "The Internet" to the work BT connection, Flexmail does this on its own. Of course, it does not turn on the BT nor does it turn OFF the BT but it opens the connection and shuts it after checking/sending Let me know if yours does the same, if not, i'll dig through my settings further looking for the answer! | |||
|
----------------------------------------------------------------
Things my PDA Does: 1.) TomTom Nav 6 2.) Control my home theater with Novii 3.) LocationFree TV via EVDO V3c 4.) Remote computer access via EVDO and XP pro Vaio |
||||
|
|
|
![]() |
| Tags |
| dun, launch, mortscript, script |
| sponsor links |
| Thread Tools | |
|
|