Jump to content

Syed23

Active Members
  • Posts

    551
  • Joined

  • Last visited

About Syed23

  • Birthday May 21

Profile Information

  • Member Title
    Mass Spammer! - It's Me
  • Interests
    writing codes, learning new function on the coding part and playing cricket

Recent Profile Visitors

639 profile views

Syed23's Achievements

Universalist

Universalist (7/7)

5

Reputation

  1. Yes Water! This works perfect and awesome!
  2. adding the below lines before _arraydisplay() helped me to resolve the issue. ProcessClose("WINWORD.EXE") Sleep(800) Thank you water for your reply.
  3. Dear All, I am getting Norm.dotm file to be opened request when i display array. is that something i can do stop prompting that message? #AutoIt3Wrapper_AU3Check_Parameters= -d -w 1 -w 2 -w 3 -w 4 -w 5 -w 6 #AutoIt3Wrapper_AU3Check_Stop_OnWarning=Y #include <OutlookEX.au3> Global $oOutlook = _OL_Open() If @error <> 0 Then Exit MsgBox(16, "OutlookEX UDF", "Error creating a connection to Outlook. @error = " & @error & ", @extended = " & @extended) ; ***************************************************************************** ; Example 1 ; List all Email signatures for the current mail account ; ***************************************************************************** Global $aSignatures = _OL_MailSignatureGet() If @error <> 0 Then Exit MsgBox(16, "OutlookEX UDF: _OL_MailSignatureGet Example Script", "Error accessing mail signatures. @error = " & @error & ", @extended: " & @extended) _ArrayDisplay($aSignatures) _OL_Close($oOutlook)
  4. probably can not be the best example what you are looking for but may give some help.... #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $Form1_1 = GUICreate("Form1", 245, 260, 192, 124, Default, $WS_EX_TOPMOST) $1 = GUICtrlCreateButton("-", 32, 88, 75, 25) $2 = GUICtrlCreateButton("A", 32, 128, 75, 25) $3 = GUICtrlCreateButton("B", 32, 168, 75, 25) $4 = GUICtrlCreateButton("C", 32, 208, 75, 25) $5 = GUICtrlCreateButton("0", 136, 88, 75, 25) $6 = GUICtrlCreateButton("1", 136, 128, 75, 25) $7 = GUICtrlCreateButton("2", 136, 168, 75, 25) $8 = GUICtrlCreateButton("3", 136, 208, 75, 25) $xT = GUICtrlCreateInput("", 120, 56, 81, 21) HotKeySet("{F1}","about") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### Opt("SendKeyDelay", 5) Opt("SendKeyDownDelay", 5) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $1 MsgBox(0,"","Inside Loop") EndSwitch WEnd Func about() MsgBox(0,"Func","I AM Here") ; you can add your pause script here EndFunc
  5. As per my knowledge While-Wend loop is never ending loop until you exit the program. so what i will suggest you is to give a try by adding a case with Stop function like pause the script and put a another case to use continueloop to continue with While loop. this may help you to acheive what you are looking for.
  6. Thanks for the quick reply jdelaney! But for all the network users whom i logging those are the default drives which will get mapped in
  7. Hi All, Hope all are good. can some one suggest me why DriveGetDrive("All") function behaves difference when i run with and without #RequireAdmin? I want to get all the drives mapped including Network drives by using function DriveGetDrive("All"). This shows all the drives including Network drives only if i run without #RequireAdmin. If i use #RequireAdmin i am not getting any network drives. Could someone help me to understand why? Thanks in advance!
  8. Hi Altex, Hope i am not out of the track You can create 2 label with same X,Y co-ordinates and hide both of them using whenever you want to show the label you want to show use the function GUICTRLSETSTATE($Lable1,$GUI_SHOW) Melba please correct me if i am wrong.
  9. just wanted to understand a bit more.. why do you want to pause it and start over your program? if you want to pause, how long you want to pause? do you have any time specific time to start over? Bcoz Autoit does not support GOTO line number function. you have to create the logic for that action..
  10. Does Exitloop function helps you?
  11. :)That really did a trick. Sorry for not tried before posting a question
  12. Hi All, Greetings! First time i am trying to use Command line parameter. I am creating a tool which will have 2 parameters.. like /TEST and /?. if i run the tool with this parameter i am trying to perform a particular task. if run the tool without passing any parameter then the tool should perform task.. but when i run the tool without parameter i am getting an Array exceeded error message.. I have given the sample code below. Could someone help me with this difficulty? #include"Array.au3" If IsArray($CmdLine) Then If $CmdLine[1] = "/TEST" Then $Title = "TEST Mode" MsgBox(0,$Title," I AM IN") ElseIf $CmdLine[1] = "/?" Then MsgBox(64, "Help", "Help Message") Exit ElseIf $CmdLine[1] = "" Then $Title = "Core Mode" MsgBox(0,$Title," I AM IN") EndIf EndIf
  13. Thank you so much Guinness! i got that now! sorry for posted question before i tried it...
  14. Hi All, Just Curious to know how the _ArrayUnique() function works... For example.. i have an array which look like below.. $Array[5][2]=[["A", 56],["B", 76],["C", 6],["D", 96],["A", 16]] Now the first row and last row first column of the array has same value. Here Last element is the one which added latest... in this case if i use _ArrayUnique() which one will be removed? either last element or first element?
×
×
  • Create New...