Using AppleScript to click menu items without access for assistive devices?

Hi all,
Is it possible to have AppleScript 'click' menu items without having 'Enable access for assistive devices' enabled?
My script works fine with it on but with it off I just get this:
'System Events got an error: Access for assistive devices is disabled.'
Pretty clear and easy to fix. I don't really want assistive devices enabled, though ...
Any ideas or is this just not possible?
Sorry if this is a n00b question - I'm kinda new to the world of Mac and OS X ...
Thanks!

Ok cool - thanks for the reply.
I've figured out how to set the bounds of the window I'm talking about:
tell application "Transmit" to set bounds of window "Transcript" to {61, 1166, 2559, 1421}
I'll have a hack and see if I can figure out how to open the Transcript window without needing assistive devices enabled.
Thanks again!

Similar Messages

  • "Enable Access for Assistive Devices" is missing from Yosemite and my QuicKeys program depends on this to work.  Help!

    This is my second day trying to get my QuicKeys application to work in Yosemite, but "Enable Access for Assistive Devices," which QuicKeys needs to work, is missing from Yosemite.  I have gone through the entire System Preferences panel (Security and Privacy, Accessibility, Keyboard, etc.) without success - it's just not there.  I have checked this app in the Privacy pane and dragged
    "QuicKeysUserEventHelper" out of the QuicKeys Resources folder into the Applications folder so it could "appear" in the Privacy pane, and then checked it there. Is there any way to enable access for assistive devices - a Terminal command, perhaps?
    QuicKeys is my most used program, which I have had since its inception at least 10 years ago!  Help!

    Thank you for your reply!  I did everything that Startly recommended (actually, gb2), and when I dragged the QuicKeys Helper into the Privacy box. I didn't see it, but after I quit and restarted QuicKeys, it worked!  However,I had  first  dragged the QuicKeys app to the trash, emptied it, then restarted.  Next, I redownloaded QuicKeys from Startly and THEN I went to gb2's directions.  All together, my QuicKeys now works on my MacBook Air.  BUT NOW, I keep getting the warning that says that this version and activation code are already in use by another user!  I am also getting those warnings on my Mac Pro -  which had the same problem yesterday (QuicKeys not working), until I heard back from a Technical Advisor from Startly, who told me about trashing the app and redownloading from their site.  Last night, that version of QuicKeys worked WITHOUT my having to drag the QuicKeys Helper app into the Privacy pane.  Perhaps it is there, but invisible - the helper app is not visible on either of my computers' Privacy panes.
    OK, NOW WHAT DO I DO?  Every 20 seconds or so, I'm getting those annoying warning signs (on BOTH computers) and requests to put in my activation key, and then told that it is being used by another user!!!
    AM I EVER GOING TO BE ABLE TO USE MY 2 LICENSES FOR MY 2 QUICKEYS PROGRAMS???

  • Enable access for assistive devices in Mavericks-how?

    How is "access for assistive devices" enabled in OS 10.9.3?  I've looked for it just about everywhere in System Preferences.  A third-party utility that I use needs it to work fully—and says at startup that it is not switched on.

    Hope this helps!

  • Access for assistive devices is disabled number -25211

    Guys, my checkbox is checked, but my AppleScript still returns this error:
    error "System Events got an error: Access for assistive devices is disabled." number -25211
    How to fix it? Thanks!

    It sounds like you were running a second display in extended desktop mode.
    If the adapter and/or cable for the second monitor is still attached, it can fool the Mac into believing the second monitor is still present. Detaching that cable/adaptr and then restarting should fix it.
    You can also try going to System Preferences > Monitors and change the setup from extended mode to mirror mode.

  • Automator Watch Me Do gets stuck on "Enable Access for Assistive Devices

    I built a simple Automator Watch Me Do Work Flow that simply pastes text I have already copied into Text Edit and then sets the Font, Size, Color and Make All Caps function.  Every time I run the script it stops and gives me the following error "Enable Access for Assistive Devices".  I have gone into System Preferences/ Universal Access a number of times and confirmed the check box is selected, I even unselected the check and ran the Auotmator script and went back and reselected the check box, I even rebooted my machine, I tired this on another Mac same problem. I must be missing something, can anyone help me out?

    Boot into recovery mode and reinstall the OS. You don't need to get it from the App Store.
    27" i7 iMac (Mid 2011) refurb, OS X Mavericks (10.9.4), ML & SL, G4 450 MP w/Leopard, 9.2.2

  • HT6026 Can't add app to "Enable access for assistive devices and applications" list

    I'm trying to add "Alfred 2" and "ImageOptim" to the list of apps that have their access enabled, but when I drag these apps in to the list nothing happens. (This is after I have unlocked the tab to enable changes).
    Any idea on how to add these apps?

    By access enabled do you mean to allow incoming connections for those two apps? If so then you can add them in the System/Security & Privacy/Firewall Options pane:

  • How do I switch on access to assistive devices in OS X Mavericks?

    A couple of days ago I installed OS X Mavericks. Now when I try to open my ABBYY Lingvo App, the system says "Access for assistive devices is disabled:
    To be able to use the quick lookup feature, you must enable access for assistive devices in the Universal Access panel. Open the System Preferences window where you can enable access for assistive devices?"
    I open System Preferences, click "Security & Privacy", choose "Privacy", find "Accessibility" on the list, it says "allow the apps below to control your computer". In my case there are only 2 apps there: "Google software update" and "Skype". I can tick them, but that doesn't solve my problem, obviously.
    So, how do I enable access for my ABBYY Lingvo?! Ideas anyone?

    Hi!
    Try this way!
    Lingvo -/ Settings -/ Translate tab - There u will be requested to launch module for quick lookup translate in finder,
    click it, then u will see <Lingvo Pop-Up Translation> .app in finder, launch it, and pop-up translation will work like before in os x 10.8.
    I hope this will work for u!
    GL!

  • Applescript open message menu items greyed out

    I've struck a real dilemma. When opening a Mail message with any sort of scripting, many of the menu items remain greyed out, including the one  that's important to me, 'Save Attachments...'.
    If I manually open the same message, the menu items are enabled.
    Try this script, by resetting the mailbox name to one of your own mailboxes, and you'll see what I mean.
    Anybody got any clues as how to fix this, please? (I've lodged a bug report).
    Regards
    set SaveAttachmentsMenu to true
    tell application "Mail"
      activate
      set WindowCount to count of windows
      open item 1 of messages of drafts mailbox
      set x to 0
      repeat # wait until the message is really open.
      tell current application to delay 0.1
      set x to x + 1
      if x > 40 then exit repeat
      if (count of windows) > WindowCount then exit repeat
      end repeat
      tell application "System Events" to tell process "Mail"
      select window 1
      tell current application to delay 0.2
      if exists menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1 then
      keystroke "a" using command down
      if not enabled of menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1 then say "attachments disabled"
      click menu item "Select All" of menu 1 of menu bar item "Edit" of menu bar 1
      set x to 0
      try
      click menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1
      end try
      repeat until exists sheet 1 of window 1
      tell current application to delay 0.1
      set x to x + 1
      if x = 40 then
      set SaveAttachmentsMenu to false
      exit repeat
      end if
      end repeat
      end if
      end tell
    end tell
    SaveAttachmentsMenu

    'Mail' has been brutally cut off at the knees. No actual trying to send a click to any of its elements works any more.
    BAD Apple!
    I've tried the following without success. If only I could send a click to the first element, the required menu item would activate. 
    set SaveAttachmentsMenu to true
    tell application "Mail"
      activate
      set WindowCount to count of windows
      open item 1 of messages of mailbox "* items to store" # drafts mailbox
      set x to 0
      repeat # wait until the message is really open.
      tell current application to delay 0.1
      set x to x + 1
      if x > 40 then exit repeat
      if (count of windows) > WindowCount then exit repeat
      end repeat
      tell application "System Events" to tell process "Mail"
      tell current application to delay 1
      try
      select scroll area 1 of window 1
      click
      end try
      try
      tell scroll area 1 of window 1
      set {xPosition, yPosition} to position
      set {xSize, ySize} to size
      end tell
      -- modify offsets if hot spot is not centered:
      click at {xPosition + (xSize div 2), yPosition + (ySize div 2)}
      display dialog xPosition & tab & yPosition as text
      on error errmsg
      display dialog errmsg
      end try
      tell current application to delay 0.2
      if exists menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1 then
      keystroke "a" using command down
      if not enabled of menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1 then say "attachments disabled"
      click menu item "Select All" of menu 1 of menu bar item "Edit" of menu bar 1
      set x to 0
      try
      click menu item "Save Attachments…" of menu 1 of menu bar item "File" of menu bar 1
      end try
      repeat until exists sheet 1 of window 1
      tell current application to delay 0.1
      set x to x + 1
      if x = 40 then
      set SaveAttachmentsMenu to false
      exit repeat
      end if
      end repeat
      end if
      end tell
    end tell
    SaveAttachmentsMenu

  • How to display images for right click menu items

    I am trying to display some image to the left of my right click menu items.I have searched the help but did't find anything wich can add an image to the menu items. If anyone knows how to do it, Please share 
    Thank to all.
    If you are young work to Learn, not to earn.

    Hi Mr,
    you should have searched the topic 'Programming with Menu Bars'
    Use the ATTR_SHOW_IMAGES attribute to add a column in the menu in which images can be placed. Then use the ATTR_ITEM_BITMAP attribute to specify an image to use for a submenu or menu item

  • Why can't I use the function of menu item 'issue delivery output'?

    why can't I use the function of menu item 'issue delivery output' in main screen of delivery note?
    And at the same time I can't use the button of printing in main screen of delivery note.
    the main screen of delivery note I mean above is in screen of maintaining shipping data instand of the first screen of VL02N.
    TKS in advance.

    Hi,
    Because delivery will be having header level output and item level output. So if u try to print through main screen then system will not know whether it is header related or item related. That is the reason it is only print output at header level or item level but not in main screen.
    I think u may have doubt like how billin will be issued output through Main screen. Because for billing both header and item level data are same..
    Regards
    Sankar

  • I was on facebook and deleted an icon by using the right-click menu but then all my pictures and all profile pictures, could no longer be seen. I was able to view them in Explorer so this is something I did in Firefox. How can I unblock a site?'

    '''I was on facebook and deleted an icon by using the right-click menu but then all my pictures and all profile pictures, could no longer be seen. I was able to view them in Explorer so this is something I did in Firefox. How can I unblock a site?'''

    If you select that right-click context menu entry then you block all images from that domain and not one specific image, so do not use that.
    * Check the exceptions in Tools > Options > Content: Load Images > Exceptions (e.g. sphotos.ak.fbcdn.net)
    You can use these steps to check if images are blocked:
    * Open the web page that has the images missing in a browser tab.
    * Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    * Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    * Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    * Select the first image link and scroll down through the list with the Down arrow key.
    * If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • How to remove the option "Set as default background..." from the right-click menu on a picture, for all users.

    Hi! I would like to know if there is any possibility to remove the option "Set as default background..." from the right-click menu on a picture, for all users. I know that's possible to edit userContent.css or userChrome.css, but this concerns only a profile at a time and being in a domain, I would like to set this for all people using Firefox.
    Can it be possible to edit a mozilla.cfg file to get the same result?
    Thank you in advance for help and tips.

    AFAIK then there is no way to do that system wide. You can only do that via userChrome.css or an extension like the Menu Editor per profile .You can install extensions globally, but the user will have to enable them anyway. That is not required for userChrome.css code.

  • HT201251 I want to use 30  ipads to run kiosk software in my restaurant. Can I use one Apple ID (and one credit card) for all devices

    I want to use 30  ipads to run kiosk software in my restaurant. Can I use one Apple ID (and one credit card) for all devices?

    Alternatively you can always manage your iPads (does not matter how many) with a single apple id and all reporting to your account under "find my device" service. Keeping an eye on all your units. Additionally as you mentioned these are for your Restaurant you may find the solutions offered by this company who creates apps and hardware for this purpose: http://www.spartakioskpro.com
    Additionally if you expand beyond those 30 iPads to say 300 you will want to enable or plan on MDM as your best option to automate every ipad to use the same profile and app and ios configuration while also keeping a close eye on all of them via online MDM services like: https://meraki.cisco.com/products/systems-manager
    Here is a pic

  • Why were the new tab and new window right click menu items reversed from FF3.6 on FF4?

    I've been using Firefox since before version 1. when you right click on a hyperlink the first menu item had always been "open in new tab" and the second item was "open in new window" Now in Firefox 4, they have been reversed and it is a major pain in the rear. I even went and checked Firefox 3.6 on other PCs to make sure I wasn't wrong, and sure enough, they are reversed. I have verified this on both Windows XP and 7. I find my self constantly opening new windows instead of tabs. Is there a way to change this besides going back to ver. 3.6? Dumbest idea anyone at Mozilla ever had. Please change it back to the old way in 4.1

    Thanks edmeister with that add on I was able to change it. I still feel it was a bad idea to change it in the first place. I don't like the tabs up on top by default versus being in the old location either, but I did find how to fix that.
    I want Firefox to look and function like Firefox not chrome or opera. If I wanted chrome or opera I'd install it. I tried both and didn't like the interface of either one of those. You listening Mozilla?

  • How To Get Selected Or Clicked  Menu Item Name Or ID

    Hello.
    My Question is
    Is There Any Event In Form By Which I am able to get Clicked or Selected Menue Item's Name Or ID.
    Thanx.
    Shahzad Hafeez.

    You can use cell variant  for your requirement . Go through the below link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c0310fd2-f40d-2a10-b288-bcbe0810a961
    Regards,
    Nethaji

Maybe you are looking for