On Mar 8, 2017, at 9:34 PM, Ken Shmidheiser <kshmidheiser@...> wrote:Steve asked:When the app runs from the Downloads folder in macOS 10.12, it cannot properly locate this folder.
to your app's entitlements file.
local fn DownloadsFolderURL as CFURLRef
dim as CFURLRef downloadsURL
downloadsURL = (CFURLRef)[[[NSFileManager defaultManager] URLsForDirectory:NSDownloadsDirectory inDomains:NSUserDomainMask] lastObject];
end fn = downloadsURL
dim as CFURLRef downloadsFolder
downloadsFolder = fn DownloadsFolderURL
NSLog( @"%@", downloadsFolder )
To unsubscribe, send ANY message to: futurebasic-unsubscribe@... To access the list archives, go to: http://freegroups.net/groups/futurebasic/