Corbana Posted February 22, 2007 Share Posted February 22, 2007 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 Link to comment Share on other sites More sharing options...
Shevilie Posted February 22, 2007 Share Posted February 22, 2007 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 Link to comment Share on other sites More sharing options...
Corbana Posted February 22, 2007 Author Share Posted February 22, 2007 Thank you, I've found the function Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now