AutoIt Snippets

Posts 1–3 of 3 · Page 1 of 1
AutoIt Snippets
Use this thread to post your snippets, on the following format (Try to, at least):

Snippet Name: ____________________
Keywords: ____,____,____ ...
Description(Optional): _______________________
Code:
Code:
Code
Also,
Keep it clean.
Haha . Nice one cr8ting this new stuff
A Snippet
A Simple Auto Saving Script

Keywords: auto-save, Word, OpenOffice.

Auto-saves anything that uses Ctrl+S. Designed for Word (I don't like its auto-save function because it never seems to save when I want it to) and tested on OpenOffice.
It auto-saves every 5 minutes and exits when the user types "\". It also should block user input before it saves (so it doesn't send Ctrl+B, etc.)

*If this needs to be removed because it isn't gaming related, remove it.*

Code:
$point = 1
HotKeySet("\", "ExitWS")
Func ExitWS()
	Exit
EndFunc
While $point == 1
	Sleep(300000)
	BlockInput(1)
	Send("^s")
	BlockInput(0)
WEnd
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?