Jump to content

Get basename of a File Picker variable


Recommended Posts

Hi,

 

I have a workflow with a File Picker variable in the Configuration Builder. I want to use the basename of this file in the Placeholder Title of a Script Filter. For example, if I choose "~/Documents/abc.txt" in the workflow configuration, I'd like the placeholder to say "Search abc.txt". Can it be done with a single user-configurable variable?

 

Thanks,

Chad

Link to comment

Can you not, near the start of the workflow, extract it using the Automation Task and then set it as a variable which is then displayed as you wish in the script filter? (Sorry to sound a little clueless but to say I'm not very good with script filters is something of an understatement!)

 

Stephen

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...