• 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
Re: AppleScript fails in Automator - Permissions error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript fails in Automator - Permissions error


  • Subject: Re: AppleScript fails in Automator - Permissions error
  • From: Kaydell Leavitt <email@hidden>
  • Date: Mon, 08 Jul 2013 08:04:15 -0600


Hi,

You can also check...
do shell script "echo $USER"
display dialog result

But, this raises a blank dialog box with "OK" and "Cancel" buttons. It does not return my name as AppleScript does.

When my Service is installed in /Library/Services, I get the blank dialog box with "OK" and "Cancel" to and it doesn't return my user name either, but this is only when installed system-wide.

When my Service is installed in ~/Library/Services, it works OK.

I believe that your Service may have gotten stored system-wide, in /Library/Services/ instead of just for your account, in ~/Library/Services because in Lion and in MountainLion, the folder ~/Library is invisible by default.  I believe that Apple made this folder invisible to protect naive users against themselves, but for Services, I think that it's causing problems.

You can google for "show hidden mac files" and find articles on how to show all invisible files.

Or the following link may be more useful to you to enable you to only show the invisible file: ~/Library which may be better than showing all invisible files.

http://www.read-write.fr/invisiblix/

-- Kaydell
email@hidden
http://learnbymac.com

 _______________________________________________
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: AppleScript fails in Automator - Permissions error
      • From: Lists <email@hidden>
    • Re: AppleScript fails in Automator - Permissions error
      • From: "koenig.yvan" <email@hidden>
References: 
 >AppleScript fails in Automator - Permissions error (From: Lists <email@hidden>)
 >Re: AppleScript fails in Automator - Permissions error (From: "Manoah F. Adams" <email@hidden>)
 >Re: AppleScript fails in Automator - Permissions error (From: Lists <email@hidden>)

  • Prev by Date: Re: Scripting iBooks Author (iAuthor)
  • Next by Date: Re: AppleScript fails in Automator - Permissions error
  • Previous by thread: Re: AppleScript fails in Automator - Permissions error
  • Next by thread: Re: AppleScript fails in Automator - Permissions error
  • Index(es):
    • Date
    • Thread