Is it possible to move the mouse with applescript?

I have a simple applescript program that runs at login to launch movie files in VLC - basically I want the computer to launch into presentation mode. Everything runs smoothly - except that the startup mouse position is over the menu bar, so it won't disappear.
Here's the applescript I'm using:
<code>
tell application "Finder"
open every file of folder "myHD:myfolder"
end tell
</code>
Any tips?

Awesome, thanks!
Note that you can't compile an application or run a script from Snow Leopard that uses xtool.osax ( http://lists.apple.com/archives/Applescript-users/2007/Feb/msg00303.html ) However, you can compile a program from Leopard and run that application on a Snow Leopard machine that has xtool.osax installed. Lucky I still have my G5 sitting around still!

Similar Messages

  • Wireless mouse scrolls up or down even if the is or not checked And even if I just move the mouse with out touching the scroll button screen will jump.

    I have an iMac 21.5" screen How can I stop this from jumping, I also have PhotoSmart 10, just shuts down for and files a report to apple I have to restart PhotoSmart when I am working on my photos. I installed Yosemite 10.10.1 about a month ago. I have have reseal Yosemite two or three times in order to get it completely installed.  

    Keyboard/Mouse – Troubleshooting Wireless
    The next time PhotoSmart send a report to Apple, copy and paste the report into a reply. Screen shots are hard to read.

  • FireFox with adobe flash using a retina macbook pro under win 8.1 64 bit is lagging . when you move the mouse above any flash game / video

    Hi
    I asked this question again and i reported this bug , i am a computer engineer and i tested it with few macbook pro retina laptops , when u use win 8.1 64 bit or 32 bit and install adobe flash under firefox try to play any game in facebook , view video on youtube or use any FLASH video and move the mouse above the screen of the flash game / video / etc , the screen will lag alot .
    under chrome this problem doesnt exist but the screen is blurry in chrome when using retina screen thats why firefox is better , but the problem is annoying .
    i tried to disable hardware acceleration as you suggested still the same problem

    Hi thesoulkeeper,
    Do you have the bug number? We can try needsinfo to ask for some help.

  • I have a touchscreen laptop running Windows 8.1. Is it possible to use the touchscreen with Firefox? I've installed Firefox but it only works with the mouse etc

    have a touchscreen laptop running Windows 8.1. Is it possible to use the touchscreen with Firefox? I've installed Firefox but it only works with the mouse etc

    Hello Sirving575, sorry but the metro version of firefox has been cancelled, see : https://blog.mozilla.org/futurereleases/2014/03/14/metro/
    thank you

  • Want to move the mouse arrow without physical mouse

    Hi There
    I have my Mac Book connected to the TV almost 24x7 and I have a wireless keyboard and an apple remote but not the mighty mouse.
    the issue is that I would like to be able to move the mouse arrow over the screen and click or doble click without having to buy a mouse. how can I do it? is that a combination like someting plus the arrow keys? is that possible to use the apple remote as a mouse? i mean it would be great too. is got the 4 directions and a button in the center for clicking.
    any other solution?
    many thanks in advance

    Turn on keyboard navigation in the Keyboard shortcuts of Keyboard and Mouse prefs and you can use the keyboard to navigate through the menus, folders, etc. However, there is no way to drag.
    Set full keyboard access to "All Controls" and you can tab through all the buttons in the dialog boxes. Use spacebar to "click" the selected button.
    In the Finder, Cmd+down arrow opens a file/folder. Cmd+Up arrow goes up in the hierarchy.
    Combine this with the previous tip and you can have it all, mostly.
    Also, without any of that, esc or cmd+. cancels, and cmd+first letter of button usually selects the button. That last one is application specific.

  • Is it possible to disable the mouse automatically scrolling the video playback head?

    Previous versions of iMovie allowed me to move the mouse without moving the playback head.  Doesn't appear possible in '11.  Can it be toggled?
    Thanks.
    Lindy

    No.  If I run the mouse over a video in iMovie, the video automatically scrolls along with the mouse.  The audio skimming function (if on) allows me to hear the audio along with the video as it scrolls - a useful feature, but not what I'm trying to fix.
    What I'd like to be able to do is turn all of that off so that the only way to play a video is to start it with the space bar.
    As it is now, if I select a spot where I'd like to place a marker or split a video, I have to move the mouse in order to initiate the command that I want.  But the moment I move the mouse to go to a menu, the video moves to a different place, making the edit more difficult.
    iMovieHD ('08) did not have the scrolling function, and while I appreciate the usefulness of having it, I'm struggling with being unable to turn it off.  I could play a video to the point where I wanted to edit it, fine tune the playback head location and perform the edit without so much as touching the mouse.
    It's not that I'm incapable of doing what I need to do with iMovie the way it is.  It just seems a bit tougher to accomplish these things with the scrolling when I don't want it to.  Seems like it should be a Preferences setting or something.  But I can't find it.
    Thanks.
    Lindy

  • Wait cursor appears only the first time... unless I don't move the mouse!

    Ah yes, another cursor problem:
    I am setting a wait cursor in my main JFrame when a key-release or a menu item click is detected (the time-consuming action is then triggered in a child JInternalFrame), and so far, it's been working great.
    Then I noticed that the wait cursor only appears the first time the time-consuming action is called (or more precisely, if I never move the mouse, it happens every time as it should, but if I move the mouse, it only happens the first time! Ah, and I noticed I CAN move the mouse but ONLY when it is in the form of the wait cursor!).
    Strangely, I can see the cursor blink briefly when the action is done, precisely when it should be changing back to the default cursor... what gives? If I close the child internal frame and re-open it, I can get the wait cursor again the first time only (again, unless I keep the mouse still, in which case it works great - argh).
    Any ideas would be deeply appreciated!
    Cheers!
    PS - Here's a snippet of how we set the cursor, this is code in our main JFrame, called via either a keypress event or clicking on a menu item - mostly it's stuff that is unrelated, and we simply set the wait cursor as the very first line, so why in the world would it skip that line???? (the rest of the lines do in fact get executed):
    private void refreshMenuItemActionPerformed(java.awt.event.ActionEvent evt) {     doRefreshMenuItemAction(); }
    private void doRefreshMenuItemAction() {
    this.setCursor(new Cursor(Cursor.WAIT_CURSOR));
    JDesktopPane desktop = (JDesktopPane)this.getContentPane().getComponent(0);
    JInternalFrame activeFrame = desktop.getSelectedFrame();
    try {
    if ( activeFrame instanceof IDataDrivenForm ) {
    ((IDataDrivenForm)activeFrame).refresh();
    } catch (Exception ex) {
    ex.printStackTrace();
    this.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));

    almost...
    I now see that glasspanes are an answer to that question. I got it to work (almost) using a glasspane (see code snippet below). But what I can't quite grasp now is why this code does not work when I call it from a child (contained) dialog (and possibly internal frames as well)??? When I do so, the dialog freezes (the button I pressed doesn't even release) and the cursor does not change to waiting. This time I'm really not sure where to go next....
    I appreciate anyone who has read this far, and would really be indebted to you for some good advice!
    PS - Here's the nifty code, placed in my main JFrame class. I just substituted "this.setBusy(true);" for every place I was manually setting the WAIT_CURSOR in the past (and of course with matching setBusy(false)):
    public final void setBusy(boolean isBusy)
    Component glassPane = this.getGlassPane();
    Cursor theCursor = isBusy ? Cursor.getPredefinedCursor( Cursor.WAIT_CURSOR ) : Cursor.getPredefinedCursor( Cursor.DEFAULT_CURSOR );
    this.setCursor( theCursor );
    glassPane.setCursor( theCursor );
    glassPane.setVisible( isBusy );

  • Since upgrading to OS X 10.8.2 a few days ago, Safari will suddenly zoom in on web pages (happens on multiple sites) when I scroll or move the mouse -- any one know why and what to do about it? Thanks.

    Since upgrading to OS X 10.8.2 a few days ago, Safari will suddenly zoom in on web pages (happens on multiple sites) when I scroll or move the mouse -- any one know why and what to do about it? Thanks!

    It really isn't a well thought out 'gesture' when a normal scroll action can result in an unwanted zoom but disabling SmartZoom wasn't an option for me—one of those with eyes that tire easily when reading very small text on a 27" display.
    For a while I used command-+ and command-'-' to read small text but that isn't supported in some apps and for Safari it often leaves the browser in an less than perfect state when moving to the next page.  I also tried option scroll to zoom the whole display but that was not desirable, either.
    I finally settled on leaving SmartZoom enabled and remembering to double tap with one finger whenever the undesired zoom happens. It happens so often that the double tap is almost a reflex action for me.

  • How to move the cursor with keyboard

    Is there a way to move the cursor with the keyboard? My right forearm is hurting prob because of extended use of the mouse.

    While in the 'Finder' click on 'Help' in the upper menu bar....enter 'Mouse Keys' and then select 'Controlling the pointer with the numeric keypad'....only problem I can see is the MacBook doesn't have a numeric keypad...so you would need an full size external keyboard....tried it on my iMac and it works OK...

  • I cannot block some advertisements in the journal De Telegraaf, in The Netherlands. When I move the mouse to blokkeren (Dutch) this blokkeren disappers. How to solve it?

    I cannot block some advertisements in the journal De Telegraaf, in The Netherlands. When I move the mouse to blokkeren (Dutch) this blokkeren disappers. How to solve it? edit

    You cannot boot an iBook from an external USB drive--only a firewire drive. Actually, the drive is just a drive--it is the enclosure that determines USB vs. FireWire. If you could find an appropriate firewire enclosure, you could remove the drive from the USB enclosure and place it in a firewire enclosure and then be able to boot from that. Or you could just purchase an external firewire drive if those are available where you are.
    FireWire external drives are quite useful. One option would be to mount the external drive on the good iBook, format it properly for OS X with Disk Utility, and then use a program like Super Duper to make an exact clone of your internal hard drive. This is a popular way of backing up your stuff. You can boot from either the internal or the external. This means that if your internal hard drive were to die, you would have all your stuff on the external, and could run off of that. Since you are already using the USB for backup, it would probably be best to acquire a new firewire drive for troubleshooting and testing if you decide to go this route, since you really don't want to lose your existing backup.
    If you did have a bootable clone, you could see if the sick iBook would boot from it or not. However, it may be more productive to pursue your other thread about the boot problem. I see that Richard has joined the thread as I had hoped he would. He actually works on iBooks and is very knowledgeable.
    Also, if you do get the second ibook working and want to install OS9, you might want to post a question in the "Mac OS X v 10.3 Panther and earlier" forum. I'm not up on this myself, but I believe there is something about installing OS 9 drivers while formating or something like that. I believe the smart guys on that forum could give you some guidance so that you can avoid the problems you encountered earlier.
    Good luck!

  • My trackpad won't move the mouse, only the clicks work, happen after updating. Help!, My trackpad won't move the mouse, only the clicks work, happen after updating. Help!

         I just update using the app store on my mid 2012 MacBook Pro, and my trackpad wouldn't work, it won't move the mouse but it would still click, I'm using a extrenal mouse at the moment. It really hard carrying your mouse and computer around. Can someone please help me? I also try restting Pram and Scm but it did nothing.

    Please read this whole message before doing anything.
    This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.
    Step 1
    The purpose of this step is to determine whether the problem is localized to your user account.
    Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.”
    While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.
    Test while logged in as Guest. Same problem?
    After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.
    *Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.
    Step 2
    The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login.
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    *Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.
    Test while in safe mode. Same problem?
    After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

  • Trying to download new Garmin map which may take a few hours and Firefox times out after only a small portion has been downloaded, unless I sit here and move the mouse occationally. Can we stop Firefox from timing out?

    Trying to download new Garmin map which may take a few hours and Firefox times out after only a small portion has been downloaded, unless I sit here and move the mouse occasionally. Can we stop Firefox from timing out? edit

    Quote from: lcwhitlock on 04-April-14, 13:44:09
    Hello darkhawk,
    Thank you for the recommendation.  I somewhat understand what a MS DOS disk is, but I'm not sure how to go about creating one. I've seen where you can use a program, like Rufus, to create a usb one  - but I'm leery about using 3rd-party programs (especially ones I'm not familiar with). I've come across a couple of 'how-to' tuts, but they didn't clarify what files (if any) I would need to include on the disk (for my particular situation). Right now I don't have any blank cds, nor any extra flash/thumb drives - wish I did, but hadn't needed these for years. There has only been one other time where I needed to re-install Windows, but that was over 15 years ago - I did it through BIOS, reformatting my drives, and then reinstalled via the Windows XP disk. Windows 8 is an entirely different breed, which has left me feeling a bit stumped, at times. If there was a way I could perform it (successfully), similar to the first time I did it years ago, I'd give it a try - but at the same time, I'm a bit reluctant, because if it doesn't work, then I'm stuck without any internet access to get further help.
    Ask and ye shall receive. This should be doable in Windows 7 and Windows 8 on another PC. I recommend using a USB Flash drive like in this tutorial, but I'm sure you could use something else.
    If you want, you could also use Hiren's BootCD to make a bootable CD with many options and programs on it (I keep one, just for certain situations) that will allow you to do the same things.
    http://www.hiren.info/pages/bootcd
    Also very useful for sorting out virus's as long as it's downloaded and made on another PC that is virus free......

  • Midi instrument stops playing when I move the mouse button

    Hi. Weirdest thing. All of a sudden, I started noticing some strange behavior with my midi input. 1) I can play a selection for a given software instrument, but, if I move the mouse, the midi input freezes (for lack of a better term). I am using logic 9, and it happens with whatever instrument I open.
    Bottom line, its as if touching/using the mouse freezes the midi input for about 3 seconds, as if the midi got interrupted by the mouse movement. This hasnt alwatys happened, and the midi output region, when I record, the midi region has a big 'X' in the display of the region. What is that, and what does it mean?
    Thanks.

    Hi, thanls for your response, and I looked into the event list, but, I dont have a graps of what it is you are suggesting I do. I am a newbie at this, so please bear with me, and break down that answer into a little bit more simplistic terms.

  • Firefox stops operating unless I move the mouse curser....HELP!

    Firefox will stop operating unless I continue to move the mouse.
    I have read where MANY others have the same problem. Lots of suggestions but nothing concrete.
    If there is a fix, what is it or is there more than one issue/setting that needs to be checked and modified

    Sorry for trouble try to re-install ff using the steps below
    Hello<!-- XXX you may wish to edit this greeting, and other parts of the response so that it is personalised to the question asked.-->,
    Certain Firefox problems can be solved by performing a ''Clean reinstall''. This means you remove Firefox program files and then reinstall Firefox. Please follow these steps:
    '''Note:''' You might want to print these steps or view them in another browser.
    #Download the latest Desktop version of Firefox from [https://www.mozilla.org mozilla.org] (or choose the download for your operating system and language from [https://www.mozilla.org/firefox/all/ this page]) and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (or open the Firefox menu [[Image:New Fx Menu]] and click the close button [[Image:Close 29]]).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [[Troubleshoot and diagnose Firefox problems#w_5-reinstall-firefox|here]].
    <b>WARNING:</b> Do not use a third party uninstaller as part of this process. Doing so could permanently delete your [[Profiles|Firefox profile]] data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be easily recovered unless they have been backed up to an external device!</u> See [[Back up and restore information in Firefox profiles]]. <!-- Starting in Firefox 31, the Firefox uninstaller no longer lets you remove user profile data.Ref: Bug 432017 and https://support.mozilla.org/kb/uninstall-firefox-from-your-computer/discuss/5279 [Fx31] Windows uninstaller will no longer offer the option to remove personal data -->
    Please report back to say if this helped you!
    Thank you.

  • Streaming flash video will not play automatically. Must move the mouse off the link

    I have 4 computers, all running Win7. On every one, Internet explorer. 2 have firefox 3. 2 have firefox 4. When clicking a link on a website that has live streaming video (flash) - the stream changes to the next one and the video feed begins right away. Works fine on all 4 computers in IE, and in both Firefox 3. The video starts when the mouse is clicked, or when the screen is refreshed. On both computers with firefox4 - the mouse click loads the new feed, but the video hangs on a white screen until the mouse pointer moves. same problem when the feeds are set to auto-rotate. they load every 30 seconds, but unless I physically move the mouse, no video plays (or click the 'next feed' button again, which gives a split-second peek at the video feed I am navigating away from), I need to monitor many security cameras, and this is excruciating. Safe mode does not help. I have the newest versions of everything. please tell me this is a bug and not someone's bright idea

    Your code paths are different on the index page video
    &streamName=minInvasiveVideo
    compared to the absmc page
    &streamName=../multimedia/video/ABSMC
    "ryonker" <[email protected]> wrote in
    message
    news:g3esv7$c3r$[email protected]..
    > Hi Everyone,
    >
    > I add a flash video to a page and when I preview it form
    DW CS3 and from
    > the
    > website the video does not appear. I already have one
    that is linked on
    > the
    > homepage but for some reason this additional on will not
    play. Here is a
    > link
    > to the page in question.
    >
    http://www.ebcardiac.com/multimedia/absmc/absmc.html
    >
    > Does anyone have any suggestions for getting this to
    play? I have others
    > that
    > I need to add in addition to this one.
    >
    > Thanks,
    > Robert
    >

Maybe you are looking for

  • I get an error message when trying to sync my reset ipod "The iPod ...cannot be synced. A duplicate file name was specified."

    i get an error message when trying to sync my reset ipod "The iPod ...cannot be synced. A duplicate file name was specified."

  • Retaining the selected tab in a tabbed block of selection screen

    Hi, My report has a selection screen with a tabbed block displaying 3 tabs. I want to retain the tab that was selected before executing the report and display that tab as the activetab when the user back navigates from the output list of the report t

  • Bill through email?

    Hi How do i send a proforma invoice generated in SAP to the customer through an internet email in the custom designed format. preferably as an pdf attachment? How to configure the same? pls help regards, amol

  • SOP-Change base unit to value???

    Hello, Is it possible to enter a sale forecast is SOP or Flexible SOP in $ value of forecast sales, instead of at Quantity in "PCS". For example, we want to forecast for 6 months the sales of a product family. Is it possible in SOP or it must be done

  • VG 224 Transfer

    Hi, please note that my client have VG224 configured as MGCP gateway with CCM 4.13 currently analogue phones can transfer but in blind mode, could it be possible to do a consultative transfer. in case yes, how to do it, i could not find any doc on th