Re: Opening Scripts from the Web
Re: Opening Scripts from the Web
- Subject: Re: Opening Scripts from the Web
- From: Yvan KOENIG <email@hidden>
- Date: Sat, 25 Feb 2017 19:52:00 +0100
Le 25 févr. 2017 à 19:45, S. J. Cunningham < email@hidden> a écrit :
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:
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
I don't use Firefox but here - running Safari - the scripts are open in Script Debugger with no problem at all.
Maybe what you describe is related to the fact that you run 10.6.8.
Yvan KOENIG running Sierra 10.12.3 in French (VALLAURIS, France) samedi 25 février 2017 19:51:05
|
_______________________________________________
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