• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Relative paths in Guided Action: Import as Layer

New Here ,
Aug 13, 2024 Aug 13, 2024

Copy link to clipboard

Copied

I have a layered document where several of the layers get updated regularly. Each update they get saved in a new folder. I set up a Guided Action to automate compiling the layers in the correct order with the correct settings. The issue is that the .sequ file saves an absolute path for the layers to be imported, so I won't be able to use the guided action on the next iteration. How do I fix this?

 

Below is the code from the .sequ file. I've obfuscatred the actual absolute path for privacy, but the idea is the same.

 

<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://ns.adobe.com/acrobat/workflow/2012" title="Compile BL Schematic" description="Automatically gathers BL Schematic layers, orders them, and names them.&#xD;&#xA;&#xD;&#xA;User needs to manually set viewing defaults." majorVersion="1" minorVersion="0">
	<Group label="Compile Schematic">
		<Command name="ImportAsLayer" pauseBefore="false" promptUser="false">
			<Items>
				<Item name="OptContCmd_APPEAR_BEHIND" type="boolean" value="false"/>
				<Item name="OptContCmd_EXISTING_LAYERS" type="null"/>
				<Item name="OptContCmd_HORIZ_ALIGN" type="integer" value="1"/>
				<Item name="OptContCmd_HORIZ_VALUE" type="double" value="0.000000"/>
				<Item name="OptContCmd_LAYER_GROUP_NAME" type="text" value=""/>
				<Item name="OptContCmd_LAYER_NAME" type="text" value="BASE LABELS"/>
				<Item name="OptContCmd_OPACITY" type="double" value="1.000000"/>
				<Item name="OptContCmd_OPTION" type="integer" value="0"/>
				<Item name="OptContCmd_ROTATION" type="integer" value="0"/>
				<Item name="OptContCmd_SCALE" type="double" value="-1.000000"/>
				<Item name="OptContCmd_SRC_FILE" type="text" value="x02_BL LABELS.pdf"/>
				<Item name="OptContCmd_SRC_PAGE" type="integer" value="0"/>
				<Item name="OptContCmd_SRC_PARENT" type="text" value="/C/Users/#####/OneDrive - #####/Documents/ . . . /##### Schematic 20240306/"/>

 

TOPICS
How to , JavaScript , PDF

Views

68

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 13, 2024 Aug 13, 2024

Copy link to clipboard

Copied

LATEST

You can try editing it, but I doubt it will work.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines