Search found 587 matches
- Sun Jan 24, 2016 7:48 pm
- Forum: Windows
- Topic: External files floating loose
- Replies: 3
- Views: 4132
Re: External files floating loose
I've just added an example stack to help with this to the User Sample stacks Save and Deploy files to and from Custom Properties This stack is a response to questions asked about embedding files in a LiveCode application. It demonstrates saving the contents of a file(s) into a Custom Property (CP) t...
- Sat Jan 23, 2016 3:43 pm
- Forum: Windows
- Topic: External files floating loose
- Replies: 3
- Views: 4132
Re: External files floating loose
Probably the way to go is to put the contents of your essential files into custom properties. You can then on start up check to see if these files exist in for example the users documents folder and if not, write them out from the custom property. See this post for an example. http://runtime-revolut...
- Mon Jan 18, 2016 12:24 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: limit a text filed to the first 3 lines
- Replies: 8
- Views: 4587
Re: limit a text filed to the first 3 lines
Hmm.. I always assume things to be true ... unless proven false?
- Mon Jan 18, 2016 11:29 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: limit a text filed to the first 3 lines
- Replies: 8
- Views: 4587
Re: limit a text filed to the first 3 lines
or a slight variation
Code: Select all
on returninField
if word 2 of the selectedLine of me >=3 then
put line 1 to 3 of me into me
else
pass returninField
end if
end returninField
- Wed Dec 16, 2015 9:55 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Color Name
- Replies: 18
- Views: 11424
Re: Color Name
Hi Bernd,
Great find. Haven't looked at the supporting text files before. Very Interesting.
Great find. Haven't looked at the supporting text files before. Very Interesting.
- Tue Dec 15, 2015 8:22 am
- Forum: Databases
- Topic: Update datagrid and update SQL database
- Replies: 1
- Views: 3001
Re: Update datagrid and update SQL database
Hi petero, This lesson will get you sorted. http://lessons.livecode.com/spaces/lessons/manuals/datagrid/lessons/7337-How-Do-I-Save-Changes-The-User-Makes-In-An-Editor-Field-To-An-External-Data-Source- also have a look at this post, which has an example. http://forums.livecode.com/viewtopic.php?f=9&t...
- Sat Dec 12, 2015 10:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Color Name
- Replies: 18
- Views: 11424
Re: Color Name
Mental note: must check out the Raspberry Pi stacks. This is the formula I was working with sqrt( (r1 - r2)2 + (g1 - g2)2 + (b1 - b2)2 ) which I found here http://stackoverflow.com/questions/4057475/rounding-colour-values-to-the-nearest-of-a-small-set-of-colours which is an interesting read. And thi...
- Fri Dec 11, 2015 11:24 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Color Name
- Replies: 18
- Views: 11424
Re: Color Name
Ok, after some investigation LC has the the 'colornames' function which returns a long list of all the color names LC uses. There are multiple names with variations as below AntiqueWhite AntiqueWhite1 AntiqueWhite2 AntiqueWhite3 AntiqueWhite4 If you strip out the variations the list you are left wit...
- Fri Dec 11, 2015 8:54 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Color Name
- Replies: 18
- Views: 11424
Re: Color Name
Hi Ty, Here's a basic list with color name, hex and rgb values Black,#000000,0,0,0 White,#FFFFFF,255,255,255 Red,#FF0000,255,0,0 Lime,#00FF00,0,255,0 Blue,#0000FF,0,0,255 Yellow,#FFFF00,255,255,0 Cyan,#00FFFF, Magenta,#FF00FF,255,0,255 Silver,#C0C0C0,192,192,192 Gray,#808080,128,128,128 Maroon,#8000...
- Tue Dec 01, 2015 6:53 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Strange FTP problem
- Replies: 10
- Views: 5685
Re: Strange FTP problem
Hi Bill,
Which version of LC are you using? Is it a stable or DP release?
Which version of LC are you using? Is it a stable or DP release?
- Tue Dec 01, 2015 10:39 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Strange FTP problem
- Replies: 10
- Views: 5685
Re: Strange FTP problem
Hi Bill,
Agree, probably the internet libraries have not fully loaded.
Try adding a wait 1 second after the openCard handler.
Agree, probably the internet libraries have not fully loaded.
Try adding a wait 1 second after the openCard handler.
- Mon Nov 30, 2015 12:05 pm
- Forum: Announcements
- Topic: Quick and Easy Project Make utility
- Replies: 0
- Views: 3533
Quick and Easy Project Make utility
I've just added a stack to the LiveCode Sample Stacks / Community Share system which is a stripped down version of a utility I use when creating any new project. It creates project folders and sub folders. Creates a blank project stack and saves it. Creates a notes.txt file, adds project info and sa...
- Mon Nov 30, 2015 11:00 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Advice on folder/file system, best way to implement
- Replies: 3
- Views: 2136
Re: Advice on folder/file system, best way to implement
Hi MarcoPolo, I've just added a stack to the LiveCode Sample Stacks / Community Share system which has all the info/code you need to do what you want. Open LiveCode and hit the Sample Stacks button in the toolbar and look for Project Make This is a stripped down version of a utility I use when creat...
- Thu Nov 26, 2015 10:33 pm
- Forum: Internet
- Topic: Write to file using a FTP
- Replies: 5
- Views: 5219
Re: Write to file using a FTP
Hi Jack, Have to agree that this sounds like a db is the way to go. MySQL can handle concurrent actions from multiple users with ease. If have LiveCode server installed on your hosting then you can use LiveCode to act as the parser to and from the db. All the code you would need for this can be foun...
- Sun Nov 22, 2015 5:43 pm
- Forum: Talking LiveCode
- Topic: Commercial Aplications
- Replies: 9
- Views: 5705
Re: Commercial Aplications
LiveCode have a few here https://livecode.com/livecode-stories/
More can be found on this Blog http://livecode1001.blogspot.de/
More can be found on this Blog http://livecode1001.blogspot.de/