Jump to content

Recommended Posts

Posted

I did a search on this and didn't find anything helpful, maybe I just do know how to word it to get results...anywho...

I'm trying to get AutoIT to take some input that I feed it and put it in a form that can pasted easily into Excel. In order to get paste to span cells, I need to give it the "TAB" command. I have no idea how to embed a tab marker inside of a text string.

I tried:

CODE

$var = "First Element" & Send("{TAB}") & "Second Element" & Send("{TAB}") & "Third Element"

ClipPut($var)

But the output I get when hitting "CTRL+V" is "First Element1Second Element1Third Element". Do I need to embed hex/ascii codes? How do I go about doing that?

Any ideas? This seems so simple yet I have no idea where to go from here.

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