Image on both monitors synchronization script

So I have two monitors and several dual screen wallpapers I want to be able to scroll. I have an Applescript script that I got from these forums that someone wrote for this purpose, but I get an error that I can't solve everything. The idea is that the script searches a folder, grabs a random image in this folder file name and seeks the same file name in a second file (a single folder is for the left screen and the other is for the right monitor). It is presents the office as well as the file in the folder 'RIGHT', and then he put the second office with the same file name in the folder "LEFT". This is the script:

Repeat

say application 'Finder '.

game of this_folder to ' Mac Pro: data users: me: photos: desktop computers: _12South:LEFT:

put raddbdir to the of some file in folder this_folder name

the value Left_Image to {"" data: Mac Pro users: me: photos: desktop computers: _12South:LEFT: "& raddbdir &" ' "}

the value Right_Image to {"" data: Mac Pro users: me: photos: desktop computers: _12South:RIGHT: "& raddbdir &" ' "}

the value image of the desktop to Right_Image as alias

say application "System events".

the value theDesktops to a reference in each Office

set photo of point 2 of the theDesktops in a file Left_Image

end say

end say

delay of 900

end Repeat

The paths are 100% correct, so I'm not concerned about it. I get the script error is:

Events system was an error: can't do integer {"Mac Pro Data: Users: me: Pictures:Desktops:_12South:LEFT:8.jpeg '}.

And he highlighted this line in the script:

set photo of point 2 of the theDesktops in a file Left_Image

It is striking not properly file names. It correctly sets even the image of the main office. "It looks like it runs into trouble when he tries to set the second monitor (left)). Any ideas?

I think you should just put it as an alias on the end of the line image of the second monitor.

(I don't know why you have braces around the assignment of image variables.  You're not dealing with lists, you do not have need of them.)

Tags: Mac OS & System Software

Similar Questions

  • Win Media Center - Dual Monitor mode makes both monitors blinking on and outside

    I have an EVGA nVidia 9500GT card (1 gig of video ram). The rest of the computer is: AMD 4-core 3.1 gig (OC to 2.6 GB) and 400 GB SATA. I use a card of receiver TV AVermedia Duo (2 tuners). I use "right-click" on the desktop, the screen resolution, to do which is to "Duplicate the poster" or "display on the desktop 2" and that causes WMC flashing both monitors, off, we off - never stops. " I use an s-video cable (6') to control the TV, which is an overhead projector TV Sony KP-61HS10. Sony's s - vid. entry. It was all work until WMC update itself appeared the prob...

    Hello

    This only happens if you change the resolution while Media Center is open?
    The problem if you close Media Center and reopen?

    Media Center is in windowed mode or full screen?

    Try pressing Alt + Enter or clicking on enlarge / restore button to switch between full screen and windowed mode.

    Are you referring to a Windows Update or the update of the guide in Media Center?

    Because the overclocked hardware can cause a lot of problems, I would recommend resetting hardware overclocked to default speeds.

    David
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • My LifeCam HD 6000 displays an image in an image on the monitor, how can you get rid of the image in the image?

    My LifeCam HD 6000 displays an image in an image on the monitor. I have not been able to get rid of it and does not know how to do it.

    It is generally a function of the camera software or chat software, in order to check these options to turn on/off photo to the photo support.

  • I added a DVI monitor to my XP computer. I want to thank the display, but I have the same display on both monitors.

    The VGA and DVI monitors show the same screen.  Both monitors are not displayed on the display properties/settings tabl

    Hello

    What is the brand and model of the video card?

    Also check the wiring to make sure they are properly attached and reinstall the video card drivers. It is possible that the graphics card does not support an office unified on several monitors.

    Here's how:

    1. click on the Start button.
    2. in the search box type devmgmt.msc, and then press ENTER.
    3. Select the video card device and right click on it
    4. now, select uninstall.
    5 restart the computer. This should install it a suitable driver for it.

    Reference:
    How to manage devices in Windows XP
    http://support.Microsoft.com/kb/283658

    You can have a look at this Microsoft article for instruction on setting up two monitors:
    http://support.Microsoft.com/kb/307873

  • Image reversed on monitor

    Someone placed a stack of paperwork on my keyboard and click tone several times.  When I'm home and removed the papers the image on my monitor has been reversed - backwards.   How can I fix?

    Wednesday, June 23, 2010, 10:24:31 + 0000, ther2d2 wrote:
     
    > Someone placed a stack of paperwork on my keyboard and click tone several times. When I'm home and removed the papers the image on my monitor has been reversed - backwards. How can I fix?
     
     
    The ability to rotate the screen image is a characteristic of your video
    card, to help work with instructors who turn to the portrait
    orientation. The book accidentally ' press on ' Ctrl-Alt and arrow
    key.
     
    Rotate using these keys.
     
    Ken Blake, Microsoft MVP (Windows desktop experience) since 2003
     

    Ken Blake

  • How can I move precisely image in the monitor by using the arrow keys?

    I am currently using first 13 items on my desktop Windows 10. When I use the special effects of culture, I am able to precisely position the top, down, left and right limiters by typing in a decimal percentages. It works very well, especially when you try to manually move the limiter in the monitor by holding down the left mouse button and dragging. Enter the percentage allows the adjustment takes place easily.

    However, I was unable to find a similar positioning tool for when I want to move the image in the monitor. The only way I know to move the image currently is holding down the left mouse button and dragging the image. What would be the most direct and intuitive way (for me) to precisely move the image, once you left mouse clicked on the clip to show the white frame with its 8 small white squares, simply hold the CTRL key, and then use the 4 arrows to position the image. However, holding the CTRL key and pressing the keys 4 arrow do not work, or not keeping the Alt key and pressing the key 4 arrow, nor does not hold down Shift Ctrl, shift, or Ctrl Alt Shift For me, it would help greatly to a precise positioning, if I could hold the CTRL key and press the arrow key should be.

    Anyone happen to know how to position an image in the monitor otherwise than by holding down the left mouse button and dragging the image where you want?

    Thank you

    With the clip selected on your calendar, click effects applied on the right side of the interface.

    In the effects Panel, open the path properties. Here you can define the Position and the scale and Rotation of your clip. You can also effects and keyframe animated trajectories.

  • How to lock the two images on BOTH edges of the browser?

    Hello

    I'm building a sensitive site and need to lock the images on BOTH edges of the browser window. I looked for relevant discussions and found a way to block the image to the left of the window by changing the settings of the site properties by setting "align left" rather than "center align".

    Help and advice on this is greatly appreciated.

    Thank you

    Dmitry

    Screen Shot 2016-06-01 at 20.54.15.png

    While I was waiting for someone to help me I have found the answer. On the stop at the top sign are arrows pointing inwards. You click on them to extend your page. Problem solved.

  • Hi I exported my project from first pro cs6 in again and now the image in the monitor trac again

    Hi I exported my project from first pro cs6 in again and now the image in the monitor trac again

    The monitor still isn't the best way to view the video. He's always nervous. Click on the preview to see what your product looks like.

  • Columns with the INTEGER type in the Dungeon of synchronization that appear in the synchronization script

    I change all the PK and FK which are numbers and number (12) in the field "primary key".
    This changes the ENTIRE data type. Which is what I want to do.

    When I run the synchronization generates on:
    ALTER TABLE EDW. SUBSCRIPTION_TYPE
    CHANGE (INTEGER ADDRESS_TYPE_SKID)
    ;

    Which is fine, I then run the script. When I Re run the synchronization script, the update continues to display in the script. Even if the column has been updated.
    If I change to a number then it works!

    Is this a known bug or just me being stupid?

    Hello

    Is this a known bug

    Bug or feature, not so easy to classify. You can see the solution here, field and Types
    I logged a bug for better handling of such cases.

    Philippe

  • View 4 Post synchronization script exact sequence?

    Hello

    I'm trying to understand the exact sequence of a deployment of linked clone. Especially for the message synchronization script.

    I am facing a strange behavior. Sometimes when you connect to a desktop put into service for the first time, he asks to reboot the system and sometimes not. I refer to the same pool, based on the same replica.

    I wonder if I should add a synchronization with a reboot in her message. But the question is: reboot will disrupt ongoing deployment process.

    This is one of the reasons why I would like to know the sequences of a deployment.

    Can someone bring some light on this subject?

    Thank you very much

    Eric

    The postscript runs after the clone has been deployed for a restart should not affect anything.   Useful link for postscript.

    http://www.thatsmyview.NET/2009/04/16/post-syncronization-scripts/

    If you have found this device or any other useful post please consider the use of buttons useful/correct to award points

  • bad image on the monitor

    How can I remove a ghosting on screen, the image is dimmed and smeered right 1/4 of an inch or more.

    Hello

    1. This happens when you're on the Internet?

    I suggest you run the fixit and see if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-monitor-and-video-card-problems

    It will be useful.

  • Can I change my Start menu, the icons on the desktop (shortcuts) to my TV screen and displays both monitors so I can see different things on each monitor

    I have an old Dell Latitude E6500 running Windows 7 Pro and think my screen on my laptop is going to bite the dust and can't understand how to show my start menu, desktop and screen icons (shortcuts) on my flatsceen TV, so I could still run the laptop if the monitor on it turns off, without duplicating the image which limits me to not be able to have different things on each monitor as in "extend displays it" does

    Hello Tony,.

    Thanks for posting your query on the Microsoft Community.

    I suggest you follow the advice given by Ralf_G answered September 25,2010 from the link given below and check if that helps.

    Reference:

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-desktop/extend-displays-not-working-in-Windows-7/30828f33-5a64-4e22-AD70-b3bd8e6d8580

    Hope this information is useful. Please let us know if you need help with Windows.

  • Having two monitors on Windows 7 - I want to display for the separate background images on each monitor. How can I do this?

    I have two monitors.  I'm running on Windows 7.  I would like to be able to display a different image on each desktop screen background.  Is there a way I can achieve this or a program I can download to be able to do this?  If yes what to do or how? If not, why not and how long will there be a way to do this?

    You can search for 'tools bi-ecrans' free programs to do it automatically. There is a manual way, but it can be a lot of time and can be difficult to get the results you want according to your configuration.

    For what is built in the feature, which was added in the next upcoming version of Windows.

  • How to write different words in different image files using automate batch script

    I have 1000 line of words in the text file. That all the lines of words written in 1000 images.is there any script commands of automation

    for example

    def.jpg.

    Did you check that?

    Create graphs based on data in Photoshop

    What exactly is the relationship of the words for files, how do you determine which word belongs with the image which ultimately?

  • The appearance of sharpness of the Image on the monitor / cropping picture

    Question n ° 1

    It is a problem I've had with all versions of Photoshop.

    Sizing up a picture on the monitor has a strong influence on the sharpness of the image appears.

    If you click on the button of the screen adjustment, the image always loses considerable sharpness.

    However, if you click on the little top and down sizing triangles under Image Navigator (side of the app), it chooses sizes that faithfully reproduce the sharpness of the image (what it will look like when printed). The problem is that it is too small (less than "screen adjustment"), or too large (larger than "screen adjustment").

    Has anyone experienced this frustrating niggle and found a solution?

    2nd edition

    Cropping

    When cropping a picture, the image appears to move non-adjustable in increments, which means that sometimes you cannot the frame on site exactly where you want. Does anyone know how to fix or configure this?

    Thank you!!

    There is something basic that you should take into consideration.  The only time where Photoshop displays your actual images when pixels you zoom in you picture view to 100%.   If the Image zoom level is not not 100% that you don't look at your actual image.  Your viewing a version to scale your image. Photoshop quickly scaling allows you to work on your image.  Its rapid scaling, not a fact using the best possible interpolation.  Indeed to some values of percentage of zoom that you see sounds quite bad. It's not your image.  When you work on a Photoshop image scales that you do the sized to your image size image real. That's how the scale works. Don't judge sharpness of the image, unless you look at one of your pixels real images zoom 100%.

    You should be able to reframe the exact size you want. You must know how the rectangle selection tool use and the crop tool and manually type in the exact size you want.  You must be careful with the crop tool, it can easily crop and resize the crop.  No matter when you resample a picture, you lose image quality, or throw you have images you create details you have no details.

Maybe you are looking for