Sign in to follow this  
Followers 0
Keaft

limit GUI input box, wild cards?

11 posts in this topic

is there a way to limit a GUI input box so that when you type anything greater than 255 it changes to 255. Also are there wildcards?

ex.

Case $Input1 = "***."
        Send("{TAB}",)
Case $Input1 = "**."
        Send("{TAB}",)
Case $Input1 = "*."
        Send("{TAB}",)

basically if you enter a three, two, or one digit number and then a period it tabs automatically to the next input box

if you havent figured it out it has to do with ip addresses

the script i have so far is attached along with the file that it activates. (keep them both in the same folder)

Thanks in advance

gui2.5.au3

HPHack.exe

Share this post


Link to post
Share on other sites



Hi,

there is a control for IpAddress

Mega


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

sry for double post comps going crazy

Edited by Keaft

Share this post


Link to post
Share on other sites

good nuff I suppose lol.

me and my friend are working on a printer lcd screen display changer.

(mwha)

Maybe for future though...

is there a way to use wild cards?

Share this post


Link to post
Share on other sites

good nuff I suppose lol.

me and my friend are working on a printer lcd screen display changer.

(mwha)

Maybe for future though...

is there a way to use wild cards?

Wildcars for...? The IP Input works great, and this already made, search for it!

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

lol.. no i know it works and im using it.

but i want to know if you can use wildcards and how to for future scripting. I've done a search for wildcards but all i find is wildcards for filenames.

also as you can see i have 2 files attached to the first post, the script and the program is there a way to implement the .exe into the script so you only have one file.

lol i tried to use the search but i couldn't think of another word for implement. compile? extract? import?

Edited by Keaft

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

Grave appologies for the double post again. the edit button is missing....

wildcards for like

If $input1 = "***4567890"
then 
send "myself to china"

(obviously this wont work just an example)

edit:

-.- of course the edit button comes back when i post this...

Edited by Keaft

Share this post


Link to post
Share on other sites

Grave appologies for the double post again. the edit button is missing....

wildcards for like

If $input1 = "***4567890"
then 
send "myself to china"

(obviously this wont work just an example)

edit:

-.- of course the edit button comes back when i post this...

StringRegExp()

:)


"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

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

StringRegExp()

:)

wait... wait... its coming to me..

Case
StringRegExp($input1, "123" ,1,"***",)
Send "{TAB}"

nope i lost it

Edited by Keaft

Share this post


Link to post
Share on other sites

I still do not get want you want!


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post


Link to post
Share on other sites

nevermind....

expect a lcd printer screen changer soon...

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