Sign in to follow this  
Followers 0
Corbana

Naming copied results and removal of spaces for copied results

3 posts in this topic

Hi

I am very new to auto it and am trying to write a script with it.

There is a value I wish to obtain from a location within my application so I have set the script to highlight the area and then copy. I now want to name what it has copied as cname I have used the following to do this however it does not appear to work:

$cname = Send("{LCTRL C}")

Also I need to copy a phone number from another area and call this $pnumber but I need to strip all spaces from the result so that they are all in the same format. Unfortunately I have no idea how to do this.

Please can someone point me in the right direction.

Thanks

Share this post


Link to post
Share on other sites



Send("^c")
$var = ClipGet()

For the other have a look in the helpfile in alle the string functions


Start here if you are new Valuater's AutoIT 1-2-3Looking for an UDF - Look hereDo you need to do it twice - Autoit

Share this post


Link to post
Share on other sites

Thank you, I've found the function :whistle:

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  
Followers 0