strg+c script Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
hantelbankheber
Posts: 2
Joined: 07 Aug 2017, 09:04

strg+c script

07 Aug 2017, 09:27

I need an ahk script that can copy a marked area into a variable. (Much like strg+c)
neomulemi6
Posts: 216
Joined: 30 Jun 2016, 06:01

Re: strg+c script  Topic is solved

07 Aug 2017, 10:37

Not really sure what you mean. If you're talking about highlighted text, you can do it like this:

Code: Select all

Send ^c ; copy the text to clipboard
Variable = %clipboard% ; use the built-in "clipboard" variable
hantelbankheber
Posts: 2
Joined: 07 Aug 2017, 09:04

Re: strg+c script

07 Aug 2017, 13:19

Yep, thats what I need. Thanks!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Chunjee, inseption86, jaka1, rc76, Rohwedder and 317 guests