[MBS] CVPixelBufferMBS in a console app?

2022-10-31 Thread James Sentman
greatly appreciated. Thank you! I am using the latest preview release of your plugins (though I was using the last release when I first saw the issue so it’s not anything new in them) and the 2022 r3.1 version of Xojo. Building on an ARM mac running 12.4. Thanks, James James Sentman

[MBS] GammaMBS in 21.6pr4

2021-12-31 Thread James Sentman
pass a DesktopWindow instead of just a Window, but it also looks like the original Constructor taking just Window and DisplayIndex is still there and should work the same way? Thanks, James James Sentman http://www.PlanetaryGear.org http

[MBS] Something broken or possibly just changed in NSMenuItemMBS?

2021-01-21 Thread James Sentman
d MBS versions. Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ mbsplugins@monkeybreadsoftware.info mailing list %(list_address)s https://ml-cgn08.ispgateway.de/ma

[MBS] ShellMBS Unable to read stderr while the process is running

2020-11-24 Thread James Sentman
the shell has completed then it will read stderr at that point just fine. Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ mbsplugins@monkeybreadsoftware.info mailing

Re: [MBS] ShellMBS questions.

2020-11-18 Thread James Sentman
o about that yet but will keep futzing around ;) > Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ mbsplugins@monkeybreadsoftware.info mailing list %(list_address

Re: [MBS] ShellMBS questions.

2020-11-18 Thread james
;) > On Nov 18, 2020, at 7:30 AM, James Sentman wrote: > > My second issue is a bit stranger ;) If the parent app crashes, or needs to > be force quit, the shell processes that have sockets open never close them. > The remote devices they are connected to never realize they

[MBS] ShellMBS questions.

2020-11-18 Thread James Sentman
is launched by launchd so it happily restarts where it left off when it happens, but using ShellMBS almost nothing works after it does so. Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com

[MBS] can the LinuxHTMLViewer extensions be brought to the Pi?

2019-07-06 Thread James Sentman
! The title changed event seems to work on the Pi so I’m going to go see if I can make that send JSON data but I suspect it’s going to choke on things and I’ll need to escape and encode and otherwise make stuff conditional. Thanks, James James Sentman http

Re: [MBS] trouble with NSEventMonitorMBS on 64bit compile

2018-12-10 Thread James Sentman
, James > On Dec 9, 2018, at 4:15 PM, James Sentman wrote: > > I am wanting to trap the event when you let go of the magic mouse after > scrolling or after you take your fingers off the trackpad from doing a two > fingered scroll. In the demo app of the NSEventMonitorMBS class it wor

[MBS] trouble with NSEventMonitorMBS on 64bit compile

2018-12-09 Thread James Sentman
then it something other than what I'm doing ;) Any suggestions are welcome! Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ Mbsplugins_monkeybreadsoftware.info mailing list

Re: [MBS] Since 18.4pr1: There is more than one item with this name

2018-08-09 Thread James Sentman
wrong as the previous ones we’re used to. > On Aug 7, 2018, at 3:23 PM, don wrote: > > but just a comment: > In the last few releases of Xojo, That message seems to be default > message for a large number of syntax errors. Thanks, James James Sentman

Re: [MBS] SSH2Session.OpenDirectTCPIPChannel and binary data?

2018-06-09 Thread James Sentman
get that > > Maybe for those examples, make me a sample project to check them. > > Please be aware that you can't forward a MySQL connection or similar, as for > that I would need a preemptive thread accepting connection and forwarding > data and we don't have th

[MBS] SSH2Session.OpenDirectTCPIPChannel and binary data?

2018-06-08 Thread James Sentman
really going to be useful! Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info

Re: [MBS] Serial Port on Mac OS X 10.10+

2018-04-15 Thread James Sentman
show up until you restarted or if you moved them to a different port. So there is still some voodoo to do in there. There is nothing specific in the OS versions that would disable all serial ports on purpose, but it might have refused to load an older or not signed driver for them. -James

Re: [MBS] WebSocketHelper?

2018-03-12 Thread james
arrg sorry, this should read that WebSocketHelperMBS seems to work. The newer class referenced in the docs webSocketMBS is what I cannot find anywhere else but the message saying the other is deprecated. > On Mar 12, 2018, at 3:36 PM, James Sentman <ja...@sentman.com> wrote: > &g

[MBS] WebSocketHelper?

2018-03-12 Thread James Sentman
implement it myself? Or is it safe to use the deprecated module for the time being? Thanks! James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ Mbsplugins_monkeybreadsoftware.info

Re: [MBS] VLC plugins leaking memory?

2017-12-11 Thread james
. Sorry for the false alarm! James > On Dec 10, 2017, at 10:37 AM, James Sentman <ja...@sentman.com> wrote: > > I’ll post again if I can’t duplicate this lack of leak. It is weird that I > can’t seem to connect instruments to it without crashing it though. That > wo

Re: [MBS] VLC plugins leaking memory?

2017-12-10 Thread James Sentman
seem to connect instruments to it without crashing it though. That would have been helpful in figuring this out. Thanks Christian! James > On Dec 8, 2017, at 2:54 PM, Christian Schmitz > <supp...@monkeybreadsoftware.de> wrote: > > Well, I tried normal playback. > >

[MBS] VLC plugins leaking memory?

2017-12-08 Thread James Sentman
would be greatly appreciated. Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https:/

Re: [MBS] how to use NSCustomToolbarItemMBS.menuFormRepresentation?

2017-04-07 Thread james
, but this is a workAround for the moment. > On Apr 7, 2017, at 12:12 PM, James Sentman <ja...@sentman.com> wrote: > > I attempted to create an NSMenuItemMBS subclass and assign that to the > menuFormRepresentation property of the toolitem and that works as far as >

[MBS] how to use NSCustomToolbarItemMBS.menuFormRepresentation?

2017-04-07 Thread James Sentman
it’s title, but the event still doesn’t filter down to the new class. The Action event of the NSMenuItemMBS subclass is never called. is it just a problem with my understanding of how to catch those events? Thanks, James James Sentman http://www.PlanetaryGear.org

Re: [MBS] problem setting NSTextViewMBS.usesFindPanel

2016-09-28 Thread james
. But if I close the find window and then re-open it I do eventually get this error. Of course, it’s difficult to reproduce so I might just not have hit it in the couple of dozen times I just did it for testing. > On Sep 28, 2016, at 9:29 AM, James Sentman <ja...@sentman.com&

[MBS] problem setting NSTextViewMBS.usesFindPanel

2016-09-28 Thread James Sentman
. Is there some way I can check to make sure the field is ready to open this? Or is this a bug somewhere else? I am out of ideas for how to make sure it’s ready or valid or whatever I need to do to get it to work reliably. Any suggestions welcome! Thanks, James James Sentman http

[MBS] NSImageMBS.imageNamed now returning image with mask and not alpha?

2016-05-24 Thread James Sentman
it to .copyPictureWithMask and that works. Is that OK that I am using withMask now? Why is it returning a different kind of image? Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com

Re: [MBS] NSAffineTransformMBS in console apps?

2016-05-03 Thread James Sentman
myFlipFilter.outputImage dim n as CGImageMBS = out.CreateCGImage dim t as string = n.JPEGData f = SpecialFolder.Desktop.Child("output.jpeg") dim b as BinaryStream = BinaryStream.Create(f, true) b.Write t you can send negative numbers to any of the other constructor v

[MBS] NSAffineTransformMBS in console apps?

2016-05-02 Thread James Sentman
created, but if I add in the flip transform above then this returns nil. Any suggestions welcome ;) Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com

Re: [MBS] FileMappingViewMBS

2016-05-02 Thread James Sentman
de> wrote: > >>> Did you use 4/64 KB aligned offset or some other value? >> >> I did not… I will experiment with that thank you. > > > for me, it works with 4096 as offset. > Thanks, James James Sentman http://www.PlanetaryGear.

Re: [MBS] FileMappingViewMBS

2016-04-23 Thread James Sentman
ther experiments and re-read apple’s docs again to see if I can catch what I’m doing wrong. Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ Mbsplugins_monkeybreadso

[MBS] FileMappingViewMBS

2016-04-21 Thread James Sentman
you like, but if it’s just a shared memory space then the mapping fails if it’s anything other than 0. Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com

Re: [MBS] possible memory leak in CCImage.renderImage

2016-04-14 Thread James Sentman
ote: > > So you have a loop we can run to produce e.g. one MB of leak on a button > press? Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ Mbsplugins_mon

[MBS] possible memory leak in CCImage.renderImage

2016-04-14 Thread James Sentman
it does just crash if I double free it ;) Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins

[MBS] help adding chapters to a QTKitMovieMBS

2016-04-01 Thread James Sentman
ing output for those it looks right. all zeros but with 2 seconds and / 600. Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ Mbsplugins_monkeybreadso

[MBS] NSAppleEventHandlerMBS stops receiving events?

2016-03-20 Thread James Sentman
to the myDelayHandler as NSAppleEventManagerMBS that I create above too? The example program doesn’t do that with the GURL handler and it keeps working, I can’t see what I’m doing differently. Thanks, James James Sentman http://www.PlanetaryGear.org http

[MBS] missing NSAppleEventDescriptorMBS.descriptorWithCurrentProcessSerialNumber?

2016-01-04 Thread James Sentman
the NSAppleEventDescriptorMBS.descriptorWithCurrentProcessSerialNumber to compile. It says it doesn’t exist? It’s still in the documentation ;) Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com

Re: [MBS] missing NSAppleEventDescriptorMBS.descriptorWithCurrentProcessSerialNumber?

2016-01-04 Thread James Sentman
Ah :) Thank you, downloading now. > On Jan 4, 2016, at 10:00 AM, Christian Schmitz > <supp...@monkeybreadsoftware.de> wrote: > > maybe you load 16.0pr5 plugin to get it? Thanks, James James Sentman http://www.PlanetaryGear.org

Re: [MBS] Dropping PPC, OS X 10.4 and/or rbx plugins?

2015-12-30 Thread James Sentman
target > and for Cocoa 10.5. Using 10.6 for all of those could simplify coding. Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ Mbsplugins_monkeybreadsoftware.in

[MBS] can I create an NSAppleEventDescriptorMBS from an existing descriptor?

2015-12-28 Thread James Sentman
aedesc leaks since I assume they properly kill the desc when they go out of scope otherwise you have to keep track of them manually which is problematic ;) Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com

Re: [MBS] can I create an NSAppleEventDescriptorMBS from an existing descriptor?

2015-12-28 Thread James Sentman
an aedesc? > > it's just a wrapper. > Data is copied for reference counting correctly. Thanks, James James Sentman http://www.PlanetaryGear.org http://MacHomeAutomation.com ___ Mbsplugins_monkeybreadsoft

[MBS] what unit is the time for CallMethodLaterMBS?

2015-12-05 Thread James Sentman
, James James Sentman http://sentman.com http://MacHomeAutomation.com ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info https://ml01.ispgateway.de/mailman/listinfo

[MBS] exchangeFilesMBS return codes?

2015-10-20 Thread James Sentman
the return code is not 0. Is this a system file error return code? Where should I go to look up what that means? Thanks, James James Sentman http://sentman.com http://MacHomeAutomation.com

[MBS] doing simple HTML layout under linux?

2015-10-17 Thread James Sentman
there is a similar method of doing something for Linux. Obviously the OSX specific functions won’t work, but is there any way to do something similar for linux apart from changing the label into an entire HTML viewer? Thanks, James James Sentman http://sentman.com http

Re: [MBS] chart director problem with line width.

2015-10-16 Thread james
it seems that any even number line width causes the bad calculation of offsets. > On Oct 16, 2015, at 1:56 PM, James Sentman <ja...@sentman.com> wrote: > > why is that? Is there anyway I can get a 2 pixel line width and have those > line up? Thanks, Jam

Re: [MBS] chart director problem with line width.

2015-10-16 Thread James Sentman
e > algorithm decides to put the extra pixel on the left of the line and your > lines start from opposite directions, then they won’t line up….. > > does this make sense? Thanks, James James Sentman http:/

[MBS] chart director problem with line width.

2015-10-16 Thread James Sentman
. If I try to fill it I get these little gaps in the corners of the fill: http://sentman.com/files/cd/cdfillerror.png those go away if I turn antialiasing off for shapes in the root graph object. Any suggestions welcome before I wander off to a ChartDirector support board. Thanks, James James

[MBS] ChartDirector needs to have destructor called manually?

2015-08-19 Thread James Sentman
appropriate way of freeing these objects I should be calling? The problem is evident in the latest PR release of 152 and also in 151. Thanks, James James Sentman http://sentman.com http://MacHomeAutomation.com

[MBS] any interest in an OSAKit object so we can use Javascript as well as AppleScript?

2015-07-26 Thread James Sentman
header files are commented like code I might have written in my very first job (not at all) but it would be worth some experimentation to support the new javascript scripting capability. Thanks, James James Sentman http://sentman.com http

Re: [MBS] is it possible to do filled stepped line in chart director?

2015-04-14 Thread James Sentman
a step line layer and a mark line at negative infinitely (which means just fill to the bottom of the plot area) Call c.addInterLineLayer(myLayer.getLine(), c.yAxis().addMark(-, cd.kTransparent).getLine(), H7fff) Thanks, James James Sentman http

[MBS] is it possible to do filled stepped line in chart director?

2015-04-12 Thread James Sentman
layer. I can almost wrap my head around adding a line fill below the steplinelayer, but I can't make it happen in an actual graph. Any advice or suggestions greatly appreciated, thank you! Thanks, James James Sentman http://sentman.com http

Re: [MBS] NSAppleEventManager Implementation

2012-10-17 Thread James Sentman
to use it just yet, but eventually it's inevitable. Thanks, James James Sentman http://sentman.com http://MacHomeAutomation.com ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins

[MBS] possibly some debugging output?

2012-09-15 Thread James Sentman
, but if this is coming from the plugin then you should be able to just remove it ;) Or it may be coming from the lower level jpeg library, or it may be in the RB runtime somewhere else completely I can't be sure yet... Thanks, James James Sentman http://sentman.com http

Re: [MBS] quicktime URL movies load at wrong size.

2012-08-16 Thread James Sentman
to 640x480 which means it is really connecting to the stream, I just can't get an image out of it. Thanks, James James Sentman http://sentman.com http://MacHomeAutomation.com

Re: [MBS] quicktime URL movies load at wrong size.

2012-08-16 Thread James Sentman
On Aug 16, 2012, at 9:19 AM, Christian Schmitz supp...@monkeybreadsoftware.de wrote: On 16.08.2012, at 13:55, James Sentman ja...@sentman.com wrote: and that appears to connect OK at least it asks me for the RTSP password to the stream and does not return an error. However

Re: [MBS] quicktime URL movies load at wrong size.

2012-08-16 Thread James Sentman
On Aug 16, 2012, at 11:08 AM, James Sentman ja...@sentman.com wrote: Going to take a short break from hammering on this for sanity sake ;) Perhaps read up on the underling quicktime documentation, though i've paged through this part of it before without having any ah ha moments. Ah ha

[MBS] quicktime URL movies load at wrong size.

2012-08-15 Thread James Sentman
player object or capture system or anything. I just create the movie object, load it via the OpenURLMovieMBS method and then call playMBS. Then periodically i call DrawMovieMBS to get the current frame out of it. What am I missing to get the size correct? Thanks, James James Sentman

Re: [MBS] quicktime URL movies load at wrong size.

2012-08-15 Thread James Sentman
. If I manually change the size via the movieHeightMBS methods then it does change the size of the entire movie, but the content stays as a postage stamp in one corner ;) Thanks, James James Sentman http://sentman.com http://MacHomeAutomation.com

Re: [MBS] quicktime URL movies load at wrong size.

2012-08-15 Thread James Sentman
On Aug 15, 2012, at 1:50 PM, James Sentman ja...@sentman.com wrote: Maybe you use the functions which take width/height? I tested with the built in RB openURLMovie and the movie returned from that method has the correct size but wont do anything unless I assign it to a movie player

Re: [MBS] quicktime URL movies load at wrong size.

2012-08-15 Thread James Sentman
On Aug 15, 2012, at 5:20 PM, James Sentman ja...@sentman.com wrote: Is there a way I can wake it up to the fact that the movie has changed size? Just changing the size doesn't do anything, it just puts the postage stamp in the corner of a large white field. Looks like we need to trap