Search found 228 matches
- Thu Aug 17, 2017 3:43 pm
- Forum: Scripting
- Topic: InDesign Smartstream Create Job Script
- Replies: 6
- Views: 111679
Re: InDesign Smartstream Create Job Script
I did some findings while using Switch the last years, I'm not into InDesign javascript but I bet it can help you to get in the right direction. "I think": In the folder %userprofile%\Documents\Adobe Scripts there's a jsx file created when a new job arrives at the configurator. impp.jsx in...
- Tue Jul 18, 2017 11:41 am
- Forum: Applications
- Topic: Library/AppSupport/Enfocus/SS/BACKING? (Windows)
- Replies: 4
- Views: 18502
Re: Library/AppSupport/Enfocus/SS/BACKING? (Windows)
I'm running in a virtual environment and just in case c:\ won't boot up I can attach d:\ at some other place easily 

- Tue Jul 18, 2017 11:02 am
- Forum: Applications
- Topic: Library/AppSupport/Enfocus/SS/BACKING? (Windows)
- Replies: 4
- Views: 18502
Re: Library/AppSupport/Enfocus/SS/BACKING? (Windows)
Relative to the Application data root set in your preferences:


- Wed Jul 12, 2017 11:58 am
- Forum: Scripting
- Topic: Duplicate pages
- Replies: 11
- Views: 54372
Re: Duplicate pages
Hmm, I was in the assumption I did post both on the forum as well as a private message to Fist. His question is to duplicate the 57th page of a pdf and inject it after each of the other 56 pages. I don't use this flow but I adjusted a flow made earlier: https://we.tl/ujEPpm5lFM Based on topic over h...
- Wed Jul 12, 2017 11:53 am
- Forum: Flows
- Topic: Assemble Job with no delay
- Replies: 8
- Views: 26435
Re: Assemble Job with no delay
Morning, I was working on something else and, don't ask why, this topic popped up in my head. How about such a thing? It's fast written code but should get you started. It just reads the content of a directory and pushes all files to a folder which you can use with Merge PDF. Just correctly set your...
- Tue Jul 11, 2017 9:22 am
- Forum: Preflighting
- Topic: How do I make Pitstop actions available in the Switch Configurator?
- Replies: 2
- Views: 15183
Re: How do I make Pitstop actions available in the Switch Configurator?
Right click on any PitStop configurator and choose 'Search for application'.
Now your list is updated too

Now your list is updated too


- Mon Jul 10, 2017 9:15 am
- Forum: Scripting
- Topic: SQL Statement works in build window but parse error in define window
- Replies: 4
- Views: 18911
Re: SQL Statement works in build window but parse error in define window
Haha, good to hear!
- Fri Jul 07, 2017 10:01 am
- Forum: Flows
- Topic: web hooks? MS Teams
- Replies: 3
- Views: 17671
Re: web hooks? MS Teams
I couldn't get post with json to work either so I switched to cURL. Works great, worth a try! :) // Other carriers jsonBody = '{' + '"company": "'+propCompany.left(35)+'",' + // Not required '"full_name": "'+propFullName.left(35)+'",' + '"post_code":...
- Thu Jul 06, 2017 1:53 pm
- Forum: Scripting
- Topic: SQL Statement works in build window but parse error in define window
- Replies: 4
- Views: 18911
Re: SQL Statement works in build window but parse error in define window
Just to mention: Personally I never use the Build SQL statement / manual edit window because it kept crashing my Switch all the time. It made me very aggressive when I started using SQL in Switch :mrgreen: Does your statement work if you put it in a 'Database connect' configurator or do you get the ...
- Thu Jul 06, 2017 1:30 pm
- Forum: Scripting
- Topic: Script expression - If - Else
- Replies: 5
- Views: 20944
Re: Script expression - If - Else
Most of the script expressions only hold a few lines of code and I write these from within the script expression window itself. In practice: copy, paste and adjust 
If the script is bigger then I use Switch Scripter, however I barely use these as a script expression.

If the script is bigger then I use Switch Scripter, however I barely use these as a script expression.
- Thu Jul 06, 2017 9:37 am
- Forum: Scripting
- Topic: Switch/Pitstop variables
- Replies: 3
- Views: 17692
Re: Switch/Pitstop variables
Haha good to hear! That's exactly what the users try to achieve over here 

- Tue Jul 04, 2017 2:27 pm
- Forum: Scripting
- Topic: Script expression - If - Else
- Replies: 5
- Views: 20944
Re: Script expression - If - Else
Code: Select all
var theVar = job.getVariableAsNumber("[Stats.NumberOfPages]");
if (theVar % 2 == 0 ) {
s.log(3, "Even!");
} else {
s.log(3, "Odd!");
}
%2 checks if theVar is dividable by 2, if so it's even, else odd

- Fri Jun 23, 2017 3:28 pm
- Forum: Scripting
- Topic: Duplicate pages
- Replies: 11
- Views: 54372
Re: Duplicate pages
Well, like I said it's one of my first Switch touches, now I'm wondering why I'm injecting and deleting haha, should rework it once :) It can be done better but hey, if it ain't broken.. ;) It's not really only duplicating, it is a sheet filler and one card becomes the orderform via PitStop, one of ...
- Fri Jun 23, 2017 12:33 pm
- Forum: Scripting
- Topic: Duplicate pages
- Replies: 11
- Views: 54372
Re: Duplicate pages
You want it with scripting? I made this once in my beginning Switch days, haven't failed once
If you want I can comment it, all done without scripting 




- Fri Jun 23, 2017 10:04 am
- Forum: Flows
- Topic: Assemble Job with no delay
- Replies: 8
- Views: 26435
Re: Assemble Job with no delay
If a user can just drop files how do you know which files belong to a specific merge job then?
Hm, compare settings to my flow to find out!
https://we.tl/abUHAI2VdX
Hm, compare settings to my flow to find out!
https://we.tl/abUHAI2VdX