Launch photoshop action using code - command-line

Is it possible to launch Photoshop action using code? I mean launch the action in Photoshop via a batch file? Or something like that?

Newer versions of Photoshop (CS5 and CS6 are the only ones I've worked with) support a feature called Droplets that lets you create executables to run a set of actions.
Check here for detailed information on creating and running the droplet. Will update this answer with the steps shortly.

I believe so but I have not tried it myself. The PS6 JavaScript API has a method called doAction() that might be what you are looking for.
http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/photoshop/pdfs/cs6/Photoshop-CS6-JavaScript-Ref.pdf

Related

how would I find all the places in all blueprints where there is a call to ParallelFor()?

I'm trying to fix some incorrect calls to ParallelFor() that are appearing in performance profiles. I can't seem to find it in the Blueprint scripts in the Unreal Engine 4 project I'm working with. The Unreal documentation is sparse, and only tells me how to use it in C++.
Any ideas? I'm really concerned that I can't do a plain-text search for functions like this inside the Blueprint scripts. The Unreal Engine dev forums didn't help. The existing search mechanism via the search boxes appears to be for variables.
Using grep in the project folder fails.
There are many factors to muti-threading speedup, number of cores, utilization, memory, scheduler...
The problem may be external to the code.
On to the question:
Many of the built-in blueprint functions are implemented natively in C++.
I would suggest looking at the profiler call stack(tree view); Follow it up to something named similar to a node. This technique may fail for cross thread dispatches.
You will have to download the source code and look there to find the calls.
The other way is to build a debug build(with symbols) of the game and attach a debugger to the process.
The call was built-in to the framework in my case.
Thanks for pointing me in the right direction.
You can easily search trough all your BPs from withing the editor with
CTRL+SHIFT+F or window -> developer tools -> find in blueprints.
You get also there from within a blueprint, CTRL+F enter what you'r looking for, and on the right side there is kind of a book symbol in the same line where you can search all blueprints.

Can you run a version of vscode inside the browser without a server?

Is there any way to run a version of VS Code inside a browser without a server? (inside a React or Angular app). Something like an enhanced version of the monaco editor.
Of course that means it will have some missing functionalities.
If not, are there any other options?
Try this https://securingsincity.github.io/react-ace/
its something of the same king what you want
As far as I could find, it is possible to run VSCode in the browser (since we have vscode.dev), but there doesn't seem to be anyway to deploy it yourself yet?
This Github issue is probably what you want, but there isn't any information there (or on the repo) yet.
It does strongly suggest that https://github.com/microsoft/vscode is the version used for vscode.dev, so there might be things to be found there, until official instructions/embedding is possible.
I think it depends on how you treat vscode.
if it is just a editor software, there'll be a lot of .
For you customerization purpose, it sounds something like 'https://github.com/cdr/code-server'
Not sure if it helps, but you can try looking up gitpod.io. It opens up a visual studio code instance on your browser with options of installing extensions as well.
Use the link like gitpod.io/#https://github.com/username/repo-name
You can possibly use Gitpod self-host, https://github.com/gitpod-io/gitpod or https://github.com/gitpod-io/openvscode-server they both have documentation on how to create your own version of VSCode for the web, however, as I've never tried to create one myself, I don't know if it accomplishes your specific use case.

Show the history of a State Machine/Workflow

I'm trying to find a way to represent graphically the history of an operation inside an state machine. So if the operation has gone through state_1>state_2>state_3>state_2>state_4>end I would like to see that path visually.
We are using a Web-UI and a Java Backend, so any HTML-JS or Java library (that creates image files or something like this) should be ok for us. We are using JBMN for parts of the state machine, my initial approach was to find something related with it, but I haven't found anything
Any ideas?
Do you want to do some crazy animations? or just highlight the states that were already executed?
If you want to do that, you can use the jbpm designer that already provide that functionality.
Cheers

How can I add custom commands by overlaying selenium ide?

I am overlaying Selenium IDE and it looks like that the adding of my extension doesn't allow me to create my own commands. In order to do this, I create a user-extension.js file with my custom commands. The problem is that they are not taken account with the overlaying.
Could you help me with this ?
You are headed in the right direction, although several things could be the problem. user_extensions.js needs to have valid code, it needs to be linked up to Selenium IDE, etc.
Perhaps reading this will help: http://www.codediesel.com/testing/adding-custom-commands-to-the-selenium-ide/
It is a good tutorial, and I was able to add my own commands to Selenium IDE by following its instructions.

Where can I find VBSQL.VBX?

I've been given the task of re-engineering a really old VB3 application. As part of this I have an XP virtual workstation upon which I've installed VB3 Pro, so I can create a running verison of it to help me emulate it, but the VB3 app uses a control called VBSQL.VBX, which didn't come with VB3 Pro, apparently. I've checked Microsoft's site, but there are only seven pages in the search result for VBSQL.VBX, and none of them offers an install.
Does anyone here have any idea where on earth I can obtain VBSQL.VBX?
Via http://support.microsoft.com/kb/111490, "Microsoft SQL Server Programmer's Toolkit for Visual Basic".
It looks like they offer the .ocx here: http://support.microsoft.com/kb/186893, possibly there is a VBX as well?
Whenever I run into an issue like this I usually end up creating a mock object with the same public members as the class in question. Sometimes it works out better as I can fake the data I want to pass around so I can run tests that would otherwise prove difficult.
If you can't find this file this is the approach I would recommend.