So I need to do more digging to find out why sandboxing is failing.
This works with sandboxing so it is not the culprit...
include "Tlbx CarbonEvents.incl"
include "Tlbx MacTextEditor.incl"
include "Tlbx UTCoreTypes.incl"
text _sysFont, 13
edit field 1, "Hello, world!", (10, 10)-(110, 26 ), _statNoframed
dim myFldSpec as FSSpec
dim scanStuff As FileScanRec
dim err as OSErr
dim Index as short
err = fn FSMakeFSSpec( 0, 0,"MyDriveName:Applications", @myFldSpec)
scanStuff.ScanSpec = myFldSpec
scanStuff.ScanIndex = Index
Index = 6
While fn ScanFolder( scanStuff ) >= 0
long if (scanStuff.FndrFlags and _finvisible) or left$(scanStuff.ScanSpec.name,1) = "."
'don't add invisible items to the menu
until ( gFBQuit )
On May 9, 2013, at 6:23 PM, Brian S <fblistserve@...
On May 9, 2013, at 4:10 PM, Brian S <fblistserve@...> wrote:
One of the main tenets of sandboxing is all is allowed if the user navigates to the file and selects it.
Page 18 of the App Sandbox Design Guide confirms:
"When a user of your app specifies they want to use a file or a folder, the system adds the associated path to your app’s sandbox. Say, for example, a user drags the ~/Documents folder onto your app’s Dock tile (or onto your app’s Finder icon, or into an open window of your app), thereby indicating they want to use that folder. In response, the system makes the ~/Documents folder, its contents, and its subfolders available to your app."
To unsubscribe, send ANY message to: futurebasic-unsubscribe@... To access the list archives, go to: http://freegroups.net/groups/futurebasic/
Rich Love - Carnation Software
Get 'Say it & Mail it' for iPhonehttp://www.SayitMailit.com
MacWise Terminal emulation for Macintosh
Twitter - http://twitter.com/CarnationSW
Email - RichLove@...