|A Tinderbox Reference File : Import/Export/Formatting : Dragging a URL from web browser|
Dragging a URL from web browser
Dragging a URL onto a view background
Dragging a URL from Safari or other web browser onto a view window background to set the note's URL attribute to the URL, and ViewInBrowser to true.
Map adornments are considered equivalent to the view's background as targets for Safari URL and text drag/drops.
Dragging a URL onto a view (as opposed to a note window) creates a new note. The target HTML file's <title> data - if obtainable - is used as the note's name.
The Badge is set to 'web' and the map icon height of the is the default height for a new note's icon.
Dragging a URL onto a note icon in a view
Dragging a URL onto a note icon in a view window creates a new bookmark note, using the URL data for the title.
Dragging a URL from Safari or other web browser onto a note icon sets the note's URL value, and adds URL to the KeyAttributes of the note. The ViewInBrowser value is no longer set and remains false (i.e. the default value). In Outline and Map view, there you see a special enactment (a disappearing 'URL' caption') when making a drop onto a note.
In Outline view, dropping onto a note icon is just that - the icon at left and not its badge or title.
Dragging a URL onto a note's text window
Dragging a URL onto the text area (not sidebar) of a text window results in a web link with the anchor text in the form [URL title]+[space]+[URL]. Dragging a web link from a web page results in a Tinderbox web link with the same format, though in this case the actual URL will be the target of the source link not the page from which it was dragged.
Dragging a URL into a text window sets the note's URL value and adds it to the KeyAttributes of the note. The ViewInBrowser is value is not affected. The result is the same as if dragging the URL onto the note's view icon.
Resolving the link title
If the browser doesn't supply enough data, a drag to the text window results in the just the URL string being added to the note as text.
If the dragged object is a bookmark (e.g. from Yojimbo), the note name will be taken from the bookmark. If the dragged object is a bare URL, Tinderbox will attempt to fetch the title from the URL and set the note name accordingly.
Dragging images from Safari
Dragging an image from Safari to a note window imports the referenced image as opposed to setting the URL attribute.
|Previous: Date Formats||Next: Dragging Address info into Tinderbox|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]