View Single Post
  #7 (permalink)  
Old 05-01-2008, 12:40 PM
CopyCounsler's Avatar
CopyCounsler
PPCGeeks Regular
Offline
Threadstarter
 
Join Date: Dec 2007
Posts: 90
Reputation: 10
CopyCounsler is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Smile Got It

Ok.. I found it.

Here's the reward for everyone:

------] Program

BT-Toggle.exe

requirements: .NET compact blah blah you know the drill

------] Usage

BT-Toggle run without arguments toggles bluetooth radio on/off

BT-Toggle run WITH arguments will run a desired app and do:
1. turn on bluetooth
2. run app
3. wait for app to end
4. restore previous bluetooth radio status (if it was off, return off, if on, return on)

------] example

use resco or similar to create shortcuts with arguments

"\BT-Toggle.exe" \Windows\camera.exe

as the shortcut will turn on bluetooth, load the camera, and once camera is closed, restore bluetooth state to previous condition.

--------

tested on 6700 wm6.1

Copy

edit: added ability to add arguments to the program to run
Attached Files
File Type: zip BT-Toggle.zip (4.6 KB, 22 views) Click for barcode!

Last edited by CopyCounsler; 05-01-2008 at 01:23 PM.
Reply With Quote