Skip to main content
Known Participant
September 25, 2012
Question

Recording script actions in an action

  • September 25, 2012
  • 2 replies
  • 2652 views

Is it possible to record the steps that a script performs (e.g. creating a new layer, switching to a certain layer, applying a filter) in an action? When you activate the record button on the Action panel and run a script, only the script execution is recorded and not the things that the script does. Is there a way to pass the script steps to the Action panel so that it records it?

This topic has been closed for replies.

2 replies

Participant
February 7, 2013

Hi!

If you guys come to find some clues on how to do it, please share! Right now, I am trying to figure out how to record some user interaction with the panel for test automation purposes. I think from what I've read here so far that my problem can be solved by coding the action and generating the .atn file, but I'm not comfortable yet to say that I'm following an 100% the suggestions . Anyhow, to know how to let the user record its own action will surely be helpfull in the near future of our extension development.

Thanks for being active in the community. It's been really helpful so far!

c.pfaffenbichler
Community Expert
Community Expert
September 26, 2012

Is there a way to pass the script steps to the Action panel so that it records it?

I doubt it and don’t see a lot of sense in it, as that would strip conditional clauses etc.

Why do you ask anyway?

Known Participant
September 26, 2012

I am developing a flash panel that allows the users to do various tasks. It would be nice if the steps that are peformed by the panel would be recordable in an action.

As these steps show up in the History panel, I thought it may be possible for the Action panel to capture them.

If there is not way to pass these steps to the Action panel for recording, the only alternative is to make the panel record an action itself, save it as an .atn file and automatically place the .atn file in the Action panel. I had hoped there would be a much easier solution.

c.pfaffenbichler
Community Expert
Community Expert
September 26, 2012

Like I said I doubt this is an option, but others may know better.

Might it not be easier to create (or maybe download) an atn-file and load it?