Search found 12 matches

by MBall
Fri Oct 14, 2022 12:19 pm
Forum: Mac OSX
Topic: Detecting VoiceOver and sending text to it
Replies: 0
Views: 416

Detecting VoiceOver and sending text to it

Hi. As listviews on the latest purebasic no longer work with VoiceOver, which breaks the accessibility of my programs. I sort of have a workaround by grabbing the text of the current item in the listview with the gadget change event and speaking it out with TTS. but this is not very good for my user...
by MBall
Tue Aug 10, 2021 10:53 pm
Forum: Windows
Topic: Windows 10 OCR
Replies: 11
Views: 6474

Windows 10 OCR

HI

I am looking for a starting point to use the built in OCR function in windows 10.

any ideas, or starting point would be helpful

thank you.

M
by MBall
Sat Apr 03, 2021 11:01 pm
Forum: Mac OSX
Topic: Runprograme on big sur
Replies: 9
Views: 6872

Re: Runprograme on big sur

ok. i'll try to explain again.

The application i launch using 'RunProgram' does actually start in the background. but the problem is, the launched application immediately closes, as if the OS is shutting it down for some reason.
by MBall
Wed Mar 17, 2021 3:54 pm
Forum: Mac OSX
Topic: Runprograme on big sur
Replies: 9
Views: 6872

Re: Runprograme on big sur

works fine when launched from finder.

it's not just TextEdit. Seems most apps start.
then immediately close.
by MBall
Wed Mar 17, 2021 12:46 am
Forum: Mac OSX
Topic: Runprograme on big sur
Replies: 9
Views: 6872

Re: Runprograme on big sur

Hi Woldram. Thank you for your response. I've already tried both of those. but no joy. the example I posted, was the last one I tried in my code. as I said previously, it works Pre 'Big Sur'. On 'Big Sur', the TextEdit app does open, but then immediately closes. I get the same result with other apps...
by MBall
Fri Mar 12, 2021 11:12 pm
Forum: Mac OSX
Topic: Runprograme on big sur
Replies: 9
Views: 6872

Re: Runprograme on big sur

Previous OS was Catalina. That just worked fine.
It's not just 'TextEdit' that opens and then immediately closes. using 'RunProgram' with other apps does the same thing.

Martin.
by MBall
Thu Mar 11, 2021 1:08 am
Forum: Mac OSX
Topic: Runprograme on big sur
Replies: 9
Views: 6872

Runprograme on big sur

Hi After updating to Big Sur on Mac. I am finding that my app which used to open 'TextEdit' with the following line no longer works. RunProgram(GetUserDirectory(#PB_Directory_Programs)+"TextEdit.app","","") it appears to open 'textedit' briefly, then immediately closes ...
by MBall
Sat Dec 26, 2020 6:33 pm
Forum: Coding Questions
Topic: how can i use text-to-speech in windows ?
Replies: 7
Views: 3588

Re: how can i use text-to-speech in windows ?

Hi, I just tried the first example posted here.
I do get speech output. but I can't seem to set the output audio device. which ever audio device i select in the example. it still sends the speech output to the default windows output device.

any help please.

Martin
by MBall
Mon Oct 19, 2020 3:24 pm
Forum: The PureBasic Editor
Topic: IDE Accessibility with Voiceover on MacOS
Replies: 0
Views: 4645

IDE Accessibility with Voiceover on MacOS

HI,

As I have used purebasic on windows with a screen reader, which works reasonably well. I have now tried it on MacOS, and I get no speech feedback from Voiceover. am I missing something?, or is it not usable on MacOS with the screen reader.

thanks

M
by MBall
Sat Dec 28, 2019 1:06 pm
Forum: Mac OSX
Topic: RunProgram - How to give focus to a launched app?
Replies: 1
Views: 1462

RunProgram - How to give focus to a launched app?

Hi, When I use RunProgram on OSX, the program that is launched always has background focus. On Windows Launched applications seem to always get foreground / active focus. So on OSX, Is there a way to give an application foreground / active focus when I use RunProgram. or is there a way to give an ap...
by MBall
Mon Dec 23, 2019 10:42 am
Forum: Mac OSX
Topic: Changing Speech rate in NSSpeechSynthesizer
Replies: 2
Views: 1860

Re: Changing Speech rate in NSSpeechSynthesizer

Ah. I was close lol.

Thank you Wilbert. Your help is much appreciated.

Martin.
by MBall
Thu Dec 19, 2019 12:25 am
Forum: Mac OSX
Topic: Changing Speech rate in NSSpeechSynthesizer
Replies: 2
Views: 1860

Changing Speech rate in NSSpeechSynthesizer

Hi. I am currently porting a program to mac osx. so i'm new to cocoamessage etc. I am using some speech output. I have most things working well, but how do you get and set the speech rate in NSSpeechSynthsizer I have managed to change and get available voices etc. but I can't seem to figure out how ...