Jump to content
Sign in to follow this  
jaytftw

Simple GUI: Download and rename a file

Recommended Posts

jaytftw

I need help writing a script.  I want to do this:

  1. Have a program that opens a window.

  2. You type in some text that you want your file to be.

  3. You then select A or B (radio buttons?).  

  4. Hit OK, and based on typed name & selection, it downloads 1 of 2 files (A or B) to your desktop and renames it to what you typed.

Share this post


Link to post
Share on other sites
Zedna

Welcome to AutoIt community.

It seems to be very simple task so don't hesitate and try to (visually) create your GUI in Koda

Koda will generate apropriate AU3 GUI code for you ...

Then look into AutoIt helpfile ("C:\Program Files (x86)\AutoIt3\AutoIt.chm") at these functions:

GUICtrlRead()
InetGet()
FileMove()

If you encounter any problems ask questions here ...

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.