Pulling external data into a PS script?

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

Moderators: Tom, Kukurykus

vgkids

Pulling external data into a PS script?

Post by vgkids »

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.
Patrick

Pulling external data into a PS script?

Post by Patrick »

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.

Patrick