Rawox Posted February 6, 2009 Share Posted February 6, 2009 Hi, Does anyone know why this script isn't working? I can't figure it out expandcollapse popupHotKeySet("{F4}", "ExitProg") Opt("WinTitleMatchMode", 2) ;#NoTrayIcon ; ============== VARIABLES ============== Global $iColor1 = 0xD6DED4 ;Homepage Color Global $iColor2 = 0xF0FBF8;Deviation Text Box Color Global $iColor3 = 0x2BFF31;Online Circle Color Global $mess[1] = "<strong><sub>Thing 1</sub></strong>{TAB}{ENTER}" Global $mess[2] = "<strong>Thing 2</strong> :D{TAB}{ENTER}" ; ============== SCRIPT ============== ShellExecute ( "C:\Program Files\Mozilla Firefox\firefox.exe" ) WinWaitActive ( "Firefox" ) Sleep ( 1000 ) Send ( "!d" ) ;Selects Address Bar Sleep ( 100 ) Send ( "deviantart ^{ENTER}" ) ;CTRL+ENTER adds http:// and .com WinWaitActive ( "deviantART" ) Sleep ( 100 ) Start () ; ============== FUNCTIONS ============== Func Start() Sleep ( 1000 ) PixelSearch ( 0, 0, 600, 600, $iColor1, 0 ) If @error Then MsgBox ( 0, "Error", "Something went wrong, we're still improving this script" ) Else MouseClick ( "left", 205, 390, 1, 1 ) Sleep ( 250 ) Send ( "{TAB}{ENTER}" ) WinWaitActive ( "by" ) Sleep ( 250 ) Deviation() EndIf EndFunc Func Deviation() Sleep ( 100 ) Send ( "{END}{END}" ) PixelSearch ( 200, 200, 800, 800, $iColor2, 0 ) If @error Then MsgBox ( 0, "Error", "Something went wrong, we're still improving this script" ) Else MouseClick ( "left", 550, 481, 1, 1 ) $rand = Random ( 1, 3 ) Send ( $mess [Random(1,3)], 1 ) Sleep ( 1000 ) CheckCircle() EndIf EndFunc Func CheckCircle() Sleep ( 100 ) PixelSearch ( 0, 0, 400, 1600, $iColor3, 0 ) If @error Then MsgBox ( 0, "Error", "Something went wrong, we're still improving this script" ) Else MouseClick ( "left", );CLICKS ON LOGO NEED TO MAKE THIS! Start() EndIf EndFunc Func ExitProg() Exit EndFunc Anyone? Link to comment Share on other sites More sharing options...
Authenticity Posted February 6, 2009 Share Posted February 6, 2009 Global $mess[1] = "<strong><sub>Thing 1</sub></strong>{TAB}{ENTER}" Global $mess[2] = "<strong>Thing 2</strong> :D{TAB}{ENTER}"oÝ÷ Ù.q©÷öÚÞuç%j·¯j¸nW®¶²¶¬j[(mìÊÚ¢+cºËn±æ®¶sdvÆö&Â6öç7Bb33c¶ÖW75³%ÒÒ²b33²fÇC·7G&öærfwC²fÇC·7V"fwCµFærfÇC²÷7V"fwC²fÇC²÷7G&öærfwC·µD'×´TåDU'Òb33²Âb33²fÇC·7G&öærfwCµFær"fÇC²÷7G&öærfwC²¤GµD'×´TåDU'Òb33µÐoÝ÷ Ø l¢Ø^r¦j«y«¢+Ù5½ÕÍ ±¥¬ ÅÕ½Ðí±ÐÅÕ½Ðì°¤í 1% -L=81= supposed to give you an error when run within SciTE editor... Link to comment Share on other sites More sharing options...
Rawox Posted February 6, 2009 Author Share Posted February 6, 2009 Global $mess[1] = "<strong><sub>Thing 1</sub></strong>{TAB}{ENTER}" Global $mess[2] = "<strong>Thing 2</strong> :D{TAB}{ENTER}"oÝ÷ Ù.q©÷öÚÞuç%j·¯j¸nW®¶²¶¬j[(mìÊÚ¢+cºËn±æ®¶sdvÆö&Â6öç7Bb33c¶ÖW75³%ÒÒ²b33²fÇC·7G&öærfwC²fÇC·7V"fwCµFærfÇC²÷7V"fwC²fÇC²÷7G&öærfwC·µD'×´TåDU'Òb33²Âb33²fÇC·7G&öærfwCµFær"fÇC²÷7G&öærfwC²¤GµD'×´TåDU'Òb33µÐoÝ÷ Ø l¢Ø^r¦j«y«¢+Ù5½ÕÍ ±¥¬ ÅÕ½Ðí±ÐÅÕ½Ðì°¤í 1% -L=81=<9Q<5-Q!%LÌÌì supposed to give you an error when run within SciTE editor... Got it working The comma was for something I needed to finish Thanks! 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