Search found 53 matches

by Xero
Tue Apr 07, 2020 1:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Choose randomly in a list
Replies: 3
Views: 87

Re: Choose randomly in a list

What previous posters have said to solve your problem... I think you've slipped up with your syntax... hello so im making a game where you need to draw something random in a list. so on mouseUp, the app needs to pick a random word to draw and display it in a field. i wanted to do something like on m...
by Xero
Mon Apr 06, 2020 4:12 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: video player stops playing videos in list
Replies: 16
Views: 403

Re: video player stops playing videos in list

At least we found something that worked.
Hone in on your code for the folder part and you''ll probably solve your problem.
Good luck!
X
by Xero
Mon Apr 06, 2020 2:14 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: video player stops playing videos in list
Replies: 16
Views: 403

Re: video player stops playing videos in list

Just in case it is a filename/filepath issue, have you tried simplifying both of them? As previously suggested, drop them into a folder that has a simpler path either: 1. Into the same folder as the player and use a relative pathname without all of the other subfolders, or; 2. In Documents folder or...
by Xero
Sun Apr 05, 2020 7:15 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: video player stops playing videos in list
Replies: 16
Views: 403

Re: video player stops playing videos in list

Would need more information, but from what experience I have... 1. Are all of the videos the same format? i.e. *.mov files? I have had issues with some video formats in the past, and have had to convert them to file types that I know work. If the files are all from the same place/ business, it's hig...
by Xero
Sat Sep 28, 2019 12:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Learning to read code
Replies: 3
Views: 546

Re: Learning to read code

That's a tough one... Code is contextualised, so it depends on what app you are writing, not necessarily just code... For example, if I am writing a database app, different code will be used than if I were writing an image manipulation app. Some overlap will happen with "on mouseDown" commands, but ...
by Xero
Fri Aug 23, 2019 12:43 am
Forum: Databases
Topic: UK Format Date Search- SQL
Replies: 5
Views: 1541

Re: UK Format Date Search- SQL

Thanks SparkOut, I don't know what DB engine I am using... I just created an SQLite DB in Livecode... I' not so advanced to know what I am doing! I think I followed a tutorial on the LC site... These were my first two versions, ' DD/MM/YYYY' first, as it was the most logical. I am aware of the "Don'...
by Xero
Thu Aug 22, 2019 1:54 pm
Forum: Databases
Topic: UK Format Date Search- SQL
Replies: 5
Views: 1541

Re: UK Format Date Search- SQL

Sorry Bogs,
That just runs through standard formatting. I need UK, DD/MM/YYYY formatting, and I need to be able to call it up as that from a database.
Thanks anyway!
X
by Xero
Thu Aug 22, 2019 11:29 am
Forum: Databases
Topic: UK Format Date Search- SQL
Replies: 5
Views: 1541

UK Format Date Search- SQL

Hey brainstrust... I'm using an SQL Database with a Column called "Date" that has dates in a format dd/mm/yyyy I'm trying to do a search for dates between a range and return it to a table. I just can't get it to work. I found this code that I have adapted to suit my names: put "SELECT * from EPAccou...
by Xero
Mon Aug 12, 2019 3:13 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Identifying Current Stack (Solved)
Replies: 3
Views: 429

Re: Identifying Current Stack

As always Klaus! Works like a charm. :D The Dictionary does say "Long name", but us dummies don't know we need to ask for the short name! And one of the examples simply reads "the topStack" which doesn't help much... and it actually needs 'the' at the start of it too... Us dummies need it spelled ou...
by Xero
Mon Aug 12, 2019 2:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Identifying Current Stack (Solved)
Replies: 3
Views: 429

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...
by Xero
Wed Jul 24, 2019 1:03 am
Forum: Talking LiveCode
Topic: help with filter command
Replies: 8
Views: 930

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...
by Xero
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: 700

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 ...
by Xero
Sun Jul 14, 2019 5:26 am
Forum: Multimedia
Topic: Encapsulated Image in external File
Replies: 13
Views: 2333

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...
by Xero
Sat Jul 13, 2019 3:39 pm
Forum: Multimedia
Topic: Encapsulated Image in external File
Replies: 13
Views: 2333

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...
by Xero
Sat Jul 13, 2019 9:26 am
Forum: Multimedia
Topic: Encapsulated Image in external File
Replies: 13
Views: 2333

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 ...

Go to advanced search