Skip navigation.

bpm's Operations Room

understanding & extending Opera

Augmented bookmark functions

These macros offer four improvements in bookmark functionality:
  • one-gesture creation of bookmarks routed to the top folder in your system
  • addition of source-page URL to bookmarks made from links (information normally lost - enables you to return to source, effectively bookmarking that as well)
  • use of the description field to attach notes, made convenient
  • option of using selected text as bookmark name


Install by pasting into menus or KB/mouse customization dialog (some also provided as buttons; green links are button-installer tags)

Two basic functions:
  • Quickmark (bookmark into top folder, no questions asked)
  • Annotate (sets up optional quicksave & opens Details panel, ready for user to enter a comment)

Each comes in four versions: page or link, using default name or selection as name.

Remarks
  • bookmarks are sent to top folder on your list, so put the desired target there. To make sure it stays there despite switches between alphabetic and My view, choose a name which makes it alphabetically first, such as "- Quicksave".
  • if you'd rather send new bookmarks to the bottom of your list, outside of any folder, delete the "next item" command.
  • where there is extra content, markers which show up in the bookmark menu or panel are put in front of the name to indicate it: A for the link-source address, C for comment - set off by a prominent divider.
  • link bookmarks have sourcepage URL after name, like this: linkname || sourcepage URL. To return to sourcepage: rightclick bookmark, Properties, copy URL from name field. (Tip: the Properties dialog is stretchable.)
  • comments show up in Opera tooltip which pops up when you hover a bookmark, and can be edited using Properties dialog, but aren't visible on panel or Manage lists (an Opera flaw: can't add the column). There are two ways to view them en masse: use the Export as HTML function in Manage Bookmarks to get an HTML listing which includes comments, or view the bookmark data file (Opera6.adr is the default) in Opera or a text program. (Incidentally, the HTML listing is a way to make Opera bookmarks usable in other browsers. The links work. There is also a version which exports only selected bookmarks - a good way to share sets of bookmarks, for example by email or posting on a website.)
  • most versions use the Copy command, and will overwrite anything you have on the clipboard.

Setup
buttons: drag to toolbar.
KB/mouse: copy the action (everything after the =) and paste into the customization dialog Action field. (To get there, it's Tools/Prefs/Advanced/Shortcuts - then click the mouse or KB edit button.)
menu: copy the entire line and paste into appropriate section of a menu.ini file. Context (i.e. rightclick) menus make sense: Document Popup Menu for page versions, Link Popup Menu for link versions.

using author's name

For pages Quickmark Annotate
Item, "Quickmark" = Add to bookmarks & focus next widget & go to start & next item & OK
Item, "Annotate" = Add to bookmarks & go to line start & insert, "C¶ " & focus next widget & go to start & next item & focus next widget & focus next widget & click button

for links
Item, "Quickmark" = copy document address & Add link to bookmarks & go to line start & insert, "A‡ " & go to line end & insert, " || " & paste & focus next widget & go to start & next item & OK
Item, "Annotate" = copy document address & Add link to bookmarks & go to line start & insert, "AC¶ " & go to line end & insert, " || " & paste & focus next widget & go to start & next item & focus next widget & focus next widget & click button

using selected text as name

for pages
Item, "Quickmark (paste name)" = copy & add to bookmarks & paste & focus next widget & go to start & next item & OK
Item, "Annotate (paste name)" = copy & add to bookmarks & paste & go to line start & insert, "C¶ " & focus next widget & go to start & next item & focus next widget & focus next widget & click button

for links
Item, "Quickmark (paste name)" = copy & add link to bookmarks & paste & go to line start & insert, "A‡ " & go to line end & insert, " || " & copy document address & paste & focus next widget & go to start & next item & OK
Item, "Annotate (paste name)" = copy & add link to bookmarks & paste & go to line start & insert, "AC¶ " & go to line end & insert, " || " & copy document address & paste & focus next widget & go to start & next item & focus next widget & focus next widget & click button

log: learnings & developmentsprivacy button: profile rewind via fileswap (obviously)

Comments

dapxin 12. August 2008, 01:14

This is terrific.

I hav ebeen waiting for this for ages. Complements ctrl+D like George Bush + Tony Blair...:smile:

thumbs up!

PS:

moirob 27. August 2008, 14:21

Sorry I'm kind of new to the whole adding custom buttons and such, "if you'd rather send new bookmarks to the bottom of your list, outside of any folder, delete the "next item" command." How do I delete the "next item" command?

bpm 27. August 2008, 20:17

If pasting those lines into menus, just paste them in and then delete "& next item". That leaves selection on the Bookmarks folder at the top of the list, which routes your bookmark to it.

Buttons are a little more buttoned-up, so here they are with that done:

Quickmark (root folder) Annotate (root folder).

P.S. for future reference, here's the easiest way to change buttons - for example, to give them a different icon: instead of dragging the (sorry, I have to say this) button-installer pseudolink to a toolbar, bookmark it. That captures it in a form you can easily edit. (You then install the button by dragging from the bookmark to a toolbar.) You edit it by rightclicking the bookmark and selecting "edit properties" - the code for the button is sitting there in the the bookmark's URL field (with spaces and punctuation escaped - e.g., space is converted to %20; you just have to get used to that; to get a list of escape codes as a menu for easy refrence, see here). I hope that's clear; you could practise by trying to use the method to prune that "& next item" out of the button code from one of the buttons in the blog post.

moirob 28. August 2008, 07:02

Ah so you can edit it after bookmarking it, thanks.
I had been dragging the "button-installer pseudolink" to where I wanted it in the Address Bar and to edit it dragging it to the URL-typing address bar, editing it there and trying to move it. No luck.
Thanks for the tip -and the already edited links. Much appreciated.

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.