Jump to content

Recommended Posts

Posted (edited)

Hello, I have an idea for a script, but I don't know how to proceed. Here is the basic logic that I would like to replicate in a simple autoit script:

I posted this in the gui section because I would like a gui interface with buttons to represent the different scripts.

Get IP address of local machine (from any of my two network adapters, Ethernet or wireless adapter)

IF IP = 10.*.*.* (in other words, if the ip matches the first octet of my work's DHCP range)

Then Execute script1

Else = Execute script2

EndIf

Exit

Simple huh? Not for a newb like me! Any suggestions would be greatly appreciated!

Edited by attactician
Posted

Please don't double-post. It doesn't look like this belongs in the GUI help section anyway.

"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110

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
  • Recently Browsing   0 members

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