Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mimetype to download and execute applescript



What is the mimetype for AppleScript files? How can I follow a link to
an AppleScript in a web browser and have the script downloaded and
executed?

I wrote a WebDAV module for the Gallery PHP photo album. There's a link
in Gallery which automatically mounts Gallery with WebDAV in Windows.
I'm trying to duplicate this functionality on OS X by linking to an
AppleScript like:

try
	mount volume "http://example.com/gallery2/"; as user name "jack"
end try

However instead of mounting Gallery with WebDAV, following the link in a
web browser displays the text of the script. Is there a mimetype I can
set for the script so OS X instead executes the script?

Thanks! Jack

Attachment: signature.asc
Description: This is a digitally signed message part

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

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.