Jump to content

Recommended Posts

Posted

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

Posted

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?

Posted

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 =)

Posted

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
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]
Posted

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

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...