Jump to content

Recommended Posts

Posted
I have a problem now.....with the Do Script function...when I copy/paste a script in the text box, it seems to take it all....but then if I exit the trigger page and re-enter it...only like 162 of the 2000+ lines of script are saved.....I keep getting an error "unexpected symbol near line 162"...and I'm like WFT....but then looking into it...there is no problem with the script...it that its not saving the whole thing....it ends at 162.....Do I have to just use the Do Script File instead of Do Script....

This bug is investigated atm by the testers. http://forums.eagle.ru/showthread.php?t=125269

 

DO SCRIPT FILE should help here. An other work around could be to create your own script library that contains a function for every code snipped that you would normally place into a DO SCRIPT action. Then you call just that function in DO SCRIPT.

 

(The problem at hand is, that text fields like DO SCRIPT fields, are currently limited to about 4000 characters. That might be too short for a whole script, but should normally suffice for a function call)

  • ED Team
Posted
I have a problem now.....with the Do Script function...when I copy/paste a script in the text box, it seems to take it all....but then if I exit the trigger page and re-enter it...only like 162 of the 2000+ lines of script are saved.....I keep getting an error "unexpected symbol near line 162"...and I'm like WFT....but then looking into it...there is no problem with the script...it that its not saving the whole thing....it ends at 162.....Do I have to just use the Do Script File instead of Do Script....

 

This is reported.

 

Do Script file does seem to be the work around for the moment.

64Sig.png
Forum RulesMy YouTube • My Discord - NineLine#0440• **How to Report a Bug**

1146563203_makefg(6).png.82dab0a01be3a361522f3fff75916ba4.png  80141746_makefg(1).png.6fa028f2fe35222644e87c786da1fabb.png  28661714_makefg(2).png.b3816386a8f83b0cceab6cb43ae2477e.png  389390805_makefg(3).png.bca83a238dd2aaf235ea3ce2873b55bc.png  216757889_makefg(4).png.35cb826069cdae5c1a164a94deaff377.png  1359338181_makefg(5).png.e6135dea01fa097e5d841ee5fb3c2dc5.png

Posted
Just in case anyone else is having the same problem, I found the solution: The encoding in Notepad++ needs to be set to 'UTF-8 without BOM'. I don't recall ever changing it, and TBH I don't remember if it was set to that before.

 

 

Keep this comment from Ajax in mind while doing so, however.

"ENO"

Type in anger and you will make the greatest post you will ever regret.

 

"Sweetest's" Military Aviation Art

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...