Skip to main content
February 19, 2016
Answered

How recover javascript from XPro after migration to Pro XI

  • February 19, 2016
  • 2 replies
  • 466 views

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

This topic has been closed for replies.
Correct answer try67

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...

2 replies

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
February 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 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...

Inspiring
February 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.