Jump to content

Recommended Posts

Posted

Thank you JLogan3o13 for keeping up with this thread.

The problem is rather annoying and it seems hard to pinpoint.

steve8tch, thanks for the reply. I was leaning towards it being an IE problem, but if a fix is incorporated in Autoit Script, that would be great. However, it seems JLogan tested it and it is still isn't working. :(

Posted

Have had this issue for a bit while (week tops) with the current project I got. Tried most of combinations without success. And sometimes manually press CTRL+C worked better than having Autoit do it!

However, I spot one last combination I did not try;

Send("{CTRLDOWN}c{CTRLUP}")

Do not ask, but somehow, that is the magic number for me. And it worked like a clock now! Quite odd... maybe I'll make a function of sorts if I ever get this issue again that got most of any combinations of this (in short, it could try every combination for you in an desperate way to make sure the odds for failure is zeroed).

Posted

You don't need beta for this. Just add:

DllCall("ole32.dll", "long", "OleInitialize", "ptr", 0)
...line somewhere in your script if you plan to use clipboard this way later.

 

 

this works like a charm in 3.3.12.0

thank you

Posted

You don't need beta for this. Just add:

DllCall("ole32.dll", "long", "OleInitialize", "ptr", 0)
...line somewhere in your script if you plan to use clipboard this way later.

 

Trancexx! Where have you been in this entire discussion. Haha! In one fell swoop (or one line of code) you have solved a rather large inconvenience for me and others. Thank you!!

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