1. Rename Job -> Search & Replace
Search For Regular Expression (\d{10})(.*)
Replace with: \1-hd-\2
- edit -
I assumed the first 10 characters are numbers. But should that not be the case, the RegEx to search for shall be:
(.{10})(.*)
Replacement is the same: \1-hd-\2
Search found 114 matches
- Tue Jan 22, 2019 4:54 pm
- Forum: Flows
- Topic: Rename Job - add text after number of characters
- Replies: 6
- Views: 6540
- Mon Jan 21, 2019 10:33 pm
- Forum: Applications
- Topic: Switch 2018 u2 update WARNING!!!!!!!
- Replies: 11
- Views: 14172
Re: Switch 2018 u2 update WARNING!!!!!!!
Great news Andrew. Thank you. Hopefully it sorts out some of the issues. in our case It turned out that the problem was with the WMI Class somehow got corrupted. After it has been recompiled, it allowed for the WebServices to work again, but the issue with not being able to log in to the AppStore fr...
- Mon Jan 21, 2019 9:47 am
- Forum: Applications
- Topic: Switch 2018 u2 update WARNING!!!!!!!
- Replies: 11
- Views: 14172
Re: Switch 2018 u2 update WARNING!!!!!!!
We also seem to be having an issue with 2018 updt 2. It's been running quicker to its predecessor, but there were drawbacks anyway. It has been crashing on a daily basis - Switch Script Executor crash, most likely due to some memory leak which gets system memory used to 98%. Everything crashes then....
- Wed Dec 05, 2018 1:45 pm
- Forum: LEGACY scripting
- Topic: Apply leading zero to PageCount 1-9
- Replies: 3
- Views: 5566
Re: Apply leading zero to PageCount 1-9
This can be armed with RegEx to find out whether your numbering is already DoubleDigit to not add 0 and make it 3digits if this by any chance is not what you need
- Mon Dec 03, 2018 10:18 am
- Forum: Forum Guidelines / Forum Feature requests / Forum Bug reports?
- Topic: [FEATURE REQUEST] Merge PDF with bookmarks based on input filename
- Replies: 0
- Views: 8247
[FEATURE REQUEST] Merge PDF with bookmarks based on input filename
As in the Subject Line; I would greatly appreciate an extended functionality to Merging PDFs with automatic bookmarks creation based on the filename (subsequently pointing to the first page of each respective document that was an individual PDF element that is merged). At the moment - what we are ge...
- Sat Dec 01, 2018 12:26 pm
- Forum: Applications
- Topic: external app to merge PDFs with bookmarks
- Replies: 1
- Views: 4173
external app to merge PDFs with bookmarks
Dear Switch Users - looking for your recommendation for a tool / software that would allow for merging hundreds of PDFs in one go (hundreds of megabytes) building bookmarks from the input filenames. The native MERGE element does not offer this functionality. So far I have been using PDF Combine PRO ...
- Mon Jul 30, 2018 6:20 pm
- Forum: Flows
- Topic: How to deal with case sensitive extensions ??
- Replies: 3
- Views: 6664
Re: How to deal with case sensitive extensions ??
This is what I also did - replace with lowercase pdf.
There seems to be nothing else that would sort it out, since it is more of a Java Script being case sensitive.
There seems to be nothing else that would sort it out, since it is more of a Java Script being case sensitive.
- Mon Jul 30, 2018 6:14 pm
- Forum: Applications
- Topic: MS Word configurator
- Replies: 6
- Views: 12187
Re: MS Word configurator
Hi; Thank you very much for this. I need to test it and see how it works, as it is not so much about processing a ready folder with hundreds or thousands of Word Docs, as about individual ones, which cue up in the standard Word configurator, when processed on "per file" basis. So if I have...
- Mon Jul 30, 2018 10:56 am
- Forum: Applications
- Topic: MS Word configurator
- Replies: 6
- Views: 12187
- Fri Jul 20, 2018 5:50 pm
- Forum: Flows
- Topic: How to deal with case sensitive extensions ??
- Replies: 3
- Views: 6664
How to deal with case sensitive extensions ??
I have just come across a situation where Switch showed that file extensions are case sensitive. I have a rename element which stores OriginalName in PD, which then in turn is to be used for Assembling the job further down the line. And it occured that *.PDF is not the same thing as *.pdf. Referenci...
- Fri Jul 20, 2018 2:01 pm
- Forum: Flows
- Topic: Inject job regardless of extension
- Replies: 1
- Views: 2979
Re: Inject job regardless of extension
Is the injection time fired ?? So that files come down in a time based bursts ?? I'm thinking that instead of Injecting it then with the use of a regular Inject element, you may create a BAT file using Execute Command Friend, which would pick up the trigger file [NameProper] and based on that you co...
- Thu Jul 12, 2018 10:59 am
- Forum: Applications
- Topic: CSV lookup - Variable in CSV filename
- Replies: 4
- Views: 10100
Re: CSV lookup - Variable in CSV filename
Morning Dwight; Sorted. Silly me. The issue was trivial - the path to the CSV needs to be defined with forward slashes, rather than the native MS Windows way with backslashes. So instead of: C:\path\ bla bla bla it goes: C:/path/[variable]whatever.csv And then it allows for Variables in either the p...
- Wed Jul 11, 2018 5:15 pm
- Forum: Applications
- Topic: CSV lookup - Variable in CSV filename
- Replies: 4
- Views: 10100
Re: CSV lookup - Variable in CSV filename
Well - this is what seemed obvious, but it did not work. I had it like that: C:\path\[Variable]_Instructions.csv And it does not see the file. --- edit --- Maybe I was not clear enough. It does not see the file, as it is delivered dynamically, as the flow goes. So at the time I would like to save th...
- Wed Jul 11, 2018 4:44 pm
- Forum: Applications
- Topic: CSV lookup - Variable in CSV filename
- Replies: 4
- Views: 10100
CSV lookup - Variable in CSV filename
Hi all; A quick question here, as I believe many of you are using CSV Lookup. Is there a way of pointing to a file which name is a Variable ?? it is straightforward to point to a fixed file / location, but how about a variable in either a path or a filename ?? Anyone has got it sorted this way ?? Wo...
- Fri Jun 01, 2018 4:14 pm
- Forum: Forum Guidelines / Forum Feature requests / Forum Bug reports?
- Topic: [FEATURE REQUEST] Custom Defined Trigger for Processors
- Replies: 3
- Views: 11593
Re: [FEATURE REQUEST] Custom Defined Trigger for Processors
Yeah - if one has got a scripting module. But without scripting, engaging database etc. it is difficult (if at all possible) to for example release a variable number of jobs that are coming down in different moment in time to one location and are held within, based on a for example [Job.Name] patter...