freak wrote:The options that the native API's provide are very extensive, so naturally we cannot add everything as a cross-platform PB command. If you think something generally useful is missing, feel free to post a feature request for it.
I understand your position. I think (and have posted here) that the PB team deserves praise for what has been accomplished. I've bought most of the cross-platform Basic compilers, beginning with Zedcor's ZBasic in 1985 (about the time you were born) and none came anywhere close to PB. I also understand you have limited time to deal with this. While it was many years ago, I too went to university full-time while also working (more than) full-time (in GE's Large Jet Engine R&D).
My application is fairly large and I've only encountered two issues (for all three platforms). I wanted to automatically enumerate the serial ports on the user's PC and I wanted to automatically scroll the EditorGadget to display the last line whenever it was updated. Both issues require the API on all three platforms. The difference is that the Windows API is well documented (e.g. Dan Appleman's books with VB example code) and I was familiar with it from several years of using VB.
I already had a procedure for the serial ports that I had used with VB and other users here were quite helpful in converting it to PB. It was a bit more difficult to do under Linux but I'm acquainted with an old Linux hand who pointed me in the right direction. I posted my solution to the Linux forum. Now, I do understand why this is not built-in, with serial ports disappearing from PCs and never having been used much by Apple, it would make no sense for you to spend time on it. Again, other users have made suggestions that pointed the way to a solution under OSX.
The scrolling issue is a little different (and, I think, more fundamental). While it did require the Windows API, all that was needed was SendMessage which I was intimately familiar with. For Linux, it was a bit more difficult to learn that an EditorGadget equates to a GtkTextView and to find the needed commands but there's a lot of documentation on the web and it was only a few lines of code which I posted to the Linux forum once I had it working. OSX is proving more difficult. I still don't know which underlying API entity equates to the EditorGadget and Apple's monopolistic culture means there's little third-party support and a dearth of documentation online. While I've read all of the documentation suggested so far by others here, I'm still clueless.
One final point. A 25 year old probably has more patience posting a Feature Request than a 68 year old already diagnosed with congestive heart failure and lung cancer.
