meb

AUTOHOTKEY - GIMP Script

meb
Mar 19th, 2017
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. ;
  2. ; AutoHotkey Version: 1.x
  3. ; Language: English
  4. ; Platform: Win9x/NT
  5. ; Author: A.N.Other <[email protected]>
  6. ; http://morethanknitting.blogspot.com/2014/07/gimp-autosave-hack.html
  7. ; Script Function:
  8. ; Template script (you can customize this template by editing "ShellNew\Template.ahk" in your Windows folder)
  9. ;
  10.  
  11. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  12. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  13. SetWorkingDir %C:\Program Files\GIMP 2\bin\gimp-2.8.exe% ; Ensures a consistent starting directory.
  14.  
  15.  
  16.  
  17. #Persistent
  18.  
  19. ; Save the file every one minute.
  20. SetTimer, AutoSave, 60000, On
  21.  
  22. AutoSave:
  23. IfWinActive, ahk_class gdkWindowToplevel
  24. Send {Blind}^s
  25. return
Advertisement
Add Comment
Please, Sign In to add comment