esackbauer
24th August 2007, 10:02 AM
Hi all,
I wrote a little script that reconnects A2DP and starts MortPlayer, because I use my Sony MEX-BT2500 and my Trinity in the car very often. While my old Magician did automatically reconnect A2DP, it would not with my Trinity.
You need MortScript installed.
For english ROMs you need to change "Einstellungen" to "Settings"
Tested on german WM6 Bepe Rom 0.73.
Name the script as e.g. A2DPconnect.mscr:
#Make sure we start at Today screen
#
Show("Desktop")
Sleep 500
#Connect A2DP
#
Run "\windows\ctlpnl.exe" , "cplmain.cpl,23"
WaitForActive("Einstellungen",5)
Sleep 100
#Selecting the BT device XPLOD, so we send the first letter to select
SendKeys("X")
SendContext
#Send Up for selecting last menu item
SendUp
#Send CR for activating as bluetooth headphone
SendCR
Sleep 100
Close("Einstellungen")
#Run Mortplayer
Run "Speicherkarte\Programme\Mortplayer\Mortplayer.exe"
I have assigned this script to hardware button 1, that makes it easy to start or reconnect in the car cradle.
I wrote a little script that reconnects A2DP and starts MortPlayer, because I use my Sony MEX-BT2500 and my Trinity in the car very often. While my old Magician did automatically reconnect A2DP, it would not with my Trinity.
You need MortScript installed.
For english ROMs you need to change "Einstellungen" to "Settings"
Tested on german WM6 Bepe Rom 0.73.
Name the script as e.g. A2DPconnect.mscr:
#Make sure we start at Today screen
#
Show("Desktop")
Sleep 500
#Connect A2DP
#
Run "\windows\ctlpnl.exe" , "cplmain.cpl,23"
WaitForActive("Einstellungen",5)
Sleep 100
#Selecting the BT device XPLOD, so we send the first letter to select
SendKeys("X")
SendContext
#Send Up for selecting last menu item
SendUp
#Send CR for activating as bluetooth headphone
SendCR
Sleep 100
Close("Einstellungen")
#Run Mortplayer
Run "Speicherkarte\Programme\Mortplayer\Mortplayer.exe"
I have assigned this script to hardware button 1, that makes it easy to start or reconnect in the car cradle.