Search found 194 matches

by Padawan
Thu Jul 18, 2019 8:19 pm
Forum: Scripting
Topic: read text from *.txt-files and save it to variables
Replies: 5
Views: 157

Re: read text from *.txt-files and save it to variables

Ok, some things are off: You are using a script expression, so you don't need the job arrived entry point. You can just write your code, store the output in a variable and in the last line type the variable name with a semicolon. Job.getvariableasstring() expects a switch variable as string, so that...
by Padawan
Thu Jul 18, 2019 7:46 pm
Forum: Flows
Topic: Read OutputIntent as String
Replies: 3
Views: 45

Re: Read OutputIntent as String

I'm not sure, but I think the name of the output intent is stored somewhere in the internal Xmp metadata of the PDF file. If you have the metadata module, then you can access the Xmp metadata via Switch variables.
by Padawan
Wed Jul 17, 2019 12:08 pm
Forum: PitStop Pro
Topic: A way to hide certain messages in preflight report?
Replies: 5
Views: 44

Re: A way to hide certain messages in preflight report?

If the things you want to hide are dependent on the check, then I also think the only option will be to convert it to an Action List and set the action to Don't log. In case it is sufficient to hide all the fixes in the report, then you can disable "Log fixes" in the general category of the prefligh...
by Padawan
Wed Jul 17, 2019 11:17 am
Forum: PitStop Pro
Topic: A way to hide certain messages in preflight report?
Replies: 5
Views: 44

Re: A way to hide certain messages in preflight report?

If you don't want to see the error, then maybe it is best to adjust the preflight so that specific check doesn't run?

You can remove the Zip compression check in the Images category of the PitStop Preflight Profile editor.
by Padawan
Mon Jul 15, 2019 3:45 pm
Forum: Switch
Topic: Other people can't connect to switch client
Replies: 6
Views: 124

Re: Other people can't connect to switch client

That's interesting, I didn't see something like that before. I'll add it to my list.
by Padawan
Mon Jul 15, 2019 1:02 pm
Forum: Switch
Topic: Other people can't connect to switch client
Replies: 6
Views: 124

Re: Other people can't connect to switch client

"Page not found" means it can reach a webpage, but not the subpage. Is it possible the error is "Can't connect to server"? If so, then I can see these possibilties: - They are connecting via the wrong network address - The ports are blocked in the firewall on the Switch server Can you add rules in t...
by Padawan
Mon Jul 15, 2019 12:37 pm
Forum: Switch
Topic: Other people can't connect to switch client
Replies: 6
Views: 124

Re: Other people can't connect to switch client

Can you give more details on the issue? Does not being able to connect mean that the webclient login page doesn't load, or that they are not able to login? Also please note that two ports need to be open in order for the webclient to work, by default this is 51088 and 51089. These can be changed in ...
by Padawan
Thu Jul 11, 2019 5:19 pm
Forum: Scripting
Topic: read text from *.txt-files and save it to variables
Replies: 5
Views: 157

Re: read text from *.txt-files and save it to variables

Your sample looks very node.js-ish. Switch javascript looks a bit different.

I always start from the samples in the documentation:
https://www.enfocus.com/manuals/Develop ... class.html

The Static Text I/O functions are the easiest
by Padawan
Wed Jun 26, 2019 2:53 pm
Forum: Forum Guidelines / Forum Feature requests / Forum Bug reports?
Topic: automatic restart
Replies: 1
Views: 116

Re: automatic restart

When the system reboots it sends a signal to all applications, including Switch with the request to close down. The problem is that Switch takes a long time to close down cleanly and the operating doesn't wait for that. So it closes down Switch before it is completely shut down. It's always best to ...
by Padawan
Wed Jun 26, 2019 2:46 pm
Forum: Flows
Topic: XPath in XML with NameSpace
Replies: 5
Views: 219

Re: XPath in XML with NameSpace

Is this the information you are trying to retrieve? Screen Shot 2019-06-26 at 14.42.55.png It seems a bit odd since it is not a number, but "myWIDTH" which you get. This is the Switch variable: [Metadata.Text:Path="/dn:QUITEXML/dn:ITEMS/dn:DICT/dn:ITEMS/dn:DICT/dn:ITEMS/dn:DICT/dn:ITEMS/dn:F[@N='Wid...
by Padawan
Sun Jun 23, 2019 9:34 pm
Forum: Switch
Topic: Stuffit Deluxe Configurator
Replies: 2
Views: 153

Re: Stuffit Deluxe Configurator

Most likely the Configurator is not compatible yet with the new stuffit destinations. Can you install an old stuffit version and try that?

You might also want to report the incompatibility to Enfocus Support.
by Padawan
Sun May 26, 2019 9:05 am
Forum: Switch
Topic: switch client doesn't found switch Server
Replies: 5
Views: 467

Re: switch client doesn't found switch Server

Agreed, I think the webclient needs this for drop downs:
https://www.w3schools.com/howto/howto_ ... opdown.asp

I already reported it as a feature request to Enfocus. The more people who report it, the bigger the priority it will get :)
by Padawan
Fri May 24, 2019 8:32 am
Forum: Switch
Topic: switch client doesn't found switch Server
Replies: 5
Views: 467

Re: switch client doesn't found switch Server

I think that legacy SwitchClient will continue to work for a while, but please note that it is not maintained anymore. It will not be supported on new systems and will receive no bug fixes. It might be a good idea to check the new webclient and if it suits your needs. This new webclient will receive...
by Padawan
Thu May 23, 2019 11:55 am
Forum: Switch
Topic: switch client doesn't found switch Server
Replies: 5
Views: 467

Re: switch client doesn't found switch Server

Can you try this?
- Open Switch preferences on the Internal Communication category
- Set Job Client type to legacy
- restart Switch

That should do it.

Is there a reason that you are still using the legacy SwitchClient instead of the new webclient?
by Padawan
Thu May 23, 2019 9:39 am
Forum: Scripting
Topic: Curl string syntax in 2018 r3
Replies: 4
Views: 449

Re: Curl string syntax in 2018 r3

I quickly adjusted a sample from the documentation to do this: function timerFired( s : Switch ) { var requestProps = {}; requestProps.date_time = "2019-05-21 10:56:08"; requestProps.order_id = "1234-1.1"; requestProps.type = "PRODUCTION_STARTED"; var theHTTP = new HTTP(); theHTTP.setAttachedFile( c...