Re: Script Editor problems

2008-11-28 Thread Klaus Major

Hi Ken,

Am 28.11.2008 um 04:52 schrieb Ken Ray:


 edit script of cd 1 of stack Variable Watcher


yes, works for me, thanks a lot!

But the same stacks (IDE 3.0b) work with engine 2.9 without problems!
So I think there is something wrong with the engine nevertheless and
my bug report # 7491 is justified :-)

Will add a comment on this issue to the bug.


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-28 Thread Hugh Senior
Thank you, Ken.

/H


OK guys, as I'm the owner of the VW, I think I have found the problem - it
appears that the defaultStack is being set in a handler which doesn't seem
to need it (which for some reason didn't affect the engine 3.0 but does
now).

[snip]

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-28 Thread Tariel Gogoberidze


Am 28.11.2008 um 04:52 Ken Ray wrote:

I'll include it with other 3.0-related enhancements I'm making  
(like support for multi-dimensional arrays).


Ken Ray




That's so great. Thanks Ken, so much appreciated !!

best regards
Tariel
___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Mark Schonewille

Hi Klaus,

What happens when you try to debug this?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Color Converter has been updated! Get it at
http://colorconverter.economy-x-talk.com !

On 27 nov 2008, at 11:56, Klaus Major wrote:


Hi friends,

does someone also experience this strageness?

I cannot debug script that contain this of any kind!?
Like in this little example:

on mouseUp
get 222
put the short name of this stack into s_name
## - Script Editor 1 in Variable Watcher

put the name of this cd into c_name
## - card Editor card

get fld field in original stack
## Error: can't find object

end mouseUp

Any hints are very welcome.


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard




___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Klaus Major

Hi Mark,


Hi Klaus,

Which errors exactly? I assume the errors are in no way related to  
your script?
You might want to search for sePrefGet or sePrefSet in Rev's QCC and  
add any relevant comments. I'd appreciate it very much.


you are aware that I am talking about MetaCard and not Rev?


--
Best regards,

Mark Schonewille


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Mark Schonewille

Hi Klaus,

Yes, I'm aware of it, but since it is an engine thing and Revolution  
is big problems with the Script Editor at the moment, while I can't  
really figure out what the reason for these problems is, I think that  
any additional information may help the people in Edinburgh (not all  
of them, just those working at Rev ;-) )


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Color Converter has been updated! Get it at
http://colorconverter.economy-x-talk.com !

On 27 nov 2008, at 13:00, Klaus Major wrote:


Hi Mark,


Hi Klaus,

Which errors exactly? I assume the errors are in no way related to  
your script?
You might want to search for sePrefGet or sePrefSet in Rev's QCC  
and add any relevant comments. I'd appreciate it very much.


you are aware that I am talking about MetaCard and not Rev?


--
Best regards,

Mark Schonewille


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de




___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Klaus Major

Hi Mark,


Hi Klaus,

Yes, I'm aware of it, but since it is an engine thing and Revolution  
is big problems with the Script Editor at the moment, while I can't  
really figure out what the reason for these problems is, I think  
that any additional information may help the people in Edinburgh  
(not all of them, just those working at Rev ;-) )


:-)

OK, I understand and added a comment to bug # 6620


--
Best regards,

Mark Schonewille


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Mark Schonewille

Thanks!

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Color Converter has been updated! Get it at
http://colorconverter.economy-x-talk.com !

On 27 nov 2008, at 13:47, Klaus Major wrote:


:-)

OK, I understand and added a comment to bug # 6620

Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Klaus Major

Hi Brian

What happens if you set the defaultStack explicitly in your script?  
That might convince MetaCard to see your stack as this stack  
instead of the script editor.

i.e.

set the defaultStack to myStack
put the short name of this stack into s_name

= does this return myStack when debugging?


No, unfortunately not :-/
I still get Script Editor 1


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Mark Schonewille

Hi Klaus,

Which errors exactly? I assume the errors are in no way related to  
your script?


You might want to search for sePrefGet or sePrefSet in Rev's QCC and  
add any relevant comments. I'd appreciate it very much.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Color Converter has been updated! Get it at
http://colorconverter.economy-x-talk.com !

On 27 nov 2008, at 12:52, Klaus Major wrote:


Hi Mark and all,


Hi Klaus,

What happens when you try to debug this?


I get some erros and that was it, no script editor :-/

But I did some more tests with different engines and mctools stacks.
Result: This is definitively an engine thing!

With engine = 3 I get the described error
With engines  3 all is fine


Best regards,

Mark Schonewille

Economy-x-Talk Co


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de



___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Brian Yennie
What happens if you set the defaultStack explicitly in your script?  
That might convince MetaCard to see your stack as this stack instead  
of the script editor.

i.e.

set the defaultStack to myStack
put the short name of this stack into s_name

= does this return myStack when debugging?


Hi friends,

does someone also experience this strageness?

I cannot debug script that contain this of any kind!?
Like in this little example:

on mouseUp
get 222
put the short name of this stack into s_name
## - Script Editor 1 in Variable Watcher

put the name of this cd into c_name
## - card Editor card

get fld field in original stack
## Error: can't find object

end mouseUp

Any hints are very welcome.

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Script Editor problems

2008-11-27 Thread Klaus Major

Hi friends,

does someone also experience this strageness?

I cannot debug script that contain this of any kind!?
Like in this little example:

on mouseUp
  get 222
  put the short name of this stack into s_name
  ## - Script Editor 1 in Variable Watcher

  put the name of this cd into c_name
  ## - card Editor card

  get fld field in original stack
  ## Error: can't find object

end mouseUp

Any hints are very welcome.


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Klaus Major

Hi Mark and all,


Hi Klaus,

What happens when you try to debug this?


I get some erros and that was it, no script editor :-/

But I did some more tests with different engines and mctools stacks.
Result: This is definitively an engine thing!

With engine = 3 I get the described error
With engines  3 all is fine


Best regards,

Mark Schonewille

Economy-x-Talk Co


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Klaus Major

Hi Mark,


Thanks!


graag gedan!

I also created a new report for this bug, looks serious enough ;-)
http://quality.runrev.com/qacenter/show_bug.cgi?id=7491


--
Best regards,

Mark Schonewille


Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de


___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Mark Schonewille

Nogmaals bedankt ;-)

I suspect this breaks compatibility not only with MC!

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

Color Converter has been updated! Get it at
http://colorconverter.economy-x-talk.com !

On 27 nov 2008, at 17:00, Klaus Major wrote:


Hi Mark,

graag gedan!

I also created a new report for this bug, looks serious enough ;-)
http://quality.runrev.com/qacenter/show_bug.cgi?id=7491

Best

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de



___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


RE: Script Editor problems

2008-11-27 Thread Hugh Senior
Thank you Klaus... I thought it was just me! I cannot step through any lines
that refer to objects as the mc script editor immediately reports an 'no
such object' (or similar) error. Is becoming a royal P.I.T.A. and am
resorting to writing out to .txt debugging files, beeps, msg box put
statements etc just to work around it.

/H


Hi friends,

does someone also experience this strageness?

I cannot debug script that contain this of any kind!?
Like in this little example:

on mouseUp
   get 222
   put the short name of this stack into s_name
   ## - Script Editor 1 in Variable Watcher

   put the name of this cd into c_name
   ## - card Editor card

   get fld field in original stack
   ## Error: can't find object

end mouseUp

Any hints are very welcome.


Best

Klaus Major

___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard


Re: Script Editor problems

2008-11-27 Thread Ken Ray
 Thank you Klaus... I thought it was just me! I cannot step through any lines
 that refer to objects as the mc script editor immediately reports an 'no
 such object' (or similar) error. Is becoming a royal P.I.T.A. and am
 resorting to writing out to .txt debugging files, beeps, msg box put
 statements etc just to work around it.

OK guys, as I'm the owner of the VW, I think I have found the problem - it
appears that the defaultStack is being set in a handler which doesn't seem
to need it (which for some reason didn't affect the engine 3.0 but does
now).

Try this:

  edit script of cd 1 of stack Variable Watcher

Go to the resetFocus handler and comment out the line:

  set the defaultStack to tStack

So it looks like this:

on resetFocus
  put the debuggingScript of stack Script Editor into tEditorCard
  if tEditorCard is not empty then
put wordOffset(stack,tEditorCard) into tWord
if tWord  0 then
  put word (tWord+1) of tEditorCard into tStack
  if char 1 of tStack = quote then delete char 1 of tStack
  if char -1 of tStack = quote then delete char -1 of tStack
  if tStack is among the lines of the windows then
--set the defaultStack to tStack
if there is a button Debug of stack tStack then
  send mouseDown to btn Debug of stack tStack
end if
if there is a field Editor Field of stack tStack then
  focus field Editor Field of stack tStack
end if
  end if
end if
  end if
end resetFocus

Finally, save the VW:

  save stack Variable Watcher

Let me know if this works for you; if so, I'll include it with other
3.0-related enhancements I'm making (like support for multi-dimensional
arrays).

Thanks,


Ken Ray
Sons of Thunder Software, Inc.
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/


___
metacard mailing list
metacard@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/metacard