Search found 89 matches

by Xero
Mon May 04, 2020 5:30 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Line Graph: Double X Entrys
Replies: 12
Views: 2485

Re: Line Graph: Double X Entrys

You have a repeated 5 in your first graph as well...
No idea how to fix it, but it seems where you have a double number value, you're getting a repeat...
X
by Xero
Wed Apr 29, 2020 2:14 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: give roles randomly
Replies: 9
Views: 1728

Re: give roles randomly

Xero. I would have 1-9 in a list, select a random number from 1 to 9, assign that number to player 1, then delete that item of the list. See my handler offering, the third post in the thread. I do just that, not relying on a large sortKey. I have done it that way for decades. Craig Clearly reading ...
by Xero
Tue Apr 28, 2020 7:37 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: give roles randomly
Replies: 9
Views: 1728

Re: give roles randomly

on giveRole put "1,2,3,4,5,6,7,8,9" into theList sort items of theList by random(10000) repeat with N = 1 to 9 put item N of theList into fld ("playerRole" & N) end repeat end giveRole put "theres no such object". ive put playerRole" space and all numbers from 1 to 9. Is the problem that it's not g...
by Xero
Tue Apr 28, 2020 7:17 am
Forum: Multimedia
Topic: Image Colour Profiles
Replies: 2
Views: 1318

Re: Image Colour Profiles

I've had the same issue when it comes to an app I wrote that added grids, picked colours etc. When I imported a jpeg with sRGB profile, I could save the image into a custom file, and when I opened the custom file (which had data to recreate gridlines etc.), the image worked just fine. When I used an...
by Xero
Thu Apr 23, 2020 4:27 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: [SOLVED] Select keyword (command, not keyword)
Replies: 1
Views: 549

Re: Select keyword

Try looking at select (command) in dictionary, instead of select (keyword)
In the dictionary, it goes into what select after means...
XdM
by Xero
Wed Apr 22, 2020 5:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting a Number Range from 1 to X
Replies: 5
Views: 1135

Re: Getting a Number Range from 1 to X

Gonna take a stab in the dark on this one, as I haven't used the pdf viewer in livecode. In theory, I guess, you want a dropdown menu that automatically fills with number from 1 to the number of pages in your pdf, which when clicked on, takes you to the page... First, how are you viewing the pdf? XP...
by Xero
Tue Apr 07, 2020 1:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Choose randomly in a list
Replies: 5
Views: 1089

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: 2713

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: 2713

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: 2713

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: 1074

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: 2935

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: 2935

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: 2935

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: 1003

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

Go to advanced search