Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/12/2014 in all areas

  1. Hi! Today I want to show you my current AutoIt project: The ISN AutoIt Studio. The ISN AutoIt Studio is a complete IDE made with AutoIt, for AutoIt! It includes a GUI designer, a code editor (with syntax highlighting, auto complete & intelisense), a file viewer, a backup system, trophies and a lot more features!! Here are some screenshots: Here some higlights: -> easy to create/manage/public your AutoIt-projects! ->integrated GUI-Editor (ISN Form Studio 2) ->integrated - file & projectmanager ->auto backupfunction for your Projects ->extendable with plugins! ->available in several languages ->trophies ->Syntax highlighting /Autocomplete / Intelisense ->Dynamic Script ->detailed overview of the project (total working hours, total size...) And much more!!! -> -> Click here to download ISN AutoIt Studio <- <- Here is the link to the german autoit forum where I posted ISN AutoIt Studio the first time: http://autoit.de/index.php?page=Thread&threadID=29742&pageNo=1 For more information visit my Homepage: https://www.isnetwork.at So….have fun with ISN AutoIt Studio! PS: Sorry for my bad English! ^^
    1 point
  2. ramirez

    Gui to mail

    Hi guys. A little big help in here. I have a GUI with 7 inputs fields and submit button. I need to, when the operator press the submit the script imports the data to a column table in a mail.oft. At this point I use the SEND command to insert data in the table, line by line. I want to past all the info in the mail at once. GUICreate("My Gui", 562, 600, 192, 114) GUICtrlCreatelabel("Field 1", 200, 80, 324, 20) $Field1 = GUICtrlCreateInput("Field 1", 200, 100, 324, 20, $ES_NUMBER) GUICtrlCreatelabel("Field 2", 200, 130, 324, 20) $Field2 = GUICtrlCreateInput("Field 2", 200, 150, 324, 20, $ES_NUMBER) GUICtrlCreatelabel("Field 3", 200, 180, 324, 20) $Field3 = GUICtrlCreateInput("Field 3", 200, 200, 324, 20, $ES_NUMBER) GUICtrlCreatelabel("Field 4", 200, 230, 324, 20) $Field4 = GUICtrlCreateInput("Field 4", 200, 250, 324, 20) GUICtrlCreatelabel("Field 5", 200, 280, 324, 20) $Field5 = GUICtrlCreateInput("Field 5", 200, 300, 324, 20, $ES_NUMBER) GUICtrlCreatelabel("Field 6", 200, 330, 324, 20) $Field6 = GUICtrlCreateInput("Field 6", 200, 350, 324, 20) GUICtrlCreatelabel("Field 7", 200, 380, 324, 20) $Field7 = GUICtrlCreateInput("Field 7", 200, 400, 324, 60, $ES_MULTILINE) $send = GUICtrlCreateButton("send", 200, 480, 324, 40, 0) $exit = GUICtrlCreateButton("exit", 420, 540, 50, 40, 0) $lbcentral = GUICtrlCreateLabel("My Gui", 150, 30, 200) GUICtrlSetFont(-1, 14, 400, 0, "MS Sans Serif") $Pic1 = GUICtrlCreatePic("5172_quad.jpg", 20, 150, 141, 142, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS)) GUISetState() While 1 Switch GUIGetMsg() Case $SEND ShellExecute("send.oft") If GUICtrlRead($) = "" Then GUICtrlSetData($Field2, "Keep") Else GUICtrlRead($Field7) EndIf Sleep(1000) Send(GUICtrlRead($Field1) & " - " & GUICtrlRead($Field2)) Sleep(500) Send("{TAB 2}") Send(GUICtrlRead($Field1)) Sleep(500) Send("{TAB 2}") Send(GUICtrlRead($Field3)) Sleep(500) Send("{TAB 2}") Send(GUICtrlRead($Field2)) Sleep(500) Send("{TAB 2}") Send(GUICtrlRead($Field4)) Sleep(500) Send("{TAB 2}") Send(GUICtrlRead($Field5)) Sleep(500) Send("{TAB 2}") Send(GUICtrlRead($Field6)) Sleep(500) Send("{TAB 2}") Send(GUICtrlRead($Field7)) $ask = MsgBox($MB_YESNO, "Send", "Is this correct? This will send the mail.") If $ask = 6 Then Send("!s") ;Else ;Sleep(1500) ;Send("!s") Endif Case $GUI_EVENT_CLOSE ExitLoop Case $exit ExitLoop EndSwitch WEnd
    1 point
  3. ramirez

    Gui to mail

    Anyone?
    1 point
  4. Hi, Regroup your controls in arrays and use For...Next for iteration. Br, FireFox.
    1 point
  5. DW1

    Progress Bar | Help

    Check out >ITaskBarList by Beege
    1 point
  6. sketchin

    Just starting out...

    Alright, so since my last first project was scrapped since I didn't read the rules I came up with a new project. I am checking out Kodo which is kinda cool and decided I would like to make a fully functional CMS and website monitor. I am going to make specific php files just to incorporate with this program and what not, I think it will be pretty cool if my idea pans out completely. Since I am better at web development I was thinking of having it load the actual webpage in IEFrames but I got no idea how to incorporate that into the program since everything seems to run off fetch functions. Is there a way to display a web page via a form on AutoIt? Last part of this is one that does fall under the rules category a little so if it does just ignore it. I also want to plus this program into the actual server via ssh in order to get general stats of my server updated every couple minutes. Does this have the ability to interact with SSH?
    1 point
  7. PhoenixXL

    Progress Bar | Help

    If you want to just get an static idle icon besides an progress bar, use GuiCtrlCreateIcon and if you want an animated one use _GUICtrlButton_SetImageList Besides, I feel, I could not get exactly what you are asking. Please explain a bit more of what you want to do. Regards
    1 point
  8. Palestinian, There is no need to use edit controls if you are not going to enter more than one line at a time (although you can if you like). The way the code was structured it is possible to enter more than 2 chars in the second edit control. I changed the code around somewhat and added the following: - message handler This routine is called for every character entered into the input controls. This gives you the opportunity to edit/deny/change what is entered. - changed you edit controls to input controls - added labels - added dummy controls These are where you get control at every char entered - added logic to test for alpha / num where appropriate (you can do the error routine(s)) Again, the Help files and the Wiki are your best friend right now. #include <GuiEdit.au3> #include <array.au3> #include <GUIConstants.au3> #AutoIt3Wrapper_Add_Constants=n Local $gui010 = GUICreate('', 400, 500) Local $aSize = WinGetClientSize($gui010) GUICtrlCreateLabel('Medical', 20, 20, 70, 20) Local $Medical = GUICtrlCreateInput('', 80, 20, 30, 20) GUICtrlCreateLabel('Medical2', 20, 50, 70, 20) Local $Medical2 = GUICtrlCreateInput('', 80, 50, 30, 20) ; the following two controls are actioned by the command routine Local $Medical_dummy = GUICtrlCreateDummy() Local $Medical2_dummy = GUICtrlCreateDummy() Local $Process_Entries = GUICtrlCreateButton('Process Entries', 20, 250, 360, 20) GUISetState() GUIRegisterMsg($WM_COMMAND, 'WM_COMMAND') Local $MC[0][2], $str While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit Case $Process_Entries _ArrayDisplay($MC) For $1 = 0 To UBound($MC) - 1 $str &= $MC[$1][0] & ' - ' & $MC[$1][1] ; ; here is where you would do something with the variable ; ConsoleWrite($str & @LF) $str = '' Next Case $Medical_dummy If Not StringIsAlpha(GUICtrlRead($Medical)) Then ; make sure character entered is alpha ; ; do some error routine ; Else GUICtrlSetState($Medical2, $GUI_FOCUS) EndIf Case $Medical2_dummy If Not StringIsDigit(GUICtrlRead($Medical2)) Then ; make sure char entered is number ; ; do sone error routine ; EndIf If _GUICtrlEdit_LineLength($Medical2) = 2 Then ; when two chars have been entered.... ReDim $MC[UBound($MC) + 1][2] ; increase array $MC[UBound($MC) - 1][0] = GUICtrlRead($Medical) ; add each input control to the array $MC[UBound($MC) - 1][1] = GUICtrlRead($Medical2); ... GUICtrlSetData($Medical, '') ; blank the input controls GUICtrlSetData($Medical2, '') ; ... GUICtrlSetState($Medical, $GUI_FOCUS) ; set focus back to first input control EndIf EndSwitch WEnd ; this routine is called every time something is entered in one of the input boxes ; The routine then actions a control (dummy) where you do stuff Func WM_COMMAND($hWnd, $iMsg, $wParam, $lParam) Switch BitShift($wParam, 16) Case $EN_UPDATE Switch BitAND($wParam, 0xFFFF) Case $Medical GUICtrlSendToDummy($Medical_dummy) Case $Medical2 GUICtrlSendToDummy($Medical2_dummy) EndSwitch EndSwitch Return $GUI_RUNDEFMSG EndFunc ;==>WM_COMMAND kylomas
    1 point
  9. Palestinian, Using the code from before I've changed the button routine to create a variable that is a concatenation of both columns in each row... #include <GuiEdit.au3> #include <GUIConstantsEx.au3> #include <array.au3> #AutoIt3Wrapper_Add_Constants=n Local $gui010 = GUICreate('', 400, 500) Local $aSize = WinGetClientSize($gui010) Local $Medical = GUICtrlCreateEdit('', 20, 20, 100, 60) Local $Medical2 = GUICtrlCreateEdit('', 20, 150, 100, 60) Local $dumparray = GUICtrlCreatebutton('Dump array MC to Console in Column Format', 20, 250, 360, 20) GUISetState() Local $finalMC1, $finalMC2, $MC[0][2], $str While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE Exit case $dumparray _arraydisplay($MC) for $1 = 0 to ubound($MC) - 1 $str &= $MC[$1][0] & ' - ' & $MC[$1][1] ; ; here is where you would do something with the variable ; ConsoleWrite($str & @LF) $str = '' next EndSwitch $finalMC1 = GUICtrlRead($Medical) $finalMC2 = GUICtrlRead($Medical2) If _GUICtrlEdit_LineLength($Medical) = 1 And _GUICtrlEdit_GetModify($Medical) > 0 Then GUICtrlSetState($Medical2, $GUI_FOCUS) _GUICtrlEdit_SetModify($Medical, False) EndIf If _GUICtrlEdit_LineLength($Medical2) = 2 And _GUICtrlEdit_GetModify($Medical2) > 0 Then ReDim $MC[UBound($MC) + 1][2] $MC[UBound($MC) - 1][0] = $finalMC1 $MC[UBound($MC) - 1][1] = $finalMC2 GUICtrlSetState($Medical, $GUI_FOCUS) _GUICtrlEdit_SetModify($Medical2, False) EndIf WEnd
    1 point
  10. VAN0, There is no "compiler optimisation" as there is no real ""compiling" that takes place. But if you download and install the full SciTE4AutoIt package you get the Obfuscator tool which, when run with the StripOnly directive, removes all unused contants and functions before compilation. M23
    1 point
  11. Trend Office scan is reporting this as a virus :/ Can you provide source?
    1 point
×
×
  • Create New...