Search found 2655 matches

by jmburnod
Tue May 24, 2022 5:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Trapping KeyPress Messages
Replies: 15
Views: 276

Re: Trapping KeyPress Messages

Hi, You may define and use a time limit between each keyup Something like that: local sTimeLimit, sCurrentTime on opencard put 300 into sTimeLimit put the milliseconds into sCurrentTime end opencard on keyDown tKey if the milliseconds >= (sCurrentTime + sTimeLimit) then if the lockout of this cd = "...
by jmburnod
Wed May 18, 2022 10:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Fit Text to Object?
Replies: 4
Views: 230

Re: Fit Text to Object?

Hi All, I used this: on doSetTextSize pFldID,pTextSize,pHeightPoss,pMargin -- pHeightPoss = field height put pTextSize into tSizeMax set the textsize of char 1 to -1 of fld id pFldID to tSizeMax set the fixedlineheight of fld id pFldID to false put the width of fld id pFldID - (pMargin*2) into tMaxW...
by jmburnod
Tue May 10, 2022 2:25 pm
Forum: Talking LiveCode
Topic: clickText and other clicks
Replies: 11
Views: 725

Re: clickText and other clicks

Hi All,
Clicktext works on LC 10 . 0 . 0-dp-1 | Build 20000
by jmburnod
Mon May 09, 2022 4:58 pm
Forum: Talking LiveCode
Topic: clickText and other clicks
Replies: 11
Views: 725

Re: clickText and other clicks

Hi,
Strange.
Clicktext works fine here (OSX 10.14.6, LC 9.6.6)
What version do you use ?
Best regards
Jean-Marc
by jmburnod
Mon May 02, 2022 5:20 pm
Forum: Multimedia
Topic: Download Speech voices from my Standalone app
Replies: 1
Views: 213

Re: Download Speech voices from my Standalone app

Hi gg12,
and welcome
Yes that would be very useful.
SpeechSetVoice only get a list of installed voices
As far i know there is not a LiveCode way now.
Maybe applescript, external or something else ?

Best regards
Jean-Marc
by jmburnod
Wed Mar 30, 2022 3:49 pm
Forum: iOS Deployment
Topic: IOS submission to App Store
Replies: 16
Views: 2317

Re: IOS submission to App Store

Hi All,
What SWEdeAndy said is what i understand about User License Agreement.
Best regards
Jean-Marc
by jmburnod
Tue Mar 22, 2022 5:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: out of boundaries
Replies: 15
Views: 1746

Re: out of boundaries

Hi Friends,
I prefer using mousemove for this task.
Kinds regards
Jean-Marc
Boundary01.zip
(9.35 KiB) Downloaded 23 times
by jmburnod
Tue Mar 22, 2022 4:42 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How to get the name of the day only? (Without all the full date but only the day)
Replies: 7
Views: 744

Re: How to get the name of the day only? (Without all the full date but only the day)

Hi,
The long date is what you looking for

Code: Select all

put the long date

return "tuesday, march 22,2022"
Best
Jean-Marc
by jmburnod
Tue Mar 15, 2022 4:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: create a point
Replies: 8
Views: 946

Re: create a point

Hi,
Maybe

Code: Select all

put _X  &  "," & _Y into _someVariable
Best regards
Jean-Marc
by jmburnod
Mon Mar 14, 2022 6:48 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Transporter is breaking my heart
Replies: 2
Views: 481

Re: Transporter is breaking my heart

Hi Bruce,
I did it yesterday without issue for a testFlight beta version .
LC 9.6.6, xCode 11.3.1, Transporter 1.2.3
Did you upgrade Transporter ?
Best regards
Jean-Marc
by jmburnod
Fri Mar 11, 2022 7:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Putting text into a field
Replies: 8
Views: 1015

Re: Putting text into a field

hi Glenn, What Craig said I think you might use functions when you often need a same data (string or integer) like the number of a word in a string. function getNumWords pStart,pEnd -- return num of words of a string return the num of words of char pStart to pEnd of fld "notes" end getNumWords All t...
by jmburnod
Thu Mar 10, 2022 3:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: alter textstyle 'on the fly'
Replies: 19
Views: 2095

Re: alter textstyle 'on the fly'

Hi, I played around Glenn stuff I made a small stack to test use of metadata for scribe activities. There is two modes Edition mode (locktext = false) When you type a "(" a list of keywords appear. A click on one of them set the metadata of current word to clicked keyword Using mode (locktext = true...
by jmburnod
Tue Mar 08, 2022 6:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: alter textstyle 'on the fly'
Replies: 19
Views: 2095

Re: alter textstyle 'on the fly'

Hi Craig,
But how would that stand out when the reader is trying to locate specific locations in a body of text that are of interest?
Why not set the textstyle of target word to "link" ?

Jean-Marc
by jmburnod
Tue Mar 08, 2022 3:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: alter textstyle 'on the fly'
Replies: 19
Views: 2095

Re: alter textstyle 'on the fly'

Hi Glenn,
Thank you for your message.
Interessant challenge
I wonder if using metadata property would be useful in your "scribe" position.
Just an idea
When you type your marker char you can select a keyword among a list which become the metadata of the previous word.

Best regards
Jean-Marc

Go to advanced search