Pulling external data into a PS script?

Discussion of Photoshop Scripting, Photoshop Actions and Photoshop Automation in General

Moderators: Patrick, Mike Hale, xbytor, Larry Ligon, Andrew, PS-Moderators

Pulling external data into a PS script?

Postby vgkids » Sat Jul 24, 2010 6:46 pm

I'd like to make use of some data on my webserver in my PS javascripts- has anyone bridged that gap before? It seems plausible, but I'm not quite sure where to start.

Seems like XMLHttpRequest might be the key, but this is definitely a bit outside my experience and if anyone has any thoughts, I'm all ears.
Posts: 6
Joined: Sat Feb 10, 2007 3:51 am

Re: Pulling external data into a PS script?

Postby Patrick » Mon Aug 09, 2010 9:42 pm

Take a look at this thread from awhile back. The example shows how to make a socket request over HTTP and read the response. I think that is the core of what you are wanting to do.

Photoshop CS4 / JavaScript / Windows XP
Posts: 780
Joined: Thu May 11, 2006 3:36 am
Location: Missouri, USA

Return to Photoshop Scripting - General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests