Jump to content
Sign in to follow this  

Outputting text from variable?

Recommended Posts



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



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

Share this post

Link to post
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

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.