Saturday, 2025-01-18, 9:45 AM
Welcome Guest

Blog

Main » 2011 » March » 27 » Web Browser
10:51 AM
Web Browser

We can make a simple web browser in AutoHotkey with the help of COM Standard Library. It was written by Sean, one of the creators of AutoHotkey. You can read the whole post here to know more about this functions.

First download the appropriate library for you to use, depending on your AutoHotkey version. For AutoHotkey Basic users, COM.zip; for AutoHotkey_L users, COM_L.zip; or AutoHotkey64 which has a built-in COM library.

The functions are included int the zipped file, so read them because I will discuss them one-by-one.

Sample Code:

Code
; COM.ahk must be in the same folder of the main application
#Include %A_ScriptDir%\COM.ahk ; Includes COM.ahk

COM_AtlAxWinInit() ; Needed to make the COM functions work

Gui, +LastFound ; It needs to be here
pwb := COM_AtlAxGetControl(COM_AtlAxCreateContainer(WinExist(),0,0,800,600, "Shell.Explorer"))
url := "http://ahktutorials.ucoz.net" ; URL to invoke
COM_Invoke(pwb, "Navigate", url) ; Invoke URL
Gui, Show, w800 h600, Sample Web Browser
return

GuiClose:
ExitApp

Post comments below if you have some questions.

Views: 3660 | Added by: GarenaZero | Tags: web, browser, sample, autohotkey | Rating: 5.0/1
Total comments: 1
1 Davideduth  
0
Dex Sniper Bot is not just a bot; it's a game-changer. Designed for both beginners and seasoned traders, it brings a new level of efficiency and accuracy to your crypto trading endeavors.

Detect Liquidity Pool
Profit Tracking
Instant Buy
Instant Sell

Don't get left behind. Load up before the huge next cycle.

Bot supports SOL/BSC/ETH chains.

https://dexsniperbot.com
https://t.me/chainsdev on Telegram
Skype : congmmo

Tags: dexsniperbot,dex sniper bot,bsc sniper bot,eth sniper bot,ethereum sniper bot,liquidity sniper bot,sonata sniper bot,sniper bot uniswap,sniper bot bsc,uniswapbot,pancakeswapbot,solbot

Name *:
Email *:
Code *: