Search found 22 matches

by scrabbles
Tue Feb 16, 2016 10:01 am
Forum: Internet
Topic: How do I test if an « open socket » is working or not?
Replies: 3
Views: 2045

Re: How do I test if an « open socket » is working or not?

hi, Do you need to add a callback to your "open socket" command? I see in the dictionary " If the callback parameter is specified then the call will return immediately and upon completion of the lookup, the callback will be invoked with the resolved address as a parameter " You might be able to also...
by scrabbles
Tue Jan 12, 2016 7:32 am
Forum: Talking LiveCode
Topic: Weird prompt with Answer
Replies: 6
Views: 1175

Re: Weird prompt with Answer

hi ya,

Just a stab in the dark at this, but does exiting the mouseup from a loop contribute to this behaviour? if you do "exit repeat" instead, and then let the mouseup exit by itself, does it still happen?

- mark
by scrabbles
Mon Jan 11, 2016 7:18 am
Forum: iOS Deployment
Topic: Getting the file date of a txt file
Replies: 4
Views: 1003

Re: Getting the file date of a txt file

Hi,

Check out "long" in the dictionary, as it can be used with file commands. e.g.

Code: Select all

set the defaultfolder to "/"
put the detailed files
A checksum or other hash might be more reliable than just timestamp.
by scrabbles
Tue Dec 29, 2015 11:43 pm
Forum: Animation Engine
Topic: AE expired cached objects
Replies: 3
Views: 1944

Re: AE expired cached objects

Thank you very much Malte, I can confirm that the issue is no longer reproducible with the updated version.

- Mark
by scrabbles
Thu Dec 24, 2015 9:18 am
Forum: Animation Engine
Topic: AE expired cached objects
Replies: 3
Views: 1944

AE expired cached objects

Hi, sorry if this is silly question but I have a card that dynamically creates (on preOpenCard), animates (on openCard) and deletes (on closeCard) graphic objects. On the first run of aeChangeAngleCircular it works fine, but on subsequent runs (closing then re-opening card) it fails with "execution ...
by scrabbles
Sun Oct 25, 2015 10:08 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: urlencode() mystery
Replies: 7
Views: 1454

Re: urlencode() mystery

hi, might be a bug? i think both are incorrect, shouldn't it be z%E9ro.png. Using other langs or online urlencoders, i get z%C3%A9ro.png.

— Mark
by scrabbles
Thu Oct 22, 2015 10:22 am
Forum: CGIs and the Server
Topic: Modifying headers for CORS ?
Replies: 2
Views: 1653

Re: Modifying headers for CORS ?

Hi, some things i can think of to double check - mod_headers really is enabled? (if you are relying on apache to serve it) - header in script is not replaced by other code? (ie inadvertanlty choosing a different path in code so it's never set/overwritten by something else) - header returned is actua...
by scrabbles
Mon Oct 19, 2015 10:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to create a Sha1 Digest UUID from a string?
Replies: 2
Views: 660

Re: How to create a Sha1 Digest UUID from a string?

Hi Will, That sha1digest code you found looks like it might work to me, but you should be able to use the uuid("sha1",uuid(),"api_secret") format as well, just depends on what you're supposed to use from cloudinary (maybe grep their doco for namespace_ i'm guessing it wll be url). I found this on SO...
by scrabbles
Sat Oct 10, 2015 10:21 am
Forum: Databases
Topic: Fastest method for CSV to MySQL table
Replies: 8
Views: 1950

Re: Fastest method for CSV to MySQL table

Hi, Do you have a way to put a file on the server? If so, the fastest way might be to just use mysql's import functions https://dev.mysql.com/doc/refman/5.7/en/load-data.html As for the int and date.. you sure the values are passed correctly, perhaps you are making the int a string inadvertantly? Th...
by scrabbles
Wed Oct 07, 2015 8:55 pm
Forum: LiveCode Builder
Topic: Icon Specification
Replies: 13
Views: 2237

Re: Icon Specification

Just my interpretation, but @mwieder might be referring to conventions such as Apple's where it is <ImageName><@scaling>.<ext> eg Icon-60@3x.png https://developer.apple.com/library/ios/qa/qa1686/_index.html Or Microsoft's <name>.<scale-100>.<ext> https://msdn.microsoft.com/en-us/library/windows/apps...
by scrabbles
Sun Oct 04, 2015 7:44 am
Forum: Talking LiveCode
Topic: Perform Basic Access Authentication
Replies: 5
Views: 1040

Re: Perform Basic Access Authentication

Hi, this is what i use and it works for me. You might have been missing the auth type of basic or missing a colon space, minor things like that can trip up things. put "https://" & myServer & "/api/xxxxxx/?q=" & urlencode(searchTerm) into myURL put base64encode("user:password") into userpass put "Au...
by scrabbles
Wed Sep 02, 2015 10:40 am
Forum: HTML5
Topic: Example HTML5 conversion
Replies: 20
Views: 7450

Re: Example HTML5 conversion

That was a good little game to play. Impressive it all transpiled, including graphics.
by scrabbles
Wed Sep 02, 2015 10:32 am
Forum: Bug Triage
Topic: How to clear the socket cache.
Replies: 13
Views: 2253

Re: How to clear the socket cache.

Hi ya,

If you are using the "load" command, there is a counterpart called "unload" that should clear the cache. Additionally, you can see what URLs have been cached by using "the cachedURLs" to verify.

Hope that helps.

- Mark
by scrabbles
Tue Aug 25, 2015 12:22 pm
Forum: Learning Resources
Topic: lcdoc & contributing to dictionary
Replies: 4
Views: 3063

Re: lcdoc & contributing to dictionary

Just to answer my own questions in case it benefits others: - lcdoc does seem to be the format going forward in v8 (I am unsure if changes get back ported to 6x though, i think they do for 7.1) - The LCv8 dictionary (open it in livecode) has a guide tab, which has a specifications section explaining...
by scrabbles
Fri Aug 21, 2015 3:11 am
Forum: Learning Resources
Topic: lcdoc & contributing to dictionary
Replies: 4
Views: 3063

lcdoc & contributing to dictionary

Hi, I've written a little script to create a Dash app "docset" as I noticed there wasn't already one ..anyway ... I didn't know what Livecode documentation to base it on—I can see 3 different types of livecode documentation: XML, lcdoc, and in LC8 I see json (locally installed, not on github). I use...

Go to advanced search