• 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
mimetype to download and execute applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mimetype to download and execute applescript


  • Subject: mimetype to download and execute applescript
  • From: Jack Bates <email@hidden>
  • Date: Tue, 28 Nov 2006 01:15:39 -0800

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:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: mimetype to download and execute applescript
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: curl for FTP....
  • Next by Date: Re: [OT] recombine resource and data fork
  • Previous by thread: Re: curl for FTP....
  • Next by thread: Re: mimetype to download and execute applescript
  • Index(es):
    • Date
    • Thread