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
Search found 2686 matches
- Tue Mar 08, 2022 3:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: alter textstyle 'on the fly'
- Replies: 19
- Views: 7055
- Mon Mar 07, 2022 10:33 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: alter textstyle 'on the fly'
- Replies: 19
- Views: 7055
Re: alter textstyle 'on the fly'
Hi Glenn, Glad when I can help This version below works with a selection on keyUp pk put the selectedchunk into tSC put word 2 of tSC into tStart put word 4 of tSC into tEnd if tStart > tEnd then put tEnd into tNumS else put tStart into tNumS end if if pk = "z" then set the forecolor of char tNumS o...
- Sun Mar 06, 2022 5:46 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: alter textstyle 'on the fly'
- Replies: 19
- Views: 7055
Re: alter textstyle 'on the fly'
Hi Glen, This works for an insertion, not for a selection on keyUp pk put the selectedchunk into tSC put the value of word 4 of tSC into tNumC if pk = "z" then set the forecolor of char tNumC of fld "notes" to red else set the forecolor of char tNumC of fld "notes" to black end if end keyUp
- Sun Mar 06, 2022 12:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: alter textstyle 'on the fly'
- Replies: 19
- Views: 7055
Re: alter textstyle 'on the fly'
Hi,
You may use keyup instead rawkeyup (rawkeyup return a integer)
Something like that
Best regards
Jean-Marc
You may use keyup instead rawkeyup (rawkeyup return a integer)
Something like that
Code: Select all
on keyup pKey
if pKey = "z" then
set the forecolor of the last char of fld "Notes" to red
end if
end keyup
Jean-Marc
- Tue Feb 15, 2022 7:38 pm
- Forum: Talking LiveCode
- Topic: Continuous scrolling field
- Replies: 6
- Views: 2682
Re: Continuous scrolling field
Hi Tom,
Just a start
Best regards
Jean-Marc
Just a start
Code: Select all
on textchanged
set the vscroll of fld 1 to 0
wait 1 seconds
put the formattedheight of fld 1 into tFH
repeat with i = 1 to tFH
if the optionkey is down then exit repeat
set the vscroll of fld 1 to i
end repeat
end textchanged
Jean-Marc
- Tue Feb 15, 2022 5:11 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: draggable image
- Replies: 29
- Views: 10128
Re: draggable image
Hi Friends,
A other way with a snapshot of target control Kind regards
Jean-Marc
A other way with a snapshot of target control Kind regards
Jean-Marc
- Sun Jan 30, 2022 10:56 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to enter chars at the place one clicked on? [SOLVED]
- Replies: 8
- Views: 2991
Re: How to enter chars at the place one clicked on? [SOLVED]
Sorry Richmond,
it works with traversalon = true
(not needed with clickcharchunk)
Best
Jean-Marc
it works with traversalon = true
(not needed with clickcharchunk)
Best
Jean-Marc
- Sat Jan 29, 2022 11:03 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to enter chars at the place one clicked on? [SOLVED]
- Replies: 8
- Views: 2991
Re: How to enter chars at the place one clicked on? [SOLVED]
Hi Richmond,
I tested your script but it doesn't work
I get an error, "chunk: no target found" because the selectedchunk is empty
Kind regards
Jean-Marc
I tested your script but it doesn't work
I get an error, "chunk: no target found" because the selectedchunk is empty
Kind regards
Jean-Marc
- Sat Jan 29, 2022 5:37 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to enter chars at the place one clicked on? [SOLVED]
- Replies: 8
- Views: 2991
Re: How to enter chars at the place one clicked on?
Hi,
It seems clickcharchunk function does the job
Best regards
Jean-Marc
It seems clickcharchunk function does the job
Code: Select all
on mouseup
put "(.)" into the clickcharchunk
end mouseup
Jean-Marc
- Wed Jan 26, 2022 6:37 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: shrink in the way
- Replies: 8
- Views: 2556
Re: shrink in the way
Oups ! Sorrythe graphic?
Yes and you made it
Jean-Marc
- Wed Jan 26, 2022 5:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: shrink in the way
- Replies: 8
- Views: 2556
Re: shrink in the way
Hi Samuel
Best regards
Jean-Marc
You may resize field in a loop using the num of pointsis it possible?
Best regards
Jean-Marc
- Tue Jan 11, 2022 11:45 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Wait until the sound is done
- Replies: 6
- Views: 2478
Re: Wait until the sound is done
Hi Bruce,
What Klaus said
Works also with sound file.
Best
Jean-Marc
What Klaus said
Works also with sound file.
Best
Jean-Marc
- Sun Jan 09, 2022 1:18 pm
- Forum: iOS Deployment
- Topic: Side loading to iPhone. (xCode)
- Replies: 1
- Views: 2024
Re: Side loading to iPhone. (xCode)
Hi,
Yes Sir,
You need it.
Best regards
Jean-Marc
Yes Sir,
You need it.
Best regards
Jean-Marc
- Mon Jan 03, 2022 7:20 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: move loop
- Replies: 10
- Views: 4354
Re: move loop
Hi,
I played with your goal Best regards
Jean-Marc
I played with your goal Best regards
Jean-Marc
- Fri Dec 31, 2021 12:54 pm
- Forum: iOS Deployment
- Topic: unable to install
- Replies: 8
- Views: 4947
Re: unable to install
Hi,
Thanks for your hints.
How do you understand that previous version of my app doesn't appear on installed app list and xCode ask me if i want replace it ?
Best regards
Jean-Marc
Thanks for your hints.
How do you understand that previous version of my app doesn't appear on installed app list and xCode ask me if i want replace it ?
Best regards
Jean-Marc