Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How recover javascript from XPro after migration to Pro XI

Guest
Feb 19, 2016 Feb 19, 2016

Our extensive JavaScripts from the older XPro version are no longer editable in A.Pro XI !!!

I have tried to recover the javascript from the sequence file but it's very tedious and error-prone, wasn't successful.

How can I recover the javascript source code from XPro - sequences to generate new-version sequences in Pro XI?

thanks a million for any clue

Gian

TOPICS
Acrobat SDK and JavaScript , Windows
399
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 19, 2016 Feb 19, 2016

You can import old sequences from X into XI, but because the structure changed dramatically between these two versions you won't be able to edit them, just run them. So I suggest you create new ones instead.

If you're asking how to access the code itself then it's more complicated. If you didn't save it in a separate text file (which you should ALWAYS do), I would suggest looking for a computer that still has X, load them there, and then edit them and copy the code to a stand-alone file.

If even t

...
Translate
LEGEND ,
Feb 19, 2016 Feb 19, 2016

That is major flaw in the upgrade processing.

Going forward I would look at using application folder level functions to perform the JavaScripts being used in a sequence. Then one only needs to redo the setup and call the function for the script to be run.

I would also suggest one writes the steps to create the sequence in Word or a text editor and cut and paste the JavaScript being run into that document. One could also document how to run the script.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 19, 2016 Feb 19, 2016
LATEST

You can import old sequences from X into XI, but because the structure changed dramatically between these two versions you won't be able to edit them, just run them. So I suggest you create new ones instead.

If you're asking how to access the code itself then it's more complicated. If you didn't save it in a separate text file (which you should ALWAYS do), I would suggest looking for a computer that still has X, load them there, and then edit them and copy the code to a stand-alone file.

If even that is not possible then your last resort is to open the sequence files themselves (.sequ files) in a plain-text editor and extract the code manually.

However, it will be escaped in various ways so you'll have to fix it...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines