
Jack_10
Active Members-
Posts
44 -
Joined
-
Last visited
Everything posted by Jack_10
-
can i do actions using mouse invisibly ?
Jack_10 replied to Jack_10's topic in AutoIt General Help and Support
CoePSX read up ... i just wanna work on my computer during my automated script is working. thx litlmike !! -
hi i mean than i use mose to move, click etc but cursor is hide , and better option ... is it posiible to do ths process hide AND that i can still use my mouse during the script is runing (in the same time script use mouse and i use mouse to do other things) thx for help
-
thx man i will try it
-
hi I have short name of colum but recods in this colum will be much longer so i do like this ( i wanna center column name using spaces) : some spaces name column some spaces record 1 record 2 ... Text from helpfile : "You can control initial column size by padding blanks to the column heading definition. The column can be extend during the GUICtrlCreateListViewItem according to item size. Size of a column will be up to around 25 characters. No resizing will be done during an update by GUICtrlSetData." Do u have any ideas it is possible to more resize column ?
-
i see ... thx for answer i ll try do it use web page ... if i have any problems will share here
-
any ideas ?
-
hi i have searched Autoit's help file but i have found only InetGet function to download from web pages. can i use email to download file and then if is it this file (not randomly spam ) copy attached file and overwrite to file in directory where is curent working script pls help
-
hey anyone try write program which analysis real person voice ? i mean i say word to microphone and autoit will anylysis my voise and will do any commd that i will script
-
can i use Func in other Function ?
Jack_10 replied to Jack_10's topic in AutoIt General Help and Support
thx -
hi can i use one my ows function in other my own function ? like : ;main code ... ... _1funcion() ... ... ; functions Func _1funcion() ... _2function() ... EndFunc Func _2function() ... ... ... EndFunc
-
ExitLoop(3) or ExitLoop[3] or ExitLoop 3
Jack_10 replied to Jack_10's topic in AutoIt General Help and Support
thx i have used ExitLoop(3) and probably is also ok -
hi ExitLoop(3) or ExitLoop[3] or ExitLoop 3 which code is correct?
-
Cant run my own Func with Exit Loop
Jack_10 replied to Jack_10's topic in AutoIt General Help and Support
right thx -
Cant run my own Func with Exit Loop
Jack_10 replied to Jack_10's topic in AutoIt General Help and Support
Yea ! u have nice idea i think this should be ok now : Do _x() If $z = true Then ExitLoop Until Func _x() $y = PixelGetColor(x,y) If $y = 100 Then Send("{enter}") $z = true Return $z EndIf $z = false Return $z EndFunc -
Cant run my own Func with Exit Loop
Jack_10 replied to Jack_10's topic in AutoIt General Help and Support
yes i know but if i copy only function it wont work cus exitloop is in IF EndIf so cant do something like this : ;program ... Do _x() ExitLoop Until ... Fun _x() ... EndFunc -
Cant run my own Func with Exit Loop
Jack_10 replied to Jack_10's topic in AutoIt General Help and Support
thx for code but it is not exacly what i need i have many multilevel loop in program like : Do Do Do ... ... ... ... Until Until Until and wanna exitloop at different level of loop its why i realy need to use ExitLoop in my function (wanna ExitLoop at one level up) -
i have tested u code but now i get error how can i can delated previous Attachments? (and do i have to do it if Attachments = "" )
-
im still newbe and cant do it rather can u paste some code ? pls
-
thx man i have tested it and ... when i send 1st all is ok i recieve mial instantly , but when i send 2nd , 3th etc script need about 18 second to end program and there is no error but i dont recieve mails event after 10 min) so version with ipport and ssl dont generate errors but still not all is ok
-
do u have any ideas ?
-
Error code:2 Description : Cant send mail using server SMTP. Wrong code transport is : 0x800ccc67 Server`s answer is : 421 Cannot connect to SMTP server 193.17.41.99(193.17.41.99:25), correct error 10060
-
hi there i use this script from this forum : #include<file.au3> Global $oMyRet[2] Global $oMyError = ObjEvent("AutoIt.Error", "MyErrFunc") $rc = _INetSmtpMailCom('mail.gmx.net', "DisplayName", "FROM YourAdress@xxx.xx", "TO YourAdress@xxx.xx", "Test Subject", "Test <b>Body</b>", "", "","", "Usernmae", "password") If @error then msgbox(0,"Error sending message","Error code:" & @error & " Description:" & $rc) EndIf Func _INetSmtpMailCom($s_SmtpServer, $s_FromName, $s_FromAddress, $s_ToAddress, $s_Subject = "", $as_Body = "", $s_AttachFiles = "", $s_CcAddress = "", $s_BccAddress = "", $s_Username = "", $s_Password = "") $objEmail = ObjCreate("CDO.Message") $objEmail.From = '"' & $s_FromName & '" <' & $s_FromAddress & '>' $objEmail.To = $s_ToAddress Local $i_Error = 0 Local $i_Error_desciption = "" If $s_CcAddress <> "" Then $objEmail.Cc = $s_CcAddress If $s_BccAddress <> "" Then $objEmail.Cc = $s_BccAddress $objEmail.Subject = $s_Subject If StringInStr($as_Body,"<") and StringInStr($as_Body,">") Then $objEmail.HTMLBody = $as_Body Else $objEmail.Textbody = $as_Body & @CRLF EndIf If $s_AttachFiles <> "" Then Local $S_Files2Attach = StringSplit($s_AttachFiles, ";") For $x = 1 To $S_Files2Attach[0] $S_Files2Attach[$x] = _PathFull ($S_Files2Attach[$x]) If FileExists($S_Files2Attach[$x]) Then $objEmail.AddAttachment ($S_Files2Attach[$x]) Else $i_Error_desciption = $i_Error_desciption & @lf & 'File not found to attach: ' & $S_Files2Attach[$x] SetError(1) return 0 EndIf Next EndIf $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") = $s_SmtpServer $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 ;Authenticated SMTP If $s_Username <> "" Then $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusername") = $s_Username $objEmail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendpassword") = $s_Password EndIf ;Update settings $objEmail.Configuration.Fields.Update ; Sent the Message $objEmail.Send if @error then SetError(2) return $oMyRet[1] EndIf EndFunc;==>_INetSmtpMailCom ; ; ; Com Error Handler Func MyErrFunc() $HexNumber = Hex($oMyError.number, 8) $oMyRet[0] = $HexNumber $oMyRet[1] = StringStripWS($oMyError.description,3) ConsoleWrite("### COM Error ! Number: " & $HexNumber & " ScriptLine: " & $oMyError.scriptline & " Description:" & $oMyRet[1] & @LF) SetError(1); something to check for when this function returns Return EndFunc;==>MyErrFunc and if i send 1st mail i have to wait minimum abount 60 seconds to send next the same mail. my program need to be send mail in different times (it can be even about every 5-10 sec) and if i try send it faster (less then every 60 sec) i get error
-
Cant run my own Func with Exit Loop
Jack_10 replied to Jack_10's topic in AutoIt General Help and Support
so how have to i change code to be ok ? -
Cant run my own Func with Exit Loop
Jack_10 replied to Jack_10's topic in AutoIt General Help and Support
Func _name() $x = PixelGetColor(x,y) If $x = 100 Then Send("{enter}") Return ExitLoop EndIf EndFunc This will be ok ? -
hi here is some codes : Func _name() $x = PixelGetColor(x,y) If $x = 100 Then Send("{enter}") ExitLoop EndIf EndFunc i have to repeat some of code in my script so i add my own function but cant use it cus have error cus use in fuction "ExitLoop"