Search found 319 matches

by Piero
Fri Apr 19, 2024 11:04 am
Forum: Coding Questions
Topic: Webview & ""
Replies: 6
Views: 84

Re: Webview & ""

Mindphazer wrote: Fri Apr 19, 2024 10:09 am The compiler explains : "not cannot be used with strings"
But don't you think it's strange being that you can use if... ELSE?
by Piero
Fri Apr 19, 2024 10:44 am
Forum: Coding Questions
Topic: Webview & ""
Replies: 6
Views: 84

Re: Webview & ""

Works! Thanks! #helppath$="/Applications/PureBasic.app/Contents/Resources/help/purebasic/" #ind=#helppath$+"reference/reference.html" Procedure.s sh(search$) Protected Output$, shell shell = RunProgram("/bin/sh","","", #PB_Program_Open|#PB_Program_Wr...
by Piero
Fri Apr 19, 2024 9:54 am
Forum: Coding Questions
Topic: Webview & ""
Replies: 6
Views: 84

Webview & ""

How do I "catch" a ⌘Q (quit) shortcut in the WebBrowser.pb example? It "should be already there as #PB_Menu_Quit"… am I missing something? :oops: Also, mostly out of curiosity: s$="" if s$ debug "not empty" else debug "empty" endif if not s$ : debug ...
by Piero
Wed Apr 17, 2024 11:41 am
Forum: Mac OSX
Topic: Good News! Fuzzy Completion!
Replies: 14
Views: 958

Re: Good News! Fuzzy Completion!

since v6, the list of authorized constants is displayed for function Arguments, too bad it requires typing "#pb_" (especially for beginners) Yep, that's why I think fuzzy completion can be useful; it just takes some tries to learn how to type good "abbreviations"… Dedicated to y...
by Piero
Tue Apr 16, 2024 9:33 pm
Forum: Bugs - Mac OSX
Topic: [Done] 6.10 LTS Crashes on Sonoma 14.4.1
Replies: 23
Views: 981

Re: 6.10 LTS Crashes on Sonoma 14.4.1

Fred wrote: Fri Apr 12, 2024 5:55 pm The new package is up, don't hesitate to test to see if it works as expected!
WTF Fred; you are being too gentle with freeware ppl (just for laughs)
by Piero
Tue Apr 16, 2024 10:07 am
Forum: Mac OSX
Topic: Good News! Fuzzy Completion!
Replies: 14
Views: 958

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: 4719

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: 4719

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: 14
Views: 958

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: 21
Views: 1464

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: 14
Views: 958

Video

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

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: 14
Views: 958

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: 14
Views: 958

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: 240

Re: Mac-os transparent canvas gadget

What OS do you have? Doesn't work in Monterey (I tested M1 and Intel)