Search found 27 matches
- Mon Feb 15, 2021 1:53 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Database with two tables
- Replies: 2
- Views: 385
Re: Database with two tables
Here's my guess as to the SQLite query that will provide the "secName" field: SELECT stu.studentID ,stu.studentName ,stu.LRN ,stu.sectionID ,sec.secName FROM main.students stu LEFT OUTER JOIN main.sections sec ON sec.secID = stu.sectionID; The join connects the two tables where the section ids match...
- Sat Feb 06, 2021 2:50 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Animation of a fan on a motor shaft? - Solved
- Replies: 27
- Views: 1938
Re: Animation of a fan on a motor shaft? - Solved
This is a fun topic. I learned a lot. Here is a slightly revised version of the first stack posted. It allows you to set (toggle between true and false) the palindromeFrames property so that is plays forward and backward until stopped. Thanks for all the contributions (including the jokes and images...
- Thu Feb 04, 2021 12:24 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How can I disable auto-indentation in block comments?
- Replies: 15
- Views: 1450
Re: How can I disable auto-indentation in block comments?
Comments are good but I don't use them enough. I had forgotten about block comments. Here is a little stack that demonstrates how to pull comments from a script. Only comments that start a line are shown, not comments that are at the end of lines or heavily indented. The button puts the comments int...
- Wed Feb 03, 2021 3:30 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problems with calling wikipedia API
- Replies: 20
- Views: 2099
Re: Problems with calling wikipedia API
Richard: I was successful building the stack as a standalone app but it took some trial and error to figure out what inclusions were needed. Here are the inclusions I found were necessary: Tree View JSON Library Internet SSL & Encryption Answer Dialog (the Ask Dialog seems to automatically check its...
- Mon Feb 01, 2021 11:36 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Rename a file to the contents of a field on a card
- Replies: 11
- Views: 718
Re: Rename a file to the contents of a field on a card
Oops. Never mind. You are using that command.
I didn't read the prior messages closely enough.
Sorry, Bob
I didn't read the prior messages closely enough.
Sorry, Bob
- Mon Feb 01, 2021 11:33 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Rename a file to the contents of a field on a card
- Replies: 11
- Views: 718
Re: Rename a file to the contents of a field on a card
Tom:
There is also a "open printing to pdf" command in the Dictionary with some sample code.
Maybe that would be useful.
Bob
There is also a "open printing to pdf" command in the Dictionary with some sample code.
Maybe that would be useful.
Bob
- Mon Feb 01, 2021 3:08 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: widget Signature to SVG pathdata
- Replies: 5
- Views: 613
Re: widget Signature to SVG pathdata
I don't have Illustrator either.
Maybe there is an Open Source Software app that would help; Inkscape might be worth a try.
Sorry, I don't have any other ideas at the moment.
Bob
Maybe there is an Open Source Software app that would help; Inkscape might be worth a try.
Sorry, I don't have any other ideas at the moment.
Bob
- Sun Jan 31, 2021 10:00 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: widget Signature to SVG pathdata
- Replies: 5
- Views: 613
Re: widget Signature to SVG pathdata
Copying the path from a Signature widget works but not very well. In fact, it doesn't look good at all.
I was curious about this so I created a sample stack with the best I could figure out.
Maybe someone else can figure out a better solution.
Bob
I was curious about this so I created a sample stack with the best I could figure out.
Maybe someone else can figure out a better solution.
Bob
- Sat Jan 30, 2021 4:59 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problems with calling wikipedia API
- Replies: 20
- Views: 2099
Re: Problems with calling wikipedia API
This quickie demo grabs the JSON and displays it as an array, then grabs the first image URL and displays it Richard: Your demo stack is a great learning tool. Awesome! I looked through the script and found the API link you used: https://en.wikipedia.org/api/rest_v1/#/Page%20content/getContent-medi...
- Fri Jan 29, 2021 4:13 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Problems with calling wikipedia API
- Replies: 20
- Views: 2099
Re: Problems with calling wikipedia API
I am enjoying this Wikipedia API topic. There are some beautiful images on Wikipedia. I tried to create a script to retrieve the Picture of the Day but I haven't been able to figure out how to use the API. Frustrated. If anyone wants to spend time (I spent hours but it should be easier), I think it ...
- Mon Jan 25, 2021 6:48 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Where do the painting tools paint?
- Replies: 13
- Views: 1312
Re: Where do the painting tools paint?
I was curious about this topic so I created an example stack to demonstrate how a 9-by-9 grid of squares could be populated with selected colors. It turns out that images (first card) don't have a backgroundColor that can be set programmatically. Step 1, click on the "Create 9x9 Grid of Color Images...
- Sun Jan 24, 2021 5:04 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Extra 'title bar' in new stack
- Replies: 10
- Views: 1657
Re: Extra 'title bar' in new stack
The problem of the "Show Tab Bar" item under the View menu just happened to me, too. I am using LC Indy 9.6.2 (rc 2). I had just started LC when accidentally I clicked on the View menu and activated the first item (Show Tab Bar). I couldn't get it to go away. I tried the suggestions above but they d...
- Sun Jan 03, 2021 6:41 pm
- Forum: Announcements
- Topic: [ANN] bnGuides alignment tool on livecodeshare
- Replies: 17
- Views: 6455
Re: [ANN] bnGuides alignment tool on livecodeshare
Bernd:
This is a brilliant tool!
Many thanks for making it available.
Bob
This is a brilliant tool!
Many thanks for making it available.
Bob
- Fri Dec 18, 2020 5:12 am
- Forum: Talking LiveCode
- Topic: AppleScript not found
- Replies: 9
- Views: 1246
Re: AppleScript not found
I don't know if this will help you find an answer to your question but here is something you might try. In the Applications/Utilities folder there is a program called: Script Editor.app After starting it, look at the Preferences menu. In the General tab, the drop-down menu will show what languages a...
- Thu Aug 06, 2020 4:04 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: [SOLVED] Something is not right with my data
- Replies: 45
- Views: 6537
Re: [SOLVED] Something is not right with my data
Thierry:
Brilliant script. Quite elegant!
Thanks,
Bob
Brilliant script. Quite elegant!
Eight instead of 55 lines. Beautiful.Here is a replacement for the 55 lines of CountsByMonth,
using combine with some adjustements and simplification:
Thanks,
Bob