Search found 577 matches

by gabrielp
Wed Aug 16, 2017 3:24 pm
Forum: Flows
Topic: How do you handle Illegal Characters?
Replies: 6
Views: 26266

Re: How do you handle Illegal Characters?

I guess Gabriel is saying to pull the file path into a Private Data key, clean it, then call the Inject with the clean path - but I'm at loss to how. I would probably aim to figure out how the files are getting there in the first place, then have Switch do that, cleaning the file names before I arc...
by gabrielp
Tue Aug 15, 2017 6:11 pm
Forum: Scripting
Topic: switch-inject-lite
Replies: 10
Views: 33151

Re: switch-inject-lite

Hi Got an issue with Inject Lite showing an error Error in line 101 of script : Error. Trying to access undefined member '1' I have the same setup on another PC with no issue. Screenshot 2017-08-15 16.01.21.png Any ideas please Thanks Malcolm Could you turn on debug logging and post the log output ...
by gabrielp
Fri Aug 11, 2017 2:36 am
Forum: Flows
Topic: How do you handle Illegal Characters?
Replies: 6
Views: 26266

Re: How do you handle Illegal Characters?

Here is a script that scrubs them from private data variables: https://github.com/open-automation/swit ... e-scrubber
by gabrielp
Tue Aug 08, 2017 3:25 pm
Forum: Applications
Topic: Read PDF contents to rename file
Replies: 4
Views: 92955

Re: Read PDF contents to rename file

PDFSpy can do that and it has an integration for Switch. It's a paid software you can buy from Apago. Not sure how its done with Pitstop.
by gabrielp
Mon Aug 07, 2017 6:19 pm
Forum: Flows
Topic: email notification flow
Replies: 5
Views: 23241

Re: email notification flow

Yeah, you can assemble on "arbitrary files" for a certain time period, then send the images as attachments as a zip. I'm not sure what happens if you send a folder as an email attachment.
by gabrielp
Fri Aug 04, 2017 5:02 pm
Forum: Applications
Topic: problem inject lite
Replies: 4
Views: 18526

Re: problem inject lite

Please try this version of the script: https://github.com/open-automation/swit ... -validator
by gabrielp
Tue Aug 01, 2017 4:28 pm
Forum: Flows
Topic: Remove prefix on Execute command
Replies: 5
Views: 45233

Re: Remove prefix on Execute command

What operating system? The app communicates with the installed AWS CLI. Once AWS CLI is installed, run aws configure to configure your account credentials within the CLI. More on that here: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html The only configuration within t...
by gabrielp
Mon Jul 31, 2017 5:17 pm
Forum: Flows
Topic: Remove prefix on Execute command
Replies: 5
Views: 45233

Re: Remove prefix on Execute command

FYI, I'm pretty sure that S3 upload in switch-aws will remove the switch prefix for you: https://github.com/open-automation/switch-aws
by gabrielp
Sun Jul 30, 2017 5:24 pm
Forum: Flows
Topic: Folder Prefix
Replies: 1
Views: 17069

Re: Folder Prefix

by gabrielp
Fri Jul 28, 2017 6:07 pm
Forum: Flows
Topic: Hold jobs until 100
Replies: 5
Views: 22751

Re: Hold jobs until 100

Man, those attachments are so small, it's hard to read. But I would say maybe you need to extend the orphan time out. Does it take a while for all 100 items to get to the assemble step? If so, estimate that time and set the orphan timeout to it.
by gabrielp
Thu Jul 27, 2017 8:42 pm
Forum: Flows
Topic: Hold jobs until 100
Replies: 5
Views: 22751

Re: Hold jobs until 100

Try to assemble the job based on a number of arbitrary files: www.enfocus.com/manuals/UserGuide/SW/13 ... e_job.html
by gabrielp
Fri Jun 30, 2017 6:32 pm
Forum: Scripting
Topic: Portals
Replies: 23
Views: 61556

Re: Portals

mkayyyy wrote:HI Gabriel,

Is there any way currently to pass jobs between multiple Switch Servers using Portals?
Not at the moment :(
by gabrielp
Wed Jun 21, 2017 5:42 pm
Forum: Applications
Topic: Acrobat Security settings
Replies: 2
Views: 18946

Re: Acrobat Security settings

Not very helpful but it seems that some methods need a privileged process to run: http://help.adobe.com/livedocs/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Acrobat9_HTMLHelp&file=JS_API_AcroJSPreface.87.6.html Other people have run into this as well: https:...
by gabrielp
Fri Jun 16, 2017 6:11 pm
Forum: Scripting
Topic: Yesterday's Date? [SOLVED]
Replies: 13
Views: 47222

Re: Yesterday's Date?

jan_suhr wrote:But it can be done with an App :-D
Gabriel, you or me??
All you, buddy!
by gabrielp
Fri Jun 16, 2017 3:32 pm
Forum: Scripting
Topic: Yesterday's Date? [SOLVED]
Replies: 13
Views: 47222

Re: Yesterday's Date?

... which our company won't currently pay for :cry: Time to find a new company ;) If you can't use scripting, you might be able to subtract some time from the unformatted date in a Switch calculation. Something like [Switch.Date] - 86400000 . But then I'm not sure how to format as a date again. Sor...