Somebody Someware Posted September 20, 2006 Share Posted September 20, 2006 If I put a dot anywhere in the script AutoIt will just exit. How do I fix that? Thanks in advance. Go to This site for my best product! Link to comment Share on other sites More sharing options...
Helge Posted September 20, 2006 Share Posted September 20, 2006 (edited) You know that you can't just add dots wherever you want in the script and expectit to work, right ? Anyway, it would be kind of useful if you actually showed ussome example code where it fails. Edited September 20, 2006 by Helge Link to comment Share on other sites More sharing options...
Somebody Someware Posted September 20, 2006 Author Share Posted September 20, 2006 You know that you can't just add dots wherever you want in the script and expect it to work, right ? Anyway, it would be kind of useful if you actually showed us some example code where it fails. This is where it goes wrong: expandcollapse popupFunc DoIt() Send( "{ALTDOWN}" ) Send( "d" ) Send( "{ALTUP}" ) Send( "{CTRLDOWN}" ) Send( "a" ) Send( "{CTRLUP}" ) Send( "{CTRLDOWN}" ) Send( "c" ) Send( "{CTRLUP}" ) $phrase = ClipGet() If FileExists( $phrase".easywebber" ) Then $answer = FileReadLine( $phrase".easywebber" ) Send( "{BACKSPACE}" ) Send( $answer ) Send( "{ENTER}" ) ClipPut( "" ) Else MsgBox(0, "EasyWebber","Even geduld alstublieft.",1) Send( "{ALTDOWN}" ) Send( "d" ) Send( "{ALTUP}" ) Send( "{CTRLDOWN}" ) Send( "a" ) Send( "{CTRLUP}" ) Send( "{CTRLDOWN}" ) Send( "c" ) Send( "{CTRLUP}" ) $phrase = ClipGet() If FileExists( $phrase ) Then $answer = FileReadLine( $phrase".easywebber" ) Send( "{BACKSPACE 100}" ) Send( $answer ) Send( "{ENTER}" ) ClipPut( "" ) Else #Region --- CodeWizard generated code Start --- ;MsgBox features: Title=Yes, Text=Yes, Buttons=OK, Icon=Critical, Timeout=30 ss, Miscellaneous=Top-most attribute If Not IsDeclared("iMsgBoxAnswer") Then Dim $iMsgBoxAnswer $iMsgBoxAnswer = MsgBox(262160,"Fout","Er is een fout opgetreden." & @CRLF & "Het is een goed idee om het opnieuw te proberen door Shift+Enter in te drukken nadat u deze foutmelding heeft afgesloten." & @CRLF & "Indien u deze foutmelding blijft krijgen controleer dan of de snelkoppeling bestaat" & @CRLF & "Indien u dit beide nagekeken hebt en deze foutmelding blijft verschijnen neem dan contact op met EasyWebber support" & @CRLF & "rubenvanos@gmail.com" & @CRLF & "Sorry voor het eventuele ongemak.",30) Select Case $iMsgBoxAnswer = -1 ;Timeout Case Else ;OK EndSelect #EndRegion --- CodeWizard generated code End --- EndIf EndIf EndFunc Go to This site for my best product! Link to comment Share on other sites More sharing options...
Helge Posted September 20, 2006 Share Posted September 20, 2006 $phrase".easywebber"oÝ÷ ÚÈhºW[y«¢+ØÀÌØíÁ¡É͵ÀìÅÕ½Ðì¹ÍåÝÈÅսРLink to comment Share on other sites More sharing options...
Somebody Someware Posted September 20, 2006 Author Share Posted September 20, 2006 $phrase".easywebber"oÝ÷ ÚÈhºW[y«¢+ØÀÌØíÁ¡É͵ÀìÅÕ½Ðì¹ÍåÝÈÅսРThank you very much! Having an own extension is so cool! Go to This site for my best product! Link to comment Share on other sites More sharing options...
jvanegmond Posted September 20, 2006 Share Posted September 20, 2006 I think it's annoying. github.com/jvanegmond Link to comment Share on other sites More sharing options...
Somebody Someware Posted September 23, 2006 Author Share Posted September 23, 2006 I think it's NOT annoying.This message is right! Go to This site for my best product! 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