Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

[MBS] AppleScriptMBS in a thread (MBS Xojo Plugin Mailinglist archive)

Back to the thread list
Previous thread: [MBS] Copy like in the finder
Next thread: [MBS] Version info 2


[MBS] AppleScriptMBS in a thread   -   lveillette
  Re: [MBS] AppleScriptMBS in a thread   -   Christian Schmitz
   Re: [MBS] AppleScriptMBS in a thread   -   Peter Truskier
    Re: [MBS] AppleScriptMBS in a thread   -   Christian Schmitz

[MBS] AppleScriptMBS in a thread
Date: 12.02.06 04:58 (Sat, 11 Feb 2006 22:58:56 -0500)
From: lveillette
I just found one problem with AppleScriptMBS and threads.

I put some AppleScript code in a window (to copy a file) and use the
AppleScriptMBS function. The code works fine as long as it's called directly
by the window, but as soon as I put it in a thread, it stops working...

Any idea?

Louis

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] AppleScriptMBS in a thread
Date: 12.02.06 13:25 (Sun, 12 Feb 2006 13:25:43 +0100)
From: Christian Schmitz
lveillette <<email address removed>> wrote:

> I just found one problem with AppleScriptMBS and threads.
>
> I put some AppleScript code in a window (to copy a file) and use the
> AppleScriptMBS function. The code works fine as long as it's called directly
> by the window, but as soon as I put it in a thread, it stops working...
>
> Any idea?

This is a bug in RB.

see:
<http://support.realsoftware.com/feedback/viewreport.php?reportid=mndxnp
yg>
and:
<http://support.realsoftware.com/feedback/viewreport.php?reportid=plamxr
ka>

AppleScript checks the stack space and RB does something which makes the
Thread functions to return bad values.

You may make a new bug report.

Mfg
Christian

Re: [MBS] AppleScriptMBS in a thread
Date: 12.02.06 18:47 (Sun, 12 Feb 2006 09:47:13 -0800)
From: Peter Truskier
I think that would be a good idea as one of those reports is marked
as "closed" and the other as "fixed" (in 6.0b3). What version of RB
are you using?

--Peter

On Feb 12, 2006, at 4:25 AM, Christian Schmitz wrote:

> You may make a new bug report.

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
<email address removed>
http://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Re: [MBS] AppleScriptMBS in a thread
Date: 12.02.06 22:29 (Sun, 12 Feb 2006 22:29:05 +0100)
From: Christian Schmitz
Peter Truskier <<email address removed>> wrote:

> I think that would be a good idea as one of those reports is marked
> as "closed" and the other as "fixed" (in 6.0b3). What version of RB
> are you using?

My test shows that it is fixed in RB 2006r1.

Threads do have stack space from the OS view and AppleScript works.

Mfg
Christian