Jump to content

Send stuff


Jussip
 Share

Recommended Posts

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?

Link to comment
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
Link to comment
Share on other sites

Send(@IPAddress1)
Send(@Username)
Send(Etc.)

Look at the @ stuff in the help file!

AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Link to comment
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)
Edited by lordicast
[Cheeky]Comment[/Cheeky]
Link to comment
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
Link to comment
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
 Share

  • Recently Browsing   0 members

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