Hi all,
I do not have alot of experience in programming (and no experience with Cocoa).
It seems that Cocoa is the way to go for programming on Mac OS X.
To getting a tool to work that we use at our company I should have a small app.
The app is launched on clicking a url from a certain protocol from Firefox or Safari(as an example, the functionality for starting itunes when clicking a link). This app launching works.
However I need to know how I can get the url that is clicked. For now I see only -psnxxxxxx is passed to the application.
Can anyone provide a small piece of working code that just does this?
So a url that is passed from a browser. The app then writes the url to file for example(it doesnt matter if it is proto://name or just name).
Help would be very appreciated.
I am dealing with this problem for a few weeks now and it seems that we might have to give up on Mac.
I do not have alot of experience in programming (and no experience with Cocoa).
It seems that Cocoa is the way to go for programming on Mac OS X.
To getting a tool to work that we use at our company I should have a small app.
The app is launched on clicking a url from a certain protocol from Firefox or Safari(as an example, the functionality for starting itunes when clicking a link). This app launching works.
However I need to know how I can get the url that is clicked. For now I see only -psnxxxxxx is passed to the application.
Can anyone provide a small piece of working code that just does this?
So a url that is passed from a browser. The app then writes the url to file for example(it doesnt matter if it is proto://name or just name).
Help would be very appreciated.
I am dealing with this problem for a few weeks now and it seems that we might have to give up on Mac.