Click on an icon in the Dock

I can use this script to click on something on the Dock
tell application "System Events" to tell process "Dock" to tell list 1 to click UI element "App Store"
is there a script that can do the same thing without having to have "Enable Access for assisted devices" enabled?

All clicking on an item in the dock does is send an 'activate' command to the application.  If you want to prevent it from opening an app that is not already open, use the following:
if application "App Store" is running then
          tell application "App Store" to activate
end if
If you have some other goal than merely bringing a running app to the foreground, what would that be?

Similar Messages

  • I cannot open a new window form Safari icon in the dock

    iMAC 21.5, MId 2011
    While usign Safari for my paper researches I used to open new windows in order to browse more documents.
    A few days ago I realized that I do not have the option "open new window" when I click on Safari Icon in the dock.
    What happened?I did not change any preference
    thanks
    cinzia

    yes, I can. But in the past i could do from Safari Icon.
    Moreover,  until a few weeks  ago when I clcked on Safari Icon i could see all my windows open and choose which one to bring to the front. Now I cannot.

  • Seeing multiple iPhoto libraries when I click on the iPhoto icon in the dock?

    I can't figure out why I am seeing multiple iPhoto libraries when I click on the iPhoto icon in my dock.  I am running Lion on an early 2008 MacBook Pro (4 GB RAM), and when I click and hold on the iPhoto icon in the dock, it brings up a dialog box.  From top to bottom, this is what I see:
    iPhoto Library
    iPhoto LIbrary
    iPhoto Library
    Options
    Show Recents
    Open
    I can't figure out why it shows three iPhoto libraries when I only have one on my computer.  I've tried deleting the icon from the dock and then putting it back in the dock, but it still shows three libraries for some reason.  If I search for iPhoto in spotlight search or in finder, it only shows one iPhoto (in the applications folder).  Any help on how to resolve this weird issue would be much appreciated!

    I have the same issue.  I see four iPhoto libraries when I right click on the iPhoto icon in the dock, but I only actually have two libraries.  The other two simply do not exist on my computer.  And when I click on the libraries that do not exist, obviously nothing happens.  In the image, only the bottom two libraries are actual photo libraries.  The top two do not exist.
    I have relaunched Finder, restarted the computer, and even restored the entire computer from my Time Machine backup.  Nothing changes.  No matter what I try, the non existent iPhoto libraries continue to be present when I right click the iPhoto icon in the dock.  BTW, there are only two iPhoto libraries in the pictures folder.
    This is very frustrating and annoying.

  • Multiple iPhoto libraries when I click on the iPhoto icon in the dock.

    I see four iPhoto libraries when I right click on the iPhoto icon in the Dock, but I only actually have two libraries.  The other two simply do not exist on my computer.  And when I click on the libraries that do not exist, obviously nothing happens.  In the image below, only the bottom two libraries are actual photo libraries.  The top two (iPhoto Spain and iPhoto Library) do not exist.
    I have relaunched Finder, restarted the computer, and even restored the entire computer from my Time Machine backup.  Nothing changes.  No matter what I try, the non existent iPhoto libraries continue to be present when I right click the iPhoto icon in the dock.  BTW, only two bottom two iPhoto libraries in the attached image are in the Pictures folder.
    How do I get rid of those two non existent iPhoto libraries from the Dock.

    this happened after i hard shutdown with some multiple programs running which froze everything after powering back up the blue folders showed up
    how do i safely remove these folders?
    i imported 3 sets of photos and in the background processes were running which froze everything then i forced shutdown by holding down the power button.
    ios maverick
    iphoto '09 vers 8.12

  • Hi, I was importing pictures into iPhoto from my sd card and suddenly iPhoto quit.  Now it just won't open.  When I click on the iphoto icon in the dock, nothing happens!  Does anyone have a solution to this problem please?

    Hi, I was importing pictures into iPhoto from my sd card and suddenly iPhoto quit.  Now it just won't open.  When I click on the iphoto icon in the dock, nothing happens!  Does anyone have a solution to this problem please?

    As a test launch iPhoto with the Option key held down and create a new, test library.  Import some photos and test to see if the same problem persists. Does it?
    If it does then your current library has been damaged and should be repaired: apply the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys held down and rebuild the library.
    Since only one option can be run at a time start
    with Option #4 and then #1 as needed.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button, navigate to your Home/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments.  However, books, calendars, cards and slideshows will be lost. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • I'm using a fresh install on 10.10. why when i click the finder icon in the dock a finder window does not open?

    i'm using a fresh install on 10.10. why when i click the finder icon in the dock a finder window does not open?

    ok, i forced quit the finder, and now when i click on the finder it opens a visible window... where did this bug come from?

  • When I quit itunes it restarts again with the dot under the itunes logo but the iTunes window doesn't open until I click the icon on the dock.  Also in the middle of the size vale in the size column the value starts with a number then a ? then a number.

    When I quit itunes it restarts again with the dot under the itunes logo but the iTunes window doesn't open until I click the icon on the dock.  Also in the middle of the size vale in the size column the value starts with a number then a ? then a number.

    This forum is for questions from those managing sites on iTunes U, Apple's service for colleges and universities to post educational material in the iTunes Store. You'll be most likely to get help with this issue if you ask in the general iTunes for Mac forums.
    Regards.

  • When I click on the icon in the dock, a message appears about not being able to verify google talk

    I installed google talk as my main phone communications.  Something happened when I was using firefox that took out my whole chat system on firefox, chrome, and safari.  I am able to use it again on firefox after uninstalling and re-installing firefox.  I have not had luck getting it to work on Safari or chrome again.  When I click on the ichat icon in the dock, a message appears saying that Safari can not verify google talk.  Does anyone have a solution?

    Hi,
    I take it you mean you installed the Intel Only Browser Plug-in to use the Chat Functions on the Google Mail Web Page in Video and Audio Chat ?
    It now works in only one Browser which is Firefox.
    The bit you post about using the iChat icon to launch iChat but get a message about Safari seems a bit odd.
    iChat does not use Safari to check the password of Log In.
    If you Click and hold the iChat icon in th DOCK and then select Show In Finder what app is then highlighted in the Applications folder ?
    Have you tried deleting and reinstalling the Browser Plug-in ?
    Also check the KeyChain and the Access Tab of the Google Talk info in there.
    KeyChain Access is in Applications/Utilities.
    Find your Google Talk info and double Click it
    The new panel has an Access Tab
    That can be set to allow only certain apps to use the info (Password).
    8:28 PM      Sunday; July 3, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.7),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • I can download yosemite but then it will not install? I am stuck with the icon on the dock with the downward arrow in it but when I double click on it or try to open it nothing happens. Thanks.

    I can download yosemite but then it will not install? I am stuck with the icon on the dock with the downward arrow in it but when I double click on it or try to open it nothing happens. Thanks.

    This is a DUPLICATE request.
    :See response in https://support.mozilla.com/questions/893523#answer-271175

  • For the last 10 days I have been unable to open the Mail account on my eMac (MacOS10.4.11). When I click on the icon in the Dock the only option I get is "Force quit" and the main Mail bar will not open any  choice. Any ideas?

    For the last 10 days I have been unable to open the Mail account on my eMac (MacOS10.4.11). When I click on the icon in the Dock the only option I get is "Force quit" and the main Mail bar will not open any  choice. Any ideas?

    You can setup Mail for iCloud on the eMac.
    Do not delete the old account yet. sign up for an iCloud account if you haven't.
    I understand .mac mail will still come through. Do not delete the old account yet.
    You cannot use .mac or MobileMe as type of Account, you have to choose IMAP when setting up, otherwise Mail is hard coded to change imap.mail.me.com to mail.me.com & smtp.mail.me.com to smtp.me.com, no matter what you try to enter.
    iCloud Mail setup, do not choose .mac or MobileMe as type, but choose IMAP...
    On second step where it asks "Description", it has to be a unique name, but you can still use your email address.
    IMAP (Incoming Mail Server) information:
    • Server name: imap.mail.me.com
    • SSL Required: Yes
    • Port: 993
    • Username: [email protected] (use your @me.com address from your iCloud account)
    • Password: Your iCloud password
    SMTP (outgoing mail server) information:
    • Server name: smtp.mail.me.com
    • SSL Required: Yes
    • Port: 587
    • SMTP Authentication Required: Yes
    • Username: [email protected] (use your @me.com address from your iCloud account)
    • Password: Your iCloud password

  • How do I remove an icon from the dock of an iMac 10.9.5.?  Dragging doesn't work although I have tried a number of different places.  I recall right clicking used to give me a remove option.

    How do I remove an icon from the dock of an iMac Maverick, 10.9.5?  I've tried dragging different places: desktop, finder list etc.  No luck.

    Drag up towards the centre of the screen & hold for a second or so. The icon will have the 'smoke cloud' appear, let go & it will be removed.
    There should also be a 'Remove from Dock' option in the popup menu. It is in the 'Options' section . ctrl+click will 'right click' if right clicking is disabled.
    If this is not possible the Dock is locked (this may happen on a 'Managed Mac' normally setup by a company or school etc). See your tech support in this case.

  • I have Mac OS10.4.11 with MS Office 2004 installed. Yesterday, when clicking on the Entourage icon, in the dock, to receive my Email, the icon disappeared and I lost my Email service from the HD and from Spotlight, as well. Word, Excel and PP are still OK

    I have Mac OS10.4.11 with MS Office 2004 for Mac, installed. Yesterday, when clicking on the Entourage icon, in the dock, to receive my Email, the icon disappeared and I lost my Email service from the HD and from Spotlight, as well. Word, Excel and PP are still OK. Could this be a virus?

    Just thinking, if things are really missing...
    "Try Disk Utility
    1. Insert the Mac OS X Tiger Install disc, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."
    http://docs.info.apple.com/article.html?artnum=106214
    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.
    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

  • Why won't iCal open when I click on the icon in the dock? I had no problem with it yesterday.

    Why won't iCal open when I click on the icon in the dock? I had no problem with it yesterday.

    Care to share which OS version you are using as well as which iTunes version?

  • Jumping Mail icon in the Dock difficult to click

    I have set up some mailboxes to make the icon jump in the dock on new mail - and it happens frequently that I need multiple clicks on that icon to get Mail to front. If it's just in the upper position, the area below the icon seems to be a void room where clicking doesn't work.
    Sometimes I feel I should exercise with a fast paced shooter game ... or am I just getting old?

    Hi Marsias,
    Sometimes I feel I should exercise with a fast paced shooter game ... or am I just getting old?
    Yes, you are to slow ...
    Just go with the mouse pointer to the Mail icon in the Dock, at the moment that it starts to jump ... don't follow it UP & DOWN. Just wait until it is back down in the Dock and click on it.
    Or, shut down the Mail notification that it jumps ... it will only have a red sign with amount of incoming mails in ti ... like 1 - 2 - 3- etc ...
    Also you can hear when you have new mail by the sound you set for incoming NEW MAIL.
    Dimaxum

  • When clicking on the Finder icon in the dock the Main Menu grays out ... what's wrong ... how do I fix?

    Product: iMac, OS X 10.9.5 (13F34)
    Processor: 3.5 GHz Intel Core i7
    Memory: 32 GB 160 MHz DDr3
    Storage: 3.12 TB Fusion Drive
    PROBLEMS:
    1. When clicking on the Finder icon in the dock, the main menu grays out and the window with documents, applications etc., does not pop up.
    2. iMac is not showing up in iCloud.com and, not syncing with my MacBook Pro, iPad Mini and iPhone.
    This situation seemed to appear after doing updates on my iMac.
    TROUBLESHOOTING I'VE TRIED:
    1. rebooted,
    2. repaired permissions,
    3. booted in safe-mode and let the basic tests run then rebooted to normal mode. Afterwards, the problem seemed to be corrected, however, it re-appeared shortly thereafter and still exists.

    Go to the Finder's General preference pane and reset the New Finder windows show: option.  Try changing it to some other folder, try it and then back again.
    If that doesn't jump start it try moving the com.apple.finder.plist file from your Home/Library/Preferences folder to the Desktop, reboot and then reset the Finder preferences.
    For Mavericks and Yosemite go to your Home folder and use the View ➙ Show View Options menu to bring the this window:

Maybe you are looking for

  • How to Remove a Movie Clip

    Hi, On the main timeline, I have the following code: external_btn.addEventListener(MouseEvent.CLICK, showMenu); function showMenu(e:MouseEvent):void var myMovieClip:MovieClip = new Member(); addChild(myMovieClip); myMovieClip.x = 597.95; myMovieClip.

  • Windows 8.1 and Illustrator CC 2014- performance computer

    so i've exhausted myself searching...i actually think this will be the first time i've ever had to ask a question on the forums for ANY adobe product...i generally can find an answer; it's also generally my fault! slow movement of objects in illustra

  • Using an external display only

    Heres my setup: An iMac with an HDMI cable to another room into a 1080p TV. Mirroring mode would be ideal but it won't run my TV at its native resolution or aspect ratio. So my only choice is extended mode, the problem with it is windows open where t

  • ITunes locks my iMac every so often?

    Every so often, but pretty regularly, iTunes seems to cause my mouse or iMac to lock up? It's been doint this ever since I migrated my old iMac computer files to my ne iMac. Any ideas?

  • Clicking from Word to InDesign not working

    I am trying to copy and paste from MS Word 2011 into the lastest CC InDesign 2014 (10.1.0.71) (on a Mavericks 10.9.4) and it is not working to simply click from Word into InDesign. I must use the toggle shortcut  (Command + Tab) to activate the works