Re: Droplet for CD
Re: Droplet for CD
- Subject: Re: Droplet for CD
- From: Pan <email@hidden>
- Date: Wed, 19 Sep 2001 14:40:38 -0400
I've written a couple scripts that use CD's only. You can find example
scripts on the Quicktime Applescript page:
http://www.apple.com/applescript/qtas.html
Jaime
On Wednesday, September 19, 2001, at 12:55 PM, Zavatone, Alex wrote:
In the old days, Apple referred to any volume > 5 meg as a hard disk. I
don't know what it does to signify a CD but you could proabably check
to see
if the volume size is > 5 meg and the name of the item dragged on is the
same as the root name of that item.
I guess you could also check to see if it is locked. Then you would be
pretty durn close to a cd.
- Zav
-----Original Message-----
From: Sprague, Graham [mailto:email@hidden]
Sent: Wednesday, September 19, 2001 7:57 AM
To: 'email@hidden'
Subject: Droplet for CD
I need to create a droplet that will only accept a CD. Does anyone know
how
to do this. I tried the following to no avail...
Any help would be great.
Thanks,
Graham
on open these_items
repeat with i from 1 to the count of these_items
set error_index to 0
set this_item to item i of these_items
set item_info to the info for this_item
set item_name to the name of the item_info as string
set item_path to this_item as string
if (disk of the (info for this_item) is true) then
try
tell application "Extensis Portfolio 5.0.1"
activate
catalog alias item_path to gallery
"Untitled.fdb - Untitled"
end tell
on error
display dialog "An error occured trying to
catalog "
& item_path & "."
end try
end if
end repeat
end open
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users
_______________________________________________
applescript-users mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/applescript-users