Delete empty layers

I wrote that script and in header section there is special comment for action recording so I made sure that Action panel would be able to catch it.

I see difference between how Action panel interprets the action

 {"_obj":"javaScriptOptionsClass","_target":[{"_enum":"ordinal","_ref":"document","_value":"targetEnum"}]}

vs Occultist

{
      _obj: 'a0754df2-9c60-4b64-a940-6a2bb1102652',
      _target: [
         {
            _ref: 'document',
            _enum: 'ordinal',
            _value: 'targetEnum'
         }
      ]
   }

Descriptor from Occultist should work.

1 Like