farhan879 Posted December 9, 2008 Posted December 9, 2008 (edited) - Edited December 9, 2008 by farhan879 System task ---> My first GUICalculator v1.0 ---> My version of the calculatorNetZilla 1.0 --> Web browserEmail Sender --> You can Send emails with this without opening a web browser
KaFu Posted December 9, 2008 Posted December 9, 2008 (edited) #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> $Form2 = GUICreate("Form2", 261, 168, 303, 219) $Edit1 = GUICtrlCreateEdit("", 32, 16, 185, 89) GUICtrlSetData(-1, "Edit1") $Label1 = GUICtrlCreateLabel("Numer of times to be sent:", 16, 112, 127, 17) $Input1 = GUICtrlCreateInput(5, 144, 112, 89, 21,$ES_NUMBER) $Button1 = GUICtrlCreateButton("Send", 80, 136, 75, 25, 0) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Button1 sleep(3000) for $i = 1 to GUICtrlRead($Input1) Send(GUICtrlRead($Edit1),1) Next EndSwitch WEnd But better use a function like _IsPressed() or HotKeySet() than a button to trigger the output...maybe with a parallel check of winactive() to ensure the right target... Edited December 9, 2008 by KaFu OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
farhan879 Posted December 9, 2008 Author Posted December 9, 2008 Thank you so much for the fast reply and the help. Thanks again. System task ---> My first GUICalculator v1.0 ---> My version of the calculatorNetZilla 1.0 --> Web browserEmail Sender --> You can Send emails with this without opening a web browser
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