Search found 89 matches
- Mon Aug 12, 2019 2:42 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Identifying Current Stack (Solved)
- Replies: 3
- Views: 990
Identifying Current Stack (Solved)
I feel so stupid asking this, but the documentation is a little light and I can't seem to get the right words... I have an app with multiple stacks. I have a script that appears in an object that gets cloned to all stacks. In that script, I want certain sections to work only on certain stacks, and n...
- Wed Jul 24, 2019 1:03 am
- Forum: Talking LiveCode
- Topic: help with filter command
- Replies: 8
- Views: 2231
Re: help with filter command
do you want to filter lines that have "abc"? What you have is a tab delimited string, so effectively, the tab doesn't exist (to what is reading the list). That being, what is being looked for is "abc", not "[tab] abc [tab]". The tab is not part of the data, it's just a separator. Try filtering by "a...
- Tue Jul 23, 2019 8:11 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Can you set custom properties by referenced value?
- Replies: 5
- Views: 1532
Re: Can you set custom properties by referenced value?
I'm not sure if I get exactly what you want (honestly, I am not familiar with graph widgets), but, if you are trying to find code to track whether the data has changed, you might consider trying something like this: Assign a variable to hold the current line data that you are checking (tCheck- this ...
- Sun Jul 14, 2019 5:26 am
- Forum: Multimedia
- Topic: Encapsulated Image in external File
- Replies: 13
- Views: 4618
Re: Encapsulated Image in external File
Thanks Jacque and -hh, I have played with quite a few images now, and it seems that the two I first used seem to be the only ones that are having issues. They seem to be the exception rather than the rule. For what I need, I think I can accept that those couple of images just won't work, but the bul...
- Sat Jul 13, 2019 3:39 pm
- Forum: Multimedia
- Topic: Encapsulated Image in external File
- Replies: 13
- Views: 4618
Re: Encapsulated Image in external File
I am using Windows 10 and Livecode Community 9.0.4. I haven't changed the paintcompression. I don't want the image referenced (I can get it to work with referenced images), because it's easy to lose data if the referenced image file is moved or deleted... I hope that helps with context... I am using...
- Sat Jul 13, 2019 9:26 am
- Forum: Multimedia
- Topic: Encapsulated Image in external File
- Replies: 13
- Views: 4618
Re: Encapsulated Image in external File
Using "The text of the image" yields no data in the file, with or without base64Encode. Using "the imagedata of the image" and Base64Encode of colour image yields no data written into the file. In a B&W image, the file has data. Consequently, B&W works, Colour doesn't. I tried a couple of different ...
- Sat Jul 13, 2019 5:23 am
- Forum: Multimedia
- Topic: Encapsulated Image in external File
- Replies: 13
- Views: 4618
Re: Encapsulated Image in external File
Thanks -hh and jacque. I will give the base64encode a go when I next get on to it. I have tried "the text of img "Imagename" but that didn't save anything into the file. Only the imagedata yielded something into the file. I'll see how it goes. As for the binary file... I don't think I am saving as a...
- Fri Jul 12, 2019 11:29 am
- Forum: Multimedia
- Topic: Encapsulated Image in external File
- Replies: 13
- Views: 4618
Encapsulated Image in external File
Hi all! Long time no post. I have been chugging through an app idea for painters that allows: - An image to be loaded - A grid to be laid on the image (3x3 etc. or vertical only, or horizontal only, or angled) - Grid colour and transparency changes - Copying the image and greyscaling it - Showing on...
- Wed Aug 22, 2018 1:18 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Data Grid Form Sort Column
- Replies: 9
- Views: 2178
Re: Data Grid Form Sort Column
Damn! You beat me to the punch!!! I essentially did the same thing, just in a less elegant way... if the hilited of button "BPMNo" of card "OneVideo" then put "6,17,19,20,29,30" into tAList set the itemdelimiter to comma repeat for each item x in TAList put the dgDataOfLine[x] of group "DataGrid 1" ...
- Wed Aug 22, 2018 1:28 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Data Grid Form Sort Column
- Replies: 9
- Views: 2178
Re: Data Grid Form Sort Column
thanks Klaus... that was the script that I was using... when I put it in as such: 10 put GetDataOfLine(x,"Rating") of group "DataGrid 1" of Card "ExerciseCard" into theRating I get the following error: button "Get Exercises": compilation error at line 10 (Commands:missing ',') near "into" char 70. T...
- Tue Aug 21, 2018 4:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Data Grid Form Sort Column
- Replies: 9
- Views: 2178
Re: Data Grid Form Sort Column
Cool. Legend... wait for it... ary. Right... One issue now I have tested it... I can't add to the Rating field... This is the code I am using: if the hilited of button "BPMNo" of card "OneVideo" then put "6,17,19,20,29,30" into tAList set the itemdelimiter to comma repeat for each item x in TAList d...
- Tue Aug 21, 2018 3:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Data Grid Form Sort Column
- Replies: 9
- Views: 2178
Data Grid Form Sort Column
Hey all, I have set up a DataGrid with a "Form" type. (See picture) It has a Row Template set up with a checkbox, Label and Field "Rating". I used the "Working with checkboxes" tutorial to set it up, then hacked another part to it. I have set up code that works to add a number into the rating if it ...
- Tue Aug 07, 2018 4:50 am
- Forum: Multimedia
- Topic: frame-byframe with Video Formats
- Replies: 15
- Views: 6598
Re: frame-byframe with Video Formats
I don't think I speak that language Klaus! 

- Mon Aug 06, 2018 4:48 pm
- Forum: Multimedia
- Topic: frame-byframe with Video Formats
- Replies: 15
- Views: 6598
Re: frame-byframe with Video Formats
Hey Bernd...
It does actually do stuff, so as Bogs says... it's a start! It just needs refinement (hacking and slashing) to get it to where it needs to be!
We're getting there... even if it is taking the entire power of the greatest Livecode Forum minds to get it done.
BB
XdM
It does actually do stuff, so as Bogs says... it's a start! It just needs refinement (hacking and slashing) to get it to where it needs to be!
We're getting there... even if it is taking the entire power of the greatest Livecode Forum minds to get it done.
BB
XdM
- Mon Aug 06, 2018 7:17 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: How to Press button to just add one thing?
- Replies: 4
- Views: 1413
Re: How to Press button to just add one thing?
I'm no Klaus, but can't you just use the "repeat" sections in an "on mousedown" section? And keep track of columns using a variable? I am not sure exactly what is going on with the code per se... I'd be better if I had a stack rather than an image... but if the repeat is doing something, then return...