Jump to content

Outputting text from variable?


smud
 Share

Recommended Posts

Hello,

I currently have a variable that contains some text. I want to somehow paste this variable into a text editor using autoit v3.

Also, I am having troubles concatenating two variables together.

For Example:

If I want to combine the following two variables,

$first = Hello

$second = World

how would I combine them?

Is it something like $first+$second

or

$first.$second

Thanks much. I'm still reading the documentation to try and figure this out. But any help appreciated! :blink:

Link to comment
Share on other sites

Read the help file, specifically the "Language Reference" section.

& is for string concatenation.

You can use a number of ways for transferring the text to a text editor:

1 By typing it out (slow for long text) via Send

2 By using the clipboard via ClipPut and ClipGet

3 By setting the GUI control data via GUICtrlSetData

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