Re: Delete element from array

2017-01-29 Thread jameshale via use-livecode
Richmond Mathewson via use-livecode wrote > Others can please chime in here… I'm not sure exactly why the new > dictionary is "irritating" but it is. > > let's say I want to see all the properties for buttons. I think the old > dictionary gave us that option. > > Now if I click on "association

Re: [ ANN ] Release 8.1.3 RC-1

2017-01-20 Thread jameshale via use-livecode
I can confirm the interaction with the Data Grid Helper plugin. When I removed my copy everything appeared as expected. If I left it in I got nothing under the plugins menu. Added some log excerpts to bugzilla report http://quality.livecode.com/show_bug.cgi?id=19120 -- View this message in

Re: Goofy question about Datagrids

2016-11-02 Thread jameshale
Interestingly I actually wasn't aware of LC's table field when I was working on the interface of my current app. Given all my previous work with LC was really about utilities that acted on something external and produced something external to the stack. Indeed I rarely made standalones being quite

Re: QCC down?

2016-08-12 Thread jameshale
Never mind. I have been let in now. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/QCC-down-tp4707434p4707435.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list

QCC down?

2016-08-12 Thread jameshale
Just tried to look at a bug and got a forbidden entry. Specifically the following three lines... Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Can others get in?

Re: Application Transport Security deadline for iOS apps

2016-07-11 Thread jameshale
According to an article on TechRepublic ( http://www.how-to-migrate-to-https-using-app-transport-security-when-developing-ios-apps ) "If you're using WKWebView, an arbitrary

PDF version of Docs quickly generated in LC8.1DP2

2016-06-30 Thread jameshale
Recently I noticed a comment regarding the PDF User Guide which implied that now when you select it from the Help menu within LC it gets generated on the fly from the guides present in the Dictionary. So I thought I would give it a go. I am using LC8.1DP2 In less time than it took to generate

Re: Refresh Data Grid not working in 8.1?

2016-06-26 Thread jameshale
OK it is a bug. Logged... http://quality.livecode.com/show_bug.cgi?id=17908 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Refresh-Data-Grid-not-working-in-8-1-tp4706089p4706115.html Sent from the Revolution - User mailing list archive at Nabble.com.

Refresh Data Grid not working in 8.1?

2016-06-25 Thread jameshale
Hi, I am currently updating the Data Grid docs to match the interface of LC 8 as well as be available in the dictionary. In doing the equivalent of the lesson How do I display line numbers in a table I

Re: Feature Exchange any one?

2016-06-08 Thread jameshale
Ok it is up. http://quality.livecode.com/show_bug.cgi?id=17816 over to your Ali. James -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Feature-Exchange-any-one-tp4705390p4705544.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: Feature Exchange any one?

2016-06-07 Thread jameshale
Ali Lloyd-2 wrote > Q1 - yes, that's fine by me, as long as you've signed the CLA > http://livecode.com/store/account/contributor-agreement-signup > (I'm not going to make too much of a habit of committing things on other > people's behalves, but the datagrid docs are important and I really >

Re: Feature Exchange any one?

2016-06-07 Thread jameshale
Paul Dupuis wrote > Perhaps if I find some time later this summer, I'll take a stab at the > Guide itself. OK the bug bit and I thought, why not. I have begun to convert the DG Manual to markdown. It is actually fun (I know, I need to get out more.) I have converted the first two chapters (66

Re: [ANN] Release 8.0.0

2016-05-04 Thread jameshale
Great news! Congrats to the team, well done. But as Colombo would say, there's just one more thing. Looking at the pricing page on the website you need to scroll to the bottom to see the open source version. Really there should be three columns, GPL (or Community), Indy, Business With the

Re: ListStyle - How to control distance between the list marker and subsequent text

2016-04-23 Thread jameshale
try set the listindent of line 2 of fld "categoryPickerHelp" to 15 and play with the value. James -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ListStyle-How-to-control-distance-between-the-list-marker-and-subsequent-text-tp4703809p4703811.html Sent from

Re: How do I specify a non-filled SVG path

2016-04-23 Thread jameshale
My previous post used in effect two seperate paths. One advantage to using this method it that by changing the "fill rule" you effectively get two icons for the price of one, a filled one and an outline one. This was indeed what I was after. However I was curious as to other examples I had seen

Re: How do I specify a non-filled SVG path

2016-04-23 Thread jameshale
OK I worked it out. One needs to draw two paths, an outer and an inner. Then open the SVG file in a text editor and remove everything except the actual path instructions. This includes removing "fill" and "stroke" attributes too. The paste the remaining path into the "icon path" of the widget.

How do I specify a non-filled SVG path

2016-04-22 Thread jameshale
I have been playing with the SVG widget in LC8RC1 and want to have a filled and unfilled version of a path. I know this can be down as LC comes with examples. ("bookmark" and "bookmark empty") What I want to do is create some of my own however whatever hollow path I draw the widget always shows

Re: Help with Nested Arrays - Json

2016-04-18 Thread jameshale
As Phil pointed out, you seem to be mixing containers with values. Try... put "SivaSiva" into tStack --tStack is a key to the first dimension put "0" into tGroupCounter repeat for each line x in tData put item 1 of x into tCard -- tCard is the key to the second dimension

Re: Standalone (and stack in IDE) getting larger on each launch

2016-04-18 Thread jameshale
solved. I recently added a card to act as a sort of home card. It was from this card I called a routine to adjust the stack height. I discovered that all my cards EXCEPT for this one had a group menu assigned. I had forgotten to add this to the home card and only realised it might be missing when

Re: Standalone (and stack in IDE) getting larger on each launch

2016-04-12 Thread jameshale
hmm, worth a try. i applied the suggestion to the preopencard handler of the card I know will be first on view. setting a delay of up to 30 ticks made no difference. I will leave this for now. I think something else it happening (possibly due to some script that gets called) which is getting in

Re: Standalone (and stack in IDE) getting larger on each launch

2016-04-09 Thread jameshale
setting the destroystack true or false had no effect. I tried to create a test stack to replicate the issue but couldn't which implies I guess that it is something in my stack doing it. For now I have moved the sizing handler further up the start chain and at least I have kept the increase

Re: IMG resize advice wanted

2016-03-30 Thread jameshale
So everything worked out and I was able to resize all images as needed to fit within the bounds of the field they were displayed in. The script I used was: a couple of things of interest. importing paint does not fail helpfully. Sometimes you get an error, sometimes nothing, but if it does fail

IMG resize advice wanted

2016-03-27 Thread jameshale
I current;y have an app for indexing ans searching ePub files. The focus of the app being the ability to apply complex searches against the text of the ePub. That being said some ePubs have embedded images which my app can display in situ. At this time the on;y change I make is to ensure the image

Error in DG row behaviour crashing LC?

2016-03-20 Thread jameshale
(Sorry if this is a second post - not sure first went to the right place) While modifying the Fillndata handler in the row behaviour I managed to crash LiveCode (LC7.1.3rc1). After a few crashes where I selectively commented out my recently added lines of script I traced it to my setting a

Re: using the SHELL function to GREP a body of text

2016-03-19 Thread jameshale
Peter TB Brett wrote > Unfortunately XHTML and HTML are not regular languages, which means that > they cannot be processed correctly with regular expressions. > > Indeed, "Implement an HTML parser using regular expressions" is a > well-known prank project to suggest for inexperienced developers

Re: Error in DG row behaviour crashing LC?

2016-03-19 Thread jameshale
Richard Gaskin wrote > It would be helpful to check this under the current versions of v7 and > v7 (7.1.3rc1 and 8.0dp15 respectively), and if the crash recurs in > either please submit a bug report. Interestingly I attempted to do just that. But rather than threaten the app I am working on

using the SHELL function to GREP a body of text

2016-03-18 Thread jameshale
I have large bodies of xhtml/html text stored in an array which I would like to clean up using GREP. I have been using the 'replacetext' function to great effect but I have hit an impasse. There are some situations where I think I really need to use back references but LC's GREP does not allow

Re: using the SHELL function to GREP a body of text

2016-03-18 Thread jameshale
J. Landman Gay wrote > I cannot pass up a chance to post the best reply ever written: > > http://stackoverflow.com/a/1732454; Very good. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/using-the-SHELL-function-to-GREP-a-body-of-text-tp4702346p4702375.html

Re: Launcher Stack and Saving

2016-03-08 Thread jameshale
Randy Hengst wrote > Second, when I “quit” the launcher the changes made to the “main” stack > are not saved. However, when I close by clicking the “red” dot of the > “main” stack, the changes are saved. I have not gone through the lesson but the launcher/mainstack structure usually implies that

Re: updating progress to user during long handler

2016-02-27 Thread jameshale
Thanks for the inelegant solution Phil. Although given I didn't find any to unlock (despite the unlock screen getting things to work) I trust I do not need it. Thanks Kay for the interpretation of the dictionary entry. Makes perfect sense. Opportunity for an edit to the entry I guess. We can

Re: updating progress to user during long handler

2016-02-26 Thread jameshale
Well I thought I should have a look given these comments. I went through every GLX script I could find looking for lockscreens - none. I then went through all my scripts in my main stack, the card scripts of the opening card as well as all library stacks I am calling. Every lockscreen was paired

Re: updating progress to user during long handler

2016-02-26 Thread jameshale
SOLVED: Changed the updateme handler (in the splash stack) to include unlocking the screen on updateme para set lockscreen to FALSE put para into fld "theprogress" end updateme All the progress updates now come through. Thanks to everyone who helped get me here.

Re: updating progress to user during long handler

2016-02-26 Thread jameshale
Hi Kay, Well way ahead there. I had tried a one second delay before my first post. It had no effect (except for taking longer) Kay C Lan wrote > On Fri, Feb 26, 2016 at 9:56 AM, jameshale > james@.id > wrote: > >> >> Now test some 'descending' wait after

Re: updating progress to user during long handler

2016-02-25 Thread jameshale
Hi Kay, Actually never thought of that (doh!) Beeps in the updateme handler fire. - so the handler is getting the message Breakpoints in updateme as well as following "send" in main routine show the text appearing in the SPLASH stack. So, the messages are being sent. The updateme handler is being

Re: updating progress to user during long handler

2016-02-24 Thread jameshale
Thanks for the thought Phil Phil Davis-5 wrote > I find it sometimes helps to lock & unlock the screen right after > .. Tried it but no change. -- View this message in context:

Re: updating progress to user during long handler

2016-02-23 Thread jameshale
Hi Mark, Hmm, it is possible I have a lock screen buried in there somewhere. I will check it out. Good to know the code should work. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/updating-progress-to-user-during-long-handler-tp4701326p4701339.html Sent from

Re: updating progress to user during long handler

2016-02-23 Thread jameshale
Hi Craig, This is what I initially did but, as you surmised, I actually had no way of knowing or predicting the actual progress. I then made some calculations and 'step' loops placing a sequence of progress bar updates. Didn't work. Some bars didn't show and those that did didn't progress. Hence I

Re: Accessing handler in LC resource stack

2016-02-07 Thread jameshale
Ali Lloyd-2 wrote > revsaveasstandalone.livecodescript is just a stack named > "revSaveAsStandalone", so can be referred to that way, eg dispatch > "handler" to stack "revSaveAsStandalone". > > However, it *should* be in the backscripts already, so I think that may > not > be the problem (unless

Re: Accessing handler in LC resource stack

2016-02-07 Thread jameshale
Thanks Ali, > Ah ok, it just needs the ...of stack "revStandaloneSettings" removed then, Worked! > or should be changed to revSaveAsStandalone theStack, theOutputFolder Didn't work (tried it first :-)) -- View this message in context:

Re: DP13 breaks GLX framework

2016-01-14 Thread jameshale
Aha. Thanks Ali. Does a bug report need to be generated? (Well, actually will you be entering one given you know what it is?) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DP13-breaks-GLX-framework-tp4700166p4700176.html Sent from the Revolution - User mailing

Re: DP13 breaks GLX framework

2016-01-14 Thread jameshale
ok, the error I am getting is" button "glxappManagedEngineMessages": execution error at line 7342 (Chunk: can't find background), char 9 I can of course not find a line 7342 in a script that has only 279 lines. The button referred to is in the 'scripts' card in a group 'frontscripts' of the

Re: DP13 breaks GLX framework

2016-01-14 Thread jameshale
Hi Trevor, The only script I can see over 7000 lines is sqlYoga. All my calls to this library take place after my preopenwindow handler and as mentioned, when run from the message box it goes without issue. The app seems to function fine from this point with functions that use sqlYoga working as

DP13 breaks GLX framework

2016-01-13 Thread jameshale
Hopefully there are people out there who have a more intimate knowledge of the GLX framework than I. Opening a GLX based app with DP13 hits a snag in the last handler just before the launcher is dismissed. Consequently no preopenwindow handler makes it to the main app stack and necessary set up

Re: Two SQLITE RevBD questions

2015-12-26 Thread jameshale
Thanks Peter, I was hoping that was the case. James -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Two-SQLITE-RevBD-questions-tp4699831p4699834.html Sent from the Revolution - User mailing list archive at Nabble.com.

Re: DP6 more strict?

2015-10-05 Thread jameshale
Except the alternate syntax can no longer be handled. Whatever side of the fence one eventually chooses the docs need to match, and if this stricter mode is kept some flag about it in both the docs and the release notes is warranted. -- View this message in context:

Re: DP6 more strict?

2015-10-04 Thread jameshale
I agree with MarkS on this, it is a good thing. I think I would have liked a warning though. One sort of looks past what has been ok before in trying to see where an error is. A bit like the difficulty in proofreading something you have written. You tend to "see" what you expect rather than

[ANN] UltraEdit Wordfiles for LCS and LCB

2015-09-14 Thread jameshale
Looking around for text editors with code folding and I found UltraEdit. It is not free ($79) although you can try it out for 30 days. It is cross platform and you can get it from here It too has language definition files which it calls "wordfiles" I have made wordfiles for both

Re: BBEdit/Textwrangler LCM for livescript

2015-09-10 Thread jameshale
Updated livecodeBuilder CLM to adjust function regex so that function names appear in BBEdit's function popup https://dl.dropboxusercontent.com/u/8212901/LiveCodeBuilder.plist James -- View this message in context:

Re: BBEdit/Textwrangler LCM for livescript

2015-09-07 Thread jameshale
Thanks Peter and Kan, Multi word keywords: There does seem to be a way around this as mentioned in the update to language modules doc (for BBEDIT 11+) but I am not clear as to the syntax. As a work around (aren't they all!) I have split all multi word keywords into their components removing those

Re: LCB API's

2015-09-01 Thread jameshale
OK, now I understand my confusion. I have been comparing the NEW dictionary to the OLD (V7 and before) where the listing of terms was BETTER presented (at least in my opinion). In the OLD dictionary the listing of items was a table with three columns the first of which was termed "Keyword" This

Re: LCB API's

2015-09-01 Thread jameshale
In the .mlc file an example syntax definition is of the form: "delete" "element" "of" where the verbs, for want of a better term, are quoted. Why can't these be the name that is shown in bold at the top of the entry? So in the above example the entry would have at the top *delete

Re: Formatted text in a field.

2014-04-03 Thread jameshale
Yes Peter is right. If all you are looking to do is display the two pages then this might be the go. If you place a field f1 on a page and set it up the way you want (size, text characteristics etc) and then make two copies, field fa and field fb. Then make f1 invisible. make a button to load