Bundle/Package Question

Richard Gaskin ambassador at fourthworld.com
Sun Dec 19 14:53:48 EST 2004

Scott Rossi wrote:
> Recently, Dar Scott wrote:
>>>>Anyone know if it's possible to enable an OSX Rev standalone app to
>>>>accept a
>>>>dropped file and automatically place it somewhere within its package
>>>Here's what I use for d&d compression/decompression of files/folders
>>>on MacOS:
>>Are you wanting the app to wake up and work in a special mode?
> No, I'm simply trying to avoid forcing a use to go through the whole "show
> package contents - navigate nested subfolders - find specified folder - copy
> files to folder" routine.  Ideally I'd like a user to be able to drop their
> files on the icon and the files get placed in a designated folder.

If memory serves your app will get an 'odoc' Apple event when a file is 
dropped on it. Use request to get the path, and then you should be able 
to use the path to copy the file's contents into your bundle.

  Richard Gaskin
  Fourth World Media Corporation
  Developer of WebMerge: Publish any database on any Web site
  Ambassador at FourthWorld.com       http://www.FourthWorld.com

More information about the use-livecode mailing list