Copy link to clipboard
Copied
Is there a command in vb.net to get the entire list of Actions and Action Sets?
To run Photoshop actions from within Visual Studio you need to use the command appRef.DoAction("ActionName", "ActionSetName"). I would need to type out all the actions that I have currently loaded in Photoshop. I would like to query all the "Action Names" and "Action Set Names" that are currently loaded to avoid any fat fingering. Is there a quick and easy way to accomplish this. Even a simple function in Photoshop will work, essentially something to export the action panel to a txt or csv file.
Copy link to clipboard
Copied
Look at code in Script Events Manager.jsx as part of your install. C:\Program Files\Adobe\Adobe Photoshop CC 2017\Presets\Scripts or inside the app package on mac to Presets/Scripts. You will need to convert the AD code to VB syntax. GetActionSetInfo is the routine.
Copy link to clipboard
Copied
Please give the script for action set and action alone from script event manager file. I cannot able to take the part of code to work. Actually I need a dialog box which should show the action and action set from pallet. With two buttons play and cancel. When I choose the action action set from drop down box it should play when I click on it. Please please give the exact full code to work. Thanks in advance
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I mean the script to read a tree of action(Sets) in the latest post, from Nov 17, 2021.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
That script has 2 dropdown menus, actionSets & its actions, also 2 buttons 'okay' & 'cancel'.
Copy link to clipboard
Copied
If that's what he wants, I understand it's generally the same script (without feature to run same action more than once) I suggested to him, but I'm afraid he didn't check it, did he?
Copy link to clipboard
Copied
actually i replied to Sakunthala218047080sxi
for op i already achieved same things in my application . later i will try to post
Copy link to clipboard
Copied
I assumed that was to him 😉 I mean if the code he looks for is that you are providing then it is the one in the other thread I linked him. Additionally if he wants it to be exaclty like he wishes there's the only need to remove this part:
"statictext0:StaticText{bounds:[30,10,160,30] , text:'Run Action X Times..' ,properties:{scrolling:undefined,multiline:undefined}},"+
"Xtimes:EditText{bounds:[200,10,261,30] , text:'1' ,properties:{multiline:false,noecho:false,readonly:false}},"+
while the one line change to:
var XTimes = 1
Not to mention of changing 'Ok' to 'Play' word.