meb

GIMP AutoHOTKey - Texture - Restart

meb
Dec 3rd, 2014
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. two quick problems I'm having, I need a program namily The Gimp to AutoSave my work every so often; I'm also in need of a script that auto restarts a certain program when it secretly quit responding it's name is Texture it's a auto completion program; and now and then no set time it just stop working; I then have to right-click on the tray icon / exit and restart it.
  2.  
  3.  
  4. Below is the script a gentleman wrote for me in this channel; I don't know how to activate it or how to test it.
  5.  
  6. YOUR HELP IS GREATLY APPRECIATED!!! THANK YOU!!!
  7. -meb
  8.  
  9. --- Start of Script ---
  10. Run Notepad C:\Program Files\GIMP 2\bin\gimp-2.8.exe
  11. SetTitleMatchMode, RegEx
  12. WinGet, MyList, List, \d+x\d+ – GIMP$ ahk_class gdkWindowToplevel ahk_exe gimp-2.8.exe
  13. Loop, % MyList
  14. {
  15. hWnd := MyList%A_Index%
  16. WinGetTitle, MyTitle, ahk_id %hWnd%
  17.  
  18. MsgBox, % MyTitle
  19. }
  20.  
  21. --- eof ---
  22.  
  23. What do I need to do to have this running in AutoHOTKey
Advertisement
Add Comment
Please, Sign In to add comment