Search found 314 matches

by Piero
Tue Apr 16, 2024 10:07 am
Forum: Mac OSX
Topic: Good News! Fuzzy Completion!
Replies: 12
Views: 712

PB Version!

Here's the PB version It will parse all your (saved + open) source files Enjoy! Piero ; PB IDE Tool (no parameters needed) for Fuzzy Autocomplete! Procedure simpleShell(ShellCommand$) Protected shell shell = RunProgram("/bin/sh","","", #PB_Program_Open|#PB_Program_Write...
by Piero
Mon Apr 15, 2024 4:31 pm
Forum: Coding Questions
Topic: Can you check this out? (mac os)
Replies: 26
Views: 4641

Re: Can you check this out? (mac os)

Found part of the problem: works better if monitor is NOT set to high (retina) resolution
by Piero
Mon Apr 15, 2024 4:12 pm
Forum: Coding Questions
Topic: Can you check this out? (mac os)
Replies: 26
Views: 4641

Re: Can you check this out? (mac os)

I can move it for a few pixels but only if I click EXACTLY on top-left corner... it's like it falls from the cursor… Edit: saw you posted another: Found a solution for Mac OS. This is a very convenient solution to make canvas transparent. This one "jumps away" from the cursor when I click ...
by Piero
Mon Apr 15, 2024 6:08 am
Forum: Mac OSX
Topic: Good News! Fuzzy Completion!
Replies: 12
Views: 712

Have Fun!

Version 0.0001b2 Hacked my own hack :mrgreen: (found I could reliably read cursor position, so I used ⌥←) Removed "option key wait" ( better use a simple shortcut like ⌥Z ) Added Macros (definition) so now you can "clearly" see how to add patterns Needs: Support Text File (update...
by Piero
Sun Apr 14, 2024 8:12 am
Forum: General Discussion
Topic: PureBasic v6.10 is producing a file size 5 times bigger than v6.04
Replies: 13
Views: 662

Re: PureBasic v6.10 is producing a file size 5 times bigger than v6.04

BarryG wrote: Sun Apr 14, 2024 4:45 amI use UPX to shrink my exe from 10 MB to 4 MB (which also has the benefit of reducing VirusTotal false positives).
Many thanks for this!

PS: Please don't tell to the ppl on Mac section I own a PC :oops:
by Piero
Sat Apr 13, 2024 3:15 pm
Forum: Mac OSX
Topic: Good News! Fuzzy Completion!
Replies: 12
Views: 712

Video

by Piero
Sat Apr 13, 2024 12:15 pm
Forum: Mac OSX
Topic: Open web page
Replies: 3
Views: 209

Re: Open web page

I was playing with RunProgram but couldn't get the right combination. #helppath$="/Applications/PureBasic.app/Contents/Resources/help/purebasic/" Procedure.s sh(search$) Protected Output$, shell shell = RunProgram("/bin/sh","","", #PB_Program_Open|#PB_Program...
by Piero
Sat Apr 13, 2024 6:01 am
Forum: Mac OSX
Topic: Good News! Fuzzy Completion!
Replies: 12
Views: 712

Finally! Fuzzy Autocomplete!

I found what the problem was! Hint: \r !!! Now works very well! (at least on Monterey M1) Version 0.0001b1 Optimized the delays (for my Mac…) Put a minimum of 3 characters needed (max is 16, see the hack…) Updated procedure regex See VIDEO ! Needs: Support Text File (updated Apr 09, 2024) Homebrew '...
by Piero
Fri Apr 12, 2024 5:24 pm
Forum: Mac OSX
Topic: Good News! Fuzzy Completion!
Replies: 12
Views: 712

Update

Small update to script above because sort -u pipe wasn't working as expected
by Piero
Fri Apr 12, 2024 12:08 pm
Forum: Tricks 'n' Tips
Topic: Mac-os transparent canvas gadget
Replies: 2
Views: 218

Re: Mac-os transparent canvas gadget

What OS do you have? Doesn't work in Monterey (I tested M1 and Intel)
by Piero
Fri Apr 12, 2024 6:18 am
Forum: Bugs - Mac OSX
Topic: IDE Editing [6.10 LTS, C Backend (arm64)]
Replies: 2
Views: 149

Re: IDE Editing [6.10 LTS, C Backend (arm64)]

It doesn't seem to happen here with Monterey, but I see the cursor blinking at the end of selected text (anywhere)
Hope this may help with debugging
by Piero
Thu Apr 11, 2024 2:00 pm
Forum: Mac OSX
Topic: Good News! Fuzzy Completion!
Replies: 12
Views: 712

Re: Good News! Fuzzy Completion!

I imagine the Gurus of this Forum seeing "delay 0.3"… it must feel like I would feel eating pineapple pizza with ketchup
by Piero
Thu Apr 11, 2024 10:34 am
Forum: Mac OSX
Topic: Good News! Fuzzy Completion!
Replies: 12
Views: 712

Re: Good News! Fuzzy Completion!

Version 0.0001a5 Trapped possible errors, also bugfixing the "no procedures" error (remember: it needs homebrew ggrep) Added some cocoa to detect option key up (my shortcut is ⌥Z) Added esc in case of PB autocomplete open Fixed sort -- AppleScript PB IDE Tool (no parameters needed) for Fuz...
by Piero
Thu Apr 11, 2024 10:32 am
Forum: Mac OSX
Topic: runprogram Command in Mac OS
Replies: 16
Views: 1282

Re: runprogram Command in Mac OS

JohnF wrote: Thu Apr 11, 2024 7:45 am Warmest Regards from Redwood City, California,
John
Again, you are very welcome!

PS: Don't tell Fred, but I still consider it as a BIG BUG of RunProgram :wink:
by Piero
Wed Apr 10, 2024 6:12 pm
Forum: Mac OSX
Topic: runprogram Command in Mac OS
Replies: 16
Views: 1282

Re: runprogram Command in Mac OS

It seems you don't need to get the output, so you can use a simplified shell procedure if you want: Procedure simpleShell(ShellCommand$) Protected shell shell = RunProgram("/bin/zsh","","", #PB_Program_Open|#PB_Program_Write) If shell WriteProgramStringN(shell,ShellComm...