Sign in to follow this  
Followers 0
ismee

batch to GUI

4 posts in this topic

newbie here, found autoit and form designer...it is great, i want to make my bunch of batch files into GUI

so user can select and run it...

how to make it by using form desinger then use autoit???

example

list:

1.0 testa

1.0.1 123.bat

2.0 testb

2.0.1 222.bat

4.0 testc

4.0.1 333.bat

select 1.0.1 123.bat

run

ok

Share this post


Link to post
Share on other sites



ismee,

Welcome to the AutoIt forum. :blink:

how to make it by using form desinger then use autoit???

By learning how to use AutoIt! :P

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. You know where we are if you get into difficulties, but we do expect you to have a go at doing it yourself first. ;)

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

#3 ·  Posted (edited)

After reading some Autoit's basics as Melba said

you should look at GUICtrlCreateList() in the helpfile.

There is also nice example for you.

In Koda this control is called ListBox and is on Standard tab.

EDIT: Also look at example for GUICtrlRead()

Edited by Zedna

Share this post


Link to post
Share on other sites

thanks..now i know the GUICtrlRead command...but how to call my file?

any faster way to point the GUICtrlSetData(-1, "item1|item2|item3", "item2") to my files?

so whenever i got new files, i can import then easily.

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