Search found 85 matches

by Clive Andrews
Mon Jun 11, 2012 10:42 am
Forum: Flows
Topic: Folder name from files
Replies: 1
Views: 4097

Folder name from files

Try just adding it as a second entry - if Switch cannot create the variable it just seems to leave it blank. I do a similar thing for files from 3 sources: [Metadata.Text:Path="/jobInfo/Customer",Dataset="Xml",Model=XML][Metadata.Text:Path="/jobInfo/Customer",Dataset=&q...
by Clive Andrews
Wed Apr 18, 2012 8:48 am
Forum: Flows
Topic: Stupid question - rename a JDF from content
Replies: 2
Views: 5107

Stupid question - rename a JDF from content

dkelly wrote: Wouldn't it be [Metadata.Text:Path="/jdf:JDF/@DescriptiveName",Dataset="jdf",Model=JDF]


Er, yes....



>



I'd just had a total blank there Sir!
by Clive Andrews
Tue Apr 17, 2012 3:49 pm
Forum: Flows
Topic: Stupid question - rename a JDF from content
Replies: 2
Views: 5107

Stupid question - rename a JDF from content

I know this seems like a basic question - but it's one of those brick wall moments. I'm aiming to rename a jdf file - using the @DescriptiveName part of its own content. (metadata > Text > External > Drop down Jdf > Click @DescriptiveName. Gives me the JDF location path of /dn:JDF/@DescriptiveName N...
by Clive Andrews
Thu Apr 12, 2012 9:39 am
Forum: Flows
Topic: Extract from XMP and insert into XML
Replies: 11
Views: 14112

Extract from XMP and insert into XML

Is it because the dataset needs to be XML to use in my HTML template...?
by Clive Andrews
Wed Apr 11, 2012 12:15 pm
Forum: Flows
Topic: Extract from XMP and insert into XML
Replies: 11
Views: 14112

Extract from XMP and insert into XML

dkelly wrote: No reason you couldn't read the injected template XML and modify it instead of creating it from scratch.. Document() creator optional takes a filename of existing XML file to read. Thanks Dwight - I've ended up using your script and just taking it as job ticket info - all I need do is ...
by Clive Andrews
Tue Apr 10, 2012 5:16 pm
Forum: Flows
Topic: Extract from XMP and insert into XML
Replies: 11
Views: 14112

Extract from XMP and insert into XML

Yes - I see, that's easier, just use the script to write the XML, with static values for all bar that 1. That appears to mean I don't need to inject a static file anymore?
by Clive Andrews
Tue Apr 10, 2012 10:19 am
Forum: Flows
Topic: Extract from XMP and insert into XML
Replies: 11
Views: 14112

Extract from XMP and insert into XML

No worries Dwight. The xml template I have is: Customer upload FTP Upload c.andrews@printing-press-press.co.uk Joe Bloggs 01388 212716 customer_name@printing-press.co.uk FTP Upload Joe Bloggs Inc I am trying to change the "Reference" - in BOLD and Red using the variable "dc:title"...
by Clive Andrews
Sat Apr 07, 2012 7:59 pm
Forum: Flows
Topic: Extract from XMP and insert into XML
Replies: 11
Views: 14112

Extract from XMP and insert into XML

dkelly wrote: In that case, you can extract the XMP using Switch, modify it using an XSLT transform and write it back using XMP update. Gotcha - simples! I'm still trying to get my head round XSLT transformation (ok, stealing a lot of your work) - but I'll get there... Thank you sir, happy easter!
by Clive Andrews
Thu Apr 05, 2012 9:26 am
Forum: Flows
Topic: Extract from XMP and insert into XML
Replies: 11
Views: 14112

Extract from XMP and insert into XML

Yes sir, I can get to the XMP as metadata anyway - what I want to do is take a PDF, inject an XML template - but merge some extra data from the PDF itself into the metadata I have attached. It seems the easy way would be to dynamically modify the content of the Template before I inject it.... I'm tr...
by Clive Andrews
Wed Apr 04, 2012 5:30 pm
Forum: Flows
Topic: Extract from XMP and insert into XML
Replies: 11
Views: 14112

Extract from XMP and insert into XML

I know the probable answer here, but nothing gained by not asking....



Is there an easy/quick way to extract some XMP info from a PDF and write it into an XML file?



I have this "cunning plan"....



:)
by Clive Andrews
Tue Apr 03, 2012 8:52 am
Forum: Applications
Topic: Just completed the ugrade to Switch 11
Replies: 2
Views: 6217

Just completed the ugrade to Switch 11

One small issue this morning, easily overcome:



It was crashed this morning, and I couldn't get my folders or Pitstop Server links working properly. Turns out the A/V was "Sandboxing" Switch (I updated yesterday) - as soon as I overrode that, all was good again!
by Clive Andrews
Mon Apr 02, 2012 12:51 pm
Forum: Applications
Topic: Just completed the ugrade to Switch 11
Replies: 2
Views: 6217

Just completed the ugrade to Switch 11

All very effortless. Best to do the licensing first, then let the app upgrade your flows, otherwise it flags elements you don't have (as you haven't upgraded the license) No big problem, but just stops the pop ups.



Total time to upgrade - 15mins....



>
by Clive Andrews
Wed Mar 28, 2012 1:53 pm
Forum: Flows
Topic: Tranforming XML to XML
Replies: 5
Views: 8074

Tranforming XML to XML

I'll be interested to pull this one apart Dwight - it's the transformation process that eludes me.
by Clive Andrews
Thu Mar 22, 2012 10:40 am
Forum: Flows
Topic: Compare specific properties of two pdf files (advanced)
Replies: 4
Views: 7224

Compare specific properties of two pdf files (advanced)

Try: [Metadata.Text:Path="/jdf:JDF/jdf:ResourcePool[1]/jdf:Component[1]/@ProductType",Dataset="Jdf",Model="JDF",Segment="1-5"]/[Metadata.Text:Path="/jdf:JDF/jdf:ResourcePool[1]/jdf:Component[1]/@Dimensions",Dataset="Jdf",Model="JDF&quo...