Accesss firefox bookmarks through ahk

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
braunbaer
Posts: 478
Joined: 22 Feb 2016, 10:49

Accesss firefox bookmarks through ahk

Post by braunbaer » 04 Dec 2022, 09:45

Hi! I have not yet found a way to access the firefox bookmarks: Add or remove an url in some bookmark folder, check if a given title or url is already a bookmark etc
Is that possible with AHK?

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

Re: Accesss firefox bookmarks through ahk

Post by mikeyww » 04 Dec 2022, 09:58

Hello,

It's not likely to be very straightforward. A basic Web search for Firefox bookmarks, and a computer scan as well, seem to indicate that bookmarks (bookmarks.sqlite) are in a SQLite database. I think that there are some AHK forum posts about SQLite, so perhaps that will reveal a pathway forward.

Code: Select all

Loop, Files, %A_AppData%\Mozilla\Firefox\Profiles\bookmarks.sqlite, R
 Run, %A_LoopFileDir%
Of course, many bookmark managers do exist!

According to one Web site that I saw, the bookmarks are actually in a file called places.sqlite.

Code: Select all

Loop, Files, %A_AppData%\Mozilla\Firefox\Profiles\places.sqlite, R
 Run, %A_LoopFileDir%

braunbaer
Posts: 478
Joined: 22 Feb 2016, 10:49

Re: Accesss firefox bookmarks through ahk

Post by braunbaer » 04 Dec 2022, 10:48

Thanky you for your answer. That's about what I feared...
So I'll have to find out what is the structure of the sqlite database and how to access it (I haven't worked with sqlite yet)


braunbaer
Posts: 478
Joined: 22 Feb 2016, 10:49

Re: Accesss firefox bookmarks through ahk

Post by braunbaer » 05 Dec 2022, 12:13

Thank you for these helpful links. I have not yot yet started searching for infos, so with these links, maybe I can skip this step :)

Post Reply

Return to “Ask for Help (v1)”