Loading a url

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
cleetz
Posts: 30
Joined: 04 Feb 2023, 15:09

Loading a url

Post by cleetz » 04 Dec 2023, 20:02

Hello. Is there any way to load a url I type with a click instead of sending enter using AHK?

User avatar
mikeyww
Posts: 27372
Joined: 09 Sep 2014, 18:38

Re: Loading a url

Post by mikeyww » 04 Dec 2023, 20:15

Code: Select all

#Requires AutoHotkey v1.1.33

F3::
InputBox url, Navigate, Enter the URL.,, 300, 125
If !ErrorLevel && url != ""
 Run % (InStr(url, ":") ? "" : "http://") url
Return

Post Reply

Return to “Ask for Help (v1)”