How to start a particular Photoshop version when multiple versions are installed

I wrote a small program that automates some functions in PS CS2.

So far it worked very well with PS CS2. Now due to some unknown reasons, the client has installed CS 4 and CS 5.

Now my clinet want that software should be able to detect all version of the PS and to allow user to choose in what concerns with what version of PS my software should automate.

Is this possible?

If Yes and how?

Oh! I also abserved unusual behavior. I don't know if it's because of my software or PS

By default when my software executs this automation script (generated using Script listner)

Rem =======================================================
  Dim objApp
  Set objApp = CreateObject("Photoshop.Application")
  Rem Use dialog mode 3 for show no dialogs
  Dim dialogMode
  dialogMode = 3
  Dim id11
  id11 = objApp.CharIDToTypeID("setd")
      Dim desc3
      Set desc3 = CreateObject("Photoshop.ActionDescriptor")
      Dim id12
      id12 = objApp.CharIDToTypeID("null")
          Dim ref2
          Set ref2 = CreateObject("Photoshop.ActionReference")
          Dim id13
          id13 = objApp.CharIDToTypeID("Prpr")
          Dim id14
          id14 = objApp.CharIDToTypeID("GnrP")
          Call ref2.PutProperty(id13, id14)
          Dim id15
          id15 = objApp.CharIDToTypeID("capp")
          Dim id16
          id16 = objApp.CharIDToTypeID("Ordn")
          Dim id17
          id17 = objApp.CharIDToTypeID("Trgt")
          Call ref2.PutEnumerated(id15, id16, id17)
      Call desc3.PutReference(id12, ref2)
      Dim id18
      id18 = objApp.CharIDToTypeID("T   ")
          Dim desc4
          Set desc4 = CreateObject("Photoshop.ActionDescriptor")
          Dim id19
          id19 = objApp.CharIDToTypeID("HsSt")
          Call desc4.PutInteger(id19, 1)
      Dim id20
      id20 = objApp.CharIDToTypeID("GnrP")
      Call desc3.PutObject(id18, id20, desc4)
  Call objApp.ExecuteAction(id11, desc3, dialogMode)
  Call SetUndoTo1CS3

It will start automatically that the version of PS that changed was running before the system has been arrested.

I would try one explain this in a different way:

To get my software to talk to a particular version of the PS, I should perform the following steps:

  • Start this version of PS in I am interested
  • Open a file and save is under another name
  • PS nearby
  • Restart my PC

After completing all of these steps when my software automates PS PS version will start that last run.

No idea as to what is happening?

Please help me solve this problem.

OK, this editor is really lame. I hope it turns out when I press record!

Dim wsh

Dim pathToExe

WSH value = CreateObject ("WScript.Shell")

Pat

hToExe = wsh. Regsec ("HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Photoshop\12.0\ApplicationPath\")

If Len (pathToExe) = 0 then

WScript.Echo «You seem to have installed CS5»

on the other

WScript.Echo "default app is here:"& pathToExe. "

end if

Tags: Photoshop

Similar Questions

  • HOW TO OBTAIN MICROSOFT WINDOWS NT VERSION 4 INSTALLED ON MY WORK OF WANY GAME STARTING WITHOUT HIM

    HOW TO GET MICROSOFT WINDOWS NT VERSION 4 INSTALLED ON MY WORK PLAY WITHOUY WANT TO COUNT

    Hello

    Older programs may or may not work in Windows 7. I suggest you to run the troubleshooting of Microsoft Compatibility utility to determine this.

    ·         Open the program compatibility problems by clicking on the Start button, then Control Panel. In the search box, type Troubleshooting, and then click Troubleshooting. Under programs, click run programs made for previous versions of Windows.

    ·         For more information, please visit the link below,

    http://Windows.Microsoft.com/en-us/Windows7/open-the-program-compatibility-Troubleshooter

    Hope this information helped!

    Kind regards

    Arona - Microsoft technical support engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • How to prevent the faye error message when I try to install my printer 6510 throu hpofficejet

    How to prevent the faye error message when I try to install my hpofficejet printer 6510 throu on windows 7

    Marcia J Outten-Robinson

    Hi outten7429,

    Follow the steps outlined in the document below.

    http://support.HP.com/us-en/document/c02266980

  • How to get the new activation key when some numbers are taken away and you have received?

    How to get the new activation key when some numbers are taken away and you have received?

    Have a laptop with windows 7 from Dell. Need to re install W7. And I have some numbers are taken as a result of its use.
    How can I get a new code activation or my complete activation code?
    Best regards, W7 user

    How to get the new activation key when some numbers are taken away and you have received?


    Have a laptop with windows 7 from Dell. Need to re install W7. And I have some numbers are taken as a result of its use.
    How can I get a new code activation or my complete activation code?

    Dell provided you with restore/recovery media and/or a way to restore the machine 'default' as a key sequence?  If so - you won't need the number--unless they just sent a DVD of Windows 7 nu - and they are usually not unless you ask.

    They have probably installed using their key, which means that even with a utility like Belarc Advisor or ProduKey - you will not get the product key that matches the one on the sticker.

    Some may have you take several different digital pictures of the sticker from different angles and see if you can decipher the missing characters like that (you'd be surprised to see how that works).

  • How can I solve the error 16 when I try to install a program?

    How can I solve the error 16 when I try to install a program?

    In Adobe Creative Suite or Adobe Creative Cloud configuration error

  • How to start my free trial version (pdf to word converter)?

    I followed all the instructions. Now, I created my user name / password. I'm ready to start my free trial version. But I do not see where to sail now.

    I was taken in a site with prices for Adobe products. I obviousy don't want at this stage.

    Hi Adam,.

    Welcome to the community!

    You can download our creative cloud through https://creative.adobe.com/products/creative-cloud application and then install the product of this application. Regardless of the application you install will be on a trial period at the moment.

    Thank you!

    Ankit

  • How to find vCenter virtual cluster large when the services are not running?

    Does anyone have advice for locating vCenter in a cluster, when his services are not running?

    For example, I have to restart vCenter and its network is having issues.  I need to go to the host ESX (i) is on and open the console to get to the virtual machine.  But to find that host is on can sometimes take a long time, because I have to log in to each HOST and see if it is the host where vCenter.

    Does anyone have any advice or suggestions to make this process easier?  It is not so important, but just curious to know what others might suggest.

    Thank you.

    I used PowerCLI and

    to connect-viserver esx1, esx2, esx3

    connect to all the ESX(I) hosts and then run

    Get - vm vCenterServerName | Select the name, the host

  • Is it safe uninstall the old service packs when new ones are installed?

    I have Microsoft's latest Pack Service, can I uninstall old Service Packs when news are installed?

    I have Microsoft's latest Pack Service, can I uninstall old Service Packs when news are installed?

    Do you see even registered?
     
    In general - you should leave well enough alone when it comes to patches.  Microsoft does a job just to install only the parts of a patch which aren't already in place - so, even if you started without service pack, got SP1, SP2 and SP3 as well as 100 + post-SP3 fixes - this is not as if the use of space was exactly cumulative...  The overlap himself would have worked.

  • How to set a default application Photoshop version, when the two versions are installed?

    I have two versions of photoshop installed on my Mac. Double click on the Photo in Bridge CS6, the photo opens in Photoshop CS5 (Photoshop CS5 (default). Can Haw I set Photoshop CS6 as the default application?

    Thank you for your prompt replay, I already did what you suggested, but it does not work. When you open in Bridge file > open with still see you Photoshop CS5 (default) and the file opens automatically with Photoshop CS5 and CS6 not unless you specifically choose open with Photoshop CS6. I vaguely remember that I found once somewhere "would you like Photoshop xxx be your default option? but I can't remember where, and I can't find

  • How to start a timer in labview, when a signal crosses a threshold of voltage

    Hello

    Please could someone help to find a way to start a timer when an event occurs? (like when a signal crosses a threshold of voltage)

    Thus, I would ask that help me cope with the following question:

    I'm acquiring a signal from an acquisition of data and comparing it with a certain threshold value. Once the voltage of the signal crosses this value, a timer should start and will continue until 30 seconds, IF the signal value PERSISTS beyond the threshold. The timer must be set back to zero if the voltage of the signal goes back the threshold before a period of 30 seconds.

    Thanks in advance for your support,

    Bill

    Hi Bill,

    What version of LabVIEW are you using?  If you are in 2009, you can actually save the .png to your computer file and just drag it into the block diagram of a white VI.  Also attached is the VI even recorded in LV 8.2 (the feedback node has been replaced with a shift during the downconversion register).

    Best regards

  • How Auto start the Physical Standby Database (when restarting the server)

    Dear All (s)

    I configure oracle (10.2.0) dataguard on the production database, a time server restart because of disconnectivity to power, I want restard dataguard when rebooting the server. I'm using Server 2003 32-bit. Guide me how I can run after orders when the server restarts.

    SQL > connect/as sysdba
    SQL > bootable media.
    SQL > ALTER DATABASE RECOVER MANAGED STANDBY DATABASE CANCEL;


    Thanks in advance

    I want to run these command each time when the server is restarted.

    Yes, I did not understand that... but what's the problem? You can't schedule a task when the server starts?

  • How can I deaktivate my photoshop elements, when my PC is broken?

    I want to aktivate my photoshop existing elements of the license on my new computer, but cannot deaktivate on my broken PC.

    Thanks for your help!

    Your license allows you to have two active facilities, so if you have only one, then you can activate a new without having to turn off the old.  Better yet, turn off the old so that you keep the activation if you find a use for it.  To disable the old one you should contact the Adobe Support via chat and ask them to reset your activations.

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Serial number and activation support (non - CC) chat
    https://helpx.Adobe.com/contact.html?step=PHSP-PHXS_downloading-installing-setting-up_lice nsing-activation_stillNeedHelp

  • Why Muse does not once (Proxima Nova) when the other versions are installed on my computer? The police also does not appear in the system fonts.

    Hello

    I want to use web fonts Proxima Nova (as woff) in Adobe muse on my site. These fonts are on my computer.

    The otf and ttf files are also installed on my computer, but they do not appear as sytem fonts in Muse.

    When I try to add the web fonts for Muse, it gives an error.


    Can someone tell me how I can get Proxima Nova as a system font in Muse?

    Thank you!

    In the version of June of Muse CC 2015 Typekit fonts have been integrated into the Adobe's Muse.

    Please try following steps to add them to your list of Web fonts.

    1. go into file > add/remove both

    2. Select the tab for typekit and "Proxima Nova" police search

    3. Select all, and then click OK

    4. these fonts will be added to the list of Web fonts.

    You can also check out the link below which has documentation for the same thing.

    https://helpx.Adobe.com/Muse/using/Typekit-Web-fonts.html

    Concerning

    Vivek

  • How to configure Forms 11 g R1 when you selected just install

    Hello

    I try to install Forms 11g R1 11.1.1.4 on windows server 2008 R2 64-bit, then when the installation forms 11g R1 11.1.1.2 I chose "just install not set up" because I have patch later, after that I started to install the hotfix, the value form 11.1.1.4. These facilities where it is good, but now, how to set up forms? I mean how to create the forms service area, reporting service? :)

    Thanks for your help.
    Carlos

    Carlos,
    See the Oracle Documentation (http://docs.oracle.com/cd/E23943_01/install.1111/e10421/install.htm). After an installation/patch, you can start the congifuration Wizard by executing the file ORACLE_HOME\bin\config.bat (\oracle\Middleware\Oracle_FRHome1\bin\config.bat).

    I hope this helps.

    Craig...

  • When I start my laptop, it is said that updates are installed. A few minutes later, my laptop restarts, and again the same message. then restarts again and again. I can not connect. What should I do?

    I have no floppy drive installation or recovery CD. When it restarts, updates are always 0% complete. I tried the system restore, but it just says that his race, but the problem remains. When I try to go to safe mode, the problem persists and I can not log on because it restarts.

    Hi SusanaVelazquez,

    Follow the suggestions below for a possible solution:

    Method 1: I suggest you run Start up repair using WINRE (Windows recovery environment). To start WINRE and run Startup Repair on your system follow the article below:

    Startup Repair: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/startup-repair-frequently-asked-questions

     

    Method 2: You can also try to run the restore from WINRE (Windows Recovery Environment) system.

    If you want to restore the system to WINRE (Windows Recovery Environment) start WINRE and then select System Restore.

    You can also refer to the article provided below for more information on the options of WINRE (Windows Recovery Environment) in Windows Vista:

     

    What are the system recovery options in Windows Vista?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-the-system-recovery-options-in-Windows-Vista

    It will be useful. Please let us know to get help.

Maybe you are looking for

  • I received a SMS from my stolen iPhone 6s indicating that your IPhone has been localized. What should I do now?

    I received a text alert message, find my iPhone, your iPhone has been located view last location http://www.icloud.com.msg98.top/?i=baRP.  This phone was stolen in November 2015 in Desert Hot Springs, California.  The message gave the address located

  • Apple Watch locked

    I bought a Apple Watch, but when I tried to pair the Apple ID owners was necessary is there anyway I can reset the wa without owners Apple ID?

  • Add new email tool bar and the address button no longer appears.

    Adding email addresses and for some reason, the toolbar address and add a new address button disappeared. Without them I can't add all email addresses more.

  • IOS 9.3.2 Messenger notifications

    I have updated to ios 9.3.2 last week and since then my email notifications don't work which is really annoying because I use messenger every day to stay in touch with overdeas of people based on a daily basis. is this a problem for other users, is a

  • Sometimes my just off camera

    I don't know why or what but my bike just E goes out from time to time. This often happens when I use it for a long time. And when I do its turned off the coast and I have to power it again. No matter who else facing the same problem? Help, please.