Photoshop Script内でPhotoshop アクションを実行する方法のメモです。
アクションを読み込む
1 2 3 4 5 6 7 8 9 10 11 12 13 |
// Get a list of all ActionSets var actionList =getActionSets(); // Before you load it, you need to delete it if exists first. for(var d in actionList){ if (actionList[d] == "MySetName") { unLoadAction(actionList[d]); } } // Loading the new ActionsSet var actionsFileATN = File("C:\\Users\\Public\\MySetName.atn"); if (!File(actionsFileATN).exists) app.load(File(actionsFileATN)); |
コメントを残す