Bens, ihanks! I had to pleasure to have good Jedi Masters
(BTW, does that make you Yoda?)
Search found 358 matches
- Mon May 20, 2019 12:12 pm
- Forum: LEGACY scripting
- Topic: Scope question from a newbie
- Replies: 4
- Views: 6200
- Sun May 19, 2019 12:00 pm
- Forum: LEGACY scripting
- Topic: Scope question from a newbie
- Replies: 4
- Views: 6200
Re: Scope question from a newbie
When you are working with variables, then you have to declare and assign them. var b;// This is the creation (aka declaration) of the variable. It's location in the script defines in which scope the variable is declared b=5;// This is the assignment of the variable, this is the point where you put s...
- Thu May 09, 2019 12:57 pm
- Forum: PitStop Pro
- Topic: how acrobat crop pdf permanently?
- Replies: 2
- Views: 4191
Re: how acrobat crop pdf permanently?
You posted in the PitStop Pro forum, so I assume you mean crop the PDF using the PitStop Pro plugin within Acrobat. In PitStop Pro you can crop a PDF by moving the mediabox (and possibly others) of a PDF. There are some ways to do this: https://www.youtube.com/watch?v=OSerPumSGtI or https://www.enfo...
- Thu May 09, 2019 12:51 pm
- Forum: PitStop Server
- Topic: PDF Review module / errors in preview
- Replies: 2
- Views: 4445
Re: PDF Review module / errors in preview
This is currently not possible. Enfocus has hinted it will become available in a future version.
- Thu May 09, 2019 12:47 pm
- Forum: Switch
- Topic: PitStop Preflight check in Switch with Single-line text with variables defined
- Replies: 2
- Views: 4362
Re: PitStop Preflight check in Switch with Single-line text with variables defined
Using variables you can supply the preflight profile in two ways: - Full path, including extension - Just the name of the profile, without the extension (as displayed in the UI) You are supplying the path to the preflight profile, but not including the extension. If you use the following, then it sh...
- Mon Apr 22, 2019 10:00 am
- Forum: LEGACY scripting
- Topic: RegEx replace in Script expression
- Replies: 4
- Views: 7224
Re: RegEx replace in Script expression
Replace does work in Switch javascript, it is a method in the string class : https://www.enfocus.com/manuals/DeveloperGuide/SW/18/home.html#en-us/common/sw/reference/r_string.html I can't try myself now but I think your first script will work when you replace var newname = name.replace(pattern,$2); ...
- Tue Apr 09, 2019 11:26 am
- Forum: LEGACY scripting
- Topic: Don't send Login and password in plain text within the url to web service?
- Replies: 6
- Views: 8193
Re: Don't send Login and password in plain text within the url to web service?
From the documentation of the http class: user : String This property contains a user name if authentication is to be used. If authScheme is set to HTTP Basic Authentication, the user and password are Base64 encoded, and the result in the form "Basic [encoded-user-password]" is used for au...
- Mon Apr 08, 2019 8:09 pm
- Forum: LEGACY scripting
- Topic: Don't send Login and password in plain text within the url to web service?
- Replies: 6
- Views: 8193
Re: Don't send Login and password in plain text within the url to web service?
Can you replace
with
This is the way to define username and password when using Basic Authentication, which you have configured.
Code: Select all
theHTTP.addParameter("username", apiUser);
theHTTP.addParameter("password", apiPass);
Code: Select all
theHTTP.user = apiUser;
theHTTP.password = apiPass;
- Fri Apr 05, 2019 8:42 am
- Forum: LEGACY scripting
- Topic: Get list of PDF-files from folder to populate drop-down
- Replies: 9
- Views: 16572
Re: Get list of PDF-files from folder to populate drop-down
You're welcome
- Thu Apr 04, 2019 7:36 pm
- Forum: LEGACY scripting
- Topic: Get list of PDF-files from folder to populate drop-down
- Replies: 9
- Views: 16572
Re: Get list of PDF-files from folder to populate drop-down
Strange. Afaik I always return arrays for drop downs, I'll check again tomorrow.
- Thu Apr 04, 2019 5:05 pm
- Forum: LEGACY scripting
- Topic: Get list of PDF-files from folder to populate drop-down
- Replies: 9
- Views: 16572
Re: Get list of PDF-files from folder to populate drop-down
I suspect that the datatype of your metadata property is text instead of dropdown. Can you check this?
- Fri Mar 29, 2019 8:50 am
- Forum: Flows
- Topic: FTP Receive Flow
- Replies: 2
- Views: 3478
Re: FTP Receive Flow
- Received files from FTP Server with FTP Receive but I could receive files, or folders : How could I set up this ? For this you will need to play with the "subfolders levels" setting in the FTP Receive element. This way you can differentiate between the subfolder levels which define the ...
- Fri Mar 29, 2019 8:40 am
- Forum: Flows
- Topic: Multiple datasets in one Text path
- Replies: 3
- Views: 4546
Re: Multiple datasets in one Text path
To my knowledge this is not possible with variables. Via scripting you could:
- Merge your two preflight reports into one preflight report. Then you could use your variable on the merged report
or
- loop over all the items in both datasets and return all the messages
- Merge your two preflight reports into one preflight report. Then you could use your variable on the merged report
or
- loop over all the items in both datasets and return all the messages
- Fri Mar 22, 2019 1:01 pm
- Forum: LEGACY scripting
- Topic: passing results from a switch script into the flow
- Replies: 2
- Views: 4786
Re: passing results from a switch script into the flow
You can store them as private data to the job using: myJob.setPrivateData( tag : String, value : String ) See: https://www.enfocus.com/manuals/DeveloperGuide/SW/18/home.html#en-us/common/sw/reference/r_job_class.html After that you can access the values using Switch variables: [Job.PrivateData:Key=&...
- Sat Mar 09, 2019 8:25 am
- Forum: PitStop Pro
- Topic: buying pitstop
- Replies: 7
- Views: 9016
Re: buying pitstop
The online store is managed by an external company called asknet. Have you contacted them already about your issue? You can find their faq here https://esko.support-asknet.com/en/support/solutions And their contact details here https://esko.support-asknet.com/en/support/solutions/articles/1500000115...