Why is ^c not considered secure

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
sark
Posts: 22
Joined: 02 Mar 2019, 04:48

Why is ^c not considered secure

Post by sark » 28 Jan 2023, 11:43

Hi all.

What does the manual mean when it says ^c is not considered secure, and recommends {control down}c{control up} instead.
I,ve had no issues so far with the former, so am curious what less secure means.

Mark
Last edited by sark on 28 Jan 2023, 13:24, edited 1 time in total.

User avatar
Xtra
Posts: 2744
Joined: 02 Oct 2015, 12:15

Re: Why is ^c not considered secure

Post by Xtra » 28 Jan 2023, 12:30

When doing long term automation Send, {Control Down}c{Control Up} is more reliable.
Thousands to millions of operations of copying to the clipboard would show Send, ^c is not as reliable.

This applies to any modifier keys being sent.

HTH

swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: Why is ^c not considered secure

Post by swagfag » 28 Jan 2023, 12:44

where in the documentation does it say it? this seems like nonsense

sark
Posts: 22
Joined: 02 Mar 2019, 04:48

Re: Why is ^c not considered secure

Post by sark » 28 Jan 2023, 13:11

Autohotkey 1.1

Tutorial (quick start)
2. Hotkeys & Hotstrings
d. Examples
Fourth example, second line comment

geek
Posts: 1052
Joined: 02 Oct 2013, 22:13
Location: GeekDude
Contact:

Re: Why is ^c not considered secure

Post by geek » 28 Jan 2023, 13:41

I believe you are referring to this here? https://www.autohotkey.com/docs/v1/Tutorial.htm#s24

I think the word "secure" here is meant more in the sense of effectiveness / robustness. Sending {Ctrl Down} and {Ctrl Up} separately increases the time between keypresses when using the default SetKeyDelay. For certain target applications, it can be a tad bit more robust.

sark
Posts: 22
Joined: 02 Mar 2019, 04:48

Re: Why is ^c not considered secure

Post by sark » 28 Jan 2023, 15:10

geek wrote: I believe you are referring to this here? https://www.autohotkey.com/docs/v1/Tutorial.htm#s24
Yes......So I assume ^c was just an early method that has been improved upon, but often still functions just fine.

Thanks for the replies.

Mark

Post Reply

Return to “Ask for Help (v1)”