Jump to content

Karsten Wolf

Members
  • Content Count

    67
  • Joined

  • Last visited

  • Days Won

    2

Karsten Wolf last won the day on December 20 2014

Karsten Wolf had the most liked content!

Community Reputation

6 Neutral

About Karsten Wolf

  • Rank
    member

Profile Information

  • Gender
    Male
  • Location
    Germany
  • Interests
    Python, Computer History, Calligraphy

FileMaker Experience

  • Skill Level
    Intermediate
  • FM Application
    15 Advanced

Platform Environment

  • OS Platform
    Mac
  • OS Version
    Yosemite

Recent Profile Visitors

3,581 profile views
  1. Just thinking out loud: - with the exception of header, body, footer and summary parts the layout information is in the XML DDR. - if one goes through the hassle of adapting/transforming that XML (replacing the embedded graphics with paths to image files and marking the content fields) you get a list of layout objects that can be fed to itext. For a first step to split the XML DDR into it's components one can use my DDR-Splitter: https://github.com/karstenw/FileMaker-DDR-Splitter It's free and available as an OSX app and as a python script.
  2. FileMaker refuses for example to import pictures if any of the path elements contains a ':' which will be shown in the Finder as '/'. For unix a '/' is an illegal char in a file or foldername . For the old MacOS ':' had the same meaning as '/' has for unix. The Finder exchanges the two because people like to name folders with a '/' in it. Have you checked shell escaping? ?,:,*,",' have special meaning in a shell. Perhaps that last line should be: do shell script "mkdir '/Volumes/networkFootage/Digital_Deliverables_Packages/" & x & "/_Delivery_Packages
  3. Have you checked the values of x & y on these computers? Perhaps they need shell escaping because they contain spaces, are empty or contain one of / : " Does the containing folder for the resulting path exist? There are many ways how this script can fail.
  4. I had it running with FMP 10. Maybe you'll need an older version for FMP 9. Perhaps you should contact 360Works.com and ask which version will run with FMP 9.
  5. Revert to 4.134. If I remember correctly that was the version I used until may on 10.4 G4 machine.
  6. @brian rich As I said, I have not tested if but that would be my first angle on the problem (and I have experience getting FMP XML from the clipboard. And yes, there would be lots of <missing> tags that need to be resolved. But it would still be faster that clicking together a whole DB. Has anybody tried it? Does it work?
  7. What you can try (I have not tested this): - open the fp12 database in FMPA12 and copy the table definitions - create a fp7 with FMPA10 and paste the tables. Then try with scripts and layout elements.
  8. The pictures can't be seen since "Macintosh HD" is local to the (peer2peer) server and the client presumably has not the servers "Macintosh HD" mounted. That is the central problem with import by reference. The imported documents Must be located on a file server all clients can access.
  9. If I remember correctly, Tiger (10.4) is incompatible with G3. It could be made work with some tweaks but officially 10.3 was the last OS for G3.
  10. Looking at your code again I see that you're returning the hex encoded base64 string. Is that really needed by your API? Usually you either encode base64 OR hex, not both. Perhaps the last lines in your script should read: digest.init(hashkey); def rawSig = digest.doFinal(text.getBytes()); //def sig = new sun.misc.BASE64Encoder().encode(rawSig); //byte[] hash = sig; byte[] hash = rawSig; return toHex(hash);
  11. Ah. I see. I use it only for identifying files; I was not aware of hmac. The error I get says that "HmacSHA256" is not available. Other demos I found on the web yield the same result. What was your error message? Only the first line of the ScriptMaster.fp7 error dialog.
  12. see http://fmforums.com/forum/topic/86849-sha256-encryption/
  13. 2 ideas: - replace the '-r' with '-f' - you don't want to delete whole folders accidentally. - make a script with 1 SetVar statement or a calculated result field which contains just the code I posted first. Execute it in the context of the _MASTER table and post the result.
  14. Try this. I have not tested it but it corrects some of the mistakes you made. The script assumes that _MASTER::FilePath ends with a "/". You might want to take a look at the ScriptMaster plug-in. It is better suited for such tasks. "try¶" & "do shell script "rm -r " & _MASTER::FilePath & "Cable2.fmp12"¶" & "end try"
  15. I did this in FMP 10 and had the RECORDID missing and FileMaker complained about it. Perhaps it can be left empty. I don't remember now. These lines get copied from stylesheet to stylesheet ;-) and 'real' questions are answered by the XSLT book from Michael Kay (highly technical, highly recommended, 2 pounds with all the answers on the topic)
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.