User Tools

Site Tools


post_export_actions

Post Export Actions

Post Export Actions are a very powerful post export feature set that allow actions to be executed immediately after exporting your textures.

Post Export Actions

Enable Post Export Actions: From here you can perform many custom actions immediately after exporting your textures. Actions can be things such as opening the exported textures in an image editor of your choice, processing those textures in an external program or running a custom batch file to perform other automated functionality.

Reset Actions: Resets the Post Export Actions back to the default state.

New Post Export Action A list of available Post Export Actions.

Enable Action: Enables the action.

Down Arrow: Moves a Post Export Action down in the stack.

Up Arrow: Moves a Post Export Action up in the stack.

Minus Button: Removes a Post Export Action.

Plus Button: Adds a new Post Export Action.

Name: A customisable name for the action.

Image Editor/Cmd: The command to execute. This can be the file path to an image editor, another program, a batch file or simply the valid variables listed below.

Advanced: Enable advanced functionality

Wait For Completion: When enabled this checkbox forces the current active action to complete before continuing onto the next action in the stack or with Lys.

Parameters: See the list of valid variables below.

Working Directory: The working directory of the command. See the list of valid variables below.

Variables

It is possible to use variables to perform many custom actions immediately after exporting your textures such as:

  • Opening the exported textures in an image editor of your choice.
  • Processing those textures in an external program
  • Running a custom batch file to perform other automated functionality.

Valid variables include the following:

  • %ofn% - Output File Name (eg: outfile.png)
  • %ofb% - Output File Name Base (eg: outfile)
  • %ofp% - Output File Path (eg: c:\path_to_outfile)
  • %ofe% - Output File Extension (eg: png)
  • %ifn% - Input File Name (eg: inputfile.tga)
  • %ifb% - Input File Name Base (eg: inputfile)
  • %ifp% - Input File Path (eg: c:\path_to_inputfile)
  • %ife% - Input File Extension (eg: tga)
post_export_actions.txt · Last modified: 2017/05/23 03:49 (external edit)