Auto Paste specific link/text in Google Chrome

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
obliteration
Posts: 5
Joined: 29 Nov 2019, 19:12

Auto Paste specific link/text in Google Chrome

17 Jan 2020, 12:05

Hello,

I am sorry if the answer was here, I didn't find anything.

Is it possible to have a specific link copied and then paste it in Google Chrome repetetively. Like spamming that specific link automatically (or with a key).

Thanks in advance
User avatar
Yakshongas
Posts: 590
Joined: 21 Jan 2020, 08:41

Re: Auto Paste specific link/text in Google Chrome

09 Feb 2020, 15:44

Yes very easy, this script toggles on by pressing the F1 and toggles off with the same key (if it doesn't activate instantly keep it pushed down for 0.5s or so) and creates a new tab with the content you have in your clipboard.

Code: Select all

F1::
	Toggle :=false
	Loop
	{
		Send, ^t
		Sleep, 300
		Send, %clipboard%
		Sleep, 100
		Send, {enter}
		sleep, 100
	}until !Toggle

F1 Up::Toggle :=!Toggle
Please mark your topics as solved if you don't need any further help. ✅

Need a little more help? Discord : Yakshongas#9893 🕹

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: wineguy and 393 guests