Is there a way to simulate a mouse click anywhere on a screen in Dictate ?

I'm using Dictate because of hand problems. Unfortunately, it does not seem to have the ability as supplied to simulate mouse clicks anywhere on the screen as Dragon Naturally Speaking does on the Windows side.( I do not mean by this the ability to select an item in the menu, which It does have the built in ability to do.) It can, however, so I read, be scripted to do a lot of things. Is there an Applescript out there that would allow for the simulation of mouse clicks anywhere on the screen (as opposed to just on a UI item)?

Platform: 2.2 gHz iMac using Mac OS X 10.5.5; Dictate v. 1.2.1 Build
Okay, so, here, after a great deal of research, is a procedure for implementing a single mouse click anywhere on the screen. Since it’s a procedure, I’m detailing each step.
!. Download the scripting addition (sometimes known as an OSAX) xTool.sax from: http://lestang.org/osax/XTool/XTool-2.0.dmg.tgz. You will have to decompress the file (StuffIt) and double-click it to get it to unfold into a .dmg (disk image) file. In this file you will find the file Xtool.osax. Drag it into your MacHD (or whatever the name of your topmost volume is)/library/ScriptingAdditions (no spaces in the name) folder. The purpose of this is to place it into a folder where Applescript is expecting to find scripting additions. In other words, it’s hard-coded and you can’t just drop it anywhere because Applescript may not find it. Also, there may be more than one Library folder in other directories. Under 10.5.5. which I’m running, I can tell you it works where I placed it.
The effect all of this has is that when you create your script in Dictate’s New Commands window (Script Editor), Dictate will know what the commands “click mouse’ and “position of the mouse” mean. These are not standard Applsecript commands but are additions, hence the name Scripting Additions.
2. Start Dictate and in the File drop-down select New Command. This will take you to a window with a pane on the left with names such as Applications, Global, and several others. Click on Global (so that the command will be recognized no matter what application your are in). To the right of the pane you will see a number of commands listed by name and, underneath, a (very small) “+” (and a minus sign and a small icon). Ignore everything but the “+”. Click on the “+”.
Below several boxes will appear: Command, Description, Context, Type.
In Command Name type in the name you want Dictate to recognize to do the click. (I call mine Mouse click.) In Description you can type something like Single-clciks the mouse. In the Context drop-down make sure to select Global. In the Type drop-down, select Applescript.
Paste the following into Text Edit (orTexEdit Plus,if you have that):
click mouse {(position of the mouse), [1]}
For reasons unknown to me, you can’t just select that text, copy, and paste it into Dictate’s Script Editor winodw. You will have to select it in Text Edit and drag it into the Source text box.
Click on the Compile button at the left bottom. After it finishes compiling (a matter of seconds if everything is normal), click on the Run button with your mouse. If all has gone well, you will very likely see the Run button get pressed repeatedly. Take your mouse off the button so it stops blinking like mad. (The Mouse click Appplescript is repeatedly looking at the position it find itself and clicking again, and again.)
While your mileage may vary, I have been able to simulate single mouse-click using this workaround.
So far, I have not been able to simulate a double-click reliably. There is, I believe, an issue with the amount of time between the two clicks (a parameter of the click mouse command above which I did not go into here). For anyone out there who wants to work on that, I would be glad to hear your results. I’ve tried values up to 2000 in the DELAY parameter after the TIMES parm. Here is what the dictionary shows for this command.
click mouse?v
click mouse [point] : where to do the mouse click
[times integer] : how many times you want to clik the mouse
[delay integer] : delay between two mouse clicks
[using primary button/secondary button/middle button] : which mouse button
If I get this to work I will let my fellow sufferers know.
Thanks to Hiroto and Andrew99 in particular for their help.

Similar Messages

  • Is there a way to remove the mouse click splash that appears on See It!

    Can I remove the red splash that appears on the mouse click when playing back a recording in See It mode?
    The client thinks that it is not visually appealing.
    Thank you
    Edited by: dgmurphy on Sep 20, 2012 1:32 PM

    You can request new features in this forum: <br />
    http://webmailnotifier.mozdev.org/drupal/forum/
    But I don't think it would be possible, exactly like you described. An extension can't do anything until Firefox is opened and running. Plus the developer would have to create a different version for every Operating System he decided to support with a feature like that - Windoze, MacOSX, and Linux - to be able to use the "System Tray".

  • What does the open file dialog do 'under the hood' and is there a way to simulate it

    What does the open file dialog do 'under the hood' and is there a way to simulate it?
    I have a bug in my code (that I've posted about before, here) which I can't fix at the moment, but I do have a workaround.
    Briefly, the bug:
    I call a dll from a function node, to initialise and run a spectrometer. If I start up the PC, LabVIEW and run my vi the code runs without complaint, the first call to the dll to initialise the spectrometer doesn;t return an error but the spectrometer is not detected either.
    I've tried various solutions, see the link above, and none work
    The workaround:
    If, at any time before running the code containing the function node I open an 'open file' dialog window, select the dll and click ok/hit enter then everything is fine. When I run the main code the spectrometer is detected.
    I use an express vi to open the file dialog, I specify the start path and file name as constant inputs and just click ok/hit return when the dialog pops up. I don't do anything with the dialog outputs. In fact the vi that contains the open file dialog can be run before the project containing the bug is even open.
    I have to do this everytime I turn the PC on.
    So, either
    1) Can somewone suggest a fix for the original bug?
    2) What is the easiest way to simulate the enter keypress when the open file dialog pops up
    or
    3) Can someone tell me what the open file dialog does under the hood that somehow causes the dll to work and can it be simulated in straight LabVIEW
    I suspect that the dll itself is dodgy ( I have in the past talked to the supplier but not got very far, and I will try again but I would like a quick, temporary solution too). I'm guessing that the file dialog is making some kind of check on the file, and possibly registering its presence with the OS (winXP). I tried using the file/folder exists vi to see if checking the file like that worked but no luck.
    Any help greatly appreciated.
    Dave

    Hi David
    I am very conscious about thread hijacking but this sounded like my issue so I hope you dont mind me asking about your issue. I am hoping that you have a spectrometer from the same vendor as me and its not just me seeing an Error 1097 issue. My spectrometer is from a company called Stellarnet.
    So far I have unable to get it to work with other VIs. There is one condition where I can get it to work but its no good for me.
    Case 1
    I open the VI in a fresh labview environment with no other VIs in memory. The code runs with no issue.
    Case 2
    Labview is not opened. I double click the spectrometer VI in windows explorer.  The VI opens but it fails to run resulting in Error 1097. Personally, I dont see the difference between this and Case 1 above and yet it fails.
    Case 3
    If I already have other VI's in memory and try to load the spectrometer VI and run it fails with Error 1097. This case is the one that most important to me. I have a test executive that will load test VIs dynamically and I can't get this to work. Same problem Error 1097.
    I wanted to share what I have seen with you and to let you know that maybe somebody else has the same issue. I am convinced its the DLL but the vendor dis-agreed saying it was LabVIEW. I couldn't convince him otherwise.
    Thanks in advance
    David

  • Is there a way to RECORD the mouse as a pointer when recording?

    Is there a way to RECORD the mouse as a pointer when recording a voiceover on a slideshow?  I want to use the mouse as a pointer (I know how to do that live), but the recorded show does not show my motions as I voiced.

    Oh, I see. I don't have Keynote, I've only recorded my screen for other things, so I don't know about that. Maybe someone else can help.

  • Is there a way to make the mouse bigger

    Is there a way to make the mouse bigger

    Yes.  In System Preferences > Universal Access > Mouse & Trackpad tab > move the cursor size slider more to the right.  The graphics aren't very good the larger the size but a slight increase really helps.
    Regards,
    Captfred

  • Is there any way that the magic mouse might work on the iPad?

    I just got the iPad 3 and is there any way that the magic mouse can work alone or with the keyboard on it? If not, can the mouse work with a PC?

    tonefox wrote:
    The magic mouse can't be used with an iPad simply because Apple has chosen not to include support for it.
    Which is fair enough. Where are you going to put this mouse in order to use it with an iPad... you need a handy flat surface... oh, I know - the iPad screen. Much easier than moving your fingertip around it.
    You would put it the same place you put the wireless keyboard.
    In fact the existing keyboard support is one of the big reasons many of us would like to see mouse support added. You see the problem is that when you use a keyboard you have to reach up and over to tap the iPad screen. By Steve Jobs own admission* the arm tires quickly when you have to do this repeatedly. In this particular situation a mouse would be more ergonomically sound.
    There is also the issue of access for the disabled. Although iOS does have many accessibility option, at present none of them help those with severe spinal damage or certain amputees. Including mouse support means you could also use devices like the "suck and puff"... A mouth controlled joystick designed for people with these disabilities.
    * He was talking about touchscreens on notebook computers, but it's the same concept.

  • Is there a way to open the right click menu on the left side of your pointer?

    Whenever I try to right-click an object that's located on the right side of the screen, the pointer always automatically click whatever entry in the right-click menu which just happens to be under the pointer the moment the menu is opened. I noticed that the reason this happens is because the right click menu always forces itself to open on the right side of the pointer, and when there isn't enough space, the right-click menu will open underneath the pointer. Since this is horribly inconvenient, is there a way to open the right-click menu on the left side of your pointer?

    Are you saying you have an icon on the far right side and when you rt click on it, your pointer ends up opening wherever it lands? That is a two step process, or normally should be at least a two step process. Do you have a Mouse in your Control Panel? You should check, because there may be some properties with which you can play. For instance, I can switch primary and secondary functions on my mouse buttons by checking a box.
    When I rt click on right side, the menu opens on the left.
    When I rt click on left side, the menu opens on the right.
    In order for me to take an action, I then have to move to an area in that menu and click.
    I hope I understood your question correctly.

  • Is there a way to remove captivate swf click listeners?

    Hi, this is my first time posting.  After a lot of searching and no answers I figure maybe someone here knows.
    Short background: I have a captivate Sim that is being loaded into a sim viewer of a courseware.  The sim viewer has it's own directional pointers, feedback boxes, and instructional boxes.  To get all of this working correctly has been difficult, and I'm using AS3, Captivate 4, Flash CS4, and export for Flash Player 10 for the unloadAndStop() command to clean it up when no longer needed.
    My question: is it possible to directly remove the event listener that captivate is using to listen for mouse clicks? (and add it back when needed)
    I have the correct/incorrect calling a Javascript.  On incorrect, it is set to one attempt, but the javascript tells it to:
    loaderPath.content.rdcmndPause = 1;
    loaderPath.content.rdcmndGotoSlide = loaderPath.content.rdinfoCurrentSlide;
    loaderPath.content.rdcmndResume = 1;
    so, it does not really go anywhere when they get it wrong (kind of a rig for unlimited attempts with incorrect callback)
    The sim I'm using requires that it can be "paused" in essence, with an opaque layer over it.  The problem is that it STILL gets the mouse clicks even through this layer.  I managed to create a conditional rig to fix that (a Boolean that when set to false, does not evaluate the javascript calls i get for correct and incorrect clicks).  but I still have a problem where when the Sim is active, there is a drag and drop instructions box, and when it's released, it evaluates incorrect.
    so, I'm sorry if that is confusing, but I'm basically wondering if there is a way to block captivate from getting the mouse click on an evaluation slide when you don't want it to?

    That would not really solve my issue at all.  I need it to not register a click for correct OR incorrect at a certain point in time (when they are dragging an information window and they drop it).
    Say that I have a screen with a large click box on it, that is correct, and the rest of the screen is incorrect.  If they just happen to drag and drop the information window over part of the correct box I obviously do not want it registering as the correct answer.  I need a way to block all mouse click and release information from communicating with the Captivate .swf (but also the ability to turn it back on).

  • Is there a way to create a playlist from the now playing screen on ios7?

    Is there a way to create a playlist from the now playing screen on ios7? I want to be able to hear a song in my collection and immediately add it to an existing playlist or create a new playlist.
    Thank you in advance

    Hi Cornellius,
    From the now playing screen there's a Create button at the bottom that allows you to create a
    Genius Playlist
    New Station form Artist
    New Station from Song
    IPhone Help, Browse and play
    http://help.apple.com/iphone/7/#/iph3cf21a82
    The Now Playing screen provides playback controls and shows you what’s playing.
    For information on Genius Playlists, see
    Archived - Genius for iPod and iPhone
    http://support.apple.com/kb/HT2978
    I don't see an option to add it to an existing playlist.
    Best Regards,
    Nubz

  • On the new ipod touch, is there a way to enlarge album art to fill the whole screen?

    Hi there,
    For Christmas I was given a new ipod touch (long story short my old one I put through the wash by mistake ) and this new one is great but when I listen to a song on the new itouch the album art does not fill the whole screen like my old itouch, this is a small detail I know but I loved that feature so much and I was hoping there was a setting I could activate/change which allows this on the new itouch.
    At the moment on the new itouch the album art is small and centered towards the top of the screen while the function icons are below the image while on the last one the album art filled the whole screen and the function icons where over the picture at the bottom and didn't stand out as much as it does now.
    I have drawn a very rough MSpaint diagram explaining what I mean lol.....
    [i tried using the insert image feature but got a javascript error so using external site to upload pic]
    http://s28.postimg.org/aovrsuewt/itouch_something_like_this.jpg
    Anyway my question is, is there a way to have the album art fill the whole screen with the new itouch?

    Just sync them to the iPod. See:
    iTunes: Syncing photos
    They will not go to the camera roll album but to a new album

  • IS there any way i can make something appear on the external screen or use the camera or microphone?

    IS there any way i can make something appear on the external
    screen or use the camera or microphone?

    Hi. Sorry, but isn´t this something that has been around forever?
    Regards
    Lars @ søgemaskineoptimering

  • Simulate a mouse click

    Anyone knows how to simulate a mouse click?
    I mean, for exmaple, when a user clicks a button another button is pressed too, with the click of the first button (without a click on itself).

    Let me explain my problem:
    I want to sort two JTables in simultaneus, they have the same header and the same columns but they have different data and differents models. I don't know how to sort the two tables data when the user clicks on some column of any table. The tables contain data of a first team and a second team of a soccer club. The unique solution that i've imagin is to simulate a mouse click in the column of the second table if the user clicks on the first and vice versa.

  • While launching Mail, I clicked on Safari, to check something while Mail got new emails, but now Mail appears on the same screen as Safari. Is there a way I can return it to it's own screen, please?

    While launching Mail, I clicked on Safari, to check something while Mail got new emails, but now Mail appears on the same screen as Safari. Is there a way I can return it to it's own screen, please?
    I haven't changed any prefs, only clicked Safari as mail was being launched.

    Sorry... Apple IDs cannot be merged...
    I have multiple Apple IDs. Is there a way for me to merge them into a single Apple ID?
    Apple IDs cannot be merged. You should use your preferred Apple ID from now on, but you can still access your purchased items such as music, movies, or software using your other Apple IDs.
    From Here   http://support.apple.com/kb/HE37

  • Is there a way to make InCopy open all documents in normal screen mode, always?

    Is there a way to make InCopy open all documents in normal screen mode, always?
    Now it opens in the screen mode the InDesign page is in when checked in. We don't want that.
    Thanks,
    Frederik

    No, there's no way to get rid of it in InCopy.  InCopy opens layouts in the mode the InDesign user saved them, including Normal vs. Preview, Frame edges showing or not, Hidden characters showing or not, and so on.
    You could try asking the designers to switch to Normal view before saving the INDD file.  Or you could assign a keyboard shortcut to the Normal view in InCopy and tell everyone to use that. We're on Macs so we use Control-N for Normal and Control-Shift-N for Preview.
    AM

  • Is there a way to make the icon/words larger on the screen without changing the screen resolution?

    Is there a way to make the icons/words larger on the screen without changing the screen resolution?

    If you right-click in the top of title bar of any  Finder window there is an option to un-check 'use small icon size', though toggling between the two makes little difference on my screen.
    Another trick is you can zoom the whole screen by holding down the 'control' key and using a two-finger swipe up on the trackpad to enlarge, down to go back to normal.

Maybe you are looking for

  • Issue with custom toolbar button in alv and leave screen

    Hi, in one subscreen (say screen 100)i have an alv with custom ADD  toolbar button..so in the user_command event handler ,i call a antoher screen(dialogue)..like if i click on ADD button ,it should display dialogue screen(say 200) and after entering

  • Change as2 code to as3

    I used a tutorial http://www.flash-game-design.com/flash-tutorials/funky-flash-website-tutorial-5.html to make a menu for my application, I've tried following tips on how to change AS2 code to AS3, but it just doesn't work. menu = ["bulls", "about",

  • Airport Express vs. Airport Extreme... which would work best for me?

    Okay, I've owned a few Apple products over the years, but have recently replaced my laptop with a Macbook Pro.  So, everything in our house that uses a wireless connection is made by Apple.  The only reason I say that is because my wireless router is

  • Failure of Key-NxtBlk Trigger in Tab Pages

    Say, I have 3 blocks, b1, b2 and b3, wherein block b1 and b3 are in a "tab-paged canvas" and block b2 is in a different canvas. When the control is in the tab-canvas (say in block b1). Upon pressing the Key_NxtBlk, CTRL goes to the third block rather

  • Easiest way to share mail to Iphone?

    I was hoping to use mobile access server to access mail remotely via Iphone. Now I've learnt that mobile access server requires two servers. This really *****. So...what will be the easiest way to make a user's internal mail account available to them