Hi Zax,
Thank you for this stack. I is very nicely done and comes in handy.
Kind regards
Bernd
Search found 3861 matches
- Sat May 11, 2024 11:13 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Color Scripts
- Replies: 4
- Views: 173
- Sat May 04, 2024 10:28 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to honor "Auto-Rotate Off" on Android
- Replies: 9
- Views: 303
Re: How to honor "Auto-Rotate Off" on Android
Jeff,
mobileOrientationLocked()
should do what you want.
Kind regards
Bernd
mobileOrientationLocked()
should do what you want.
Kind regards
Bernd
- Sat May 04, 2024 6:48 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 1153
Re: Exporting text to SVG
I just found out that you do not need the HTML stuff, just the SVG stuff. <svg width="800" height="800" xmlns="http://www.w3.org/2000/svg"> <text x="50" y="50" font-family="Arial" font-size="16"> <tspan x="50" dy="1.2em">विद्यार्थी</tspan> <tspan x="50" dy="1.2em">Attention</tspan> </text> </svg> se...
- Sat May 04, 2024 6:41 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 1153
Re: Exporting text to SVG
Richmond, When you want to display your svg in LC you can use the browser: <!DOCTYPE html> <html> <head> <title>dings</title> <meta name="generator" content="BBEdit 14.6" /> </head> <body> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">...
- Sat May 04, 2024 9:54 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 1153
Re: Exporting text to SVG
this is the svg
Kind regards
Bernd
Kind regards
Bernd
- Sat May 04, 2024 9:42 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 1153
Re: Exporting text to SVG
Richmond,
What happens if you
?
Kind regards
Bernd
What happens if you
Code: Select all
put textEncode(tText, "UTF-8") into tText
Kind regards
Bernd
- Fri May 03, 2024 6:08 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Exporting text to SVG
- Replies: 23
- Views: 1153
Re: Exporting text to SVG
Richmond, put <svg width="800" height="800" xmlns="http://www.w3.org/2000/svg"> into field "fHeader" Put <text x="50" y="50" font-family="Arial" font-size="16"> into field "fTextStart" Try this code on mouseUp put the script of button "b2" into tText ## or wherever you want your text to come from pu...
- Fri May 03, 2024 4:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to scroll to a specific line number
- Replies: 5
- Views: 210
Re: How to scroll to a specific line number
Make a button and a field that holds the line number you want to scroll to. on mouseUp ## a field that holds the line number you want to scroll to put field "fLineNum" into tLineNum ## the field that holds your text put the height of field "fText" into tFieldHeight put the top of field "fText" into ...
- Thu May 02, 2024 6:22 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 256
Re: Where is stack "revNewScriptEditor"?
Do you have a secret list of undocumented native LC words? My favorite is "the messageMessages", but I know there are lots more. :wink: Craig, No but I made a stack that searches the .livecodescript files of the current installation of LC which comprises most of the the code for the IDE. (the few n...
- Thu May 02, 2024 4:38 pm
- Forum: Talking LiveCode
- Topic: Where is stack "revNewScriptEditor"?
- Replies: 7
- Views: 256
Re: Where is stack "revNewScriptEditor"?
Craig,
If an actual editor is created within "revNewScriptEditor" these functions are helpful.
The topMostEditor:
All currently open Editors
Kind regards
Bernd
If an actual editor is created within "revNewScriptEditor" these functions are helpful.
The topMostEditor:
Code: Select all
put revTopMostScriptEditor()
Code: Select all
put revListScriptEditors()
Bernd
- Thu Apr 25, 2024 6:07 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Palettising a main stack.
- Replies: 9
- Views: 409
Re: Palettising a main stack.
try:richmond62 wrote: ↑Thu Apr 25, 2024 4:41 pmI should like a main stack to appear as a palette, but this in the stack script does nothing:Code: Select all
on openStack palette me end openStack
Code: Select all
on openStack
palette this stack
end openStack
Bernd
- Wed Apr 24, 2024 3:14 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Force the script editor to update?
- Replies: 35
- Views: 1448
Re: Force the script editor to update?
@ Bernd : awesome script! Though, don't you think this script would be better by modifying lines 39 to 44 with: repeat for each line anEntry in tTabList if first word of anEntry is "stack" then put anEntry & cr after tCleanStackList else put "stack " & item 2 to -1 of anEntry & cr after tCleanStack...
- Wed Apr 24, 2024 11:34 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Force the script editor to update?
- Replies: 35
- Views: 1448
Re: Force the script editor to update?
Hi Zax, here is a heavily commented script that does what I think is what you want: remove tabs from the script editor if the stack is closed. ## the script editor tabs are named using the rugged id of the objects ## Menu Window of LC lists the available stacks as the short names of the stacks ## a ...
- Mon Apr 22, 2024 6:40 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: My masterpiece vanished.
- Replies: 11
- Views: 641
Re: My masterpiece vanished.
Just tested, I can confirm that this is a bug, macOS 14.4.1, LC 9.6.11 Please report it here: https://quality.livecode.com There is a related bug report in QCC https://quality.livecode.com/show_bug.cgi?id=24034 I you first place an image object on the card and then use the paint tools to paint into...
- Wed Apr 17, 2024 8:01 pm
- Forum: Talking LiveCode
- Topic: PolyGrid Direct Cell Editing?
- Replies: 16
- Views: 12418
Re: PolyGrid Direct Cell Editing?
Lance, I updated my modifications to the script of widget "myPolyGrid" taking account of the font used in widget "myPolyGrid" and also fine-tuned the placement of the topMargin to fit better in a wider range of rowHeight and textSize combinations of the widget. Here is the updated script on cellClic...