Sign in to follow this  
Followers 0
Jussip

Send stuff

7 posts in this topic

Hey, is there way to use "Send" command to send some stuff, like IP, username, and such system stuff?

If there is, please write the code here.

Thx

Share this post


Link to post
Share on other sites



Hey, is there way to use "Send" command to send some stuff, like IP, username, and such system stuff?

If there is, please write the code here.

Thx

Use the help file and forum search.

Just out of curiosity what are you using this for?

Share this post


Link to post
Share on other sites

Use the help file and forum search.

Just out of curiosity what are you using this for?

I have tried =/

Im making small prog, so when i press a button it writes comp info to a inputbux =)

Share this post


Link to post
Share on other sites

I have tried =/

Im making small prog, so when i press a button it writes comp info to a inputbux =)

Post an example of what you tried, and be sure to explain what you wanted it do.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

You wouldnt send them you would use them as Variables.

$ip = @IPAddress1
$user = @username

;This is you sending it to a msgbox!

Msgbox(0,'Hello','Your Username is '&$user&' and your IP is '&$ip)

;And or 

Send($IP&' ' $user)
Edited by lordicast

[Cheeky]Comment[/Cheeky]

Share this post


Link to post
Share on other sites

You wouldnt send them you would use them as Variables.

$ip = @IPAddress1
$user = @username

;This is you sending it to a msgbox!

Msgbox(0,'Hello','Your Username is '&$user&' and your IP is '&$ip)

;And or 

Send($IP&' ' $user)
Those macros return strings, and will work fine as AlmarM proposed, as will any other function that returns a string. For example:
Global $avArray[2] = ["xab", "cdx"]
Send(StringUpper(StringTrimLeft($avArray[0], 1) & @UserName & StringTrimRight($avArray[1], 1)))

There is no need to save them to variables first.

:)


Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

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