Previous | Index | Next |
Specialist conversion methods
URLsFrom:
Pass a list or array of aliases, files, HFS paths or POSIX paths, and an array of NSURLs will be returned.
+ (NSArray *)URLsFrom:(NSArray *)aliasesFilesOrPaths
aliasesFilesOrPaths = list or array of aliases, files, HFS paths or POSIX paths
An array of NSURLs
Version 1.3.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 URLsFrom:{path to desktop, "/Applications", "~/Documents"}
--> (NSArray) {(NSURL) file:///Users/shane/Desktop/, (NSURL) file:///Applications/, (NSURL) file:///Users/shane/Documents/}