meb

This is a prewritten script for The GIMP - Utilizing An Ctrl

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