Previous | Index | Next |
Specialist conversion methods
URLFrom:
Pass an alias, file, HFS path or POSIX path, and an NSURL will be returned
+ (NSURL *)URLFrom:(id)aliasFileOrPath
aliasFileOrPath = alias, file, HFS path or POSIX path
An NSURL
Version 1.0.0
If possible, use BridgePlus script library’s Cocoaify command instead.
use scripting additions
use framework "Foundation"
use script "BridgePlus"
load framework
set theResult to current application's SMSForder's URLFrom:(path to desktop)
--> (NSURL) file:///Users/shane/Desktop/