Sign in to follow this  
Followers 0
MaCgyver

inputbox problem

10 posts in this topic

I can't get it to accept more than one character. I want to be able to input a password and use that info to run an application. I'm testing and all it sends is the first character of what I type.

Share this post


Link to post
Share on other sites



show the code

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

Hi,

then show your code, please.

So long,

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

#4 ·  Posted (edited)

Hi,

then show your code, please.

So long,

Mega

$Password = InputBox ( "Password", "Please enter the Banktrade user account password" , ""," m" )

run("notepad.exe")

Sleep(1000)

Send("{"& $Password &"}")

I've tried without the "m". I've tried with more spaces. Just a little bit lost on this.

Edited by MaCgyver

Share this post


Link to post
Share on other sites

I've tried without the "m". I've tried with more spaces. Just a little bit lost on this.

the braces { & } are used for special chars

if your password is made of letters and number simply try send($pass)

Share this post


Link to post
Share on other sites

the braces { & } are used for special chars

if your password is made of letters and number simply try send($pass)

that sends "$password" and not what was entered. tried that command first.

thanks for trying tho.

Share this post


Link to post
Share on other sites

Send($password)

will not send "$password"

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

$Password = InputBox ( "Password", "Please enter the Banktrade user account password" , ""," m" )
run("notepad.exe")
Sleep(1000)
Send($Password)

Finished =) When using variables u dont use quotes.


[s]My scripts =)Password protect process (with tray menu lol)Clickous meousDisable ctrl+alt+del and password protect folder...Andous herous lolKp3s security center v.1Click me[/s]Ok... You shouldnt use annyone of them cuz they use alot of memory and contain alot of errors and stuff.. I was a n00b :P Ignore it... And if u for some reason want to use them... Watch out for my realy bad spelling :I

Share this post


Link to post
Share on other sites

$Password = InputBox ( "Password", "Please enter the Banktrade user account password" , ""," m" )
run("notepad.exe")
Sleep(1000)
Send($Password)

Finished =) When using variables u dont use quotes.

Thanks dude!!!! It worked!!!

Share this post


Link to post
Share on other sites

NP =P


[s]My scripts =)Password protect process (with tray menu lol)Clickous meousDisable ctrl+alt+del and password protect folder...Andous herous lolKp3s security center v.1Click me[/s]Ok... You shouldnt use annyone of them cuz they use alot of memory and contain alot of errors and stuff.. I was a n00b :P Ignore it... And if u for some reason want to use them... Watch out for my realy bad spelling :I

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