helldragon Posted April 21, 2006 Share Posted April 21, 2006 well, i just started with autoit scripting, and i guess im setting my goals pretty high already, and well ive been having some problems with my autoit scripts, and im not much of a person to keep posting on forums and begging people for help, but i was just wondering if anyone would be able to maybe help me out a little bit through lets say Aol instant messenger, or msn instant messenger? im not asking someone to code something for me, just someone that i can message quickly and ask a quick and simple question when needed. thanks for your time. Link to comment Share on other sites More sharing options...
caramen Posted April 21, 2006 Share Posted April 21, 2006 hihi autoit chat My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
Xenobiologist Posted April 21, 2006 Share Posted April 21, 2006 well, i just started with autoit scripting, and i guess im setting my goals pretty high already, and well ive been having some problems with my autoit scripts, and im not much of a person to keep posting on forums and begging people for help, but i was just wondering if anyone would be able to maybe help me out a little bit through lets say Aol instant messenger, or msn instant messenger? im not asking someone to code something for me, just someone that i can message quickly and ask a quick and simple question when needed. thanks for your time.HI, why not posting your script and a short explanation of the error or missing stuff and I'm sure the forum will help you.So long,Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
helldragon Posted April 22, 2006 Author Share Posted April 22, 2006 ok well here is the code that i have sofar, right now its telling me i have an if statement without and endif statement, but i cant find it.... how does it look? expandcollapse popup; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author: HellsDragon ; ; Script Function: ; SRO Restart script. ; ; ---------------------------------------------------------------------------- ; Script Start - Begin the mofo ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; ;Declarations ; ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; $Scrack=("C:\Documents and Settings\David\Desktop\Bot110\SCrack.exe") $SRO=("C:\Program Files\Silkroad\Silkroad.exe") $SROEXE=("sro_client.exe") $SROLaunch=("Silkroad Online Launcher") $acct=("acct") $pass=("pass") $connected=0 $disconnected=0 ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; ;Main Code ; ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; if processexists($SROEXE) Then $connected=1 $disconnected=0 Else $connected=0 $disconnected=1 While $Connected=0 programs() connect() if connected=2 Then botstart() EndIf WEnd while $Connected=2 sleep(5000) send("{Enter}") WEnd While $Connected = 0 StartPrograms() Connect() If $Connected = 1 Then StartBot() EndIf Wend ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; ;Functions ; ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; func programs() run ($Scrack);launch crack sleep(10000) run($SRO);launch sro launcher sleep(6000) mouseclick("left", 863, 631, 1, 3);click launch $connected=1 endfunc;ending programs() func login() if $connected=1 Then winactivate($SROexe) sleep(1000) send("{ENTER}") sleep(1000) mouseclick("left",675 ,550 ,1 ,0) sleep(1000) send($acct) sleep(1000) send("{TAB}") sleep(1000) send($pass) send("{ENTER}") $connected=2 EndIf endfunc;ending login Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 22, 2006 Share Posted April 22, 2006 (edited) ok well here is the code that i have sofar, right now its telling me i have an if statement without and endif statement, but i cant find it.... how does it look? CODE ; ---------------------------------------------------------------------------- ; ; AutoIt Version: 3.1.0 ; Author: HellsDragon ; ; Script Function: ; SRO Restart script. ; ; ---------------------------------------------------------------------------- ; Script Start - Begin the mofo ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; ;Declarations ; ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; $Scrack=("C:\Documents and Settings\David\Desktop\Bot110\SCrack.exe") $SRO=("C:\Program Files\Silkroad\Silkroad.exe") $SROEXE=("sro_client.exe") $SROLaunch=("Silkroad Online Launcher") $acct=("acct") $pass=("pass") $connected=0 $disconnected=0 ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; ;Main Code ; ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; if processexists($SROEXE) Then $connected=1 $disconnected=0 Else $connected=0 $disconnected=1 While $Connected=0 programs() connect() if connected=2 Then botstart() EndIf WEnd while $Connected=2 sleep(5000) send("{Enter}") WEnd While $Connected = 0 StartPrograms() Connect() If $Connected = 1 Then StartBot() EndIf Wend ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; ;Functions ; ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; func programs() run ($Scrack);launch crack sleep(10000) run($SRO);launch sro launcher sleep(6000) mouseclick("left", 863, 631, 1, 3);click launch $connected=1 endfunc;ending programs() func login() if $connected=1 Then winactivate($SROexe) sleep(1000) send("{ENTER}") sleep(1000) mouseclick("left",675 ,550 ,1 ,0) sleep(1000) send($acct) sleep(1000) send("{TAB}") sleep(1000) send($pass) send("{ENTER}") $connected=2 EndIf endfunc;ending login It's right close to the top. You have an IF, with an ELSE, but no ENDIF to close it: ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; ;Main Code ; ;-==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==--==-; if processexists($SROEXE) Then $connected=1 $disconnected=0 Else $connected=0 $disconnected=1 While $Connected=0 Are you using SciTE? Makes things like that jump right out at 'ya... Whoa... what's with the deja vu? Edited April 22, 2006 by PsaltyDS Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now