• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can't drop onto my app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't drop onto my app


  • Subject: Can't drop onto my app
  • From: Steve Thompson <email@hidden>
  • Date: Fri, 22 Oct 2010 09:14:59 -0700

Ok, I feel sort of silly asking this, as I feel I've done this a billion times before, but somehow I'm missing something.

I've written a pretty extensive Quicktime editing script that processes one or a number of QT movies, adding black to the head, concatenating segments, etc and exporting to the desired format with a given naming convention (the text-manipulation was worse that the QT editing!). Everything works when I run the app just fine, I can select one or several source movies with my choose file with prompt.., etc, the script just chunks along happily.

I can't drop files onto the app. Dragging a QT movie does't activate the app in the finder, it doesn't select, nothing.

My structure is basically:

on run
choose file with prompt "Select the feature video file(s) to process:" default location result with multiple selections allowed without invisibles
set chosenFiles to result
set chooseFileFolder to parentFolder(first item of chosenFiles)
open chosenFiles
end run

...

on open videoFiles

process stuff here

end open


shouldn't these handlers allow me to either run the app and select the files in a dialog (which works fine) and/or drop files onto the app?

My brain isn't working this Friday, I guess.

Thanks in advance.

Steve


Steve Thompson
email@hidden
http://www.richcreamerygoodness.com

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Can't drop onto my app
      • From: Brian Christmas <email@hidden>
    • RE: Can't drop onto my app
      • From: "Stockly, Ed" <email@hidden>
    • Re: Can't drop onto my app
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: [ANN] New book on AppleScriptObjC
  • Next by Date: Search Archives Broken?
  • Previous by thread: Re: codesign
  • Next by thread: Re: Can't drop onto my app
  • Index(es):
    • Date
    • Thread