| View previous topic :: View next topic |
| Author |
Message |
jamn Guest
|
Posted: Thu Apr 03, 2008 9:00 am Post subject: silently add url to firefox bookmarks database |
|
|
| Can autohotkey add a url (and a title text) to Firefox bookmarks system silently? With silently I mean without popping up any windows and controlling them through keyboard actions or something like that. |
|
| Back to top |
|
 |
Guest
|
Posted: Thu Apr 03, 2008 9:22 am Post subject: |
|
|
suspicous  |
|
| Back to top |
|
 |
jamn Guest
|
Posted: Fri Apr 04, 2008 9:02 am Post subject: |
|
|
How so?  |
|
| Back to top |
|
 |
Razlin
Joined: 05 Nov 2007 Posts: 434 Location: canada
|
Posted: Fri Apr 04, 2008 12:29 pm Post subject: |
|
|
I beleive you can do it with control send and postmessage.
look it up in help.
Rajat made a tutorial on how to use. |
|
| Back to top |
|
 |
jamn Guest
|
Posted: Sat Apr 05, 2008 12:05 am Post subject: |
|
|
@razlin
Do you mean this thread?
http://www.autohotkey.com/forum/topic126.html
If so, I can't find any details on firefox bookmarking there (I searched for "firefox" on all thread pages and skimmed the hits). But maybe you meant that there's this general tutorial on postmessage which perhaps could be used for firefox bookmarking in some way (yet to be found)...
I also googled "firefox bookmarks postmessage" and similar keywords but didn't find any page that seemed to fit what I'm looking for.
I should have mentioned that I seek a method that works with Firefox 3 so it would somehow use the new places system with its database. I found this reference for developers http://developer.mozilla.org/en/docs/Places |
|
| Back to top |
|
 |
Conquer
Joined: 27 Jun 2006 Posts: 385 Location: Canada
|
Posted: Sat Apr 05, 2008 12:20 am Post subject: |
|
|
Just an idea, run the site hidden then silently send Ctrl+D (Bookmark this page) having your script (critically for most reliable results) hooked onto shell and set the transparency of the window to 100% before it has a chance to appear then send {Enter} to it.
 _________________
 |
|
| Back to top |
|
 |
jamn Guest
|
Posted: Sun Apr 06, 2008 7:05 pm Post subject: |
|
|
Thanks Conquer. I've looked into navigating the GUI via AHK. However, I want to be able to set a custom title and URL for the bookmark. CTRL+D only bookmarks the current URL and its fixed title.
In the Organize Bookmarks window if FF (CTRL+SHIFT+B) there menu Organize has an action called "new bookmark". Triggering that gives a small input screen for URL and title. If I found some easy way to trigger that input screen directly then going the "GUI route" might work out. But I'd still prefer some command line-ish solution.
Any more ideas? |
|
| Back to top |
|
 |
jamn Guest
|
Posted: Sun Apr 06, 2008 7:07 pm Post subject: |
|
|
I wrote: In the Organize Bookmarks window if FF (CTRL+SHIFT+B) there menu Organize ...
I meant: In the Organize Bookmarks window in FF (CTRL+SHIFT+B) the menu Organize ... |
|
| Back to top |
|
 |
|