Expand my Community achievements bar.

Robert_Hirst
Robert_Hirst
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • No, the only thing is that the script must be set to Javascript and not Formcalc from the drop down at the top corner of the script editor, but I would think you've already done this or the || wouldn't work either.If you navigate to the exact Line/Column indicated by the error message, is it actuall...

    Type

    Discussions

    Views

    2.6K

    Likes

    0

    Replies

    0
  • OK, just checked on app.response and it's an Acrobat scripting method I wasn't familiar with. I assume that the code you have is for calling it in Acrobat scripting, as you wouldn't call it with an object which has certain properties like that in Designer.Should be:>var Temp = 1;>while (Temp != 2 &&...

    Type

    Discussions

    Views

    2.6K

    Likes

    0

    Replies

    0
  • All that syntax appears to be fine (I'm assuming app.response is a method you have defined elsewhere), which part exactly in that code equates to line 59, column 23?I put this on a click event of a button (only slightly modified to define a replacement for app.response):>var Temp = 1;>while (Temp !=...

    Type

    Discussions

    Views

    2.6K

    Likes

    0

    Replies

    0
  • I'm pretty sure any valid boolean expression can be used in a while loop, and I don't see anything wrong using with your second version (x != 1 || x != 2). However I don't think that with that statement any value of x will allow the OR statement to evaluate to false, so the loop will continue foreve...

    Type

    Discussions

    Views

    2.6K

    Likes

    0

    Replies

    0
Top badges earned by Robert_Hirst
Customize the badges you want to showcase on your profile