Funny question with the use of applescript to set the position of the quicktime window

I use an applescript script in automator to start a recording quicktime. When I run the applescript to automator, everything works fine, but when I run the same sequence as a double-clickable application automator, it throws an error * when it gets to this line:

Tell application "system events" to indicate the process "QuickTime Player" to set the position of the window before {1131, 725}

Any ideas as to why?

Thank you!!

* Error is just, "the"Run AppleScript"action has encountered an error"

Hello

Do not use events from system but QuickTime Player itself to manipulate the window, especially when the scripts via the events system tends to be blocked under recent operating systems, even with special measures to release.

Like that.

set {x, y} to {1131, 725}
tell application id "com.apple.QuickTimePlayerX" -- QuickTime Player X
    tell window 1
        set {l, t, r, b} to bounds
        set bounds to {x, y, r - l + x, b - t + y}
    end tell
end tell

or it-

set {x, y} to {1131, 725}
tell application id "com.apple.quicktimeplayer" -- QuickTime Player 7
    tell window 1
        set {l, t, r, b} to bounds
        set bounds to {x, y, r - l + x, b - t + y}
    end tell
end tell

Kind regards

H

Tags: Mac OS & System Software

Similar Questions

  • Im trying to use my dazzle with the new windows 7

    Im trying to use my dazzle recorder dvd with the new windows 7, but its does not work I did all the things he told me to do, but im not getting video or sound now

    Answer:

    Hi GRaFiix,

    Welcome to Microsoft Windows 7 Forums

    Do you have an error message when you play the dazzle DVD recorder?

    You are able to get the video and sound with the media player, media center and other third party software?

    Check if the recorder Dazzle is compatible with windows 7, given in the link below:

    http://www.Microsoft.com/Windows/compatibility/en-us/default.aspx

    You can download the latest drivers video and audio of PC manufacturers.

    Hope this information is helpful

    Suresh G
    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think

  • Can not get the printer to print with the new windows 8

    I recently rec'd a new computer with the new windows program (8). Printer works sometimes, but not all the time. The setting was listed as offline. I can't understand how to get online. I have sharing enabled. I entered the paraphrase wireless often - sometimes it prints a doc and no mmore. Other times it does not print anything. Can anyone help.

    Hi MargieSchellinger.

    I'm glad to know that you've posted queries in Microsoft communities.

    From your description, I can understand that you can not print in Windows 8.

    I understand that it must be frustrating, but don't worry, we are here to help fix your problem and guide you in the right direction.

    Could you please answer this question so that I can guide you in the right direction.

    -What is the number of brands and models of printer?

    I want you to try the following method and check.

    Method 1: If the printer is offline, then try the following steps to connect to the network.

    With the right button of the new queue in printers and faxes tool and clear the printer offline use setting. This resets the registry key to the correct value.

    Note: this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution.

    Method 2: Please follow the links and instructions mentioned in the link to fix the problem with the printer.

    http://Windows.Microsoft.com/en-us/Windows/printer-problems-in-Windows-help#fix-printer-problems=Windows-8&V1H=win8tab4&V2H=win7tab1&V3H=winvistatab1&v4h=winxptab1

    http://windows.microsoft.com/en-US/windows-8/find-and-install-printer-drivers.

    Method 3: Follow the link which provides instructions on how to install a printer.

    http://windows.microsoft.com/en-US/windows-8/install-a-printer.

    Method 4: To connect printers please follow the link and the instructions mentioned in the link.

    http://windows.microsoft.com/en-US/windows-8/add-device-or-pc-to-network.

    Hope the above information helps.

    Do get back to us and let us know the State of the question in the case where you need further help or your next post.

  • CC of Photoshop and Bridge CC will work with the new Windows 10 which will be released tomorrow?

    CC of Photoshop and Bridge CC will work with the new Windows 10 which will be released tomorrow?

    The update for the desktop app from creative cloud yesterday was made to support Windows 10 better.  I had no problems with her hard on windows 10 previews.  I have a lot of creative cloud Application installed on Windows 10 although I only use Photoshop.  However, I only install Photoshop CC 2014 and 2015 CC and I do not install Lightroom.  There are many questions in Photoshop CC 2015, no issues that I know seem 10 associated Windows.   Creative Cloud Desktop Application update some CC 2015 application such as illustrator, Prime Minister, others but not Photoshop. Update all installed on Windows 10 but since I do not use these applications I can not report on how while they run.   Bridge CC and CC 2014 Photos work fine on Windows 10.

    Using creative cloud | Creative Office Cloud app | Release notes

  • Firefox 40 (Linux) opens with the white window, no menus without content.

    Firefox 40.0.3 (Linux version 3.19.0 - 26-generic (buildd@lgw01-05) (gcc version 4.8.2 (Ubuntu 4.8.2 - 19ubuntu1)))

    Start Firefox (by a shortcut or command line); window opens, but has only the title bar, more buttons min/max/resize. Tried to click blindly, without response. Same thing with "firefox-safe-mode" and "firefox-preferences". Shortcut keys seem to work on the blank screen; for example Ctrl-N still produced a vacuum. 'firefox-private' gives an empty window, but with the correct window title ("you are now browsing... (' etc).

    I tried completely delete $HOME/~.mozilla and $HOME/.cache/mozilla/firefox, but that makes no difference.

    Very inconvenient. Cannot use FF at all in this State. [Display NB from another machine altogether; ignore the version data and the plugin below]

    It was very good work. Play well.
    Please report your last post as solved while others will know.

  • NEITHER route can be started with the minimized window?

    We have a problem, while the GPIB instruments will not work unless NO-Trace is running.   So we have NO-Trace in our marketing so that it works when we start our test station.  But this great Trace window is disruptive to users, until they minimize the window.  Is it possible to have start OR route running, but also start with minimized window?  (Yes I know there is the box to get the Trace from OR Trace execution, but we would like that the window is running in the background - (reduced) to allow our Test window to not be in conflict with the Trace window).

    Well, it changes things because this is very probably an executable VEE? problem. Just spitballing here, but I'm guessing it's a thing of Agilent VISA OR VISA vs. As I've never used vee, I'm guessing they're using Agilent IO libraries. It looks like you can access the VISA Agilent as secondary depending on p35 here and here.

    As I said this is just a guess since I'm not familiar with VEE. I would like to confirm on the Keysight forums.

  • printer scan works only with the new windows 7

    upgrade windows xp to windows 7 with the new HP Omni 220PC. Have a printer HP C309g-m. To scan from the printer to the computer xp, I had to use the HP Solution Center. The printer works very well with the new windows 7 program and new computer. I install wireless. No problems with it. Today when I went to scan a document with the HP Solution Center (I thought I had to use as before), this message came.

    "HP Solution Center cannot work because your device installation is not complete. Please connect the usb cable, or rerun the installation for a network installation cd. If it does not complete the installation, or you do not have the cd, access the HP help files by clicking on the start menu. "Everything I did. My installation CD said I had a version of the latest update on the installation CD, it was of no use. I went to the HP site and find a download for the drivers updated etc. I downloaded and installed. (although I don't know whether or not it was a duplicate of the drivers of devices on windows 7 for this.) I checked Add/Remove programs to make sure that the printer and the hp solultion Center have been added to the programs. they are listed. I can always scan with

    the hp Solution Center. Should I not this program to scan with this new pc? How can I scan from my printer now? I even tried to click scan on the printer, then scan to computer. the message I got was 'Try from scan of compurer. Refer to the documentation for more details ".  To be sure, I'm all mixed up now. All I want is for my scan printer to work with my new pc.  Everything works well except that scan thing, may help me understand what to do?:  Thank you

    all fixed. has crossed my computer to start then click HP click HP and open list. Went to my printer-clicked on my printer and clicked on the icon list to see if it worked correctly. This is a problem with the drivers and a box popped up with directions on where and how to download and install the devices for windows 7.
    Done this and tested it and everything works fine now. (Ihad already tried the HP site for support and downloaded and installed the fix suggested for the problem, but it did not work). in any case, its fixed and I hope that if someone has a problem, this information will help you.

  • Photoshop is slow... I have no problem with the computer (windows 8) mine

    Photoshop C5 is a bit slow... no problem with the computer (windows 8.0)

    Hi maxarcitecture,

    Suggest you to reset the settings of Photoshop and then check

    Using Photoshop | Preferences

  • Cf11 crashes (application pool suffered a fatal miscommunication with the to Windows Process Activation Service)

    I have a cluster of 2 servers web IIS on Windows Server 2008 R2. They were executed on CF10 for over a year (if there are not two) without any problem. I've upgraded a server to CF11 and now this server crashes then CF10 servers still works fine.

    I see 4 instances of this error in the Windows event log:

    «A process serving application pool ' *' suffered fatal miscommunication with the to Windows Process Activation Service.» The process id was '4652'. The data field contains the error number. »

    Then finally:

    "Application pool ' *' is automatically disabled due to a series of failures in the process serving the application pool."

    Looking at the application pool in IIS administration, he is arrested. Reboot will solve, but it will eventually crash.

    What could be the problem?

    -Phil

    I didn't turn off logging, but in fact, he stopped recording since about 8:30 am PST, which is strange.

    I don't have the exact errors mentioned in the original post (again) but I am faced with the question that some applications take very long. I Failed Request Tracing active and show applications for simple static files such as .css taking 10 + seconds.

    -Phil

  • Everytime I open a new firefox window, a new tab opens with the new window. How do I stop this?

    Everytime I open a new Firefox window, the new window opens to the page of hope (as I want him), but then a tab opens with the new window. I want Firefox to stop doing this. When I open a new window I want just the window to open it. I don't know how to solve this problem I've known idea how I did that happen. First of all, it happened when I hit Ctrl + N to open a new window, but I did not hit the "N" itself. I pressed one of the other keys around the "N" and this issue has started.

    It's quite strange!

    Have you tried to reset Firefox? You will find all the information you need to reset, here:

    Firefox - modules to reset and refresh settings

    Let me know if it worked!

    See you soon!

  • Windows Update error "windows update location must be replaced with the default windows location."

    Original title: Failed to automatically / thru fixit updated windows installation (another) indicates both failed 1 of 5. It says windows update location must be replaced with the default windows location

    XP86 running. Recently had installed the additional memory. Microsoft Update icon never goes away - seems like if 1 of 5 updates usually install on a group. Keep trying to install updates (even those) again and again. Sometimes we will not install and then moved the next time, he's trying to install the same updates, another a group. Worked through say fixit and details window update location must be changed to windows default = - but did not say how.

     

    Hello

    Have you tried Microsoft Fix - it?

    See the following article:

     

    Important: this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    http://support.Microsoft.com/kb/322756/

     

    You cannot install some programs or updates

  • I have photos I want to decrease the dpi on but can not understand how with the Gallery Windows. I have Windows Vista operating system.

    I have photos I want to decrease the dpi on but can not understand how with the Gallery Windows. I have Windows Vista operating system.

    I have photos I want to decrease the dpi on but can not understand how with the Gallery Windows. I have Windows Vista operating system.

    ===============================================
    You can resize a picture in WLPG but if you want to change the .dpi you
    need a different application.

    Information about resizing...
    Right-click on one or more selected inches... Choose... "Resize" in the menu.
    Choose a format, access a folder to save in the left click the ' resize and
    Save "button. (I suggest that you save the photos resized in a new folder
    to prevent the replacement (replacement) the originals)

    Take a look at the following link:

    Resizing Photos in Windows Live Photo Gallery
    http://blogs.msdn.com/PIX/archive/2007/11/30/resizing-photos-in-Windows-Live-Photo-Gallery.aspx

    In addition, the free software IrfanView can change dpi. Simply open a photo in IrfanView
    and go... Image / information. Enter the resolution you want in the resolution
    fields and on the left, click change. Then go to... File / save as... and save
    your photo altered with a new name.

    IrfanView
    http://www.software.com/IrfanView
    (Download plugins too)
    http://www.software.com/IrfanView-plugin

    John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • The printer (Lexmark x 5470) cannot communicate with the computer (Windows Vista Home Premlum)

    The printer (Lexmark x 5470) cannot communicate with the computer (Windows Vista Home Premlum).  I tried these solutions below, but it still does not:

    1. ensure that the printer is powered.

    2 disconnected then reconnected the power cable from the printer.

    3 unplugged then replugged the USB cable.

    4 checked Windows Firewall setting to ensure the communication of the printer is not block.

    5. restarted my computer.

    Please help me solve this problem.

    Thank you!!!

    Have you just tried reinstallling your printer yet? Even if it was working before, file corruption or other problems can sometimes be cured by doing this?

  • I have recently installed Windows 10 free update.  Now I am unable to delete .pdf files and get the invalid error message "Function MS-DOS."  It has never been a problem with the previous Windows 8.1.  I contacted Microsoft technical support and I was tol

    I have recently installed Windows 10 free update.  Now I am unable to delete .pdf files and get the invalid error message "Function MS-DOS."  It has never been a problem with the previous Windows 8.1.  I contacted Microsoft technical support and they told me there is a problem with the .pdf application and I need to contact Adobe Acrobat. This can be corrected?

    uninstall any version of acrobat is installed.

    clean by Download Adobe Reader and Acrobat tool - Adobe Labs

    Restart your computer.

    delete all to delete pdf files.

    If this fails, it is a problem of ms.  If this attempt is successful, then reinstall your acrobat.

  • AutoDeploy question with the new deployrule

    Hello

    I wan´t to create a new configuration of autodeploy in my test environment. To do this, I use the latest version of vsphere 6 and last power cli version 6.3 release1.

    Following orders which help to create a rule to deploy this automatic add a host to the cluster named "cluster."

    First, add the filing of software

    Add esxsoftwaredepot 'path to the zip file.

    new-esximageprofile - cloneprofile ESXi - 6.0.0 - 20160302001 - standard - name Nested

    This is where the question pops up.

    New-deployrule-name 'test' - point 'Nested', cluster - model "ipv4 = 192.168.1.50"»

    I get the following error message

    powercli.PNG

    If I did the same thing with powercli version 6.0 Release 3, the problem does not occur. There is a problem with the 'cluster' point in the command.

    Anyone who would confirm?

    Frank

    Hi Jim,.

    When we create a New DeployRule, we provide objects that contain the values for the switch "Item" (or directly the name of the element, literally).

    This means that below PowerCLI command must work.

    example: new-DeployRule-name - point $img, $hp, $cluster - AllHosts

    In the example above,.

    1) $img is the variable that contains the value of the profile Image. We can create this variable by-' "$img = Get-EsxImageProfile-name ".

    2) $hp is the variable which keeps the value of the host profile. We can create this variable by-' "$hp = Get-VMHostProfile-name ".

    3) $cluster is the variable that has a value of Cluster folder or data center. We can create this variable by-' "$cluster = Get-Cluster-name ".

    It works well with PowerCLI 6.3 Release 1 as well.

    Avinash-

Maybe you are looking for