• 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: Dock Preferences in Lion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dock Preferences in Lion


  • Subject: Re: Dock Preferences in Lion
  • From: Luther Fuller <email@hidden>
  • Date: Sun, 21 Aug 2011 12:37:24 -0500

On Aug 21, 2011, at 9:46 AM, Luther Fuller wrote:

Yes. I came to that conclusion late yesterday. Two (maybe 3) lines of code in an application bundle which contains an alias file in /Bundle/Contents/Resources/

I used these two lines in an appl bundle (no, you can't put that in one line) ...

on run
(path to resource "Folder_Link")
tell application "Finder" to open alias file the result
end run

and put an alias file, named "Folder_Link", to a folder in its Resources folder.
The alias file points to a folder named "AppleScriptUsers", so I renamed the
application "AppleScriptUsers.app" and put it into a Dock menu folder for testing.

I tested in 10.6.8 and it works, but there are two problems:
1. The .app extension is required, but looks confusing.
2. The first time you select this menu item, the system displays
    a message asking if you really want run the appl. I'm not sure
    how I got rid of that ... I think I had to open the menu folder
    and double-click the appl.
(I'll test in Lion later)

Problem 2. may be a killer. How do I explain that to a user?
It should just work without explanation!

 _______________________________________________
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: Dock Preferences in Lion
      • From: Luther Fuller <email@hidden>
References: 
 >Dock Preferences in Lion (From: Luther Fuller <email@hidden>)
 >Re: Dock Preferences in Lion (From: Axel Luttgens <email@hidden>)
 >Re: Dock Preferences in Lion (From: Luther Fuller <email@hidden>)
 >Re: Dock Preferences in Lion (From: Christopher Stone <email@hidden>)
 >Re: Dock Preferences in Lion (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: iPhoto events
  • Next by Date: Re: Dock Preferences in Lion
  • Previous by thread: Re: Dock Preferences in Lion
  • Next by thread: Re: Dock Preferences in Lion
  • Index(es):
    • Date
    • Thread