RE: Can't drop onto my app
RE: Can't drop onto my app
- Subject: RE: Can't drop onto my app
- From: "Stockly, Ed" <email@hidden>
- Date: Fri, 22 Oct 2010 12:38:43 -0500
- Acceptlanguage: en-US
- Thread-topic: Can't drop onto my app
Try saving the script in a new app file, and make sure you don't remove the .app extension.
HTH,
ES
________________________________________
From: applescript-users-bounces+ed.stockly=email@hidden [applescript-users-bounces+ed.stockly=email@hidden] On Behalf Of Steve Thompson [email@hidden]
Sent: Friday, October 22, 2010 9:14 AM
To: email@hidden
Subject: Can't drop onto my app
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<mailto: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