Search found 8 matches

by urbanspaceman
Wed Apr 11, 2018 4:08 pm
Forum: Photoshop Scripting - General Discussion
Topic: Does the Socket Object work through firewalls?
Replies: 3
Views: 7176

Re: Does the Socket Object work through firewalls?

OK, I think I got this working and have a better understanding. If you’re going through a proxy you first have to set up a TCP/IP ’tunnel’ through the proxy server, using the HTTP request method ‘CONNECT’ (instead of ‘GET’). If you get the reply like HTTP/1.1 200 Connection established from the prox...
by urbanspaceman
Tue Apr 10, 2018 4:02 pm
Forum: Photoshop Scripting - General Discussion
Topic: Does the Socket Object work through firewalls?
Replies: 3
Views: 7176

Re: Does the Socket Object work through firewalls?

For the time being I'm throwing up an error to switch networks, which is better than Photoshop freezing. Wish I had the knowledge to reach the URL I want through the proxy, though.
by urbanspaceman
Tue Apr 10, 2018 1:34 pm
Forum: Photoshop Scripting - General Discussion
Topic: Does the Socket Object work through firewalls?
Replies: 3
Views: 7176

Re: Does the Socket Object work through firewalls?

I've learned that the corporate network uses a PAC (Proxy Auto-Config) file to gain access to the web, and if I use the URL to this file as a host for the Socket Object, I get a connection. Not sure how to get to other URLs, though.
by urbanspaceman
Tue Apr 10, 2018 10:01 am
Forum: Photoshop Scripting - General Discussion
Topic: Does the Socket Object work through firewalls?
Replies: 3
Views: 7176

Does the Socket Object work through firewalls?

I've been using an Extendscript for years now that scrapes a website and brings some of its data into Photoshop. I use the Socket object to talk to the server. The problem I'm trying to solve right now is how to do this through a firewall on a corporate network...if I try this script through the fir...
by urbanspaceman
Tue Oct 25, 2016 7:43 am
Forum: Help Me
Topic: Accessing Layer Comp position recordings in javascript
Replies: 4
Views: 5833

Re: Accessing Layer Comp position recordings in javascript

Tim explained by email that asking for the JSON property works like 'sendDocumentInfoToNetworkClient' in Generator but without having to run Generator. Yes, this might change the way I script Photoshop! I have yet to really explore it's potential. Never seen it documented anywhere. Tim also pointed ...
by urbanspaceman
Sat Oct 22, 2016 5:41 pm
Forum: Help Me
Topic: Accessing Layer Comp position recordings in javascript
Replies: 4
Views: 5833

Re: Accessing Layer Comp position recordings in javascript

Thanks to Thomas Ruark and Tim Wright at Adobe (two Generator developers) for pointing me in the right direction for this. You can get Photoshop to tell you all the Layer Comp settings as a JSON string by using the json property. I've written this function: /*----------------------------------------...
by urbanspaceman
Fri Oct 14, 2016 3:48 pm
Forum: Help Me
Topic: Accessing Layer Comp position recordings in javascript
Replies: 4
Views: 5833

Re: Accessing Layer Comp position recordings in javascript

I've been looking at some of the discussions on GitHub concerning Photoshop Generator, and when that plugin exports document information it creates something like this: "comps": [{ "name": "Comp 1", "visibility": true, "position": true, "appeara...
by urbanspaceman
Tue Oct 11, 2016 11:34 am
Forum: Help Me
Topic: Accessing Layer Comp position recordings in javascript
Replies: 4
Views: 5833

Accessing Layer Comp position recordings in javascript

Great to see this forum up and running again!

Has anyone had experience with Action Manager and the Layer Comp visibility and positioning recording? Where is the position saved, for example, and how do I access it in the javascript environment?