Jump to content

Recommended Posts

Posted (edited)

Hi, I'm trying to write a document using microsoft word template, but I cannot accomplish it.

So, I want to try using Send() command but I dunno is it possible to do like this ?

$text = "This is a test"

Send($test)
Edited by slayerz

AUTOIT[sup] I'm lovin' it![/sup]

Posted (edited)

Hi, I'm trying to write a document using microsoft word template, but I cannot accomplish it.

So, I want to try using Send() command but I dunno is it possible to do like this ?

$text = "This is a test"

Send($test)
This assumes that you are not trying to display a message, and that you are trying to send the "This is a test" message to the active window.

Send("" & $test)

Edited by Dana L. Houseman
Posted

Hi, I'm trying to write a document using microsoft word template, but I cannot accomplish it.

So, I want to try using Send() command but I dunno is it possible to do like this ?

$text = "This is a test"

Send($test)
What everybody else said above, and it's probably just a typo, but according to your little sample, your send should be Send($text) not Send($test)....
Posted

What everybody else said above, and it's probably just a typo, but according to your little sample, your send should be Send($text) not Send($test)....

Ah how true, that should be TEXT... Thanks for the correction ResNullius!

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
×
×
  • Create New...