Sign in to follow this  
Followers 0
Luv

GUI+Certain Func

4 posts in this topic

Hello Again,

This Time i want to ask how can i make a GUI box with start & finish buttons...and also a space to enter desired delay for certain function.

for example i want to send 1 to a window..the GUI to have a start button that will start the script,end button to end the script,and finally a space to write in the desired delay for the send function.

also will be happy if u can tell me how may i insert an image into that box..thxxx

Share this post


Link to post
Share on other sites



Luv,

how can i make a GUI box

You would use GUICreate and GUISetState,

with start & finish buttons

including GUICtrlCreateButton twice

a space to enter desired delay

and GUICtrlCreateInput.

the GUI to have a start button that will start the script,end button to end the script,and finally a space to write in the desired delay for the send function

You use GUIGetMsg in a While...WEnd loop to detect user action on the controls you created earlier.

how may i insert an image into that box

You can use GUICtrlCreatePic, but you must disable the picture with GUICtrlSetState if any of the other controls overlap.

Details of all of these commnds can be found in the Help file. :P

; --------

If, as I suspect, the above makes little or no sense to you at present, then you need to do a bit of studying before you continue. Reading the Help file (at least the first few sections - Using AutoIt, Tutorials and the first couple of References) will help you enormously. You should also look at the excellent tutorials that you will find here and here - you will find other tutorials in the Wiki (the link is at the top of the page). There are even video tutorials on YouTube if you prefer watching to reading.

I know you want to start coding NOW, but a little study will save you a lot of trouble later on, believe me. :party:

When you have studied AutoIt for a while, try coding what you want yourself. You know where we are when you run into trouble. :mellow:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

there is no thank you button otherwise i would thank you :mellow:

Share this post


Link to post
Share on other sites

Luv,

A pleasure. :mellow:

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0