Search found 4268 matches

by bogs
Sun Apr 05, 2020 6:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Script Only Stack Protection
Replies: 11
Views: 99

Re: Script Only Stack Protection

There are actually a lot of ways to hide an open stack, off the top of my head for instance, setting it's visible to 'false' would certainly do it, alternately, putting a .png picture on it that is all invisible would do it, or setting its blendlevel to 99 or 100 would do it. I suspect though, that ...
by bogs
Sun Apr 05, 2020 3:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: video player stops playing videos in list
Replies: 8
Views: 122

Re: video player stops playing videos in list

Above where you type in your reply, there is a button that says 'code display'. Just copy your code from the editor, and paste it inside of the code block.
by bogs
Sat Apr 04, 2020 7:29 am
Forum: Android Deployment
Topic: Storage permissions & API call
Replies: 7
Views: 202

Re: Storage permissions & API call

LC dictionary - 'If you set the defaultFolder to a folder that doesn't exist, the result is set to "can't open directory"' And that is very true, what I find funny about it is, at least where 'nix is concerned, **it still writes a file out, even though it couldn't find the folder :P On mobile, YMMV...
by bogs
Fri Apr 03, 2020 12:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 836

Re: Check available connection with tsNet?

I don't know that I'd say it was 'bad' or not, for instance, if I use an if / then one liner, as above, you may notice I don't close it either :P It also wasn't a 'Hypercard' thing solely, Delphi doesn't require it either. It is, as I said, merely a curiousity thing on my part, I'm always fascinated...
by bogs
Fri Apr 03, 2020 10:15 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 836

Re: Check available connection with tsNet?

Why write it as a test only for Mac or Win? Essentially, the ping command is the same syntax on either Mac or Lin, so you *could* write it as ~ function isConnected // return boolean put "google.com" into tUrl if (the platform is not "Win32") then -- we're not on a Windows machine... put "ping -c 1 ...
by bogs
Fri Apr 03, 2020 9:00 am
Forum: Android Deployment
Topic: Storage permissions & API call
Replies: 7
Views: 202

Re: Storage permissions & API call

Hey Kim, Congrats on solving the first part of your problem! I do not develop for mobile, so take the following with a grain of salt! On the second, I'm not sure there is any built in way. A lot of the time, it appears the language takes some things for granted, like folder locations for OS'es. If y...
by bogs
Wed Apr 01, 2020 5:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 836

Re: Check available connection with tsNet?

I didn't really think it was available, but figured I'd ask for completeness :)
by bogs
Wed Apr 01, 2020 3:32 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: repeat
Replies: 23
Views: 476

Re: repeat

Your (probably) looking for the 'repeat until' loop form, and 'With messages'.
by bogs
Wed Apr 01, 2020 12:20 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 836

Re: Check available connection with tsNet?

Short answer: there is a lot more wrong with that site than just dropping ping packets, so I'm not sure that is a valid test :P Longer answer: 20 1.) I noticed the question in this thread is starting to take a turn. Originally, the question / goal as I read it was merely ~ I would like to test if a...
by bogs
Tue Mar 31, 2020 9:23 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: uninstall/delete 32-bit LiveCode in Windows 10?
Replies: 1
Views: 107

Re: uninstall/delete 32-bit LiveCode in Windows 10?

Before you do that, try this instead. Go to - 25 C:\Users\x\AppData\Roaming\RunRev\Components\The-LC-version-you-want-to-uninstall See if there is a file there named (probably) .set.exe (this will be a hidden file, so in folder options make sure hidden files are visible). If it is there, you can cli...
by bogs
Tue Mar 31, 2020 9:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 836

Re: Check available connection with tsNet?

Yah, I suspect it should work on any OS, provided the ping command is formatted correctly for the OS in question (does mobile have ping? No clue :D ), which means at worst if your multi-platform, your talkingi about if / then or select / case structure to determine how to format the ping.
by bogs
Tue Mar 31, 2020 5:03 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Livecode suitability for game development
Replies: 7
Views: 348

Re: Livecode suitability for game development

Not sure if condolences are required or not for that statement :P
by bogs
Tue Mar 31, 2020 3:16 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 836

Re: Check available connection with tsNet?

If that is the case, that would be a perfect example to base it on, I don't care about the ip. part of field 2, just give me whatever it says below that in the return information. Or whenver you find another site that doesn't return ping, or comes up with something other than what we're testing for....
by bogs
Tue Mar 31, 2020 2:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 836

Re: Check available connection with tsNet?

Well, I tested some websites with your shell script, and for some of them I had something like "1 packet send, 0 returned". In this case, it's difficult to say if the website is up. Heh, Couldn't you give me a hint ? LOL. Please copy/paste field 2's result, or give me an example address, cause with...
by bogs
Tue Mar 31, 2020 12:47 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Check available connection with tsNet?
Replies: 29
Views: 836

Re: Check available connection with tsNet?

Hi, This is more of a curiousity question than an answer to your post, but to check whether a connection is available or not, why would you use tsNet at all, instead of say, shell() ? it's even more easy. While I think that is danged spiffy, AxWald, I think your definition of "easy" and mine are ve...

Go to advanced search