Search found 29 matches

by atmosk
Tue Oct 08, 2019 8:12 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Getting a file's creation date
Replies: 7
Views: 5295

Re: Getting a file's creation date

As this is the first result from Google for "livecode file creation date" and no other thread actually answers it either (at least when going over them semi-superficially) here's how it's done in Richard's script mentioned above (with minor modification), on mouseUp put item 4 of line 1 of the detai...
by atmosk
Wed Nov 22, 2017 2:33 pm
Forum: Teaching with LiveCode
Topic: Why do so few schools try LiveCode...?
Replies: 86
Views: 130805

Re: Why do so few schools try LiveCode...?

Hi, From personal experience, the single biggest obstacle for my nephews (4 and 6) has been English and while they both can read and write in their native language, adding the complexities of programming on top of a new language has been a bit too much of a hurdle to over come. I think this is a mi...
by atmosk
Tue Nov 21, 2017 10:21 am
Forum: Teaching with LiveCode
Topic: Why do so few schools try LiveCode...?
Replies: 86
Views: 130805

Re: Why do so few schools try LiveCode...?

While the usefulness (from the ease of employment pov) is pretty much a one punch wreckage for LC, I think LC could actually fill a major gap in programming and that's providing a starting point for non-english speaking children. From personal experience, the single biggest obstacle for my nephews (...
by atmosk
Tue Nov 21, 2017 10:04 am
Forum: Mac OS
Topic: App icon on MacOS
Replies: 1
Views: 2840

App icon on MacOS

Normally I only make stuff for Windows/Android, but this time I have had a need for a mac version and for some reason, for the life of me I can't find any information on how to make app icons for mac apps. I assume the icons are handled somehow differently on MacOS which also would the reason for wh...
by atmosk
Mon Feb 13, 2017 1:34 pm
Forum: Android Deployment
Topic: Unusual field/backspaceKey behavior
Replies: 5
Views: 5846

Re: Unusual field/backspaceKey behavior

Yup, I'm guessing (based on gut feels) that it has something to do with how the non-native fields pass information to the keyboard or how the soft keyboard logics pass their 'info' to the fields. Since it seems like the non-native fields create a new "variable" for their strings every time it get's ...
by atmosk
Tue Jan 24, 2017 1:42 pm
Forum: Android Deployment
Topic: Unusual field/backspaceKey behavior
Replies: 5
Views: 5846

Re: Unusual field/backspaceKey behavior

That's what I've tried as well, but that's fairly inconsistent also. With the updated google keyboard (gboard nowadays apparently) the above behavior persists on all of my livecode android projects. If I uninstall all the updates from the gboard, I get completely normal behavior in a blank + 2 field...
by atmosk
Tue Jan 24, 2017 12:23 pm
Forum: Android Deployment
Topic: Unusual field/backspaceKey behavior
Replies: 5
Views: 5846

Unusual field/backspaceKey behavior

I've been messing with android stuff for a good long while now and currently working on another android project and again stumbled upon the same problem. In short, the backspaceKey/message doesn't consistently trigger with non-native fields. Tried on multiple different livecode versions getting the ...
by atmosk
Mon Nov 28, 2016 8:14 am
Forum: Talking LiveCode
Topic: png images with white
Replies: 12
Views: 7788

Re: png images with white

This definitely isn't the ideal solution, but it could work okayish (ultra slow with larger images). Basically just a bandage fix. on mouseUp lock screen put "255,255,255" into transparentColor answer file "Select the image" put it into fileDir if (the result = "Cancel") then set the name of me to "...
by atmosk
Wed Nov 09, 2016 10:59 am
Forum: Talking LiveCode
Topic: Analyzing Data?
Replies: 9
Views: 11042

Re: Analyzing Data?

I can't currently see any special advantage of using the hsv color model here. Do you have advantages in mind if one tries to categorize the used colors? The benefit was in the ease of use with dynamic colors, but your solution is way more efficient (like 1000 times faster?) than mine was so even i...
by atmosk
Wed Nov 09, 2016 2:40 am
Forum: Talking LiveCode
Topic: Analyzing Data?
Replies: 9
Views: 11042

Re: Analyzing Data?

Yup, goofed up the rgbtohsv a bit, but fixed it in the first post now so future visitors won't have to struggle with it. Here's a complete solution though since I felt a bit bad for messing up :) on mouseUp answer Analyze("image") end mouseUp function Analyze targetImage //item 1 = the name, item 2 ...
by atmosk
Tue Nov 08, 2016 3:59 pm
Forum: Talking LiveCode
Topic: Analyzing Data?
Replies: 9
Views: 11042

Re: Analyzing Data?

I'm assuming your goal is to get more than just the 3 base colors so that means you'll have to get the hsv (hue, saturation and value) from it and then according to hue (probably enough unless you have like red, light red, dark red etc) match the color. So first off, you'll need to get the rgb value...
by atmosk
Tue Nov 01, 2016 2:38 pm
Forum: Android Deployment
Topic: Lenovo Yoga Tab 3 -> Android test installation issues
Replies: 1
Views: 2477

Lenovo Yoga Tab 3 -> Android test installation issues

Struggled with this for the day so figured I'd post here in case someone else is 'working' with the same tablet and has similar problems. So, using Lenovo Yoga Tablet 3 (presumably other lenovo phones and tablets as well), I started first getting "Host service" issues when trying to deploy using the...
by atmosk
Wed May 25, 2016 9:35 am
Forum: Talking LiveCode
Topic: Livecode builder.
Replies: 1
Views: 1914

Re: Livecode builder.

Bump, since I was in process of asking the same thing. Any resources other than the couple tutorials here and there or livecode's github? Edit: ..and the bump becomes an answer. If you go to Livecode 8's dictionary, then select guide from the tiny tab bar (API |Guide), then select "extending livecod...
by atmosk
Fri Jan 15, 2016 2:58 pm
Forum: Talking LiveCode
Topic: Popup menu alternative (Looks decent on android etc.)
Replies: 2
Views: 2411

Re: Popup menu alternative (Looks decent on android etc.)

It's not exactly amaze but, figured it's better than 'nothing' since google didn't find any prebaked solutions to the native solution and I'm sure someone someday will come across the same issue so might as well share :D Also updated the script a bit to ignore list-like-appearance breaking effects o...
by atmosk
Thu Jan 14, 2016 3:59 pm
Forum: Talking LiveCode
Topic: Popup menu alternative (Looks decent on android etc.)
Replies: 2
Views: 2411

Popup menu alternative (Looks decent on android etc.)

Needed a 'popup selector thing' for my current android project and after reminding myself of how the livecode versions looked I wrote a 'self-contained' alternative. Add the following script to an "field" control and your desired list into the params of the function call. By default the the list con...

Go to advanced search