| Re: Clearing Action List Hello all,
Sorry, I was not clear enough. Yes, I meant using script. Using VB if possible.
If Javascript code is given, then I will have to understand it so I can convert it to VB.
I have looked at photoshop object. I found Photoshop.ActionList. I tried the folllowing code but it did not work.
Dim actlst As Photoshop.ActionList
Dim Xcount
Xcount = actlst.Count
In the other hand, If I try photoshop.ArtLayers, will work, but I have to open an image first.
Dim Xcount As Integer
Set artLayerRef2 = docRef.ArtLayers
Xcount = artLayerRef2.Count
It is logical that I have to open an image so I get the number of layers. And ActionList, maybe should at least be one loaded action to clear the action list, which I have many actions in the action list. But it did not work!
What other object should be envolved when clearing the action list?
I tried the ScriptListener but it does not record any step when selecting clear
all but it will give code when removing one single action.
Pls help
Thanks |