sat6804 Posted February 18, 2016 Share Posted February 18, 2016 Hi , I have created AutoIt .exe file for adobe pdf file comparison , while comparing time we facing some issues in adobe at the time how to quit/kill/close/exit that particular script? Please share your thought on this .. Thanks, Sat6804 Link to comment Share on other sites More sharing options...
InunoTaishou Posted February 18, 2016 Share Posted February 18, 2016 HotKeySet("{End}", "Close") Func Close() Exit 0 EndFunc AutoItSetOption("WinTitleMatchMode", -2) Global const $name_of_window = "Your Adobe Application Name" Global Const $hWnd_adobe = WinGetHandle($name_of_window) While (WinExists($hWnd_adobe)) Sleep(100) WEnd ConsoleWrite("Your " & $name_of_window & " has been exited. Closing AutoIt exe" & @LF) Exit 0 Or right click the tray icon and click exit Link to comment Share on other sites More sharing options...
Developers Jos Posted February 18, 2016 Developers Share Posted February 18, 2016 Please stick to one topic, even when you have 2 questions about your problem script. You can always kill the script from it's trayIcon (which is also used for the suggestion I made in the other thread.) Other option is like provided by the previous poster. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. 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