• 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: getting ask for password
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting ask for password


  • Subject: Re: getting ask for password
  • From: Ron Hunsinger <email@hidden>
  • Date: Sat, 14 May 2011 12:57:28 -0700

On May 14, 2011, at 10:52 AM, louie wrote:
> Hi all when I run the below apple script I am asked for my password. Anyone know why and what the fix is?
> Thank you for any help.
> tell current application
> 	tell application "VoiceOver"
>
> 		do shell script "'/Users/louie/UnixBins/MouseTools' -x 754 -y 10 -leftClick"
>
> 	end tell
> end tell

The problem is that you're telling some other process to "do shell script ...". That's a security violation, because that shell script would run with the other process' privileges, which might be higher than your own. If you want to do a shell script, do it yourself. _______________________________________________
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

References: 
 >getting ask for password (From: louie <email@hidden>)

  • Prev by Date: Re: getting ask for password
  • Next by Date: Re: Importing addresses and passwords into Mail
  • Previous by thread: Re: getting ask for password
  • Next by thread: Text and Offset Peculiarities ???
  • Index(es):
    • Date
    • Thread