Mac Spell Check?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Mac Spell Check?
Hi,
Although I've had RunRev/LiveCode for some time I've only just dabbled a little, but now I'm trying to create a small text processing app (mainly to use on a Mac) and it would be nice to be able to access the Mac Spell Check and Thesaurus in a similar way that most other apps do, ie. under the edit menu or contextual menu. I've searched the forum and user guide etc., but I can't find any info on how to do this, so my questions are:
1. Is this easy to achieve?
2. Is there any documentation available for guidance?
I'd really appreciate if someone could point me in the right direction.
Thanks.
Paul
Although I've had RunRev/LiveCode for some time I've only just dabbled a little, but now I'm trying to create a small text processing app (mainly to use on a Mac) and it would be nice to be able to access the Mac Spell Check and Thesaurus in a similar way that most other apps do, ie. under the edit menu or contextual menu. I've searched the forum and user guide etc., but I can't find any info on how to do this, so my questions are:
1. Is this easy to achieve?
2. Is there any documentation available for guidance?
I'd really appreciate if someone could point me in the right direction.
Thanks.
Paul
Re: Mac Spell Check?
Check out RunRevPlanet_com's Spell Check for LiveCode.
It works in Mac, Windows and Linux environments.
It works in Mac, Windows and Linux environments.
Re: Mac Spell Check?
Thank you for the suggestion, I'll keep that in mind for now, but unfortunately it doesn't appear to have a Thesaurus.
I was hoping to be able to access the built-in Mac Services.
Thanks again.
Paul
I was hoping to be able to access the built-in Mac Services.
Thanks again.
Paul
Re: Mac Spell Check?
you can access the built-in spell checking with an external..
Re: Mac Spell Check?
You can create an automator app and run that. I just tried it and it works.
This works and pastes the results from the Dictionary app into LiveCode.
HTHs
Tom
- Open automator.
Create a new "Application"
drag "Get Contents of Clipboard" over to the workflow area to the right
drag "Get Definition of Word" over next
Select "Oxford American Writer's Thesaurus" in the Dictionary btn of "Get Definition of Word"
drag "Copy to Clipboard" over last
save as an application "ThesaurusClipboard".
Code: Select all
on mouseUp
put the selectedChunk into tTemp
put word 2 of tTemp into tChar1
put word 4 of tTemp into tChar3
put character tChar1 to tChar3 of field 1 into tChunk
copy
launch "/Users/yournamehere/Desktop/ThesaurusClipboard.app"
wait 6 seconds with messages
focus on field "Thesaurus Results"
paste
end mouseUp
HTHs
Tom
Tom McGrath III
Lazy River Software
3mcgrath@comcast.net
Lazy River Software
3mcgrath@comcast.net
Re: Mac Spell Check?
Thank you for the replies.
Thank you very much Tom for the code example, I really appreciate you taking the time to work that out, I'll certainly give it a go.
Paul
Thank you very much Tom for the code example, I really appreciate you taking the time to work that out, I'll certainly give it a go.
Paul