Jump to content

control read only portion of txt file


mud409
 Share

Recommended Posts

Im doing a guictrlread thats calling txt files to access IPs. I would like to add nicknames to it that will distinguish them. The info the script looks for from the txt file is for a list 192.168.0.1|192.168.0.2 |192.168.0.3 The GUI uses this info to create it's combo box info with and then grabs the one selected from the combo box later to use while running the script.

Now what I want is something that looks like this

*mud409*192.168.0.1|*nickname2*192.168.0.2|*nick3*192.168.0.3

The combo box would read the whole thing so the user could distinguish which players IP he wanted to play. The second call for the combo box later would retrieve only the IP address itd ignore the stuff between asterisks.

Is this possible?

As well Id like to detect what text has been placed in these combo boxes before executing the script. Ive left a few forms pre filled out with information like Enter IP Address and "Enter Game Name" If you run the script with those in it fails miserably...

I've included the script incase any of you would like to take a peak... To run the script you need mame32k 0.64 and O746 release of kaillera that's from Nov 02 2007 (other versions will work with slight adjustments) to look at the script, you need eyeballs.

Any general advice on the script is appreciated too, this is my firstish autoit script. It works, but I really have no clue what I'm doing.

standalone2.au3

Edited by mud409
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...