• 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
Opening Scripts from the Web
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Opening Scripts from the Web


  • Subject: Opening Scripts from the Web
  • From: "S. J. Cunningham" <email@hidden>
  • Date: Sat, 25 Feb 2017 13:45:31 -0500

So I am looking at the Mac Automation Scripting Guide on Folder Actions and there is a link to click to open the sample script in Script Editor:

applescript://com.apple.scripteditor?action="">

When I click on the link, AppleScript Editor (or Script Debugger if I change the application setting in Firefox) opens with a copy of the script inserted, sic:

on opening folder theAttachedFolder     -- Get the name of the attached folder     tell application "Finder"         set theName to name of theAttachedFolder          -- Display an alert indicating that the folder was opened         activate         display alert "Attention!" message "The folder " & (quoted form of theName) & " was opened."     end tell end opening folder

that is the 's are not translated into new lines.  Kind of a pain.  Does anyone know how to remedy this?

Two associated questions:

• What interprets the command "action="">" ?  //com.apple.scripteditor?
• My system doesn't have a //com.apple.scripteditor file.  Where would I get one?  Where would I put it? Preferences? Do I need it?

Thanks,



Steve
------------------
OS X 10.6.8, AppleScript 2.1.2

 _______________________________________________
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: Opening Scripts from the Web
      • From: "S. J. Cunningham" <email@hidden>
    • Re: Opening Scripts from the Web
      • From: Jim Underwood <email@hidden>
    • Re: Opening Scripts from the Web
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Re: Finder window views ?
  • Next by Date: Re: Opening Scripts from the Web
  • Previous by thread: Re: fsitem ?
  • Next by thread: Re: Opening Scripts from the Web
  • Index(es):
    • Date
    • Thread