[MBS] DREraseMBS examples?

2020-06-14 Thread Arnaud Nicolet
Hello, I'd like to convert the following shell command to Xojo (MBS) format: diskutil secureErase 0 /dev/rdisk5 I'm considering trying the DREraseMBS object for this, like that: de=new DREraseMBS(Device) de.eraseType=de.DREraseTypeComplete de.start (where “de” is a property) However, this

Re: [MBS] registerMBSPlugin not Found

2012-10-02 Thread Arnaud Nicolet
Le 2 oct. 2012 à 17:08, Christian Schmitz a écrit: PS: Questions about registration better directly to me and not the list. Well, in that case, I think nothing is really linked to any registration details; a method that doesn't exist because the corresponding plugin file isn't there is

Re: [MBS] registerMBSPlugin not Found

2012-10-02 Thread Arnaud Nicolet
Le 2 oct. 2012 à 22:02, Christian Schmitz a écrit: Right. But in general I ask people to ask registration questions off list. It's simply too easy to post a valid serial number to the list. Yes, I get your point. On the other hand, I'm still happy to have seen the question posted earlier, so

[MBS] Picture.ChangeBrightnessLinearMBS question

2012-09-24 Thread Arnaud Nicolet
Greetings, Checking the documentation, I see the function Picture.ChangeBrightnessLinearMBS which is perhaps what I'm looking for. However, the parameter (30 in the example) is not explained; is it a percentage or an absolute value (and absolute to what)? And the function is “linear” to what?

Re: [MBS] Website Forum Instead of this Newsletter?

2012-09-24 Thread Arnaud Nicolet
Nope. Email delivered to my Inbox and sorted into an appropriate folder is far superior for this aged retard :) Totally agreed, a mailing list in a proper email client allows searching MY WAY and I can delete sucky posts and manage things myself. Forums on a website are only available

Re: [MBS] AuthorzationMBS question

2012-09-23 Thread Arnaud Nicolet
Le 23 sept. 2012 à 19:33, Garth Hjelte a écrit: If it's to the app file itself, do I just do a chmod 777 myapp.app to it, either the user does it himself or I run a script from PackageMaker (yes, I use Packagemaker). You could set the “sticky” byte of the app's permissions and define the

Re: [MBS] “Autoreleased with no pool” messages

2012-09-23 Thread Arnaud Nicolet
Le 23 sept. 2012 à 21:10, Christian Schmitz a écrit: Yes, but how much? Check activity monitor. Indeed. I don't use that tool as full as I should. Thank you. ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info

[MBS] “Autoreleased with no pool” messages

2012-09-22 Thread Arnaud Nicolet
Greetings, I've been getting the messages quoted below in the Console. I'm guessing it comes from some methods in the plugin (MBS). Is it safe to ignore? 22.09.12 13:13:29 Msgs40.debug[3189] *** __NSAutoreleaseNoPool(): Object 0x17212420 of class NSCFString autoreleased with no pool

Re: [MBS] Which plugins are available for download (in the future)?

2012-09-07 Thread Arnaud Nicolet
Le 7 sept. 2012 à 20:23 Soir, Christian Schmitz a écrit: I have them all here and they are available on request. Nice, thanks. So you can decide which to delete. Maybe you delete those which do not work with your favorite Real Studio version? It would be ideal, but there are times where I

Re: [MBS] Reverse Movie?

2012-08-03 Thread Arnaud Nicolet
Le 3 août 2012 à 16:07 Soir, Jon Daggett a écrit: Does anyone know if there is a MBS or REAL routine to reverse a movie? I think you will have to extract all frames and join them together in other order. That's what I thought, but was hoping maybe there was an easier way. :) It's not

Re: [MBS] [ANN] 12.3pr16

2012-08-02 Thread Arnaud Nicolet
Le 2 août 2012 à 10:37 Matin, Christian Schmitz a écrit: On 02.08.2012, at 00:35, Arnaud Nicolet anic...@mac.com wrote: Le 1 août 2012 à 23:59 Soir, Christian Schmitz a écrit: * Added NSLogMBS to write messages to Console.app on Mac OS X 10.8. I'm curious, as often; what has changed

Re: [MBS] [ANN] 12.3pr16

2012-08-01 Thread Arnaud Nicolet
Le 1 août 2012 à 23:59 Soir, Christian Schmitz a écrit: * Added NSLogMBS to write messages to Console.app on Mac OS X 10.8. I'm curious, as often; what has changed in 10.8 to trigger this addition of NSLogMBS in the plugin? ___

[MBS] NSMenuItem with function keys

2012-07-31 Thread Arnaud Nicolet
Greetings, The keyboard equivalent of one of my NSMenuItems is Command-F6. The menu item is shown in a StatusItem. However, I can't seem to define the shortcut so it appears in the menu item. This works: NSLMShowMainWindow.CreateMenuItem(CstStrShowManagerWindow,6)

Re: [MBS] NSMenuItem with function keys

2012-07-31 Thread Arnaud Nicolet
Le 31 juil. 2012 à 13:37 Soir, Christian Schmitz a écrit: Am 31.07.2012 um 13:15 schrieb Arnaud Nicolet anic...@mac.com: NSLMShowMainWindow.CreateMenuItem(CstStrShowManagerWindow,F6) NSLMShowMainWindow.keyEquivalentModifierMask=1048576 Well, for the keyEquivalentModifierMask, you may need

Re: [MBS] NSMenuItem with function keys

2012-07-31 Thread Arnaud Nicolet
Le 31 juil. 2012 à 16:37 Soir, Arnaud Nicolet a écrit: If I just use the NSFunctionKeyMask, I guess it's the fn key, not F1-F16. Ok, I recognize I'm wrong on this one, as the documentation tells me. ___ Mbsplugins_monkeybreadsoftware.info mailing list

Re: [MBS] NSMenuItem with function keys

2012-07-31 Thread Arnaud Nicolet
Le 31 juil. 2012 à 17:16 Soir, Christian Schmitz a écrit: I tried myself: a.keyEquivalent = encodings.UTF8.Chr(NSEventMBS.NSF6FunctionKey) a.keyEquivalentModifierMask = NSEventMBS.NSCommandKeyMask this works for me and shows command F6 in the menu and menu item action is executed when

Re: [MBS] Dropbox for plugin distribution?

2012-07-25 Thread Arnaud Nicolet
Le 25 juil. 2012 à 18:32 Soir, Christian Schmitz a écrit: Some people already subscribed. Someone else interested? It's a nice convenience to get plugins right on your disk without going to website. Greetings, Where's the subscribe link? ___

Re: [MBS] Dropbox for plugin distribution?

2012-07-25 Thread Arnaud Nicolet
Le 25 juil. 2012 à 20:25 Soir, Christian Schmitz a écrit: Am 25.07.2012 um 19:32 schrieb Arnaud Nicolet: Greetings, Where's the subscribe link? It's by invitation, so email me with your dropbox account email address. Thanks! I'm going to make an account and will send you the address

Re: [MBS] QTPictureMovieTrackMBS.AddPicture is slow. Something doable against this fact?

2012-07-18 Thread Arnaud Nicolet
Le 17 juil. 2012 à 04:20 Matin, David Vogt a écrit: It does not by itself do any sharpening. There are many switches available to the user for the various H.264 attributes you may want, and one of them, I think, is sharpening. If you look on SourceForge for the documentation for x264 you

Re: [MBS] QTPictureMovieTrackMBS.AddPicture is slow. Something doable against this fact?

2012-07-16 Thread Arnaud Nicolet
Le 16 juil. 2012 à 18:27 Soir, Christian Schmitz a écrit: Well, you could run sample command to find our what needs so much time. Ok, I will. However, while I often sample processes to see what they do, I've never thought it could be used to see time consumption. Second you could try newer

Re: [MBS] QTPictureMovieTrackMBS.AddPicture is slow. Something doable against this fact?

2012-07-16 Thread Arnaud Nicolet
Le 16 juil. 2012 à 19:52 Soir, Christian Schmitz a écrit: Maybe it's faster with animation codec? PNG requires some processing time... Hmm… I've taken a long time trying to figure out which codec to use. Indeed, I wasn't sure of my results (comparing two same pictures saved using a different

Re: [MBS] QTPictureMovieTrackMBS.AddPicture is slow. Something doable against this fact?

2012-07-16 Thread Arnaud Nicolet
Le 16 juil. 2012 à 20:11 Soir, Christian Schmitz a écrit: If there is a codec like Apple Intermediate which takes less time to compress and not huge file size, you may want to switch. Except, for instance, H261 codec, which produces close-to-garbage quality. Well, I don't want to spend

Re: [MBS] QTPictureMovieTrackMBS.AddPicture is slow. Something doable against this fact?

2012-07-16 Thread Arnaud Nicolet
Le 16 juil. 2012 à 22:29 Soir, David Vogt a écrit: Gents, I haven't experimented programmatically with codecs, but have been in active video production for many years. Without doubt the delivery codec that has the best picture per GB is the H.264. It is processor intensive, both

Re: [MBS] PicHandleDataMBS can be converted back to a picture with which call?

2012-07-06 Thread Arnaud Nicolet
Le 7 juil. 2012 à 01:10 Matin, Christian Schmitz a écrit: I bet some mess with text encoding. (like converting image data string from MacRoman to UTF-8 destroys it) I've taken care of this. When I send and receive the picture, I'm in a mode where I don't change anything about encodings. My

Re: [MBS] Glue problems

2012-07-04 Thread Arnaud Nicolet
Le 4 juil. 2012 à 19:09 Soir, Beatrix Willius a écrit: As far as I understand the bug report I use too many plugins. It's not the number of plugins in the plugin folder, but the number of plugins used and their methods. I'm at 19 at the moment. With 12.2 I had to add the MBS Real Studio

Re: [MBS] Glue problems

2012-07-04 Thread Arnaud Nicolet
Le 4 juil. 2012 à 19:57 Soir, Beatrix Willius a écrit: Am 04.07.2012 um 19:18 schrieb Arnaud Nicolet: That's weird, I've 54 plugins (only the MBS plugin). Perhaps it's just about the number of plugins compiled in the application, but then I wonder how you figured you had 19 of them

Re: [MBS] Does the plugin have functions for dealing with NSBitmapImageRep?

2012-06-19 Thread Arnaud Nicolet
Le 19 juin 2012 à 10:11 Matin, Christian Schmitz a écrit: Well, this function does nothing currently for Cocoa. I'll fix that. Nice, thank you very much! ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info

[MBS] Plugins incompatible in 12r4?

2012-06-12 Thread Arnaud Nicolet
Greetings, So I just downloaded the last version of the plugin (12r4) and try to compile on my PPC G4 (10.4). I get 23 runtime error messages (“Can't find plugin method CGContextMBS.DrawLayerInRect”, for example), where I choose “Continue” to test my app and then I get this message: “This MBS

Re: [MBS] Plugins incompatible in 12r4?

2012-06-12 Thread Arnaud Nicolet
Le 12 juin 2012 à 15:52 Soir, Christian Schmitz a écrit: Maybe you simply wait for 12.4pr5. I'll do that (hoping it resolves the problem). (or go back to 12.0?) I've thought of that, but since I experience another problem (about the GUI, the other problem I told you), I wanted to “stay

Re: [MBS] NSMenu available for PPC?

2012-06-11 Thread Arnaud Nicolet
Le 11 juin 2012 à 13:03 Soir, Christian Schmitz a écrit: removeAllItems requires Mac OS X 10.6. So if app should run on older systems, please use a different way to clear items. Thanks. The documentation says this, so I should have checked (but I didn't expected that particular method to

[MBS] Crash with a NSMenuMBS

2012-06-11 Thread Arnaud Nicolet
Greetings, I experienced some weird crashes in my app and decided to track them down. Basically, any related UI action would crash the app (with no log from CrashReporter), including clicking the menu bar and showing windows. It turns out my problem is related to a NSMenuMBS object, and is

Re: [MBS] MenuMBS.showsStateColumn means what?

2012-05-27 Thread Arnaud Nicolet
Le 27 mai 2012 à 01:56 Matin, Christian Schmitz a écrit: Tests with our status item example shows that if you set MenuMBS.showsStateColumn to false, the left space on the menu items is not available to show checkmarks or diamonds. Ok, so this space is called a state column (which makes

[MBS] MenuMBS.showsStateColumn means what?

2012-05-26 Thread Arnaud Nicolet
Greetings, In many places in the documentation, the explanation doesn't inform more than the property name, when one doesn't know what it does. An example is in MenuMBS.showsStateColumn. I don't know what is a “state column”, so I went in the documentation: Function: Returns a Boolean value

Re: [MBS] QTKitMovieMBS.addImage crashes with many images

2012-04-29 Thread Arnaud Nicolet
Le 29 avr. 2012 à 14:44 Soir, Christian Schmitz a écrit: Am 29.04.2012 um 07:43 schrieb Pencil Software: It seems that QTKitMovieMBS.addImage crashes with some measure of images. Seems like we have a memory leak there and images are not released properly. So once memory is full, the app

Re: [MBS] QTKitMovieMBS.addImage crashes with many images

2012-04-29 Thread Arnaud Nicolet
Le 29 avr. 2012 à 15:13 Soir, Christian Schmitz a écrit: Am 29.04.2012 um 15:12 schrieb Arnaud Nicolet: I thought once the memory is full, the OS uses virtual memory instead. Why does the app crash then? A 32 bit app crashes once the virtual address space of 4 GB per app is full

[MBS] WindowsShortcutMBS asks for resolving the file on creation?

2012-04-07 Thread Arnaud Nicolet
Greetings, I have this code: w=new WindowsShortCutMBS w.Command=0 w.Location=h.Child(d.Name+.lnk).AbsolutePath w.Target=d.Child(s).AbsolutePath w.WorkingDirectory=Volume(0).AbsolutePath if not w.CreateShortCut then ShowError The shortcut for the service of the application couldn't be created.

Re: [MBS] WindowsShortcutMBS asks for resolving the file on creation?

2012-04-07 Thread Arnaud Nicolet
Le 7 avr. 2012 à 20:12 Soir, Christian Schmitz a écrit: Check the difference between TrueChild and Child. Hmm… I already know about the difference between TrueChild and Child, but this is for resolving an alias, not for creating one, right? ___

Re: [MBS] WindowsShortcutMBS asks for resolving the file on creation?

2012-04-07 Thread Arnaud Nicolet
Le 7 avr. 2012 à 20:23 Soir, Christian Schmitz a écrit: You need to use TrueChild here to avoid the path being resolved while you create it. You're so right. Should have been obvious. The example in the documentation needs an update then. Thank you!

[MBS] QTPictureMovieTrackMBS and quality

2012-03-28 Thread Arnaud Nicolet
Greetings! I'm using the QTPictureMovieTrackMBS to save pictures in a movie. However, the ideal format is hard to find. With more details, the JPEG format, which I used until I discovered the problem, loses a bit of quality (this is really bad, sometimes). The “raw” and “TIFF” formats produce

Re: [MBS] QTPictureMovieTrackMBS and quality

2012-03-28 Thread Arnaud Nicolet
Le 28 mars 2012 à 17:30 Soir, Christian Schmitz a écrit: Well, QT Components example project shows various image codecs. But on the end I think the problem may be that each image may be compressed on its own. In that case you can only use some low compression codec. The idea is to add

Re: [MBS] QTPictureMovieTrackMBS and quality

2012-03-28 Thread Arnaud Nicolet
Le 28 mars 2012 à 22:49 Soir, Christian Schmitz a écrit: QTPictureMovieTrackMBS has a quality property. 1024 is the maximum value. http://www.monkeybreadsoftware.net/quicktime-qtpicturemovietrackmbs-property.shtml#8 Oh, you're right! Overlooked this. Thanks!

[MBS] PortAudio question

2012-03-22 Thread Arnaud Nicolet
Greetings, I'm currently viewing the PortAudio example project, in the Playback window (this is almost what I need). This example records 10 seconds of audio and can play them back later. What I want is record continuously and play as long as there's data (both record and play at the same

Re: [MBS] PortAudio question

2012-03-22 Thread Arnaud Nicolet
Le 22 mars 2012 à 18:19 Soir, Christian Schmitz a écrit: A ring is endless in length, but has limited dimensions :-) Assuming one knows about the concept of ring in programming ;-) PortAudioStreamRecorderMBS uses a ring buffer, so use it and read from time to time what's new in the buffer.

[MBS] StatusItem with icon and transparency issue

2012-03-02 Thread Arnaud Nicolet
Greetings! I've a StatusItem showing in my menu bar with a custom icon (mostly horizontal lines). I set the transparency of the picture so there's no white background (especially over a translucent menubar). However, the menu only shows when I click on a non-transparent pixel (while, for other

Re: [MBS] StatusItem with icon and transparency issue

2012-03-02 Thread Arnaud Nicolet
Le 2 mars 2012 à 16:46 Soir, Tim Jones a écrit: That's a Carbon limitation. Christian has added a hack for it in his videos on StatusItem, but it's still not perfect. To get around this in BRU Server's Agent, I just made the icon bigger with no transparent area. The only real solution

Re: [MBS] MacFileOperationMBS not reporting errors

2012-02-09 Thread Arnaud Nicolet
Le 9 févr. 2012 à 14:22 Soir, Christian Schmitz a écrit: What did you use exactly? This class can be used in several modes. Yes, you're right, sorry. This is the call: Property CopyObject As CMFO1 'CMFO1 is a subclass of MacFileOperationMBS CopyObject=new CMFO1 CopyObject.MW1=self 'References

Re: [MBS] MacFileOperationMBS not reporting errors

2012-02-09 Thread Arnaud Nicolet
Le 9 févr. 2012 à 16:19 Soir, Christian Schmitz a écrit: I could damage one :-) Sure ;-) Ok, I'm going to translate my project and will send it to you. ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info

Re: [MBS] Querying for state of USB devices

2012-02-06 Thread Arnaud Nicolet
Le 6 févr. 2012 à 12:16 Soir, Christian Schmitz a écrit: Not sure how this Sprite surface works, but it should somewhere give CPU time to other parts of app. e.g. call DoEvents or WaitNextEvent. Yes. Like I said, if I run the Sprite Surface synchronously it doesn't work at all (since there

Re: [MBS] Querying for state of USB devices

2012-02-06 Thread Arnaud Nicolet
Le 6 févr. 2012 à 12:59 Soir, Christian Schmitz a écrit: Can't you simply ask them to call DoEvents in synchronously mode? Well, I could add that myself (they are not encrypted classes). On the other hand, I'm now trying to make my own SpriteSurface, because the ones I downloaded don't fit my

Re: [MBS] Querying for state of USB devices

2012-02-06 Thread Arnaud Nicolet
Le 6 févr. 2012 à 18:28 Soir, Tim Jones a écrit: Actually, simply adding App.DoEvents(15) in the code at loop points will provide an amazing improvement. I used to do all of my Shell work in threads, but I've now found that: theShell.Mode = 2 theShell.Execute theCommand

[MBS] Querying for state of USB devices

2012-02-05 Thread Arnaud Nicolet
Greetings! I want to access an USB device in my application (a pad with 8 buttons). My app also uses a kind of SpriteSurface so it uses a lot of CPU. Alone, the USB device works well in my app, using the MacHIDMBS class, but when used with the SpriteSurface (threaded, else it would fail

Re: [MBS] Window.HasToolbarButtonMBS broken

2012-01-26 Thread Arnaud Nicolet
Le 26 janv. 2012 à 10:08 Matin, Christian Schmitz a écrit: Am 25.01.2012 um 23:47 schrieb Arnaud Nicolet: And this is said in the interface guidelines also. What I find hard is knowing what guidelines are for which OS version. In this case, the guidelines say there should be a File, Edit

Re: [MBS] Window.HasToolbarButtonMBS broken

2012-01-25 Thread Arnaud Nicolet
Le 25 janv. 2012 à 14:13 Soir, Christian Schmitz a écrit: Am 25.01.2012 um 12:43 schrieb Arnaud Nicolet: Greetings, For me, Window.HasToolbarButtonMBS does nothing now (running Lion). Broken or unsupported? The plugin sets the flags. What the OS does with them, it's up to Apple. Yes

Re: [MBS] [ANN] Now offering bundles with Real Studio and MBS Plugin licenses

2012-01-24 Thread Arnaud Nicolet
Le 24 janv. 2012 à 17:11 Soir, Christian Schmitz a écrit: We have been reselling a few Real Studio licenses over the years. And we think we should offer you that service in the future with attractive bundles. So if you need a plugin licenses and Real Studio licenses, you can now order them

Re: [MBS] NSSavePanelMBS beginSheetForDirectory modal equivalent?

2012-01-23 Thread Arnaud Nicolet
Le 22 janv. 2012 à 11:08 Matin, Christian Schmitz a écrit: Maybe simply do a loop and wait? do delayMBS 0.1 loop until done or something like that. Le 22 janv. 2012 à 20:46 Soir, Tim Jones a écrit: Since I use the quite regularly in a do this function and wait situations, I'll

[MBS] NSSavePanelMBS beginSheetForDirectory modal equivalent?

2012-01-21 Thread Arnaud Nicolet
Greetings! The current use of beginSheetForDirectory is to show the dialog and continue the code (i.e. it's not modal). For implementing a Save method, it makes things hard to code (we need to “suspend” the current method (could be FileSave or CancelClose), wait for the dialog to close, and

[MBS] AskSaveChangesDialog as a sheet?

2012-01-17 Thread Arnaud Nicolet
Greetings, I'm looking for a way to show some navigation dialogs as sheets. This is particularly necessary for the AskSaveChangesDialog, which usually targets one window at once. I'm not seing such a parameter in the plugin. Is that currently doable using it?

Re: [MBS] AskSaveChangesDialog as a sheet?

2012-01-17 Thread Arnaud Nicolet
Le 17 janv. 2012 à 22:50 Soir, Christian Schmitz a écrit: Am 17.01.2012 um 22:35 schrieb Arnaud Nicolet: Greetings, I'm looking for a way to show some navigation dialogs as sheets. This is particularly necessary for the AskSaveChangesDialog, which usually targets one window at once

Re: [MBS] AddCustomIconMBS returning error code -600

2012-01-01 Thread Arnaud Nicolet
Le 1 janv. 2012 à 00:15 Matin, Christian Schmitz a écrit: Am 31.12.2011 um 17:04 schrieb Arnaud Nicolet: I've searched at multiple places, but I haven't found a suitable answer. When I try to add a picture as the icon of a FolderItem, I get a -600 error code. That's weird because -600

Re: [MBS] AddCustomIconMBS returning error code -600

2012-01-01 Thread Arnaud Nicolet
Le 1 janv. 2012 à 17:27 Soir, Christian Schmitz a écrit: Am 01.01.2012 um 17:14 schrieb Arnaud Nicolet: I'm not doing it on Cocoa currently (a complex project hardly runs fine there). Okay. But I updated it for Cocoa today. Nice as well. Thanks. I've discovered something further: I

[MBS] AddCustomIconMBS returning error code -600

2011-12-31 Thread Arnaud Nicolet
I've searched at multiple places, but I haven't found a suitable answer. When I try to add a picture as the icon of a FolderItem, I get a -600 error code. That's weird because -600 means the specified process couldn't be found so my best guest is Mac OS X 10.7 no longer has a service to set the

Re: [MBS] Transforming CFbinaryData into an alias or folderitem

2011-12-29 Thread Arnaud Nicolet
Le 29 déc. 2011 à 20:40 Soir, Louis a écrit: Any suggestion? Christian's answer didn't help you? ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info

Re: [MBS] Happy Christmas...

2011-12-25 Thread Arnaud Nicolet
Le 24 déc. 2011 à 23:21 Soir, Sergio Tamborini a écrit: ...To all! Thanks, and ditto! ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info

Re: [MBS] AuthorizationMBS fails with error code=0

2011-12-20 Thread Arnaud Nicolet
Le 19 déc. 2011 à 14:36 Soir, Arnaud Nicolet a écrit: However, I still can't make the copy to work. Finally, the code is working, as long as the constructed path is on the startup volume. The Authentication class seems to dislike paths from other volumes. Perhaps a bug? (P.S.: tested using

Re: [MBS] CoreAudioPlayerMBS not console safe?

2011-12-20 Thread Arnaud Nicolet
Le 20 déc. 2011 à 17:13 Soir, Christian Schmitz a écrit: Am 20.12.2011 um 14:05 schrieb Arnaud Nicolet: Greetings! I'm seeing the CoreAudioPlayerMBS class isn't consoleweb safe. Can this be changed? (I'd like to send streaming audio to my iPhone, using my web server on my Mac

Re: [MBS] AuthorizationMBS fails with error code=0

2011-12-19 Thread Arnaud Nicolet
Le 19 déc. 2011 à 09:30 Matin, Christian Schmitz a écrit: It drives me crazy, too, sometimes. I actually prefer to run AppleScript to run shell script. It took much time to figure out how to display the authentication dialog with the plugin, so I'm not sure I want to spend more time on this

Re: [MBS] AuthorizationMBS fails with error code=0

2011-12-19 Thread Arnaud Nicolet
Le 19 déc. 2011 à 09:30 Matin, Christian Schmitz a écrit: Why does this start with /Volumes/Macintosh HD/ and not directly with /Users? Ok, I've searched further. Without /volumes/Macintosh HD, it doesn't work either (I get the exact same behaviour). And, when I drop my file from the Finder

Re: [MBS] AuthorizationMBS fails with error code=0

2011-12-19 Thread Arnaud Nicolet
Le 19 déc. 2011 à 13:50 Soir, Arnaud Nicolet a écrit: Le 19 déc. 2011 à 09:30 Matin, Christian Schmitz a écrit: Why does this start with /Volumes/Macintosh HD/ and not directly with /Users? Ok, I've searched further. Without /volumes/Macintosh HD, it doesn't work either (I get

[MBS] AuthorizationMBS fails with error code=0

2011-12-18 Thread Arnaud Nicolet
Greetings! This problem is making me crazy! I'm using the AuthorizationMBS class to do various things (for a kind of installer). I try to copy one file located in the bundle of my app to /Library/Temp1 (a folder I made and is readable and writeable by everyone). So, the authentication object

Re: [MBS] IconMBS not working?

2011-11-16 Thread Arnaud Nicolet
Le 16 nov. 11 à 09:15, Christian Schmitz a écrit: Am 15.11.2011 um 23:26 schrieb Arnaud Nicolet: I also appreciate the example. Sub Paint(g As Graphics) dim i as new IconMBS(volume(0)) dim c as CGContextMBS if TargetCocoa then c = GetCurrentCGContextMBS else c

Re: [MBS] IconMBS not working?

2011-11-16 Thread Arnaud Nicolet
Le 16 nov. 11 à 09:16, Christian Schmitz a écrit: Am 16.11.2011 um 02:47 schrieb Arnaud Nicolet: Christian, I'm a bit confused about something. I'd like to draw the icon semi-transparently while it's being dragged in the window (in the MouseDrag event). With normal RB code, I'd first draw

[MBS] IconMBS not working?

2011-11-15 Thread Arnaud Nicolet
Greetings! I need to draw some folders in a given window, and one may possibly be drawn selected. I have this code in the paint event of a canvas (Folders is a property of array of type CFolder and CFolder is one custom class containing XPos and YPos as integer, the folderitem and the icon

Re: [MBS] IconMBS not working?

2011-11-15 Thread Arnaud Nicolet
Le 15 nov. 11 à 23:02, Christian Schmitz a écrit: Am 15.11.2011 um 19:05 schrieb Arnaud Nicolet: After tried different things, it appears IconMBS.DrawIcon works on Carbon but not on Cocoa. Is it known? Yes. And will be documented soon. Please use DrawIconCGContext and pass a CGContext

Re: [MBS] Problems with HTMLViewer and the IDE

2011-11-07 Thread Arnaud Nicolet
Le 6 nov. 11 à 09:16, Christian Schmitz a écrit: Am 05.11.2011 um 14:50 schrieb Arnaud Nicolet: Greetings, For the first time, I want to add a HTMLViewer in my application. However I try (using the tools palette or the contextual menu (Add)), RS says an unexpected error occurred

[MBS] Problems with HTMLViewer and the IDE

2011-11-05 Thread Arnaud Nicolet
Greetings, For the first time, I want to add a HTMLViewer in my application. However I try (using the tools palette or the contextual menu (Add)), RS says an unexpected error occurred (and whatever button I click just closes the dialog). I'm posting this in the MBS list because there's a

Re: [MBS] MP3 Tags

2011-11-03 Thread Arnaud Nicolet
Le 3 nov. 11 à 02:37, Richard Gorbutt a écrit: As promised, I've uploaded my MP3 tag reader class, hopefully it'll help. Feel free to change/tweak etc. I've uploaded it as a zip to http://www.2ngradio.com/MP3tag.zip main call is readtag(ftype as folderitem). It should work out the tag

Re: [MBS] moving from carbon to cocoa, use which plugin functions?

2011-11-03 Thread Arnaud Nicolet
Le 3 nov. 11 à 21:37, Aaron Andrew Hunt a écrit: Can anyone tell me which Cocoa MBS classes I need to use instead of these which I have been using? CarbonWindowsEventsMBS CarbonApplicationEventsMBS CarbonEventsTimerMBS It would of course be wonderful if there were just these imaginary

Re: [MBS] Re: moving from carbon to cocoa, use which plugin functions?

2011-11-03 Thread Arnaud Nicolet
Le 4 nov. 11 à 01:33, Aaron Andrew Hunt a écrit: On Nov 3, 2011, at 6:36 PM, mbsplugins-requ...@monkeybreadsoftware.info wrote: Have you actually tested whether the Carbon versions don't work in Cocoa? I thought it was only a name meaning the classes worked on Mac OS X, but was not

Re: [MBS] MP3 Tags

2011-10-31 Thread Arnaud Nicolet
Le 31 oct. 11 à 20:29, Christian Schmitz a écrit: Am 31.10.2011 um 19:59 schrieb Craig Boyd: Hello All, Is there a good way to get ALL the mp3 tag information in a generic way? I think we had discussions long ago about someone wanting us to write a plugin, but that ended nowhere.

Re: [MBS] Stopping an app launch by using

2011-10-31 Thread Arnaud Nicolet
Le 1 nov. 11 à 00:20, Louis a écrit: I'm just curious to know how bad it is to stop an app that's just been launched in its track, by using ProcessMBS.KillProcess Will the app just stop its launch process and shut itself down nicely? Or is there a risk of file corruption, other process

Re: [MBS] Console warnings

2011-09-19 Thread Arnaud Nicolet
Le 19 sept. 11 à 08:56, Beatrix Willius a écrit: That's a pity. Normally, I wouldn't care, but I had users before complaining about things they saw on the console. And I think that there is one console message per character! Your users complain about things they don't know about in the

[MBS] WindowGroup not available in Cocoa?

2011-09-19 Thread Arnaud Nicolet
Greetings, The documentation doesn't say anything about that, but WindowGroupMBS don't seem to do anything in Cocoa (the very same code works in Carbon). Tested in 11.3. Do you see the same? (Mac OS 10.5) ___ Mbsplugins_monkeybreadsoftware.info

Re: [MBS] InvalidateShadow question

2011-09-13 Thread Arnaud Nicolet
Le 13 sept. 11 à 16:27, Christian Schmitz a écrit: Am 13.09.2011 um 14:55 schrieb Arnaud Nicolet: So, my code (method 1) currently does this, according to the steps quoted above: DisableScreenUpdatesMBS (disable updates) Create the CGImage (draw) how do you draw? Here's the draw method

Re: [MBS] InvalidateShadow question

2011-09-13 Thread Arnaud Nicolet
Le 13 sept. 11 à 17:01, Christian Schmitz a écrit: Am 13.09.2011 um 16:40 schrieb Arnaud Nicolet: c.drawPicture pict, CGMakeRectMBS(0, 0, pict.width, pict.height) so after this method you can call c.flush. And maybe also self.InvalidateShadowMBS Ok, but then from my method 1

Re: [MBS] InvalidateShadow question

2011-09-13 Thread Arnaud Nicolet
Le 13 sept. 11 à 21:13, Christian Schmitz a écrit: seems like you need to call self.InvalidateShadowMBS in the paint event after flush. Indeed, that does the trick! Things aren't always trivial outside of pure RB code ;-) Thank you! ___

Re: [MBS] CGCreateImageMBS not available in Cocoa?

2011-08-23 Thread Arnaud Nicolet
Here's the crash log: Code Type: X86 (Native) Parent Process: launchd [264] OS Version: Mac OS X 10.5.8 (9L31a) Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x Crashed Thread: 0 Thread 0 Crashed: 0 ...acOSXCF

Re: [MBS] [ANN] 11.3pr1

2011-08-18 Thread Arnaud Nicolet
Le 18 août 11 à 13:37, Christian Schmitz a écrit: Am 18.08.2011 um 13:34 schrieb Arnaud Nicolet: Hello, What was the difference between Comment, CommentClassicMBS and CommentCarbonMBS? We had an implementation to get/set comment on Mac OS 9 and one for Mac OS X. CommentMBS called

Re: [MBS] Safe to use FSEvents more than once at the same time?

2011-07-20 Thread Arnaud Nicolet
Le 20 juil. 11 à 18:40, Christian Schmitz a écrit: Am 20.07.2011 um 18:33 schrieb Arnaud Nicolet: Greetings, But, sometimes, classes should not be used more than once in an app (like the random class). Is it ok for the FSEvent? It should work fine. Nice, thanks! However, I'm currently

Re: [MBS] Safe to use FSEvents more than once at the same time?

2011-07-20 Thread Arnaud Nicolet
Le 20 juil. 11 à 18:48, Arnaud Nicolet a écrit: However, I'm currently trying my application, but it's weird: the Available property is false (I'm on 10.5.8). Ok, I've checked in the examples, and there it's the same: the Available property is false, but the events come fine, so I simply

Re: [MBS] [ANN] 10.2pr8

2011-07-12 Thread Arnaud Nicolet
Le 9 juil. 11 à 17:59, Christian Schmitz a écrit: Am 09.07.2011 um 16:03 schrieb Arnaud Nicolet: Hello Christian, Is this that version which I'm supposed to try for linking to libraries about the PictureToBinaryString function? (my internet connection is slow, so I prefer first asking

Re: [MBS] PicturetoBinaryStringMBS in Linux?

2011-07-08 Thread Arnaud Nicolet
Le 8 juil. 11 à 15:22, Christian Schmitz a écrit: Am 07.07.2011 um 21:16 schrieb Arnaud Nicolet: The documentation says PicturetoBinaryStringMBS works on Linux, but perhaps the requirements are not the same than the other platforms? It should simply work. I just tested it. Works here

[MBS] PicturetoBinaryStringMBS in Linux?

2011-07-07 Thread Arnaud Nicolet
Greetings, I'm trying to port my application to Linux. It's sometimes tricky because I rarely use that OS. I'm now having a problem with PicturetoBinaryStringMBS (this is a key function for my app). It results in an empty string. It works fine in Mac and Win32. The pictures are made the

[MBS] window.ConstrainWindowToScreenMBS works?

2011-06-27 Thread Arnaud Nicolet
Greetings, In my testing, window.ConstrainWindowToScreenMBS does not work. Tried in 10.5.8. Is there a requirement to make it working? ___ Mbsplugins_monkeybreadsoftware.info mailing list mbsplugins@monkeybreadsoftware.info

Re: [MBS] window.ConstrainWindowToScreenMBS works?

2011-06-27 Thread Arnaud Nicolet
Le 27 juin 11 à 17:23, Christian Schmitz a écrit: Works fine here. Simply put a button on your window and place this code in Action event: self.ConstrainWindowToScreenMBS(true) now move window half out of screen and press button. It moves back in. Definitively not working here.

Re: [MBS] QTFrameExtractorMBS position doesn't seem to work

2011-06-21 Thread Arnaud Nicolet
Le 21 juin 11 à 19:23, Christian Schmitz a écrit: Am 21.06.2011 um 18:29 schrieb Louis: Hello Christian, I'm on OS10.6.7 with RB 2011r1.1 and v11.1 of your plugin. I made a small test program and it seems to stay on the same frame. Stays? If you don't call MoveForward, it will not move.