Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4192352025
Fetching contributors…

Cannot retrieve contributors at this time

9 lines (6 sloc) 0.328 kb
var finder = SBApplication.application_("Finder");
// notice that the @ is making the string an NSString instance.
// the fileURL method is part of the JSTalk "Extras" categories
var url = @"/Volumes/srv/Users/gus/Desktop/foo.pict".fileURL();
var item = [[finder items] objectAtLocation:url];
item.comment = "Hello World!";
Jump to Line
Something went wrong with that request. Please try again.