Forum Replies Created

Page 3 of 4
  • Daniel Crooks

    April 28, 2011 at 6:01 am in reply to: strange syntax error with bracket character only

    thanks Dan, really appreciate it !

  • Daniel Crooks

    April 28, 2011 at 4:42 am in reply to: strange syntax error with bracket character only

    sorry, my bad. I copied the code from the email not the cow site… doh.
    the (/\(/) worked !!! (even if it does look like ascii art !)

    thanks, Dan

    but I’m still not sure why the regular expression couldn’t handle the “(” when it could handle everything else ?

  • Daniel Crooks

    April 28, 2011 at 12:47 am in reply to: strange syntax error with bracket character only

    still no joy !

    I thought perhaps there was some kind of escape needed but no, even with the \ in there I still get the syntax error, swap out the ( for an other character and it works… bizarre !?

  • Daniel Crooks

    April 28, 2011 at 12:20 am in reply to: strange syntax error with bracket character only

    Dan,
    thanks for checking, I can confirm the closing bracket works but try searching for an opening bracket… “(” like this…

    lineData =”67890()-=”;
    if (lineData.search(“(“) != -1) alert (“yay”) else alert (“boo”);

    I get “unable to execute script at line 2. Syntax error”

    ???

    cheers../daniel

  • Daniel Crooks

    April 9, 2011 at 11:16 pm in reply to: Converting rotation orders – X>Y>Z to Y>X>Z

    hi Jamie

    I’d be very keen to hear if you crack the problem
    I’m struggling with something similar.
    I want to convert the orientation values of an AE camera back into traditional “pan & tilt” values.

    cheers../Daniel

  • and finally… just in case anyone searches there way here in the future, the resolution to the problem was
    myfile.lineFeed = “windows”
    don’t know why it didn’t work first time round, maybe i forgot to save between edits, but anyway it works a treat.

    many props to Dan Ebberts and Paul Tuersley

    cheers../daniel

  • hi Dan

    unfortunately I don’t have the script with me right now, but the external file writing code I borrowed from Paul’s AEtoC4D script which is here:
    https://www.btinternet.com/~paul.tuersley/scripts/pt_AEtoC4D_v1.4.zip
    that script is also what I have been using to test your suggestions so i figure it’s a safe bet to work with.

    cheers../daniel

  • still no luck with “CP1252” …

  • hi Dan, thanks for the reply.

    I tried the “Unix” linefeed but no luck, (also tried lowercase “unix” ) but the non-character is still being inserted into one very long line of text. The one thing I did notice from a “correct” file created in Notepad is that it has a Unicode (UTF-8) encoding. I tried to save as one of text files in textedit with this encoding but it didn’t make any difference either…
    one last note, though I’m generating the file from AE on a Mac it only needs to be readable on a PC.

    cheers../daniel

  • Daniel Crooks

    March 10, 2010 at 12:59 am in reply to: file path problem between mac and PC

    for anyone who has searched there way here, this from Mylenium over at the adobe forums… bummer.

    “You simply can’t. Network path resolution is completely different between both operating systems which relates to how the generally mount external resources within their normal file tree (Mac) vs. as independent virtual devices (PC). Nothing you can change or influence. You could use specific Mac emulation software on the PC end, though, and exclusively run the server in Mac mode. The emulation would then take care to remap file paths in a Mac-friendly way which would take care of your issue, presumably.

    Mylenium”

Page 3 of 4

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy