Search found 337 matches

by kaveh1000
Sun Oct 27, 2019 2:46 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Here's how to drag-reorder lines in a list field
Replies: 13
Views: 888

Re: Here's how to drag-reorder lines in a list field

Hi Michael Firstly, thank you for your generosity in sharing your tips and tricks. It is very much appreciated! I will go through your code later, but I just thought I would point to Scott Rossi's great stack in case you have not seen it: http://www.google.com/url?q=http%3A%2F%2Fwww.tactilemedia.com...
by kaveh1000
Tue Oct 22, 2019 11:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Naming array keys for WordReport!!
Replies: 21
Views: 1492

Re: Naming array keys for WordReport!!

That's great bogs. But what if I am starting from an array, so I already have a 2D array: tArray["key1"]["value"] = "One" tArray["key2"]["value"] = "Two" etc I want to transform this to: tArray[1]["key1"]["value"] = "One" tArray[2]["key2"]["value"] = "Two" etc then my new keys are 1, 2, etc that are...
by kaveh1000
Tue Oct 22, 2019 10:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Naming array keys for WordReport!!
Replies: 21
Views: 1492

Re: Naming array keys for WordReport!!

I know both you and Craig know what you are talking about! Thanks for your time both. I am now wondering if I should make things simpler. So I have an array that I am reading in and it has alphanumeric keys. Perhaps best if I just add a set of numeric keys, so a new "column" at the start. then there...
by kaveh1000
Tue Oct 22, 2019 9:17 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Naming array keys for WordReport!!
Replies: 21
Views: 1492

Re: Naming array keys for WordReport!!

Hi Craig But pls see Paul's script where he is using CaseSensitive precisely to have case sensitive array keys, so there are two keys: M and m . And the dictionary says: The caseSensitive also affects custom property names and array key names. If you look at my stack, there are definitely two elemen...
by kaveh1000
Mon Oct 21, 2019 9:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Naming array keys for WordReport!!
Replies: 21
Views: 1492

Re: Naming array keys for WordReport!!

Hi all This thread was useful for me as I have case sensitive keys (and unicode chars) for an array and caseSensitive is what I needed. But I have a problem that has been driving me mad, in that a value that I set to a key changes case if there are identical keys with the same letter, but different ...
by kaveh1000
Sun Oct 20, 2019 9:37 pm
Forum: Talking LiveCode
Topic: Sorting Unicode chars not quite right
Replies: 6
Views: 456

Re: Sorting Unicode chars not quite right

At least I know it was not a silly error on my part! And yes, I did try the field Richard and noticed it was different, but I forgot about it after trying a few other things!
by kaveh1000
Sun Oct 20, 2019 8:31 pm
Forum: Talking LiveCode
Topic: Sorting Unicode chars not quite right
Replies: 6
Views: 456

Re: Sorting Unicode chars not quite right

Oh I did not know about sort international. It works! Thank you so much Klaus, as ever.

Regards
Kaveh
by kaveh1000
Sun Oct 20, 2019 8:00 pm
Forum: Talking LiveCode
Topic: Sorting Unicode chars not quite right
Replies: 6
Views: 456

Sorting Unicode chars not quite right

I have a set of 35 non-ascii characters. When I sort them in BBEdit on Mac, I get what seems to be the correct order, namely: á à â ä ã æ ć č é è ê ě ë í ì ĭ î ï ń ó ò ô ö ø ř Ś š ú ù û ü ý ỳ ŷ ž but in LiveCode, using sort tText the result is ý á à â ä ã é è ê ë í ì î ï ó ò ô ö ú ù û ü æ ø ć č ě ĭ ...
by kaveh1000
Thu Oct 17, 2019 10:20 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 1468

Re: Using external script only stack as behaviour

Hi all. Thank you for your comments. Sorry was offline for couple of days. The main solution to my problem was first pointed out by Jacque, namely to use stackfiles. I did not know what this was. Brian then helpfully added the screenshot. So this works with no scripts needed. I am happy now that I h...
by kaveh1000
Tue Oct 15, 2019 3:50 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 1468

Re: Using external script only stack as behaviour

Great. I remember you helped me with "copy files" before. :-)
by kaveh1000
Tue Oct 15, 2019 3:40 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 1468

Re: Using external script only stack as behaviour

Thanks Klaus. I knew that was not the ideal way and I will use your code.
by kaveh1000
Tue Oct 15, 2019 2:26 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 1468

Re: Using external script only stack as behaviour

Thanks a lot Bogs. I thought setting behaviour through the interface and having the script stack in the same directory would be sufficient. But I have now added the script you suggested with slight modification and it works. :-) on preOpenStack set itemDel to "/" set the defaultfolder to item 1 to -...
by kaveh1000
Tue Oct 15, 2019 12:52 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 1468

Re: Using external script only stack as behaviour

Attaching minimal example stacks. I have set Main stack to have behaviour of script_stack.livecodescript . In the stack script of the latter I have: on openstack answer "hi" end openstack When opening Main Stack why does it not answer "hi"? Edited : If the script stack is already open, then I open M...
by kaveh1000
Mon Oct 14, 2019 5:21 pm
Forum: Talking LiveCode
Topic: Using external script only stack as behaviour
Replies: 27
Views: 1468

Using external script only stack as behaviour

I have a stack with most of the script in the stack. I want to use an external script only stack and use it as behaviour. So I have done the following: – I have put the stack script into the script of the stack of a new, script only stack - I have saved the new stack in the same directory as the mai...
by kaveh1000
Thu Oct 03, 2019 7:50 am
Forum: Talking LiveCode
Topic: Huge libcef.so in Linux standalone
Replies: 11
Views: 910

Re: Huge libcef.so in Linux standalone

Hi all

I removed:

oAuth2 Library
HTTPD Library

and it is now working correctly without including libcef.so. fingers crossed it will stay that way.

Go to advanced search