Quantcast
Channel: Adobe Community : All Content - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 888

Unable to create Window

$
0
0

Dear friends and experts,
Until now I always had at least one document open before I started my script. Now I first started the script (File > Scripts > Catalog > scriptname > Run) just after FM start. The effect described also happened in the past during debugging and I attributed it to forgetting to unregister etc. But now I just 'work' with the script.
The following happens randomly after having open one or more documents.
As soon as I want to open a panel (via shortcut or from the menu) the script reports

Error Message      : Unable to create Window
Script, Line#   : E:\_DDDprojects\FM-calc\FMcalc\FMcalc_dialogC.jsx,  14


The referenced script line is this or similar:

  wPalC  = new Window("palette", goTxt.wPalC, undefined);


Each test is a separate start of FM, then starting the script, then opening the first document.
Test 1:  One document open; error after first invocation of panel
Test 2:  5 documents open; after each open invocation of panel OK
Test 3:  One document open; error after first invocation of panel
Test 4:  One document open; error after first invocation of panel
Test 5:  Open FM and just leave it. This requires at the next start to search for the script.
Test 6:  4 documents open; after each open invocation of panel OK

 

What I have found so far on this problem is of little help: www.hivmr.com, www.deskdr.com

The only reasonable information is given here: simplephotoshop.com/elementsplus/
«Unfortunately, this is a bug in Adobe's script engine known to users of PSE and Photoshop and the total remedy hasn't been found yet. As a rule, this problem resolves itself after several computer re-boots. However, if in your case the problem persists, the author can suggest the only solution - using the action based version of "Elements+" »

 

This reflects my experience of randomness.
Any other ideas how to cure the problem?


Viewing all articles
Browse latest Browse all 888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>