Explore Courses Blog Tutorials Interview Questions
+1 vote
1 view
in RPA by (12.8k points)
AAE's "PDF Integration" command allows you to split a .pdf into a separate single file for a selected number of pages or range of pages (Figure 1). The "Single File With Selected Pages" field also allows you to input a variable. But how do you create a variable with a hyphen (-) included where it doesn't see that as an operator instead?

The way I currently have the variable in Figure 2, AAE will see the hyphen (-) as an operator and subtract the two nested variables. I've tried putting the hyphen in parenthesis, double-quotes, single-quotes, and I can't find anything in AAE's documentation that shows how to use the hyphen as a character instead of an operator. I also tried using a dash (–), but AAE doesn't appear to recognize a dash in that field. The only area in their documentation that references a dash is in dates.

The "Single File With Selected Pages" field in the "PDF Integration" command only allows you to enter 1 variable, so that is why I'm trying to create a "range" variable that includes the start and ending pages separated by the hyphen.

1 Answer

+1 vote
by (29.8k points)
edited by

There’s a workaround for your problem, what you can do is using variable operation: [email protected]$end$ will concatenate with any sign that’s not math operation .i.e @

Now using the string operation replace the sign with a hyphen sign. 

Looking for RPA material from basics! Refer to this video on RPA provided by Intellipaat:

Now you should get something like 6-8 and you can use it in the pdf split command to split.

Browse Categories