Jump to content

Simple GUI: Download and rename a file


jaytftw
 Share

Recommended Posts

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.
Link to comment
Share on other sites

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 ...

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...