TheRauchster101 Posted August 5, 2011 Share Posted August 5, 2011 I've spent the last 2 weeks creating a program for my place of business, so to automate an installation script with a single hotkey press. After finishing it and compiling it, it works beautifully on 6 of the computers here. But the last one refuses to run it properly. The tray icon appears, as if it's running, but the hotkey press never does anything. The first thing that's supposed to happen once the hotkey is pressed, is to produce a tooltip. The user reports that there is no tooltip. I can verify that he is launching the program correctly, using all appropriate permissions. And that the program works as intended on every other computer. dim $Exit, $Start, $Pause, $IniFile, $CurrentDir SetButtons() Global $Paused HotKeySet($Pause, "TogglePause") HotKeySet($Start, "Start") HotKeySet($Exit, "Exit") $CurrentDir=@WorkingDir & "\" $IniFile=$CurrentDir & "Settings.ini" While 1=1 Sleep(500) WEnd Func SetButtons() If FileExists ( $IniFile ) Then $Start=IniRead ( $IniFile, "Hotkeys", "start", "{INS}" ) $Pause=IniRead ( $IniFile, "Hotkeys", "pause", "{Pause}" ) $Exit=IniRead ( $IniFile, "Hotkeys", "exit", "{END}") Else $Start="{INS}" $Pause="{Pause}" $Exit="{END}" EndIf EndFunc Func Start() ToolTip("Automation has started. Please press the Pause/Break button to pause, and End to exit.", 50, 50) From there the code just goes through the automation process. I cannot for the life of me figure out why the program launches for him, but the hotkey press never activates the script. Link to comment Share on other sites More sharing options...
wakillon Posted August 5, 2011 Share Posted August 5, 2011 It works well for me. AutoIt 3.3.14.2 X86 - SciTE 3.6.0 - WIN 8.1 X64 - Other Example Scripts Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now