Search found 834 matches

by Simon Knight
Wed Feb 08, 2017 5:25 pm
Forum: Talking LiveCode
Topic: Creating LiveCode applications that play well with git
Replies: 136
Views: 74737

Re: Creating LiveCode applications that play well with git

Hi Trevor, Thanks for your reply. I believe that I now have the linter up and running and I can see why all the note recommend using the package installer. For reference I had three problems with the install which are not all that clear in the various readme files: 1. Updating the user prefs. Be car...
by Simon Knight
Wed Feb 08, 2017 9:49 am
Forum: Talking LiveCode
Topic: Creating LiveCode applications that play well with git
Replies: 136
Views: 74737

Re: Creating LiveCode applications that play well with git

Re my question about syntax checking. I have listened hard to the video and now understand that you refer to a "linter" file rather than the odd sounding "Livecode winter" that I originally heard (Doh!). I have googled linter and sublimetext3 and am now installing yet more gooodies from Trevor's Git...
by Simon Knight
Wed Feb 08, 2017 9:23 am
Forum: Talking LiveCode
Topic: Creating LiveCode applications that play well with git
Replies: 136
Views: 74737

Re: Creating LiveCode applications that play well with git

Trevor, A big THANKYOU for all your efforts in making and posting your videos. I have not yet used any version control tools and the only external editor I tried was tRev way back when,which had its problems. So I have set aside a few days to try Sublime text with your additions/plugins and then I m...
by Simon Knight
Thu Feb 02, 2017 6:08 am
Forum: Talking LiveCode
Topic: How does or should "Is Among" work ?
Replies: 3
Views: 2731

Re: How does or should "Is Among" work ?

Hi Klaus and Bernd, Many thanks for your comments which have helped in my understanding. I had incorrectly thought that line breaks would be also treated as word or item breaks and I had not realised that LC only uses spaces to delimit words in the command "is among the words". The "trueWords" keywo...
by Simon Knight
Wed Feb 01, 2017 1:16 pm
Forum: Talking LiveCode
Topic: How does or should "Is Among" work ?
Replies: 3
Views: 2731

How does or should "Is Among" work ?

Hi I am confused by the use of "item" and "items". Specifically I have a field named ColourCodes that holds the following data, these are todo priorities at the beginning of the line followed by a comma and then a named colour : Normal,LightPink2 Priority,MediumSeaGreen Note,LightGreen High,LightGra...
by Simon Knight
Fri Jan 20, 2017 4:37 pm
Forum: Mac OS
Topic: URL Syntax and RevBrowser on Mac
Replies: 0
Views: 2273

URL Syntax and RevBrowser on Mac

Hi, I have a utility application that displays PDF files in a revbrowser window. The name of the file is passed to the browser as a URL. If the name passed contains either a space or a pipe then the browser fails to locate the file and displays a blank page. The solution is to replace the special ch...
by Simon Knight
Mon Jan 16, 2017 7:59 am
Forum: Mac OS
Topic: How do you write file tags to OSX files?
Replies: 2
Views: 2898

Re: How do you write file tags to OSX files?

Thanks Thierry,

This is just the help I needed, I'll post again when I have completed some experiments.

Thanks
by Simon Knight
Thu Jan 12, 2017 9:47 pm
Forum: Mac OS
Topic: How do you write file tags to OSX files?
Replies: 2
Views: 2898

How do you write file tags to OSX files?

Hi, I would like to add the ability to write key word tags to files in Mac OS X. I have found details in the LC dictionary of how to access the resource fork (OS9?) but not how to write to the extended attributes of Mac OSX files. Googling suggests I need to use the OS command "xattr" and process so...
by Simon Knight
Thu Jan 12, 2017 12:18 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Drag and Drop a single line of text
Replies: 14
Views: 11469

Drag and Drop a single line of text

Hi, I have spent the last few hours experimenting with drag and drop. While I have written code that works it feels a clumsy and over complicated so I would appreciate any comments. The code below is in a behavior button used by two list fields. The aim is to allow the user to select complete lines/...
by Simon Knight
Sat Apr 09, 2016 4:00 pm
Forum: Talking LiveCode
Topic: Datagrid - strange behavior
Replies: 8
Views: 5523

Re: Datagrid - strange behavior

Hi again, I have discovered a repeatable method of putting a datagrid into a state where modifying the code in the row behavior button fails to restore correct operation. In summary if the line exit to top is used things break. However, if the line is removed the datagrid remains broken until Liveco...
by Simon Knight
Sat Apr 09, 2016 12:13 am
Forum: Talking LiveCode
Topic: Datagrid - strange behavior
Replies: 8
Views: 5523

Re: Datagrid - strange behavior

Thanks for your comments. I have LC 8 DP16 and will look for a log file. Quailcreek your set up is the same as mine, when you say you use Dgs often are you customising them with additional controls and editing/adding behavior buttons? I think that I shall have to investigate further but I am wonderi...
by Simon Knight
Fri Apr 08, 2016 2:05 pm
Forum: Talking LiveCode
Topic: Datagrid - strange behavior
Replies: 8
Views: 5523

Datagrid - strange behavior

Hi, I have just started to use Livecode (7.1.3) after break and am refreshing my knowledge (ha!) on the working of Datagrids. I have created a simple stack that imports a list of names and addressed and I am displaying this list in two datagrids on the same card. I have no specific problem of the “h...
by Simon Knight
Fri Feb 06, 2015 11:35 am
Forum: Android Deployment
Topic: Does the mobileLockIdleTimer command work
Replies: 6
Views: 3759

Re: Does the mobileLockIdleTimer command work

Thanks - I will have a look if I am able to locate my old code.

Simon
by Simon Knight
Mon Jan 12, 2015 1:58 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid - adding line under variable height records
Replies: 2
Views: 1804

Re: Datagrid - adding line under variable height records

I have a sort of answer: first do not alter the values in the string passed as pControlRect as it may cause problems. Second it seems to me that a line causes a problem because the datagrid does not allow a line to increase the height of a line in a form. My line has item 2 = item 4 in its rect whic...
by Simon Knight
Sun Jan 04, 2015 6:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Datagrid - Detecting Return in Field
Replies: 5
Views: 3239

Re: Datagrid - Detecting Return in Field

I wonder if you can save the name of the current field in a global (which is updated on closeField, say), and use it with the key information gleaned separately. Thanks it works : I added a custom property to the datagrid group and populate it with the name of the field in the row behavior handler ...

Go to advanced search