> I uploaded a new powerpro.exe (exe only) to the webeddie folder
Thanks, I was able to make a lot of progress with this one.
> - scriptdebugfield(x) returns _expression_ field for 0-9, last script
> being debugged for x==-1.
crash if x==-1 and ScriptDebug not open; no crash if 0-9
> There is also a check box to prevent dialog from taking focus when it
> is activated.
Much better for me now.
I've experimented a lot and have decided that it's better to stick to controlling the editor from the
ScriptDebug window and not viceversa. The showstopper for me is that I couldn't find a way to synch
the current line between the editor and the debug window -- when the editor is driving the window; it's
easy the other way around. I also still have some challenges with sending keys to the ScriptDebug
window, but they only matter in the editor-centric model that I'm abandoning.
fyi, each button seems to react to a different method. I found these methods to work best for a given
key:
win.sendmessage(win.handle("PowerPro Script Debug"),0x111,1,0) ;; step
;keys {fast}{toany ^PowerPro Script Debug}{alt}s{alt}
win.sendmessage(win.handle("PowerPro Script Debug"),0x111,2,0) ;; run to break
;keys {fast}{toany ^PowerPro Script Debug}{alt}r{alt}
; this one, no matter what I use, I can't get it pressed
;win.sendmessage(win.handle("PowerPro Script Debug"),0x111,3,0) ;; run to script end
;keys {slow}{toany ^PowerPro Script Debug}%u
; ... all other combinations tested ...
;win.sendmessage(win.handle("PowerPro Script Debug"),0x111,4,0) ;; quit all
keys {fast}{toany ^PowerPro Script Debug}{alt}q{alt}
>
> I'm sorry, but I don't have time to work through the script you
> posted.
No problem. It's polished now. I run it from an event started by OnScriptDebug, so each time that the
ScriptDebug window opens my scripts can access updated information.
> As per my other note, the debug implementation was not really
> intended to have multiple scripts running outside of the one being
> debugged (and scripts it calls), so it could be that strange things
> will happen in this case.
Actually, it's quite robust and I haven't seen anything strange so far, sure lots of things I didn't
understand at first...
Attention: PowerPro's Web site has moved: http://www.ppro.org
YAHOO! GROUPS LINKS
- Visit your group "power-pro" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
