Search found 90 matches

by patej
Wed Jun 09, 2021 10:02 pm
Forum: Flows
Topic: Trying to get a specific part of NameProper with regex
Replies: 3
Views: 4524

Re: Trying to get a specific part of NameProper with regex

I noticed that I could use the Before and After in this case, but It would be good to know why the regular expression did not work. That's because of "Note: Positive and negative lookbehind are currently not supported." in here: https://www.enfocus.com/manuals/UserGuide/SW/21/home.html#en...
by patej
Tue Jun 01, 2021 3:25 pm
Forum: Flows
Topic: Feature request - Copy property values while flow is running
Replies: 2
Views: 3956

Re: Feature request - Copy property values while flow is running

HI, I think support portal is the place to submit feature requests and I agree that it would be a useful feature. Currently, as a workaround, we simply duplicate the running flow and copy the values from the there, after which the duplicate can be deleted... A bit cumbersome, but safer that stopping...
by patej
Mon Apr 26, 2021 9:49 am
Forum: Flows
Topic: Save as Optimised PDF from Adobe Acrobat Professional configurator
Replies: 4
Views: 9559

Re: Save as Optimised PDF from Adobe Acrobat Professional configurator

If you have (or can upgrade to) PitStop 2021 released last week, it has a new action list called "Optimize PDF (emulates Acrobat optimized save)" which should get you similar results than in Acrobat:
Image
by patej
Thu Apr 15, 2021 9:48 am
Forum: Flows
Topic: Compress all files in folder when newest file is older than 30 min
Replies: 4
Views: 5613

Re: Compress all files in folder when newest file is older than 30 min

Would it work to just have an Assemble job before Archive? Set it to assemble by "arbitrary files", "every 10000 jobs" (or anything else too big) with the orphan timeout as 30 minutes ––> files are assembled as a job folder after 30 minutes has passed since the last file.
by patej
Tue Apr 13, 2021 2:31 pm
Forum: Flows
Topic: How can I view when a Switch Flow was last used?
Replies: 5
Views: 7108

Re: How can I view when a Switch Flow was last used?

@jan_suhr's way (or writing directly to db, too) is the best (and only) way currently to do it reliably, but if you don't have that implemented, you can try checking what the flow's the backing folders' modification dates at data root\Switch Server\backing\flow name\automanaged are ;-) – it's certai...
by patej
Thu Mar 11, 2021 3:33 pm
Forum: Node.js scripting
Topic: switchScriptTool --pack
Replies: 6
Views: 12374

Re: switchScriptTool --pack

I think you should pack it outside the script folder so that it doesn't overwrite the "0 KB .sscript".
For example:

Code: Select all

SwitchScriptTool.exe --pack . ../build/
to have it created inside a "build" directory at the same level as your script folder.
by patej
Wed Mar 10, 2021 12:42 pm
Forum: Flows
Topic: Pitstop Preflight - Dynamic resolution check for different page sizes
Replies: 3
Views: 5787

Re: Pitstop Preflight - Dynamic resolution check for different page sizes

Another and probably more performant option is to setup the preflight profile to use a variable and let Switch set its value according to the page size. However, if you may have different page sizes in the document (that might fall into those different categories), then you might be better off using...
by patej
Tue Feb 23, 2021 11:38 pm
Forum: Node.js scripting
Topic: switchScriptTool --pack
Replies: 6
Views: 12374

Re: switchScriptTool --pack

It depends on how your environment is setup and what kind of things you do with the scripts, but one key thing is that using script folders is currently a bit slower than using packed scripts. There are some other reasons, too, and Enfocus has listed those on this page: https://www.enfocus.com/manua...
by patej
Tue Feb 02, 2021 4:37 pm
Forum: Node.js scripting
Topic: Versioning scripts & Builds
Replies: 7
Views: 19748

Re: Versioning scripts & Builds

"unfortunately Switch doesn't yet provide tools to e.g. load balance and sync flows between several Switch installations" It seems to me like you could use version control on the flows folder but I think there are some outside dependencies that need to be worked in with it as well? I woul...
by patej
Tue Feb 02, 2021 2:25 pm
Forum: Node.js scripting
Topic: Versioning scripts & Builds
Replies: 7
Views: 19748

Re: Versioning scripts & Builds

Hi, Good question. We have ended up working in the following way, for now at least: each script has its own directory (i.e. script folder) and then we have a separate build directory for the packaged .sscript files. Building into the script folder doesn't make sense because you lose the "magica...
by patej
Tue Jan 26, 2021 5:44 pm
Forum: Flows
Topic: Single Line Text with Variables
Replies: 7
Views: 8365

Re: Single Line Text with Variables

I'm glad I could help and welcome to the community! :)
by patej
Tue Jan 26, 2021 5:34 pm
Forum: Flows
Topic: Single Line Text with Variables
Replies: 7
Views: 8365

Re: Single Line Text with Variables

Hi, If I understood you correctly that you already have "D200303XM_Memorial_Day_Holiday_Assets" in the hierarchy index 2 and you want to use single line text with variables to get "Memorial_Day_Holiday_Assets", then you can use the Segment field and set it to use characters e.g. ...
by patej
Tue Jan 19, 2021 11:37 pm
Forum: Flows
Topic: Output folder name
Replies: 5
Views: 8638

Re: Output folder name

Hi,
For the Path Segment 2 you need [Job.Extension] (or [Job.Extension:Case="upper"] if you want to ensure uppercase names GIF/PNG/JPG).
[Switch.ElementName] gives you the name of the current flow element, e.g. "Set Hierarchy Path" or "Folder 123".
by patej
Wed Dec 09, 2020 11:07 am
Forum: Flows
Topic: Where do I find the installer for Switch 2020 fall?
Replies: 3
Views: 5477

Re: Where do I find the installer for Switch 2020 fall?

Yes same happened with me; sorry I forgot to mention that, but good that you found the links! Next time Enfocus could consider changing the template a bit more to distinguish the two because I'm pretty sure most users with maintenance contract have also subscribed to Enfocus' general marketing e-mai...
by patej
Wed Dec 09, 2020 10:48 am
Forum: Flows
Topic: Where do I find the installer for Switch 2020 fall?
Replies: 3
Views: 5477

Re: Where do I find the installer for Switch 2020 fall?

You should've received an e-mail yesterday from marketing@enfocus.com with the title "Magnus, discover Switch 2020 Fall" – There is a Download installers subtitle with links to Mac and Win versions.
edit. you of course have to have a valid maintenance contract to get the links... ;)