Opening Scripts from the Web
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:
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