Scintilla and IDE tools on Mac
Scintilla and IDE tools on Mac
Did any of you find a way to successfully use "scintilla commands" on IDE tools?
Re: Scintilla and IDE tools on Mac
Well AZJIO, thanks for the answer, but I'm not born yesterday (as we say here in Italy) and can do almost anything with time, patience, and a source code file…AZJIO wrote: Thu Mar 28, 2024 4:13 pm Alternatives to xdotool for MacOS
https://alternativeto.net/software/xdot ... atform=mac

This was mostly to "report a problem to Fred"…
…but Thanks anyway

Piero
PS:

Re: Scintilla and IDE tools on Mac
http://purebasic.mybb.ru/viewtopic.php?id=1121#p11071
I was unable to get full access on Linux and Window using the Scintilla module. The SendMessage_() functions have a limited effect, and in Linux they don't exist at all or I don't know about them. I used xdotool to call the hotkey Ctrl+G to open the "line jump" window and Ctrl+V to paste the number. But I couldn’t press the “OK” button because the “Enter” hotkey didn’t work.If it is a different process, this method will not work.
Re: Scintilla and IDE tools on Mac
Please see (a very small example of) what I did LONG time ago to help coders, with TextMate as "IDE":
https://digilander.libero.it/usemac/lsl.mov
Re: Scintilla and IDE tools on Mac
I also did different ways of auto-completion using a third-party editor. Here's an example
And also I made the AutoCompletionIDE tool
And also I made the AutoCompletionIDE tool
Re: Scintilla and IDE tools on Mac
That's not just auto completion, and just a small example…………………………
But here we are talking about Fred; WTF Fred?!?!? (I'm a fan of Fred; don't take me wrong)
But here we are talking about Fred; WTF Fred?!?!? (I'm a fan of Fred; don't take me wrong)
Re: Scintilla and IDE tools on Mac
Does it work on Mac?

Re: Scintilla and IDE tools on Mac
You need to compile on MacOS and test. Since you don't have xdotool you need to use the clipboard to grab text and paste. There are flags to control this. I have now recorded a video, if you are satisfied with the appearance, then you can try it and I will tell you how to set it up.
One person assembled my program on MacOS and everything worked for him, since then I became confident that all my programs with Linux support will work on MacOS
Re: Scintilla and IDE tools on Mac
I admire your work with PB, and I'm very curious to know IF/HOW that person was able to send "scintilla commands" to the PB IDE
Re: Scintilla and IDE tools on Mac
PS: I can access the PB IDE with AppleScript to get some info, but almost only GET…
Code: Select all
tell application "System Events" to tell UI element 1 of scroll area 1 of group 1 of group 1 of splitter group 1 of splitter group 1 of window 1 of process "PureBasic" to get value of attribute "AXSelectedText"