Menu

#6 run on startup

open
nobody
None
v1.0_(example)
1
2012-07-09
2012-05-18
Anonymous
No

Can you insert a parameter (like /start) to automatically run Btprox at windows startup/login and already checking for the BT device?

Discussion

  • Anonymous

    Anonymous - 2012-07-09

    That would be awesome or at lease the ability for it to be loaded as a system service.

     
  • Anonymous

    Anonymous - 2012-07-09

    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

     
  • Uri Kogan

    Uri Kogan - 2012-07-09

    You have a better option: just use the "/q" flag when starting the program.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.