Can you insert a parameter (like /start) to automatically run Btprox at windows startup/login and already checking for the BT device?
That would be awesome or at lease the ability for it to be loaded as a system service.
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
Try an AutoIT script to startup BtProx and select start and hide:
$ProcessName2 = "btprox.exe"
If ProcessExists($ProcessName2) Then ;MsgBox(0,"Running",$ProcessName & " is running.") Else $objShell.Run ("x:\xxx\bt\btprox.exe") EndIf
Do if WinExists("BtProx") Then $Readout = "0" Else $Readout = "1" Sleep(100) EndIf
Until $Readout = 0
if WinExists("BtProx") Then WinWait("BtProx") WinActivate("BtProx") WinWaitActive("BtProx") Sleep(100) Send("{alt}s") Sleep(100) Send("{alt}h")
Else
EndIf
You have a better option: just use the "/q" flag when starting the program.
That would be awesome or at lease the ability for it to be loaded as a system service.
Try an AutoIT script to startup BtProx and select start and hide:
include <ButtonConstants.au3>
include <GUIConstantsEx.au3>
include <GUIListBox.au3>
include <ProgressConstants.au3>
include <StaticConstants.au3>
include <WindowsConstants.au3>
$ProcessName2 = "btprox.exe"
If ProcessExists($ProcessName2) Then
;MsgBox(0,"Running",$ProcessName & " is running.")
Else
$objShell.Run ("x:\xxx\bt\btprox.exe")
EndIf
Do
if WinExists("BtProx") Then
$Readout = "0"
Else
$Readout = "1"
Sleep(100)
EndIf
Until $Readout = 0
if WinExists("BtProx") Then
WinWait("BtProx")
WinActivate("BtProx")
WinWaitActive("BtProx")
Sleep(100)
Send("{alt}s")
Sleep(100)
Send("{alt}h")
Else
EndIf
You have a better option: just use the "/q" flag when starting the program.