Jump to content

CTRLDOWN :(


BuddyBoy
 Share

Recommended Posts

  • Developers

But the problem is what the others have alrdy stated... the mouseclick pos[] thing screws up the ctrldown

Who else said it didn't work ?

Works fine for me :

Run("Notepad","",@SW_MAXIMIZE)
WinWait("Untitled")
ClipPut("Test1")
$pos = MouseGetPos()
Send("{CTRLDOWN}")
Send("v")
Sleep(1000)
MouseClick("right", $pos[0], $pos[1], 1)
Send("{Enter}")
ClipPut("Test2")
Send("v")
Send("{CTRLUP}")
Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Hmm if I outcomment the top

MsgBox(0, "blah", 10)

Do

Sleep(100)

$pos = MouseGetPos()

Until _IsPressed("43"); <--- try this BitAND(_IsPressed("11"), _IsPressed("43"))

It works but if I keep it the ctrldown is broken

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

Well maybe instead of having it press ctrl+c... could it work if maybe shift+c? If that would work, can you tell me where to look in the help file for _IsPress, because i cannot find what the numbers mean... And if anyone could tell me the numbers of shift and c that would be great! But first i need to know if that would actually work?

Link to comment
Share on other sites

  • Moderators

Well maybe instead of having it press ctrl+c... could it work if maybe shift+c? If that would work, can you tell me where to look in the help file for _IsPress, because i cannot find what the numbers mean... And if anyone could tell me the numbers of shift and c that would be great! But first i need to know if that would actually work?

turtles

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...