meb

AutoHotKey - GIMP Save.ahk

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