Can you put mosaic windows from Javascript in CS3?

I have a javascript that opens 2 images in Photoshop in different directories, based on a unique file name, so that users can view them side by side. They need this to be able to compare the color correction of a process automated against the original image.

The problem is that even if I can open the pictures, I can't invoke the "window/arrange/tile vertically' menu item, I can with InDesign.

Does anyone know a trick to work around the tile missing command vertically in Javascript for Photoshop CS3.

(I searched the web and found that most of the responses are for windows 4 or more, where the images are pasted into a doc.) "But here, I need to keep the separate windows).

One way to do this in CS3 is an action. A new action, and then stop recording. There should be no steps in the action. Choose the Insert menu in the Panel popup menu action. Then choose the "window/arrange/tile vertically' menu item. You now have an action that you can call from a scipt to place the two images.

Another way is to use the doMenuItem Xbytor

// adatped from Xbytor's xtools stdlib.jx
doMenuItem = function(item, interactive) {
   var ref = new ActionReference();
   ref.putEnumerated(charIDToTypeID("Mn  "), charIDToTypeID("MnIt"), item);
   var desc = new ActionDescriptor();
   desc.putReference(charIDToTypeID("null"), ref);
   try {
     var mode = (interactive != true ? DialogModes.NO : DialogModes.ALL);
     executeAction(stringIDToTypeID("select"), desc, mode);
   } catch (e) {
     if (!e.message.match("User cancelled")) {
       throw e;
     } else {
       return false;
     }
   }
   return true;
};
doMenuItem(stringIDToTypeID('tileVertically'));

Note more recent version of Photoshop have a method of application named runMenuItem that can be used instead of a custom function.

Tags: Photoshop

Similar Questions

  • Can I put the mails from my Windows Live Hotmail on a CD account and then delete e-mails permanently?

    Can I put the emails from my Hotmail on a CD account and then delete e-mails permanently?

    Hello

    As you are facing problems with Windows Live Hotmail, I suggest you to report your query in the link given for assistance.

    http://windowslivehelp.com/product.aspx?ProductID=1

  • Can you put a 500 g SATA hard drive in Pavilion a750w?

    Can you put a 500 g SATA hard drive in Pavilion a750w?  The bios is version v3.26, and the operating system is XP with SP3.  40 gig HD is full and you are looking to replace it but do not know what the size limit is with this bios version.

    Here are the specifications of your HP Pavilion a705w desktop. This is based on the assumption that you converted the 5 and 0 and the fact that you mentioned a 40 GB hard drive.

    You already have the most current version of the BIOS of your computer and running the most recent service pack of Windows XP. Your computer and the operating system should support a drive of 500 GB without problem. The only problem is that your computer isn't any SATA ports, only 66/100 IDE (PATA). Look at local retailers and online for the IDE drives.

  • Can I put a Windows 7 PC to Windows 8, if it runs a different edition?

    Hello.

    Can I put a Windows 7 PC to Windows 8, if it runs a different edition? For example, if I'm running Windows 7 Home Premium can I switch to Windows 8 Pro or a Windows 7 Ultimate for Windows 8?

    Thank you.

    Windows 8 upgrade paths
    http://TechNet.Microsoft.com/library/jj203353.aspx

    Upgrade to Windows 8

    You can upgrade to Windows 8 and maintain the settings Windows applications, personal files and following editions of the Windows operating system:

    Windows 7 Starter

    Windows 7 Home Basic

    Windows 7 Home Premium

    Upgrade to Windows 8 Pro

    You can upgrade to Windows 8 Pro and maintain the settings Windows applications, personal files and following editions of the Windows operating system:

    Windows 7 Starter

    Windows 7 Home Basic

    Windows 7 Home Premium

    Windows 7 Professional

    Windows 7 Ultimate

    Upgrade to Windows enterprise (Volume License)

    You can upgrade to Windows 8 Enterprise (Volume License) the following editions of the operating system:

    Windows 7 Professional (Volume License)

    Windows 7 Enterprise (Volume License)

    Windows 8 (Volume License)

    Note
    You can upgrade or keep your Windows settings, personal or applications files if you are installing cross-language. You can only keep your personal files during an installation of multiple languages per setup of Windows 8.

    =======================================================

    Upgrade to Windows 8: what you need to know (FAQ)
    http://reviews.CNET.com/8301-33642_7-57505867-292/upgrading-to-Windows-8-what-you-need-to-know-FAQ/

    What Windows is right for you?
    http://Windows.Microsoft.com/en-XM/Windows/compare

    What are the cheapest and simple upgrade paths to Windows 8
    http://www.ZDNet.com/what-are-the-cheapest-and-easiest-upgrade-paths-to-Windows-8-7000005702/
    Microsoft has finally hit most pricing for Windows 8 details.
    But buying and upgrading are always confusing. Use this guide to find the cheapest, the best way to level

    Windows 8 upgrade paths
    http://TechNet.Microsoft.com/en-us/library/jj203353.aspx

    How the new license terms for Windows 8 may affect you
    http://www.ZDNet.com/how-the-new-Windows-8-license-terms-affect-you-7000003028/
    Summary: What's changed in radical new agreements to license Microsoft's Windows 8?

    J W Stuart: http://www.pagestart.com

  • If you pay the $53,00 per month can you put creative cloud on a laptop and desktop computer you have in your home?

    If you pay for creative cloud can you put on a desktop and a laptop for the $53,00 per night?

    Hello

    You can have the creative cloud installed and signed in on two computers as long as you don't use it on one at a time. Download and install as you did on the first computer, sign in to your Adobe account on the Adobe using your Adobe ID website, download the desktop app from clouds, then download the software. Sign on a computer that should not be used: log in and log out of the desktop Adobe Creative Cloud application

    You can download the installer for Creative Cloud from here:
    Creative cloud help | Creative cloud desktop.

    After you install the creative Cloud desktop application, you will need to sign in with a login password and Adobe. Then you can install applications. This link provides more information and step by step instructions, if you need: CC help | Download, install, update or uninstall applications

  • can you put your mail icon in the dock on your top menu bar?

    can you put your mail icon in the dock on your top menu bar?

    N °

  • How can I put my windows 8 to 10 of windows?

    How can I put my windows 8 to 10 of windows?

    For systems running Windows 7 RTM or Windows 8 RTM, which cannot be updated Service Pack 1 and update 1 respectively; How can they qualify for a free upgrade?

    People running these versions will need to perform an upgrade in offline mode using the. File ISO for Windows 10 which will be available. Your personal files, applications, and settings will be always preserved.

  • Can you put a redirect in the Tablet, or the design of the phone, code left the office as is?

    Can you put a redirect code in the metadata title, or the design of the phone, Tablet left the office as is?

    Don't know if that's what you're looking for, but found an article for the use of redirects in Muse

    Redirect page in Adobe Muse

  • Can you put into fields in all capital letters

    Can you put into fields in all capital letters?

    Thank you

    Use this code in the custom field validation script:

    Event.Value = event.value.toUpperCase ();

  • How can you affect multiple windows open at the same time

    How can you affect multiple windows open at the same time

    You can not.  Only a calendar can have several windows.

  • How can you put a border around a Panel in muse when you have set up for a page 3 panel

    How can you put a border around a panel when you use the layout of the 3 panel Muse

    You mean a page 3 "column. You can take a shape tool and make a box that fits the left and right columns and then adds a line to them.

  • can I put my windows 7 32-bit operating system to 64-bit?

    can I put my w7 32-bit to 64-bit? My frend say, my operating system can be upgraded to 64 - bit...

    my current system I got the tools and performance information:
    Reference of the manufacturer-acer
    model - aspire 4552
    total 3.00 GB ram memory - system
    system type 32 bit os
    Number of processor core-2 (amd athlon II P340 2.2 GHZ)
    64-bit capable Yes
    graphics-ati mobility radeon hd 4200
    Thank you..

    Yes, you can install Windows 7 64-bit.

    You will need to do a clean install, there is no place on the way to upgrade Windows 7 32 bit to 64 bit.

    Using the disk of 64-bit Windows 7, install Windows 7 Windows Easy Transfer Utility from the DVD (to find it, simply navigate to x:\support\migwiz, "x:" is the name of your hard drive. (In this case, you will see a collection of files, the important"that you must search for and double-click is 'migsetup'.) run it and create a DAMP (Windows Easy Transfer file), if you have an external hard drive, you can access it later when you perform a clean install of Windows 7 64-bit disk so you can stored there.

    Once you have done this, just do a clean install of Windows 7 64 bit disc. In Windows 7 64 bit disk, start Windows Easy Transfer, follow the wizard screen, tap on which is stored the WET file (external hard drive) and it will restore your personal files and settings. Reinstall the applications needed.

    http://www.notebooks.com/2009/10/07/using-Windows-easy-transfer-in-Windows-7/

    Boot from the DVD 64 bit Windows 7
    Click Install now
    Accept the license agreement
    When the option is displayed to select a type of installation, click (Custom advanced)

    Select the disk partition where you want to install Windows 7 click Next.

    You will receive the following warning:

    The partition you have selected may contain files from a previous Installation of Windows. If so, these files and folders will be moved to a folder named Windows.old. You will be able to access the information in Windows.old, but you will be able to use your previous version of Windows.

    (At all costs, do NOT click on anything in Format, deletion or Partition name.) So even do a custom installation, your personal files are still kept. Click OK

    The installation program will now begin installation. During installation, your computer will be restarted several times.

    Once the installation is complete, you can complete the Out of Box experience as the choice of your laptop, create a username, password, your time zone. You can then proceed to download the latest updates for Windows and reinstall your applications and drivers.

    You can then retrieve your personal files from the Windows.old folder and reinstall all of your applications and drivers.

    http://notebooks.com/2010/11/09/how-to-recover-documents-music-and-email-after-upgrading-with-the-Windows-old-folder/

  • I am using windows 7 home basic 32 bit.i bought the copy under license in August 2012.how can I put my windows 7 32-bit to 64-bit? Wat is the cost?

    I use genuine windows 7 home basic 32-bit.

    I bought the copy under license in August 2012.
    How can I update my windows 7 32-bit to 64-bit?
    or can I put windows 7 32-bit to 64-bit windows 8?
    Wat is the procedure & fees for it?
    pls show me the right way.
    thanx

    You will need to do a clean install, there is no place on the way to upgrade Windows 7 32 bit to 64 bit.

    Using the disk of 64-bit Windows 7, install Windows 7 Windows Easy Transfer Utility from the DVD (to find it, simply navigate to x:\support\migwiz, "x:" is the name of your hard drive. (In this case, you will see a collection of files, the important"that you must search for and double-click is 'migsetup'.) run it and create a DAMP (Windows Easy Transfer file), if you have an external hard drive, you can access it later when you perform a clean install of Windows 7 64-bit disk so you can stored there.

    Once you have done this, just do a clean install of Windows 7 64 bit disc. In Windows 7 64 bit disk, start Windows Easy Transfer, follow the wizard screen, tap on which is stored the WET file (external hard drive) and it will restore your personal files and settings. Reinstall the applications needed.

    http://www.notebooks.com/2009/10/07/using-Windows-easy-transfer-in-Windows-7/

    For a DVD that contains all the flavors of 32-bit and a DVD that contains all the flavors of 64-bit Windows 7: Starter, Home Basic, Home Premium, Professional and Ultimate see here.

  • After you have installed the Windows upgrade free 10 can you easily return Windows 7?

    I have to reinstall my applications and hardware drivers? Otherwise it is a matter of circuit breaker.

    Can I uninstall Windows 10 if I do not like it?

    See the following: how: go back to an earlier version of Windows from Windows 10

    Backing up your computer:
    When you make significant changes to your computer for example updated operating system, you must always back up. See the links to resources on the backup by clicking the link for each version of Windows you are using: Windows XP, Windows Vista, Windows 7, Windows 8/8.1

    Also check:

    How to: build 10 tips before installing the latest version of Windows 10

    How to: 10 things to do if the Windows 10 install fails.

    Once you have installed these important updates and followed the required steps, you should be ready to receive your free Windows 10 update this summer.

  • Can you put Microsoft Mac iPad pro

    I want to buy an iPad pro and sell my Mac. I need to use microsoft office for Mac. Can I put this on the pro?

    You cannot use a Mac app on iPad. You could put MS office iPad apps on it though.

Maybe you are looking for

  • When you try to connect to a Yahoo link, like yahoo mail, I get (error code: ssl_error_bad_cert_domain)

    This connection is Untrusted You asked Firefox to connect safely to we - mg5.mail.yahoo.com, but we cannot confirm that your connection is secure. Normally, when you try to connect safely, sites will present a reliable identification to prove that yo

  • Upgrade the RAM for Satellite A60

    Hi I have a Satellite A60 with 512 MB DDR preinstalled in a slot. I want to install a 1 GB of additional ram from crucial. have a few questions:1 Toshiba A60 manual says that maximum RAM in two slots should not exceed 1.5 GB. That means 1500 MB liter

  • smart playlist, including music to iCloud

    My iTunes is configured to hide the music in ICloud.  I tried to set up a smart playlist today, including the titles of classical music at random.  It included 4 tracks with the symbol of the cloud by it.  I then put one of the parameters of location

  • Pavilion 15-au505tx

    I would like to know which can support the maximum memory for HP Pavilion 15-au505tx. Referring to the specification, it indicates that the memory that comes with the system, but she did not mention the maximum memeory that the model can support that

  • How to make columns for my documents on Word pad

    I recently updated my computer and Word Pad has been installed.  On my old computer, I could click on an icon and make the columns.  I can't do this on my toolbar on wordpad Help, please