PDA

View Full Version : Create new search through command line


m-rick
2007-03-18, 04:39 AM
I wanted to know if it is possible by the command line to create custom searches like it is possible for hidden preferences ?

For exemple, I want by command line to create this new search, is it possible ?
http://www.macupdate.com/search.php?keywords=%@&os=macosx&button.x=0&button.y=0

troyb
2007-03-19, 04:27 PM
Unfortunately you can't really create a search shortcut via the command line. The shortcuts are stored in your preference file (which you can use the defaults command to edit) but they're a dictionary inside a dictionary which as it probably sounds, is a bit complex. The defaults tool just isn't capable of working with these situations.

That said, you can quickly add search shortcuts to OmniWeb without using the command line. Just control click inside any search field and select "Add search shortcut" from the context menu.