--- In [email protected], "entropyreduction" 
<alancampbelllists+ya...@...> wrote:
> 
> --- In [email protected], "Sheri" <sherip99@> wrote:
>  
> > Regrettably, although 
> > comPluginDemoScriptFileSysObjDotSyntaxForEach.powerpro runs fine, use of 
> > the service
>  
> > local sDesc = appref.get_object_description("f") and
> > local sDesc = appref.get_object_description("fdn")
> > 
> > crash Powerpro is my script (and leaves powerpro entries in task 
> > manager processes)
> 
> That's kinda hard to debug without being able to create your appref.
> 
> Got any other scripts you can try it on?
> 

This also crashes in latest incarnation:

global com_status
local objname="Word.Application"
local cp=file.folder(win.exepath("c=powerpromain"))++;;+
?"\plugins\com.dll"
local d=file.getdate(cp,"m")
messagebox("OK","com.dll version:"++file.version(cp)++ "\ndated:"++;;+
formatdate("MM/dd/yyyy",d.slice(8))++formattime(" hh:mm tt", ;;+
d.slice(-6))++"\nAbout to get_object_description for "++objname++;;+
". . .")
wait.for(50)
local appref=com.create_object("Word.Application")
local sDesc = appRef.get_object_description("fdn")
;win.debug("sDesc length:", sDesc.length)
appref.Release
com.unload
quit



Reply via email to