Raised This Month: $12 Target: $400
 3% 

Helpful AutoIt scripts for all!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 12-19-2010 , 18:28   Helpful AutoIt scripts for all!
Reply With Quote #1

What it is:
Quote:
AutoIt v3 is a freeware BASIC-like scripting language designed for automating the Windows GUI and general scripting. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages (e.g. VBScript and SendKeys). AutoIt is also very small, self-contained and will run on all versions of Windows out-of-the-box with no annoying "runtimes" required!

AutoIt was initially designed for PC "roll out" situations to reliably automate and configure thousands of PCs. Over time it has become a powerful language that supports complex expressions, user functions, loops and everything else that veteran scripters would expect.
-Get it here-

In English:
Download it, bosh some code in a .au3 file, compile it to an .exe and you have yourself a funky script that does all kinds of stuff!

List of scripts:
  1. File Uploader

Notes:
I'll add updates if people actually use these scripts and find bugs.
Request a (realistic) script and ill see what i can do =]
__________________
minimiller is offline
Send a message via MSN to minimiller
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 12-19-2010 , 18:29   Re: Helpful AutoIt scripts for all!
Reply With Quote #2

File Uploader
Quite handy if you have a webserver and you dont want to use a turdy uploading thing like imageshack.
Also, the URL to the file will be copied to your clipboard after its uploaded.
Code:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;                                                        ;
;     Created by Stewie!                                 ;
;                                                        ;
;     Instructions:                                      ;
;     Drag and drop files to the .exe to upload them     ;
;                                                        ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#include <FTPEx.au3>

$file = $CmdLine[1]

If $file Then
	$parse = StringSplit($CmdLine[1], "\")
	$num = $parse[0]
	$filename = $parse[$num]
	
	$host = "example.com"			; Hostname of the webserver (Can be a domain name or an IP)
	$user = "username"			; FTP Username
	$pass = "password"			; FTP Password
	$public = "/public_html/"		; If you dont have a /public_html/ leave this as blank ("")
	$folder = "/uploads/"			; This is the folder where your files will upload to
	$open = _FTP_Open("MySQL Upload")
	
	If $open Then
		$conn = _FTP_Connect($open, $host, $user, $pass, 0, 21)
		
		If $conn Then
			$ftpp = _FTP_FilePut($conn, $CmdLine[1], $public & $folder & $filename)
			
			If $ftpp Then
				_FTP_Close($open)
				ClipPut("http://" & $host & $folder & $filename)
			EndIf
		EndIf
	EndIf
EndIf
How To Use
  1. Open a text file.
  2. Drag your file (.mp3, .jpg, .txt etc.) to the compiled .exe file.
  3. Sit back and wait.
  4. Paste the URL thats in your clipboard to your friends!
__________________
minimiller is offline
Send a message via MSN to minimiller
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-19-2010 , 19:22   Re: Helpful AutoIt scripts for all!
Reply With Quote #3

I want a script that will make me a sandwich.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 12-19-2010 , 19:36   Re: Helpful AutoIt scripts for all!
Reply With Quote #4

Quote:
Originally Posted by Exolent[jNr] View Post
I want a script that will make me a sandwich.
In other words; you need a woman.
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 12-19-2010 , 19:39   Re: Helpful AutoIt scripts for all!
Reply With Quote #5

Quote:
Originally Posted by DarkGod View Post
In other words; you need a woman.
I have one, just not living with me.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 12-19-2010 , 20:04   Re: Helpful AutoIt scripts for all!
Reply With Quote #6

Quote:
Originally Posted by Exolent[jNr] View Post
I want a script that will make me a sandwich.
:lolface:
might have to wait for an autoit update before i can get that to you
__________________
minimiller is offline
Send a message via MSN to minimiller
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 12-19-2010 , 20:17   Re: Helpful AutoIt scripts for all!
Reply With Quote #7

Quote:
Originally Posted by Exolent[jNr] View Post
I want a script that will make me a sandwich.
mmmwwwwhahahahahahaha
__________________
Happy Happy Joy Joy

sinblaster is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode