Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Save open tabs in Safari into a bookmarks folder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Save open tabs in Safari into a bookmarks folder
Authored by: Anonymous on Nov 30, '05 06:53:35PM
The script didnt quite work for me as expected - it would stop on this line :

click menu item AddBookmarkFolder of menu Bookmarks of menu bar 1
I tried using the ID's mentioned in one of the posts above - but that didnt quite work either... So I ended up using the keyboard shortcut to create a book mark folder. In case you are having a similar issue, try replacing this line with :

keystroke "N" using [shift down, command down]


[ Reply to This | # ]
Menu IDs
Authored by: Lou Kash on Dec 01, '05 06:22:12AM

If you use Tiger, it's possible that Safari 2 has additional menu items for adding RSS feeds; I don't know. In that case it's likely that an ID doesn't work anymore.

You can check what menu items are being selected if you run the script from the Script Editor window while having the Event Protocol tab or window open.

You might have noticed that I have used ID 4 for the AddBookmarkFolder variable. Funny though that the item "Add Bookmark Folder" is the third *visible* entry in the Bookmarks menu, thus there must be an invisible item above.
In fact, the "Show Bookmarks" item are two items in one space. "Hide Bookmarks" (if Bookmarks are visible) has ID 1 whereas "Show Bookmarks" has ID 2.
Separators are menu items as well, by the way.



[ Reply to This | # ]