locked
COPY INFORMATION FROM THIRD PARTY SOFTWARE IN VB RRS feed

  • Question

  • Hello,

     

      I'm creating a program that needs to do the following:

    A) open(execute) a third party software

    B) copy specific parts of information from the software (for example open a photo in photoshop and copy the names of the layers of the specific photo)

     

    What troubles me is the second part

    I'm guessing this is for heavy brains, any ideas?

    Tuesday, March 22, 2011 8:20 PM

Answers

  • it will likely be hard to get what you want by automating photoshop unless they provide an API to do so, the way MS Office does.

    EDIT: here is some info on automating PS via their API

    http://weblash.net/195/automating-photoshop-tasks-using-photoshop-apis/

    http://photo.net/learn/photoshop/

    http://www.pcpix.com/Photoshop/

    http://www.adobe.com/devnet/photoshop.html

    you can use shell tools to do stuff like watch a dir to see which image photoshop reads, or take an image of the desktop with your PS window on it, and you might be able to find an image processing library that will allow you to analyze layers, but actually querying a running instance of PS is going to be tricky. see the links above to see if you can get what you want.

    Tuesday, March 22, 2011 8:49 PM

All replies

  • it will likely be hard to get what you want by automating photoshop unless they provide an API to do so, the way MS Office does.

    EDIT: here is some info on automating PS via their API

    http://weblash.net/195/automating-photoshop-tasks-using-photoshop-apis/

    http://photo.net/learn/photoshop/

    http://www.pcpix.com/Photoshop/

    http://www.adobe.com/devnet/photoshop.html

    you can use shell tools to do stuff like watch a dir to see which image photoshop reads, or take an image of the desktop with your PS window on it, and you might be able to find an image processing library that will allow you to analyze layers, but actually querying a running instance of PS is going to be tricky. see the links above to see if you can get what you want.

    Tuesday, March 22, 2011 8:49 PM
  • Hi tomas,

    For the first question, Process.Start() can launch the third party software for you.

    For the second question, what doas said did make sense. You could access information from the third party software only if APIs provided by them.

     

    Best Regards,


    Kee Poppy [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, March 29, 2011 5:43 AM
    Moderator