Thread: AutoIt Snippets

Results 1 to 3 of 3
  1. #1
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy

    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.
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  2. #2
    Slendyy's Avatar
    Join Date
    Oct 2012
    Gender
    male
    Location
    Unknown
    Posts
    1,322
    Reputation
    10
    Thanks
    306
    My Mood
    Cool
    Haha . Nice one cr8ting this new stuff

  3. #3
    Lh2You's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Location
    My bedroom.
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Cynical

    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
    Last edited by Lh2You; 11-04-2012 at 09:19 AM.

Similar Threads

  1. Visualizations in AutoIt
    By Grim in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 14
    Last Post: 08-30-2010, 07:51 AM
  2. Help about a trojan [TR/Autoit.abo]
    By Magicer in forum General
    Replies: 14
    Last Post: 10-29-2009, 04:13 PM
  3. [Tutorial/Snippet][VB6] Reading and writing INI Files
    By That0n3Guy in forum Visual Basic Programming
    Replies: 6
    Last Post: 10-26-2009, 05:31 PM
  4. [Snippet] Detecting Operating System. [Also C++ Lessons?]
    By Faith in forum C++/C Programming
    Replies: 9
    Last Post: 10-23-2009, 05:56 PM
  5. AutoIt help
    By Grim in forum C++/C Programming
    Replies: 4
    Last Post: 08-25-2009, 11:21 AM