Search found 1010 matches
- Fri Nov 17, 2023 10:08 am
- Forum: Flows
- Topic: HTTP request (square brackets in JSON conflicts with Switch variables)
- Replies: 6
- Views: 14006
Re: HTTP request (square brackets in JSON conflicts with Switch variables)
Are you using custom headers?
- Thu Nov 16, 2023 6:13 pm
- Forum: PitStop Server
- Topic: Pitstop changes "Title" in PDF
- Replies: 1
- Views: 11291
Re: Pitstop changes "Title" in PDF
PitStop does not change the Title of a PDF document automatically. You can do that in a Preflight Profile or an Action List, so the first thing to do is to check them for the presence of such a change. However, there is something else that could play a role here. Traditionally information about the ...
- Thu Nov 16, 2023 5:53 pm
- Forum: Applications
- Topic: Error when updating default apps
- Replies: 1
- Views: 14244
Re: Error when updating default apps
We are gradually porting all default apps to Node.js. There are obviously some differences between the legacy setup of the and the Node.js setup and one of them is that the legacy elements had hidden properties that are not used in the Node.js environment. So, when updating an app Switch sees that t...
- Tue Nov 14, 2023 6:45 pm
- Forum: Switch
- Topic: Execute Command
- Replies: 10
- Views: 12178
Re: Execute Command
There is a flaw in the setup of "Execute command". You have to consider that "Execute command" is like running a command on the command line (Terminal or Command prompt). If you were to type the path of the Python script the operating system would also complain. You have to run P...
- Tue Nov 14, 2023 4:51 pm
- Forum: Node.js scripting
- Topic: Cannot get job: Source and destination must not be the same error
- Replies: 2
- Views: 5668
Re: Cannot get job: Source and destination must not be the same error
First of all I am not sure I understand what you are doing exactly. You have an array of jobs, so that must be as a result of getJobs() in timerFired, correct? But you are just doing something with XMP data so your script must be doing something with just a single job in jobArrived. That is contradi...
- Mon Nov 13, 2023 3:49 pm
- Forum: Action Lists
- Topic: A path with a variable in it
- Replies: 3
- Views: 9114
Re: A path with a variable in it
In PitStop Pro this will not work as you expect. You also have PitStop Server, so if you are just testing in Pro, but the final use is going to be in Server anyhow, then use the "Overlay PDF" app. You can inject the die file based on the ID from the file pool using a Switch variable for th...
- Mon Nov 13, 2023 12:58 pm
- Forum: Flows
- Topic: Switch2Switch or Flow Links?
- Replies: 3
- Views: 6544
Re: Switch2Switch or Flow Links?
I confirm what Matthew wrote. Switch2Switch is the app bundle of choice for sending jobs from one Switch server to another, but not for jobs that are sent from one flow to another on the same server. Note that Switch2Switch also has no support yet for JSON datasets because it it still legacy code. P...
- Tue Nov 07, 2023 8:04 pm
- Forum: Flows
- Topic: Compare file sizes
- Replies: 2
- Views: 4068
Re: Compare file sizes
You can create a Condition with variables on a connection in which you use [Stats.TrimBoxWidth] as the left-hand part of the condition and [Metadata.Rational:etc.] as the right-hand part of the condition. And there is of course another connection "All other jobs". Note the use of Rational ...
- Tue Nov 07, 2023 9:34 am
- Forum: Node.js scripting
- Topic: Sending files to "in progress" folder before sending them to "final" folder
- Replies: 3
- Views: 4207
Re: Sending files to "in progress" folder before sending them to "final" folder
In the Debug settings you can define what entry point you want to debug. Make sure you only list timerFired and when you start the flow it will immediately start the debug session. I am not sure it is really necessary, but what I always do it to set the timer interval to a long period so Switch will...
- Mon Nov 06, 2023 5:46 pm
- Forum: Node.js scripting
- Topic: Sending files to "in progress" folder before sending them to "final" folder
- Replies: 3
- Views: 4207
Re: Sending files to "in progress" folder before sending them to "final" folder
The "working" folder is your input folder. If you exit from the script without sending the input job it will stay in the input folder. This is usually combined with the use of timerFired in which you use getJobs() (see the sample code in the documentation) to get the list of waiting jobs a...
- Tue Oct 31, 2023 10:34 am
- Forum: Action Lists
- Topic: Text With Variables Disappear in Action List
- Replies: 5
- Views: 6045
Re: Text With Variables Disappear in Action List
The type of a field can normally be determined by logic: an offset is of course a Length, a checkbox is of course a Boolean, etc. What is the type of a page number in PDF? The first logical reaction is to think it is a Number, but that is debatable because in a PDF pages can also have names. The fir...
- Mon Oct 30, 2023 11:18 am
- Forum: Action Lists
- Topic: Text With Variables Disappear in Action List
- Replies: 5
- Views: 6045
Re: Text With Variables Disappear in Action List
You do not specify on which field you are clicking when you do not see the variables, but the most logical explanation lies in the mismatch between the type of the variable and the type expected by the field. The type of a variable can be Number, Length, Text, Boolean. A field expects a certain type...
- Fri Oct 27, 2023 9:13 am
- Forum: Action Lists
- Topic: Remove all CMY from PDF (Map to Spot Color None)
- Replies: 4
- Views: 8032
Re: Remove all CMY from PDF (Map to Spot Color None)
In the "Remap color" Action you can go to the color database from the button with the 4 colored rectangles. Screenshot 2023-10-27 at 09.05.49.png There, if you have not already done so, create a spot color "None" in the Local section with the alternate color space DeviceCMYK with...
- Wed Oct 25, 2023 4:30 pm
- Forum: Node.js scripting
- Topic: Update Values in xml files
- Replies: 5
- Views: 8862
Re: Update Values in xml files
it is a bit of a "dirty" method, but the app "String Replace" can perhaps also do the trick if you define the substitution in the right way.
- Wed Oct 25, 2023 4:27 pm
- Forum: Preflighting
- Topic: Using Submit Metadata in Pitstop Varibale Set
- Replies: 7
- Views: 20097