• 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: "koenig.yvan" <email@hidden>
  • Date: Mon, 08 Jul 2013 16:20:12 +0200


Le 08/07/2013 à 16:04, Kaydell Leavitt <email@hidden> a écrit :


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/


No need for shell command.
Open the Library folder with the scheme described in  the Help
press option key while triggering the Finder's menu "Go to"
the item Library will be available.
It opens your user's library folder.

When this one is open, activate the mode "columns" this way you will be able to see the list of folders stored in the folder <yourAccount>
Select the Library item then create an alias of it.

After that, the true Library folder will remain hidden but the alias will be visible.
Triggering it will open the truelibrary folder.

Isn"t it a neat scheme ?

KOENIG Yvan (VALLAURIS, France) lundi 8 juillet 2013 16:20:07




 _______________________________________________
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: 2551 <email@hidden>
    • Re: AppleScript fails in Automator - Permissions error
      • From: Alex Zavatone <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>)
 >Re: AppleScript fails in Automator - Permissions error (From: Kaydell Leavitt <email@hidden>)

  • Prev by Date: Re: AppleScript fails in Automator - Permissions error
  • 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