Search found 63 matches

by saitok
Fri Aug 06, 2021 8:02 am
Forum: Flows
Topic: Metadata variable and the After filter
Replies: 5
Views: 6709

Re: Metadata variable and the After filter

It looks like we can use \ in the Search field. So, when I enter the following expression, I can get "\A4_Poster.pdf". \\.[^\\]*$ To slice the \ left at the begining, I think we have to store the value as a Private Data at first. And then, get the Private Data by another element with an op...
by saitok
Fri Jul 30, 2021 9:23 am
Forum: Switch
Topic: Trying to send files back to a directory that changes
Replies: 9
Views: 6702

Re: Trying to send files back to a directory that changes

Hi, How about using Job Private Date? https://www.enfocus.com/manuals/UserGuide/SW/21/home.html#en-us/common/sw/reference/r_folder.html I think you can use it to store the ZIP folder name before renaming back to the original like this: ZIPname=[Job.Name] At the end of the flow, you can get the value...
by saitok
Fri Jul 30, 2021 9:01 am
Forum: Flows
Topic: Scan files for metadata without moving them
Replies: 2
Views: 3317

Re: Scan files for metadata without moving them

Hi,
If the private datas are stored as XML in the same folder and with the same name as the files, Switch can bind them and read the private datas.
But there shouldn't be the way to read the private datas(XML) without moving through any flow.
by saitok
Fri Jul 30, 2021 8:46 am
Forum: Flows
Topic: Batch processing actions
Replies: 2
Views: 3291

Re: Batch processing actions

I think you should use "Job dismantler" before the action to take the files out from the folder.
by saitok
Wed Feb 26, 2020 7:19 am
Forum: LEGACY scripting
Topic: Can I pass this Illustrator dialog?
Replies: 7
Views: 9374

Re: Can I pass this Illustrator dialog?

Hi JimmyHartington, Sorry for delay. I used this with the Acrobat Configurator of Switch. https://forum.enfocus.com/viewtopic.php?f=13&t=2343&p=8014#p8014 Thanks, As for my question, then I am more interested in how you run a preflight using Acrobat. It still has some things, which Pitstop d...
by saitok
Wed Feb 26, 2020 7:18 am
Forum: LEGACY scripting
Topic: Can I pass this Illustrator dialog?
Replies: 7
Views: 9374

Re: Can I pass this Illustrator dialog?

Hi Terkelsen,

I noticed this week that we can avoid the dialog with the Action you said.

Thank you!
Terkelsen wrote: Fri Jan 10, 2020 1:09 pm Pitstop has an action called "Remove all Pieceinfo". Dosen't that solve the problem?
by saitok
Thu Jan 09, 2020 3:30 am
Forum: LEGACY scripting
Topic: Can I pass this Illustrator dialog?
Replies: 7
Views: 9374

Re: Can I pass this Illustrator dialog?

This problem happens only when I process PDF exported by PitStop. I think the cause of this is that PitStop doesn't (can't) discard the piece information of the original application used to create the PDF. But I found that Acrobat preflight can discard the piece information (private data) by the Fix...
by saitok
Wed Dec 25, 2019 11:40 am
Forum: LEGACY scripting
Topic: Can I pass this Illustrator dialog?
Replies: 7
Views: 9374

Can I pass this Illustrator dialog?

Hi, I'm trying to write JavaScript for Illustrator to open PDF and save it as AI. But, my script doesn't work because the following message appears when Switch opens the PDF by the Illustrator. "This file has been modified outside illustrator." Can I pass this dialog using the JavaScript o...
by saitok
Fri Apr 26, 2019 10:48 am
Forum: Flows
Topic: How to check on & filter PDFs password protected for OPENING
Replies: 2
Views: 4244

Re: How to check on & filter PDFs password protected for OPENING

Hi, How about the way that you use only PitStop Server at first? You should be able to get XML report from PitStop Server which include a message showing the security problem. And then, if you can put the XML report and the PDF into Switch, you can pick up the XML report as metadata of the PDF. You ...
by saitok
Thu Mar 14, 2019 9:05 am
Forum: Flows
Topic: rename elements with switch counter in subfolder
Replies: 1
Views: 3162

Re: rename elements with switch counter in subfolder

Hi,

Which Flow element do you use?
I guess you can do it with "Sort files in job".
Before that, you have to use "Job dismantler" to pick up the sub folders.

Regards,
by saitok
Tue Oct 02, 2018 9:31 am
Forum: PitStop Server
Topic: Error "Cannot extract the embedded font..."
Replies: 3
Views: 6259

Re: Error "Cannot extract the embedded font..."

Hi Padawan, Thank you very much for providing me the Action Lists. But actually, they pick up some fonts which I don't need to detect as error. The following Acrobat Preflight seems to be able to detect the error exactly. So, I'll do this with Switch using Acrobat JavaScript. http://content.screenca...
by saitok
Fri Sep 21, 2018 10:39 am
Forum: LEGACY scripting
Topic: Acrobat Preflight by Switch
Replies: 1
Views: 4078

Re: Acrobat Preflight by Switch

Finally, I make this. How do you feel...? var oProfile = Preflight.getProfileByName("EmbedFlagCheckTT") if( oProfile != undefined ) { var oThermometer = app.thermometer; var myPreflightResult = $doc.preflight( oProfile, false, oThermometer); if( myPreflightResult.numErrors > 0 ) { $doc.sav...
by saitok
Fri Sep 21, 2018 8:01 am
Forum: LEGACY scripting
Topic: Acrobat Preflight by Switch
Replies: 1
Views: 4078

Acrobat Preflight by Switch

Hi, I want to do Acrobat Preflight using Switch because of this. https://forum.enfocus.com/viewtopic.php?f=18&t=2342 I found the following JavaScript on the Web. I can execute the specified Preflight Profile, and save the PDF outside of the Switch. But I can't understand how can I save the PDF i...
by saitok
Thu Sep 20, 2018 11:46 am
Forum: PitStop Server
Topic: Error "Cannot extract the embedded font..."
Replies: 3
Views: 6259

Re: Error "Cannot extract the embedded font..."

The error is this.
Image
by saitok
Thu Sep 20, 2018 11:41 am
Forum: PitStop Server
Topic: Error "Cannot extract the embedded font..."
Replies: 3
Views: 6259

Error "Cannot extract the embedded font..."

Hi, When I open certain PDF using Acrobat, the following message is shown after a while. Can I check this problem with PitStop Action or Preflight? I guess this error is not infamous... :( Does anyone has good solution? - - - Cannot extract the embedded font 'BCDJEE+......'. Some characters may not ...