views:

36

answers:

1

I want to implement a tiny app that can save the current url opening in the browser to delicious. So the first thing to do is get the url. So what function/class can we use to get the curl in the browser?

A: 

You need to use AppleScript; see this question for scripts for a variety of browsers.

smorgan
Is there any exist cocoa api can do that ?
Roc Yu
http://developer.apple.com/Mac/library/documentation/Cocoa/Conceptual/ScriptingBridgeConcepts/Introduction/Introduction.html
smorgan