cm_Copy without dialog

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Hurdet
Power Member
Power Member
Posts: 716
Joined: 2003-05-10, 18:02 UTC

cm_Copy without dialog

Post by *Hurdet »

When i sendmessage 905 cm_Copy, TC display dialog to confirm destination copy. Do it is possible to avoid to direct copy?
it would be very useful for scripts.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You can post this message and then send Enter keypress to confirmation window.
Hurdet
Power Member
Power Member
Posts: 716
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet »

MVV wrote:You can post this message and then send Enter keypress to confirmation window.
i'n not cap because i have to wait end of sendmessage to send keypress.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I mean you should post messages rather than send 'em. In other words, use PostMessage instead of SendMessage, it doesn't wait until message is processed.
Hurdet
Power Member
Power Member
Posts: 716
Joined: 2003-05-10, 18:02 UTC

Post by *Hurdet »

ty, I had not thought.
Post Reply