From admin at FlexibleLearning.com Mon Sep 1 06:50:49 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 1 Sep 2014 11:50:49 +0100 Subject: Speed testing: Fastest search method Message-ID: <000901cfc5d2$981f5cf0$c85e16d0$@FlexibleLearning.com> hasMemory may indeed be of some use, but I have had problems with it in the past. Besides, as has been pointed out, anything that is likely to drain all memory should probably be served from a database anyway. heapSpace is for HC/SC compatibility and does not map on all (if any) platforms. From: jbv at souslelogo.com > Could the function hasMemory(bytes) be of some help ? > > Or perhaps heapSpace() on Mac OS systems ? > > jbv From admin at FlexibleLearning.com Mon Sep 1 06:55:54 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 1 Sep 2014 11:55:54 +0100 Subject: Speed testing: Fastest search method Message-ID: <000a01cfc5d3$4d9d75d0$e8d86170$@FlexibleLearning.com> Hi Alex Agreed. And your #4 is a nice solution. Hugh Senior FLCo From: Alex Tweedly Hugh, The condition you've chosen for deciding whether to delete the line is whether or not the line is empty. So in method 2, replacing those lines by "" has no effect on the data. That is, I think, an inadequate benchmark. The primary cost you would encounter in the real case with method 2 is the data copying caused by emptying the line (i.e. all subsequent content in the variable has to be copied down into place). So at the very least it gives very optimistic times for method 2. I tried the same code (more or less - added the "filter" for method 2 to get the same results) on a data set which contains real lines of data to be deleted. I also added method4, which tries to get the best of both worlds. It restricts the additional memory usage (by building up a second variable, but removing sections of the input variable at the same time), and also does relatively few deletions (and hence few data copies). (full script included below) LC7DP10, MacOSX 10.8.5 Macbook Pro Source data: 10,000 lines of 100 chars, alternating between two values (non-random so it would be completely repeatable) 5000 lines begin with char "a", other 5000 being with "b" Condition for deletion First char of the line is "a" (hence 5000 lines are deleted Method 1: not timed - was taking too long :-) Method 2: 11.51 secs Method 3: 0.04 secs Method 4: 0.09 secs Changing the conditional test so that no lines are deleted, the times are all < 0.1 seconds Conclusion: if memory is not an issue, method 3 is best if memory is an issue, method 4 is best -- Alex. on mouseUp local t1, t2, t3, t4 -- put method1() into t1 put method2() into t2 put method3() into t3 put method4() into t4 put the number of lines in t1 && the number of lines in t2 && the number of lines in t3 && the number of lines in t4 after fld 1 end mouseup function make_data local L, L1, t put "a" into L put "b" into item 100 of L put "b" into L1 put "a" into item 100 of L1 repeat 5000 times put L & CR & L1 & CR after t end repeat return t end make_data function method1 local tVar, tStart set the cursor to watch put make_data() into tVar put the long seconds into tStart repeat with x=the number of lines in tVar down to 1 if char 1 of line x of tVar="a" then delete line x of tVar end if end repeat put the long seconds - tStart & CR after fld 1 return tVar end method1 function method2 local tVar, L, tStart, x set the cursor to watch put make_data() into tVar put the long seconds into tStart repeat for each line L in tVar add 1 to x -- put x && L &CR after msg if char 1 of L="a" then put "" into line x of tVar end if end repeat filter tVar without empty put the long seconds - tStart & CR after fld 1 return tVar end method2 function method3 local tVar, tStart, L, tdout set the cursor to watch put make_data() into tVar put the long seconds into tStart repeat for each line L in tVar if char 1 of L<>"a" then put L &cr after tdout end if end repeat if last char of tdout=cr then delete last char of tdout put the long seconds - tStart & CR after fld 1 return tdout end method3 function method4 constant K = 1000 -- probably should be a bigger number local tVar, tStart, L, tdout, x set the cursor to watch put make_data() into tVar put the long seconds into tStart repeat forever if the number of lines in tVar = 0 then exit repeat put 0 into x repeat for each line L in tVar if char 1 of L<>"a" then put L &cr after tdout end if add 1 to x if x >= K then exit repeat end repeat delete line 1 to K of tVar end repeat if last char of tdout=cr then delete last char of tdout put the long seconds - tStart & CR after fld 1 return tdout end method4 From wow at together.net Mon Sep 1 08:30:25 2014 From: wow at together.net (Richard Miller) Date: Mon, 01 Sep 2014 08:30:25 -0400 Subject: mergAVCam camera control In-Reply-To: <000a01cfc5d3$4d9d75d0$e8d86170$@FlexibleLearning.com> References: <000a01cfc5d3$4d9d75d0$e8d86170$@FlexibleLearning.com> Message-ID: <540466E1.6000703@together.net> Is this Android external actually available? I can't find anything about it. It's supposed to be part of MergAndroid, but I can't find out much on that either. Thanks, Richard Miller From matthias_livecode_150811 at m-r-d.de Mon Sep 1 09:04:04 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 1 Sep 2014 15:04:04 +0200 Subject: mergAVCam camera control In-Reply-To: <540466E1.6000703@together.net> References: <000a01cfc5d3$4d9d75d0$e8d86170$@FlexibleLearning.com> <540466E1.6000703@together.net> Message-ID: Hi Richard, i just checked the file mergAndroid.html which is included in the mergAndroid archive. I cannot find anything about mergAVCam. But there is a function mergAVPick listed. --> function mergAVPick [pSource],[pQuality],[pDurationLimit] Record video Parameters: ? pSource - (optional with "camera" default) The source of the video. One of: ? camera - Record new video ? library - Select video from the library. Not currently limited to the specified duration and quality ? pQuality - (optional with The default) The quality of the video. One of: ? low ? high ? pDurationLimit - (optional with 600 default) The maximum duration of the video. Returns The file path of the video <-- The external is still available for download on Monte?s site after successful login. But i am not sure if you need a subscription to download it. Regards, Matthias Am 01.09.2014 um 14:30 schrieb Richard Miller : > Is this Android external actually available? I can't find anything about it. It's supposed to be part of MergAndroid, but I can't find out much on that either. > > Thanks, > Richard Miller > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From wow at together.net Mon Sep 1 09:33:36 2014 From: wow at together.net (Richard Miller) Date: Mon, 01 Sep 2014 09:33:36 -0400 Subject: mergAVCam camera control In-Reply-To: References: <000a01cfc5d3$4d9d75d0$e8d86170$@FlexibleLearning.com> <540466E1.6000703@together.net> Message-ID: <540475B0.9080304@together.net> Thanks. I guess it is not available at present. On 9/1/14, 9:04 AM, Matthias Rebbe | M-R-D wrote: > Hi Richard, > > i just checked the file mergAndroid.html which is included in the mergAndroid archive. > > I cannot find anything about mergAVCam. > But there is a function mergAVPick listed. > > --> > function mergAVPick [pSource],[pQuality],[pDurationLimit] > > Record video > > Parameters: > > ? pSource - (optional with "camera" default) The source of the video. One of: > ? camera - Record new video > ? library - Select video from the library. Not currently limited to the specified duration and quality > ? pQuality - (optional with The default) The quality of the video. One of: > ? low > ? high > ? pDurationLimit - (optional with 600 default) The maximum duration of the video. > Returns The file path of the video > <-- > > The external is still available for download on Monte?s site after successful login. > But i am not sure if you need a subscription to download it. > > Regards, > > Matthias > > Am 01.09.2014 um 14:30 schrieb Richard Miller : > >> Is this Android external actually available? I can't find anything about it. It's supposed to be part of MergAndroid, but I can't find out much on that either. >> >> Thanks, >> Richard Miller >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dfepstein at comcast.net Mon Sep 1 11:31:48 2014 From: dfepstein at comcast.net (David Epstein) Date: Mon, 1 Sep 2014 11:31:48 -0400 Subject: Speed testing: Fastest search method In-Reply-To: References: Message-ID: <0087CFFD-9113-4377-8225-0B2B17E5C3F6@comcast.net> Thanks to jbv at souslelogo.com for the suggestion that hasMemory(bytes) might be useful. I haven't tried this yet. Thanks to for replies to my other questions. On the memory cost of writing fld "data" to tVar > Q2. Of course it does, but the same condition is in place in all three > tests. And the data has to come from somewhere. My question was whether we could save memory (and if there is some other downside) if we write > repeat for each line L in fld "data" rather than > put fld "data" into tVar > repeat for each line L in tVar On the rules about "repeat for": > Q2. This 'repeat for each' rule refers to not modifying whatever > 'each' > refers to. In this case, 'each' is a line and the number of lines in > unchanged so I am not changing the internal line pointers set up by > the > engine at the start. If your approach works consistently, it implies that LiveCode's dictionary is too restrictive when it says (regarding "repeat for each labelVariable in container"): "Important! In any of the for each loops, you should not change the labelVariable or container in a statement inside the loop. Doing so will not cause a script error, but will almost certainly produce unexpected results." David Epstein From B.Cornaz at gmx.net Mon Sep 1 11:32:56 2014 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Mon, 1 Sep 2014 17:32:56 +0200 Subject: permuting a string (was Re: Speed) Message-ID: <9EC589C7-3837-4123-93CF-90A9646438AA@gmx.net> Sat, 30 Aug 2014 09:01:16 -0400 From: Geoff Canyon > This was my initial thought as well, but I didn't like having to work line-by-line on (potentially) large sets of lines from the initial > not-duplicate set of permutations. Doing the dupes first is weirder conceptually, but it means that the line-by-line work is done on a much > smaller data set. For example, permuting "aaaabbbbcdef" would only require line-by-line on 8!/(4!*4!) = 70 lines. It will be interesting comparing the > two solutions. I agree, that it would be great if we can avoid working line by line. That is the beauty of Geoff's script for non duplicates, to be able to replace each distractive element in the whole bunch at the same time. This is not possible anymore, as soon as there are duplicate elements in the Permutations. But I agree, doing the duplicates first is faster. But on a par with the script I had, which works line by line and after each new element, deletes the duplicate permutations. So dos it all in one. On my computer : Input : 111222333456 8320 mSec Input : 111112222233 58 mSec I've trying to figure out something to keep the principle of Geoff to replace each char in the whole bunch at the same time. Either I come up with too many elements (e.g. 112 new element 3 > 31312), OR if I use another number (char) for the duplicates, i cannot delete the duplicate permutations and end up with the same amount as if there were no duplicate elements in the input. I also cannot replace the duplicate element temporarily, (like replace 11 with 1a : 112 > 1a2, as the duplicate 1 occurs in all the combinations (like 121). Still I feel there must be some clever trick to get it to work, but I am not completely sure. This is my fastest script so far : The script first orders the input elements in order of the amour of duplicate occurrences. function BC4_PermMech_Duplicates_Chars ToPermutate set cursor to busy -- ** order input according to most duplicates to least duplicates replace cr with comma in ToPermutate put BC2_CalcNumOccurancesAll_Items (ToPermutate) into tTable sort lines of tTable numeric ascending by item 1 of each sort lines of tTable numeric descending by item 2 of each repeat for each line rLine in tTable repeat item 2 of rLine put item 1 of rLine after ToPermutateOrdered end repeat end repeat put empty into TempPerms2 put the number of items of ToPermutateOrdered into NumElements put char 1 of ToPermutateOrdered & char 2 of ToPermutateOrdered into TempPerms1 put char 3 to -1 of ToPermutateOrdered into tInput3 put 3 into Index repeat for each char rNewElement in tInput3 put empty into TempPerms2 put the number of chars of line 1 of TempPerms1 into NumChars repeat for each line rLine in TempPerms1 put rNewElement & rLine & cr after TempPerms2 repeat with x = 1 to NumChars put char 1 to x of rLine & rNewElement & char x+1 to -1 of rLine & cr after TempPerms2 end repeat end repeat delete char -1 of TempPerms2 put BC2_DeleteEmptyLines_LooseOrder (TempPerms2) into TempPerms1 end repeat choose browse tool -- ** Final deletion of duplicates return BC2_RemoveDuplicate_LooseOrder_Lines (TempPerms1) end BC4_PermMech_Duplicates_Chars Cheers, Beat From larry at significantplanet.org Mon Sep 1 13:23:39 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 1 Sep 2014 11:23:39 -0600 Subject: how to stop mouse clicks from executing? Message-ID: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> I have a situation in my program where I'm showing the user some stuff. I do not want the user to be able to click with the mouse during this time. What is the best way to do that? Actually it would be great if the user couldn't even move the mouse (within my program) during this time. TIA Larry From alain_farmer at yahoo.com Mon Sep 1 13:55:11 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Mon, 1 Sep 2014 10:55:11 -0700 Subject: how to stop mouse clicks from executing? In-Reply-To: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> References: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> Message-ID: <1409594111.56913.YahooMailNeo@web126102.mail.ne1.yahoo.com> on showToUser set the cursor to none -- show end showToUser On Monday, September 1, 2014 1:24:32 PM, "larry at significantplanet.org" wrote: I have a situation in my program where I'm showing the user some stuff. I do not want the user to be able to click with the mouse during this time. What is the best way to do that? Actually it would be great if the user couldn't even move the mouse (within my program) during this time. TIA Larry _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Sep 1 13:59:33 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 01 Sep 2014 20:59:33 +0300 Subject: how to stop mouse clicks from executing? In-Reply-To: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> References: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> Message-ID: <5404B405.3050505@gmail.com> On 1.09.2014 20:23, larry at significantplanet.org wrote: > I have a situation in my program where I'm showing the user some stuff. I do not want the user to be able to click with the mouse during this time. > What is the best way to do that? > Actually it would be great if the user couldn't even move the mouse (within my program) during this time. > > TIA > Larry > _______________________________________________ > How about this sort of code in your cardScript: on mouseUp if fld "NIX" contains 1 then ---do nix end if end mouseUp then have an offscreen fld "NIX" that you put 1 onto when your slide-show starts, and you put 'empty' into when it finishes? of course you could move that script out of the cardScript into all your buttons on the card like this: on mouseUp if fld "NIX" contains 1 then ---do nix else --do whatever you want this button to do end if end mouseUp Richmond. From mikedoub at gmail.com Mon Sep 1 14:03:52 2014 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Mon, 01 Sep 2014 14:03:52 -0400 Subject: how to stop mouse clicks from executing? In-Reply-To: <5404B405.3050505@gmail.com> References: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> <5404B405.3050505@gmail.com> Message-ID: <20140901180352.22229146.29923.2298@gmail.com> ? How about setting the cursor to none and locking the cursor?? Mike Original Message ? From: Richmond Sent: Monday, September 1, 2014 1:59 PM To: How to use LiveCode Reply To: How to use LiveCode Subject: Re: how to stop mouse clicks from executing? On 1.09.2014 20:23, larry at significantplanet.org wrote: > I have a situation in my program where I'm showing the user some stuff. I do not want the user to be able to click with the mouse during this time. > What is the best way to do that? > Actually it would be great if the user couldn't even move the mouse (within my program) during this time. > > TIA > Larry > _______________________________________________ > How about this sort of code in your cardScript: on mouseUp if fld "NIX" contains 1 then ---do nix end if end mouseUp then have an offscreen fld "NIX" that you put 1 onto when your slide-show starts, and you put 'empty' into when it finishes? of course you could move that script out of the cardScript into all your buttons on the card like this: on mouseUp if fld "NIX" contains 1 then ---do nix else --do whatever you want this button to do end if end mouseUp Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Sep 1 14:14:16 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 01 Sep 2014 21:14:16 +0300 Subject: how to stop mouse clicks from executing? In-Reply-To: <20140901180352.22229146.29923.2298@gmail.com> References: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> <5404B405.3050505@gmail.com> <20140901180352.22229146.29923.2298@gmail.com> Message-ID: <5404B778.501@gmail.com> On 1.09.2014 21:03, mikedoub at gmail.com wrote: > ? How about setting the cursor to none and locking the cursor?? Because the chap may still need the cursor for something else (such as grab). > > Mike > > Original Message > > From: Richmond > Sent: Monday, September 1, 2014 1:59 PM > To: How to use LiveCode > Reply To: How to use LiveCode > Subject: Re: how to stop mouse clicks from executing? > > > On 1.09.2014 20:23, larry at significantplanet.org wrote: >> I have a situation in my program where I'm showing the user some stuff. I do not want the user to be able to click with the mouse during this time. >> What is the best way to do that? >> Actually it would be great if the user couldn't even move the mouse (within my program) during this time. >> >> TIA >> Larry >> _______________________________________________ >> > How about this sort of code in your cardScript: > > on mouseUp > if fld "NIX" contains 1 then > ---do nix > end if > end mouseUp > > then have an offscreen fld "NIX" that you put 1 onto when your slide-show > starts, and you put 'empty' into when it finishes? > > of course you could move that script out of the cardScript into all your > buttons on the card > like this: > > on mouseUp > if fld "NIX" contains 1 then > ---do nix > else > --do whatever you want this button to do > end if > end mouseUp > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul at researchware.com Mon Sep 1 14:22:28 2014 From: paul at researchware.com (Paul Dupuis) Date: Mon, 01 Sep 2014 14:22:28 -0400 Subject: how to stop mouse clicks from executing? In-Reply-To: <5404B778.501@gmail.com> References: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> <5404B405.3050505@gmail.com> <20140901180352.22229146.29923.2298@gmail.com> <5404B778.501@gmail.com> Message-ID: <5404B964.7000607@researchware.com> insert a frontScript containing mouseDown and mouseUp handlers to trap those events when you want to block them and remove the frontScript when done That will still allow mouseStillDown and mouseRelease messages to be passed for drag operations On 9/1/2014 2:14 PM, Richmond wrote: > > On 1.09.2014 21:03, mikedoub at gmail.com wrote: >> ? How about setting the cursor to none and locking the cursor?? > > Because the chap may still need the cursor for something else (such as > grab). > >> >> Mike >> >> Original Message >> >> From: Richmond >> Sent: Monday, September 1, 2014 1:59 PM >> To: How to use LiveCode >> Reply To: How to use LiveCode >> Subject: Re: how to stop mouse clicks from executing? >> >> >> On 1.09.2014 20:23, larry at significantplanet.org wrote: >>> I have a situation in my program where I'm showing the user some >>> stuff. I do not want the user to be able to click with the mouse >>> during this time. >>> What is the best way to do that? >>> Actually it would be great if the user couldn't even move the mouse >>> (within my program) during this time. >>> >>> TIA >>> Larry >>> _______________________________________________ >>> >> How about this sort of code in your cardScript: >> >> on mouseUp >> if fld "NIX" contains 1 then >> ---do nix >> end if >> end mouseUp >> >> then have an offscreen fld "NIX" that you put 1 onto when your >> slide-show >> starts, and you put 'empty' into when it finishes? >> >> of course you could move that script out of the cardScript into all your >> buttons on the card >> like this: >> >> on mouseUp >> if fld "NIX" contains 1 then >> ---do nix >> else >> --do whatever you want this button to do >> end if >> end mouseUp >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Sep 1 14:37:55 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 01 Sep 2014 21:37:55 +0300 Subject: how to stop mouse clicks from executing? In-Reply-To: <5404B964.7000607@researchware.com> References: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> <5404B405.3050505@gmail.com> <20140901180352.22229146.29923.2298@gmail.com> <5404B778.501@gmail.com> <5404B964.7000607@researchware.com> Message-ID: <5404BD03.7050404@gmail.com> On 1.09.2014 21:22, Paul Dupuis wrote: > insert a frontScript containing mouseDown and mouseUp handlers to trap > those events when you want to block them and remove the frontScript when > done > > That will still allow mouseStillDown and mouseRelease messages to be > passed for drag operations That's a clever idea! > > On 9/1/2014 2:14 PM, Richmond wrote: >> On 1.09.2014 21:03, mikedoub at gmail.com wrote: >>> ? How about setting the cursor to none and locking the cursor?? >> Because the chap may still need the cursor for something else (such as >> grab). >> >>> Mike >>> >>> Original Message >>> >>> From: Richmond >>> Sent: Monday, September 1, 2014 1:59 PM >>> To: How to use LiveCode >>> Reply To: How to use LiveCode >>> Subject: Re: how to stop mouse clicks from executing? >>> >>> >>> On 1.09.2014 20:23, larry at significantplanet.org wrote: >>>> I have a situation in my program where I'm showing the user some >>>> stuff. I do not want the user to be able to click with the mouse >>>> during this time. >>>> What is the best way to do that? >>>> Actually it would be great if the user couldn't even move the mouse >>>> (within my program) during this time. >>>> >>>> TIA >>>> Larry >>>> _______________________________________________ >>>> >>> How about this sort of code in your cardScript: >>> >>> on mouseUp >>> if fld "NIX" contains 1 then >>> ---do nix >>> end if >>> end mouseUp >>> >>> then have an offscreen fld "NIX" that you put 1 onto when your >>> slide-show >>> starts, and you put 'empty' into when it finishes? >>> >>> of course you could move that script out of the cardScript into all your >>> buttons on the card >>> like this: >>> >>> on mouseUp >>> if fld "NIX" contains 1 then >>> ---do nix >>> else >>> --do whatever you want this button to do >>> end if >>> end mouseUp >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Sep 1 15:21:38 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 01 Sep 2014 22:21:38 +0300 Subject: exists(file on my computer) not doing very well Message-ID: <5404C742.5090703@gmail.com> In a card of my upcoming "Grendel" for Anglo-Saxon, Gothic and other warped Germanic languages/writing-systems I have this script: on preOpenCard set the title of stack "grendel" to the short name of this card if exists(url("file:" & "GrendelBackUp.rtf")) then put "exists" set the RTFText of fld "store" to URL ("file:" & "GrendelBackUp.rtf") else put "nope" end if end preOpenCard Now the file GrendelBackUp.rtf is present where I saved it earlier, from the stack, in the default folder. So would be glad if somebody could tell me why I keep getting "nope" in my Message Box. Richmond. From richmondmathewson at gmail.com Mon Sep 1 15:36:59 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 01 Sep 2014 22:36:59 +0300 Subject: exists(file on my computer) not doing very well In-Reply-To: <5404C742.5090703@gmail.com> References: <5404C742.5090703@gmail.com> Message-ID: <5404CADB.2040408@gmail.com> On 1.09.2014 22:21, Richmond wrote: > In a card of my upcoming "Grendel" for Anglo-Saxon, Gothic and other > warped > Germanic languages/writing-systems I have this script: > > on preOpenCard > set the title of stack "grendel" to the short name of this card > if exists(url("file:" & "GrendelBackUp.rtf")) then > put "exists" > set the RTFText of fld "store" to URL ("file:" & > "GrendelBackUp.rtf") > else > put "nope" > end if > end preOpenCard > > Now the file GrendelBackUp.rtf is present where I saved it earlier, > from the stack, > in the default folder. > > So would be glad if somebody could tell me why I keep getting "nope" > in my Message Box. > > Richmond. For some 'funny' reason when I reopened the stack it chose a completely different, and apparently random directory as the default folder, so the opneCrad script looked in the wrong place. Richmond. From larry at significantplanet.org Mon Sep 1 15:50:32 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 1 Sep 2014 13:50:32 -0600 Subject: how to stop mouse clicks from executing? References: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> <5404B405.3050505@gmail.com><20140901180352.22229146.29923.2298@gmail.com><5404B778.501@gmail.com> <5404B964.7000607@researchware.com> Message-ID: <8E7DB69DD7F444D19613E173D039C5FD@userd204a4d61c> Hi Paul, As Richmond says, "That's a clever idea." However, I have no understanding of what a frontScript is and no understanding of how to trap those events. Perhaps you'd be willing to elaborate for me? Thanks, Larry ----- Original Message ----- From: "Paul Dupuis" To: Sent: Monday, September 01, 2014 12:22 PM Subject: Re: how to stop mouse clicks from executing? > insert a frontScript containing mouseDown and mouseUp handlers to trap > those events when you want to block them and remove the frontScript when > done > > That will still allow mouseStillDown and mouseRelease messages to be > passed for drag operations > > On 9/1/2014 2:14 PM, Richmond wrote: >> >> On 1.09.2014 21:03, mikedoub at gmail.com wrote: >>> ? How about setting the cursor to none and locking the cursor?? >> >> Because the chap may still need the cursor for something else (such as >> grab). >> >>> >>> Mike >>> >>> Original Message >>> >>> From: Richmond >>> Sent: Monday, September 1, 2014 1:59 PM >>> To: How to use LiveCode >>> Reply To: How to use LiveCode >>> Subject: Re: how to stop mouse clicks from executing? >>> >>> >>> On 1.09.2014 20:23, larry at significantplanet.org wrote: >>>> I have a situation in my program where I'm showing the user some >>>> stuff. I do not want the user to be able to click with the mouse >>>> during this time. >>>> What is the best way to do that? >>>> Actually it would be great if the user couldn't even move the mouse >>>> (within my program) during this time. >>>> >>>> TIA >>>> Larry >>>> _______________________________________________ >>>> >>> How about this sort of code in your cardScript: >>> >>> on mouseUp >>> if fld "NIX" contains 1 then >>> ---do nix >>> end if >>> end mouseUp >>> >>> then have an offscreen fld "NIX" that you put 1 onto when your >>> slide-show >>> starts, and you put 'empty' into when it finishes? >>> >>> of course you could move that script out of the cardScript into all your >>> buttons on the card >>> like this: >>> >>> on mouseUp >>> if fld "NIX" contains 1 then >>> ---do nix >>> else >>> --do whatever you want this button to do >>> end if >>> end mouseUp >>> >>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Sep 1 16:01:55 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 01 Sep 2014 23:01:55 +0300 Subject: how to stop mouse clicks from executing? In-Reply-To: <8E7DB69DD7F444D19613E173D039C5FD@userd204a4d61c> References: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> <5404B405.3050505@gmail.com><20140901180352.22229146.29923.2298@gmail.com><5404B778.501@gmail.com> <5404B964.7000607@researchware.com> <8E7DB69DD7F444D19613E173D039C5FD@userd204a4d61c> Message-ID: <5404D0B3.9000507@gmail.com> On 1.09.2014 22:50, larry at significantplanet.org wrote: > Hi Paul, > As Richmond says, "That's a clever idea." > However, I have no understanding of what a frontScript is and no > understanding of how to trap those events. Nor have I :) and, despite it being clever, I fail to see any particular advantage over my method. Richmond. > Perhaps you'd be willing to elaborate for me? > Thanks, > Larry > > ----- Original Message ----- From: "Paul Dupuis" > To: > Sent: Monday, September 01, 2014 12:22 PM > Subject: Re: how to stop mouse clicks from executing? > > >> insert a frontScript containing mouseDown and mouseUp handlers to trap >> those events when you want to block them and remove the frontScript when >> done >> >> That will still allow mouseStillDown and mouseRelease messages to be >> passed for drag operations >> >> On 9/1/2014 2:14 PM, Richmond wrote: >>> >>> On 1.09.2014 21:03, mikedoub at gmail.com wrote: >>>> ? How about setting the cursor to none and locking the cursor?? >>> >>> Because the chap may still need the cursor for something else (such as >>> grab). >>> >>>> >>>> Mike >>>> >>>> Original Message >>>> >>>> From: Richmond >>>> Sent: Monday, September 1, 2014 1:59 PM >>>> To: How to use LiveCode >>>> Reply To: How to use LiveCode >>>> Subject: Re: how to stop mouse clicks from executing? >>>> >>>> >>>> On 1.09.2014 20:23, larry at significantplanet.org wrote: >>>>> I have a situation in my program where I'm showing the user some >>>>> stuff. I do not want the user to be able to click with the mouse >>>>> during this time. >>>>> What is the best way to do that? >>>>> Actually it would be great if the user couldn't even move the mouse >>>>> (within my program) during this time. >>>>> >>>>> TIA >>>>> Larry >>>>> _______________________________________________ >>>>> >>>> How about this sort of code in your cardScript: >>>> >>>> on mouseUp >>>> if fld "NIX" contains 1 then >>>> ---do nix >>>> end if >>>> end mouseUp >>>> >>>> then have an offscreen fld "NIX" that you put 1 onto when your >>>> slide-show >>>> starts, and you put 'empty' into when it finishes? >>>> >>>> of course you could move that script out of the cardScript into all >>>> your >>>> buttons on the card >>>> like this: >>>> >>>> on mouseUp >>>> if fld "NIX" contains 1 then >>>> ---do nix >>>> else >>>> --do whatever you want this button to do >>>> end if >>>> end mouseUp >>>> >>>> Richmond. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Mon Sep 1 16:02:49 2014 From: sundown at pacifier.com (JB) Date: Mon, 1 Sep 2014 13:02:49 -0700 Subject: Filtering FIle Types Message-ID: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> If I have folder with thousands of files I can use the Files and get a list of the file names and it will end with the type preceded by a dot such as .jpg. I can set the item delimiter to ?.? and do a repeat to get the last item of each line and I will have a list of all file types and the name/line they are associated with. If I want to filter the list to only include a certain list of file types I can do a repeat and check the type for each file name & then provide a list of types to check such as ?png,db,gif.text? and say if if ?jpg? is in the list then do whatever like include or do not include this file in the list. What is the fastest way to filter a list of files if you know the name and type of the file? Would a regex be good for this? John Balgenorth From mkoob at rogers.com Mon Sep 1 16:24:55 2014 From: mkoob at rogers.com (Martin Koob) Date: Mon, 1 Sep 2014 13:24:55 -0700 (PDT) Subject: Filtering FIle Types In-Reply-To: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> References: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> Message-ID: <1409603095679-4682778.post@n4.nabble.com> I think you can use the filter command with a wildcard and your extension. Put your folder path into tMyFolderPath then: set the folder to tMyFolderPath put the files into theFiles filter theFiles with "*.jpg" Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Filtering-FIle-Types-tp4682777p4682778.html Sent from the Revolution - User mailing list archive at Nabble.com. From sundown at pacifier.com Mon Sep 1 16:28:57 2014 From: sundown at pacifier.com (JB) Date: Mon, 1 Sep 2014 13:28:57 -0700 Subject: Filtering FIle Types In-Reply-To: <1409603095679-4682778.post@n4.nabble.com> References: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> <1409603095679-4682778.post@n4.nabble.com> Message-ID: <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> I have not tried it yet but if it works the problem is I might want to use a variety of file types so the repeat would filter one line at a time and then you check for that type in the list of types you will allow. The way you provided would need it to allow a list of types or I would need to keep filtering so there might be a faster way but I am not sure. Thank you for the reply and code advice. John Balgenorth On Sep 1, 2014, at 1:24 PM, Martin Koob wrote: > > I think you can use the filter command with a wildcard and your extension. > Put your folder path into tMyFolderPath then: > > set the folder to tMyFolderPath > put the files into theFiles > filter theFiles with "*.jpg" > > Martin > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Filtering-FIle-Types-tp4682777p4682778.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Mon Sep 1 16:46:39 2014 From: klaus at major-k.de (Klaus major-k) Date: Mon, 1 Sep 2014 22:46:39 +0200 Subject: exists(file on my computer) not doing very well In-Reply-To: <5404C742.5090703@gmail.com> References: <5404C742.5090703@gmail.com> Message-ID: <0DE0CE06-9F2F-44C0-9638-0DCC1E68D4A2@major-k.de> Hi Richmond, Am 01.09.2014 um 21:21 schrieb Richmond : > In a card of my upcoming "Grendel" for Anglo-Saxon, Gothic and other warped > Germanic languages/writing-systems I have this script: > > on preOpenCard > set the title of stack "grendel" to the short name of this card > ## if exists(url("file:" & "GrendelBackUp.rtf")) then not sure about the syntax for EXISTS and FILE, but -> url("file:"...) is surely not the way to go! Why not just use: if there is a file xyz...? > put "exists" > set the RTFText of fld "store" to URL ("file:" & "GrendelBackUp.rtf") > else > put "nope" > end if > end preOpenCard > > Now the file GrendelBackUp.rtf is present where I saved it earlier, from the stack, > in the default folder. > > So would be glad if somebody could tell me why I keep getting "nope" in my Message Box. See above! > Richmond. Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From monte at sweattechnologies.com Mon Sep 1 18:43:58 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 2 Sep 2014 08:43:58 +1000 Subject: mergAVCam camera control In-Reply-To: <540475B0.9080304@together.net> References: <000a01cfc5d3$4d9d75d0$e8d86170$@FlexibleLearning.com> <540466E1.6000703@together.net> <540475B0.9080304@together.net> Message-ID: <2631C757-A201-4E51-BF45-FDDE6973CEE3@sweattechnologies.com> On 1 Sep 2014, at 11:33 pm, Richard Miller wrote: > Thanks. I guess it is not available at present. Hi Richard I know you contacted me privately too but I may as well respond here. mergAndroid is currently available as a bonus for mergExt Complete users. This is because anything I do for Android will be beta until there is an official SDK released by RunRev. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mwieder at ahsoftware.net Mon Sep 1 19:29:25 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Sep 2014 23:29:25 +0000 (UTC) Subject: Newly created alias is not an alias References: <1409539113.30622.YahooMailNeo@web126101.mail.ne1.yahoo.com> Message-ID: Alain Farmer writes: > setDirectoryTo someFolder > create alias "myAlias" to folder "existingFolder" > if the result is not empty then die the result > answer there is an alias "myAlias" -- returns false !?! I've never heard of a "there is an alias" reference. Instead try create alias "myAlias" to folder "existingFolder" if the aliasReference of "myAlias" is empty then die "it's not a reference!" end if -- Mark Wieder ahsoftware at gmail.com From gcanyon at gmail.com Mon Sep 1 20:35:31 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 1 Sep 2014 19:35:31 -0500 Subject: permuting a string (was Re: Speed) In-Reply-To: <9EC589C7-3837-4123-93CF-90A9646438AA@gmx.net> References: <9EC589C7-3837-4123-93CF-90A9646438AA@gmx.net> Message-ID: I have a set of code that seems to do the trick. It takes as an argument the number of each element to permute. So for your examples: On Mon, Sep 1, 2014 at 10:32 AM, Beat Cornaz wrote: > On my computer : > Input : 111222333456 8320 mSec > Input : 111112222233 58 mSec > It takes "3,3,3,1,1,1" because there are 3 ones, 3 twos, 3 threes, 1 four, 1 five, and 1 six. And "5,5,2" because there are 5 ones, 5 twos, and 2 threes. Like my previous routine, it takes an argument for the ASCII value to start with, but note that duplicates take ASCII values during processing, so the actual results from these arguments would be permutations of 111444777:;< and 1111166666;; My routine works the way I described: 1. Get the permutations of all the duplicates, using Alex's serialpermut (I think I made minor modifications, but nothing significant). 2. Use replace to substitute unique values for all the duplicates. 3. Use a modified version of my original routine to create permutations, starting from the base result from (2). 4. Use replace to replace the duplicate values that were made unique in (2). On my computer the above two arguments process in 0.634 and 0.054 seconds. That's much faster for the first string, and about as fast for the second string. Because the second string is all duplicates, it's entirely serialpermut's work, which is seemingly about as fast as your (Beat's) permute-duplicates routine. One other thing I noticed: my routine is much faster for small permutation jobs, but the gap closes as the number of permutations goes up. My code is still faster than other routines I tried up to 20 million permutations, but by that scale the advantage is only about 2:1. So for *really* big jobs, it would make sense to go with another algorithm. Here's my code: on timeX S -- time a permuation -- timeX "2,2" returns -- 0.000073 put the long seconds into T put PX(S,49) into X put (the long seconds - T) end timeX on testX S -- test a permuation -- outputs a string starting from 1 -- with time, the actual and correct number of results, and start and end samples -- testX "2,2" returns --0.000083 6 6 --1133 --1313 --1331 --3113 --3131 --1313 --1331 --3113 --3131 --3311 put the long seconds into T put PX(S,49) into X put fact(sum(S)) into F repeat for each item i in S divide F by fact(i) end repeat put (the long seconds - T) && the number of lines of X && F & cr & cr & line 1 to 5 of X & cr & cr & line -5 to -1 of X end testX function PX N,B -- N is the list of depths to permute -- B is the ASCII value to start from -- PX("1,1",49) returns 21 and 12 -- PX("1,1,1",53) returns 675 765 756 576 657 567 -- PX("2,2,1",49) returns permutations of 11223 sort items of N descending numeric if item 1 of N = 1 then -- no duplicates put B + 1 into bCounter put numToChar(B) & cr into R else -- permute the duplicates put B into bCounter repeat for each item i in N if i = 1 then exit repeat repeat i put numToChar(bCounter) after P end repeat add i to bCounter end repeat put serialpermut(P) into R -- if nothing but duplicates, return if item -1 of N > 1 then return R -- substitute in unique values put U(R) into R end if -- permute the uniques using replace repeat with Z = bCounter to B + sum(N) - 1 repeat with i = B to Z - 1 put R into T2 replace numToChar(i) with numToChar(Z) in T2 replace cr with numToChar(i) & cr in T2 put T2 after T end repeat replace cr with numToChar(Z) & cr in R put T after R put empty into T end repeat -- substitute back in the duplicates repeat for each item i in N if i = 1 then exit repeat repeat with bCounter = B + 1 to B + i - 1 replace numToChar(bCounter) with numToChar(B) in R end repeat put bCounter + 1 into B end repeat return R end PX function fact X -- simple factorial to check values if X = 1 then return 1 put 2 into R repeat with i = 3 to X multiply R by i end repeat return R end fact function U S -- make the characters in the lines of S unique -- assumes that each line contains the same set of characters -- assumes that the characters will not overlap when made unique repeat with i = 1 to the number of characters of line 1 of S add 1 to C[char i of S] end repeat repeat for each line L in S repeat for each key K in C repeat with i = charToNum(K) + 1 to charToNum(K) + C[K] - 1 put numToChar(i) into char offset(K,L) of L end repeat end repeat put L & cr after R end repeat return R end U function serialpermut pMute if the number of chars in pMute = 1 then return pMute & cr put empty into tOutput -- an entry has -- item 1 is a prefix -- item 2 is the remaining set of chars to permute -- tOutput contains the result of the permutation put TAB & pMute & CR into todo set the itemdel to TAB repeat if todo is empty then return tOutput put todo into tDoing put empty into todo repeat for each line L in tDoing put item 1 of L into tPrefix put item 2 of L into tPerm switch the number of chars in tPerm case 1 put tPrefix & tPerm & CR after tOutput break case 2 put tPrefix & tPerm & CR after tOutput if char 1 of tPerm <> char 2 of tPerm then put tPrefix & char 2 of tPerm & char 1 of tPerm & CR after tOutput break default put empty into tDone repeat with i = 1 to the number of chars in tPerm put char i of tPerm into c if c is among the chars of tDone then next repeat put c after tDone put char 1 to i-1 of tPerm & char i+1 to -1 of tPerm into temp put tPrefix & c & TAB & temp & CR after todo end repeat -- over chars in tPerm end switch end repeat end repeat end serialpermut From gcanyon at gmail.com Mon Sep 1 20:47:58 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 1 Sep 2014 19:47:58 -0500 Subject: permuting a string (was Re: Speed) In-Reply-To: <9EC589C7-3837-4123-93CF-90A9646438AA@gmx.net> References: <9EC589C7-3837-4123-93CF-90A9646438AA@gmx.net> Message-ID: On Mon, Sep 1, 2014 at 10:32 AM, Beat Cornaz wrote: > This is my fastest script so far : > I think this is faster for many arguments. It might be slower for others. I removed the dependency on an external routine for removing duplicates. It also removes duplicates only when needed, and event then not always (it's expensive, so it's better to let some duplicate permutations sneak in and then remove them all together). I also made the (unsafe) assumption that the arguments would come already ordered from most common to least. I also think the original routine wouldn't work with non-duplicate values. Try permuting "123" to see. This routine handles those correctly as far as I've tested. Sorry for the limited comments on the optimizations. Also, I haven't tested each individual optimization for whether it actually speeds things up. function beatPermut ToPermutateOrdered -- assumes the paramter is in decreasing order of frequency -- "11122334" is fine -- "11222" might work -- "12213" will probably fail put char 1 of ToPermutateOrdered into lastChar -- start with the longest string of duplicates possible repeat with i = 1 to length(ToPermutateOrdered) if char i of ToPermutateOrdered <> lastChar then exit repeat put char i of ToPermutateOrdered after TempPerms2 end repeat put length(TempPerms2) into numChars put char numChars + 1 to -1 of ToPermutateOrdered into tInput3 put true into wasNewElement repeat for each char rNewElement in tInput3 put rNewElement <> lastChar into isNewElement -- remove duplicates for each new value after a duplicate if isNewElement and not wasNewElement then split TempPerms2 using cr as set put the keys of TempPerms2 into TempPerms1 else put TempPerms2 into TempPerms1 end if put rNewElement into lastChar put empty into TempPerms2 if isNewElement then -- for the first of a duplicate -- or for a unique -- just distribute it repeat for each line rLine in TempPerms1 put rNewElement & rLine & cr after TempPerms2 repeat with x = 1 to NumChars - 1 put (char 1 to x of rLine) & rNewElement & (char x+1 to -1 of rLine) & cr after TempPerms2 end repeat put rLine & rNewElement & cr after TempPerms2 end repeat else -- for duplicates after the first -- never place before the first -- never insert except at the end of a string repeat for each line rLine in TempPerms1 repeat with x = offset(rNewElement,rLine) + 1 to NumChars if char x of rLine <> rNewElement then put (char 1 to x-1 of rLine) & rNewElement & (char x to NumChars of rLine) & cr after TempPerms2 end repeat put rLine & rNewElement & cr after TempPerms2 end repeat end if add 1 to NumChars end repeat -- Final deletion of duplicates, if the last element was a duplicate if isNewElement then return TempPerms2 split TempPerms2 using cr as set return the keys of TempPerms2 end beatPermut From gcanyon at gmail.com Mon Sep 1 20:58:59 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 1 Sep 2014 19:58:59 -0500 Subject: Speed testing: Fastest search method In-Reply-To: <54038DEE.8090203@tweedly.net> References: <000601cfc501$71c24530$5546cf90$@FlexibleLearning.com> <54038DEE.8090203@tweedly.net> Message-ID: On Sun, Aug 31, 2014 at 4:04 PM, Alex Tweedly wrote: > I also added method4, which tries to get the best of both worlds. It > restricts the additional memory usage (by building up a second variable, > but removing sections of the input variable at the same time), and also > does relatively few deletions (and hence few data copies). > I'd question whether the memory usage would actually go down while the routine is running because you delete something. I don't *know* that it won't work, but it seems possible that you're actually (at least with the first delete) increasing the memory usage to double because of the (relatively) small delete from a large variable. All justifications aside, I'd use method 3 all the time unless something broke. ;-) From skiplondon at gmail.com Mon Sep 1 21:08:20 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Mon, 1 Sep 2014 20:08:20 -0500 Subject: [OT] Flying in tonight Message-ID: <8A35996E-8BE0-4405-A4A7-EA639B50B8A9@gmail.com> My wife an I are flying in at about 10:30pm tonight. Anybody arriving around that time and need a ride? If not, see you all tomorrow morning! SKIP From pete at lcsql.com Mon Sep 1 22:46:01 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 1 Sep 2014 19:46:01 -0700 Subject: Strange group behavior Message-ID: I'm busy getting everything ready for the conference and that involves setting up software on a pretty old Mac laptop running OSX 10.6.8. One of the programs I'll be using has a handler that creates a group on a card and the copies a control into it, all with straightforward "create group" and "copy" commands. The group and its controls are all created successfully... except that none of them are visible. Their visible property is set to true. I accidentally discovered that if I set the showborder property of the group to true, it and its controls became visible and stay visible even if I set the showborder property back to false. This happened in LC 5.5.4 and 6.6.2. All works fine running the same software on my Mac desktop running 10.7.4, no need to show/hide border. While I have a workaround, I'm wondering if anyone else has come across this strange situation. Needless to say, it makes me somewhat apprehensive about what other gremlins might be lurking under the covers of old OSX versions. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From gcanyon at gmail.com Mon Sep 1 23:33:22 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 1 Sep 2014 22:33:22 -0500 Subject: Strange group behavior In-Reply-To: References: Message-ID: I've experienced something that might be related. For several versions, culminating in 6.6.x, the activation dialog had multiple invisible controls, making it very difficult for me to activate LC. I also found that sometimes whole groups would go invisible in my stacks. I never found a consistent trigger for it. I created http://quality.runrev.com/show_bug.cgi?id=13199 for it, but everything seems to work properly in 6.7, so my bug was marked resolved. On Mon, Sep 1, 2014 at 9:46 PM, Peter Haworth wrote: > I'm busy getting everything ready for the conference and that involves > setting up software on a pretty old Mac laptop running OSX 10.6.8. > > One of the programs I'll be using has a handler that creates a group on a > card and the copies a control into it, all with straightforward "create > group" and "copy" commands. The group and its controls are all created > successfully... except that none of them are visible. Their visible > property is set to true. > > I accidentally discovered that if I set the showborder property of the > group to true, it and its controls became visible and stay visible even if > I set the showborder property back to false. > > This happened in LC 5.5.4 and 6.6.2. > > All works fine running the same software on my Mac desktop running 10.7.4, > no need to show/hide border. > > While I have a workaround, I'm wondering if anyone else has come across > this strange situation. > > Needless to say, it makes me somewhat apprehensive about what other > gremlins might be lurking under the covers of old OSX versions. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Tue Sep 2 02:14:27 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 02 Sep 2014 09:14:27 +0300 Subject: exists(file on my computer) not doing very well In-Reply-To: <0DE0CE06-9F2F-44C0-9638-0DCC1E68D4A2@major-k.de> References: <5404C742.5090703@gmail.com> <0DE0CE06-9F2F-44C0-9638-0DCC1E68D4A2@major-k.de> Message-ID: <54056043.70405@gmail.com> On 1.09.2014 23:46, Klaus major-k wrote: > Hi Richmond, > > Am 01.09.2014 um 21:21 schrieb Richmond : > >> In a card of my upcoming "Grendel" for Anglo-Saxon, Gothic and other warped >> Germanic languages/writing-systems I have this script: >> >> on preOpenCard >> set the title of stack "grendel" to the short name of this card >> ## if exists(url("file:" & "GrendelBackUp.rtf")) then > not sure about the syntax for EXISTS and FILE, but -> url("file:"...) is surely not the way to go! > Why not just use: if there is a file xyz...? > >> put "exists" >> set the RTFText of fld "store" to URL ("file:" & "GrendelBackUp.rtf") >> else >> put "nope" >> end if >> end preOpenCard >> >> Now the file GrendelBackUp.rtf is present where I saved it earlier, from the stack, >> in the default folder. >> >> So would be glad if somebody could tell me why I keep getting "nope" in my Message Box. > See above! > >> Richmond. > Best > > Klaus > Thanks, I'll give it a try. Richmond. From lan.kc.macmail at gmail.com Tue Sep 2 03:40:59 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 2 Sep 2014 15:40:59 +0800 Subject: [OT] Spies under the bed. In-Reply-To: <540380AD.9080600@hyperactivesw.com> References: <54034054.3070703@gmail.com> <0117EA03-4838-4BAA-A245-74C56ED7CDEA@earthednet.org> <540380AD.9080600@hyperactivesw.com> Message-ID: On Mon, Sep 1, 2014 at 4:08 AM, J. Landman Gay wrote: > When I last checked, it thought I was a 35 > year old male. I told you to stop playing with that time travel stack! Such inexplicable google side effects are permanent, but you knew that because I warned you about them tomorrow. From lan.kc.macmail at gmail.com Tue Sep 2 04:08:49 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 2 Sep 2014 16:08:49 +0800 Subject: Newly created alias is not an alias In-Reply-To: References: <1409539113.30622.YahooMailNeo@web126101.mail.ne1.yahoo.com> Message-ID: On Tue, Sep 2, 2014 at 7:29 AM, Mark Wieder wrote: > I've never heard of a "there is an alias" reference. Instead try The one true 'drawback' of a English like syntax; it certainly reads like it should work ;-) Of course LC's upcoming Open Language, will allow Alain to correct this syntax shortfall and so you'll be able to say you heard it here first ;-) From richmondmathewson at gmail.com Tue Sep 2 04:43:20 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 02 Sep 2014 11:43:20 +0300 Subject: exists(file on my computer) not doing very well In-Reply-To: <0DE0CE06-9F2F-44C0-9638-0DCC1E68D4A2@major-k.de> References: <5404C742.5090703@gmail.com> <0DE0CE06-9F2F-44C0-9638-0DCC1E68D4A2@major-k.de> Message-ID: <54058328.5060009@gmail.com> On 1.09.2014 23:46, Klaus major-k wrote: > > not sure about the syntax for EXISTS and FILE, but -> url("file:"...) > is surely not the way to go! Why not just use: if there is a file xyz...? Worked extremely well. Many thanks! Richmond. From richmondmathewson at gmail.com Tue Sep 2 04:45:20 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 02 Sep 2014 11:45:20 +0300 Subject: Newly created alias is not an alias In-Reply-To: References: <1409539113.30622.YahooMailNeo@web126101.mail.ne1.yahoo.com> Message-ID: <540583A0.9040106@gmail.com> On 2.09.2014 11:08, Kay C Lan wrote: > On Tue, Sep 2, 2014 at 7:29 AM, Mark Wieder wrote: >> I've never heard of a "there is an alias" reference. Instead try > The one true 'drawback' of a English like syntax; it certainly reads > like it should work ;-) > > Of course LC's upcoming Open Language, will allow Alain to correct > this syntax shortfall and so you'll be able to say you heard it here > first ;-) > > Of course LC's upcoming Open Language will allow Alain to write his code using French-like syntax . . . Richmond. From bdrunrev at gmail.com Tue Sep 2 04:52:55 2014 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 2 Sep 2014 09:52:55 +0100 Subject: Simulcast In-Reply-To: <5400B698.2090303@gmail.com> References: <5400B698.2090303@gmail.com> Message-ID: I don't know what the difference is with those links (other than 2 different "tracks" of talks). Is there a page listing the subject matter/times for the talks on the different tracks? I searched the livecode website, but could not find such a page. Regards, Bernard On Fri, Aug 29, 2014 at 6:21 PM, Richmond wrote: > Can anyone tell what "direct to video" means? > > In the Simulcast e-mail there are 2 links to the 2 tracks [i.e. 4 links]; > the second and the fourth marked as "direct to video". > > I wonder how those differ from the offerings at the first and third links? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Tue Sep 2 05:27:01 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 02 Sep 2014 12:27:01 +0300 Subject: Simulcast In-Reply-To: References: <5400B698.2090303@gmail.com> Message-ID: <54058D65.6070507@gmail.com> > I don't know what the difference is with those links (other than 2 > different "tracks" of talks). > > Is there a page listing the subject matter/times for the talks on the > different tracks? I searched the livecode website, but could not find such > a page. > > Regards, > > Bernard > > > Difficult to find: http://runrevlive.com/index.php?option=com_content&view=article&id=33&Itemid=108 Richmond. From dave at applicationinsight.com Tue Sep 2 07:05:46 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Tue, 2 Sep 2014 04:05:46 -0700 (PDT) Subject: Simulcast In-Reply-To: <54058D65.6070507@gmail.com> References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> Message-ID: <1409655946902-4682796.post@n4.nabble.com> Hello and best wishes to all LC'ers not in San Diego who will be attending the conference virtually, this simulcast-only version of the conference schedule may be of use (also with UK timings) https://www.dropbox.com/s/721349r4w46w20w/schedule-plus-8-hours.pdf?dl=0 Dave PS: also hello and best wishes to all in San Diego! ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Simulcast-tp4682657p4682796.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Tue Sep 2 08:12:12 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 2 Sep 2014 08:12:12 -0400 Subject: how to stop mouse clicks from executing? In-Reply-To: <8E7DB69DD7F444D19613E173D039C5FD@userd204a4d61c> References: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> <5404B405.3050505@gmail.com><20140901180352.22229146.29923.2298@gmail.com><5404B778.501@gmail.com> <5404B964.7000607@researchware.com> <8E7DB69DD7F444D19613E173D039C5FD@userd204a4d61c> Message-ID: <1AD93B48-681D-40A6-B9C0-2165EFBAF358@gmail.com> On Sep 1, 2014, at 3:50 PM, wrote: > Hi Paul, > As Richmond says, "That's a clever idea." > However, I have no understanding of what a frontScript is and no understanding of how to trap those events. > Perhaps you'd be willing to elaborate for me? Create a button with the following script: on mousedown if then -- block mousedown else pass mousedown end if end mousedown on mouseup if then -- block mouseup else pass mouseup end if end mouseup Then in an openstack handler put the following line: insert script of btn "myFrontScript" into front A front script resides at the very front of the message path, and all messages will pass to it before going to any controls, cards, or stacks. Anything not handled by the frontscript will then pass to the normal message path. Any message blocked by the frontscript will stop there without getting passed. Frontscripts are very useful for handling special actions that must prevail everywhere in your stack. In most cases you will want to be sure to put the following in your closestack handler: remove script of btn "myFrontScript" from front to be sure that your blocking action does not persist when it is not needed. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Tue Sep 2 08:17:28 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 2 Sep 2014 08:17:28 -0400 Subject: Filtering FIle Types In-Reply-To: <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> References: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> <1409603095679-4682778.post@n4.nabble.com> <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> Message-ID: <8689403C-7B31-42CF-813A-F9AA3C833700@gmail.com> you can use the following: function filterByType pFileList, pType -- assuming pType is of the form "jpg" or "png" filter pFileList by ("*." & pType) return pFileList end filterByType and call it repeatedly for whatever file types you want. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 1, 2014, at 4:28 PM, JB wrote: > I have not tried it yet but if it works > the problem is I might want to use > a variety of file types so the repeat > would filter one line at a time and > then you check for that type in the > list of types you will allow. > > The way you provided would need it > to allow a list of types or I would need > to keep filtering so there might be a > faster way but I am not sure. > > Thank you for the reply and code advice. > > John Balgenorth > > > On Sep 1, 2014, at 1:24 PM, Martin Koob wrote: > >> >> I think you can use the filter command with a wildcard and your extension. >> Put your folder path into tMyFolderPath then: >> >> set the folder to tMyFolderPath >> put the files into theFiles >> filter theFiles with "*.jpg" >> >> Martin >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Filtering-FIle-Types-tp4682777p4682778.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Tue Sep 2 09:09:42 2014 From: revolution at derbrill.de (Malte Brill) Date: Tue, 2 Sep 2014 15:09:42 +0200 Subject: NOT using a proxy with 6.7 on Windows... In-Reply-To: References: Message-ID: Hey all, anyone successfully *not* using a proxy with 6.7 DP9? I have an application that needs to communicate with both LAN and WAN and therefor needs to switch between not using a Proxy (for LAN access) and using a proxy (for WAN access). It used to work fine up to 6.6.2 but with 6.7 DP9 it fails. I used to set the httpProxy to empty for LAN access and to set it to the correct Proxy for WAN access. This no longer works on Windows. Anyone else seeing something similar? Anyone got a workaround? All the best, Malte From larry at significantplanet.org Tue Sep 2 10:20:03 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 2 Sep 2014 08:20:03 -0600 Subject: how to stop mouse clicks from executing? References: <0053E62ED8AB4FEF9B587CE3C5A31A87@userd204a4d61c> <5404B405.3050505@gmail.com><20140901180352.22229146.29923.2298@gmail.com><5404B778.501@gmail.com><5404B964.7000607@researchware.com><8E7DB69DD7F444D19613E173D039C5FD@userd204a4d61c> <1AD93B48-681D-40A6-B9C0-2165EFBAF358@gmail.com> Message-ID: Hi Peter, Thanks very much for the explanation. Larry ----- Original Message ----- From: "Peter M. Brigham" To: "How to use LiveCode" Sent: Tuesday, September 02, 2014 6:12 AM Subject: Re: how to stop mouse clicks from executing? > On Sep 1, 2014, at 3:50 PM, > wrote: > >> Hi Paul, >> As Richmond says, "That's a clever idea." >> However, I have no understanding of what a frontScript is and no >> understanding of how to trap those events. >> Perhaps you'd be willing to elaborate for me? > > Create a button with the following script: > > on mousedown > if then > -- block mousedown > else > pass mousedown > end if > end mousedown > > on mouseup > if then > -- block mouseup > else > pass mouseup > end if > end mouseup > > Then in an openstack handler put the following line: > insert script of btn "myFrontScript" into front > > A front script resides at the very front of the message path, and all > messages will pass to it before going to any controls, cards, or stacks. > Anything not handled by the frontscript will then pass to the normal > message path. Any message blocked by the frontscript will stop there > without getting passed. Frontscripts are very useful for handling special > actions that must prevail everywhere in your stack. > > In most cases you will want to be sure to put the following in your > closestack handler: > remove script of btn "myFrontScript" from front > to be sure that your blocking action does not persist when it is not > needed. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Tue Sep 2 10:53:40 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 2 Sep 2014 10:53:40 -0400 Subject: NOT using a proxy with 6.7 on Windows... In-Reply-To: References: Message-ID: On Tue, Sep 2, 2014 at 9:09 AM, Malte Brill wrote: > Hey all, > > anyone successfully *not* using a proxy with 6.7 DP9? > I have an application that needs to communicate with both LAN and WAN and > therefor needs to switch between not using a Proxy (for LAN access) and > using a proxy (for WAN access). It used to work fine up to 6.6.2 but with > 6.7 DP9 it fails. > > I used to set the httpProxy to empty for LAN access and to set it to the > correct Proxy for WAN access. This no longer works on Windows. > Monte, Can you provide some more info? Being able to see the libURL log of the headers being sent/received would help us troubleshoot this. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From richmondmathewson at gmail.com Tue Sep 2 11:03:34 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 02 Sep 2014 18:03:34 +0300 Subject: Simulcast In-Reply-To: <1409655946902-4682796.post@n4.nabble.com> References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> Message-ID: <5405DC46.2040905@gmail.com> On 02/09/14 14:05, Dave Kilroy wrote: > Hello and best wishes to all LC'ers not in San Diego who will be attending > the conference virtually, this simulcast-only version of the conference > schedule may be of use (also with UK timings) > https://www.dropbox.com/s/721349r4w46w20w/schedule-plus-8-hours.pdf?dl=0 > > Dave > > PS: also hello and best wishes to all in San Diego! > > > Thanks for that: I shall just add 2 hours; although, to be honest I don't know where the UK is. I was born in Scotland and spent all my schooltime in England; and as my Dad said "King Robert IV is monarch of both countries." (of course now Francis II has acceded to his titles that's out of date. Anyway: I'm going to get very red-eyed watching the conference. Richmond. From pete at lcsql.com Tue Sep 2 11:18:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 2 Sep 2014 08:18:06 -0700 Subject: Filtering FIle Types In-Reply-To: <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> References: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> <1409603095679-4682778.post@n4.nabble.com> <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> Message-ID: Thew new syntax for the filter command (don;t recall which version it was introduced but it works in 6.6.2) lets you filter with a regular expression, so the following will do it in one filter command, no need to repeat for each line: filter lines of tFiles with regex pattern ".*\.jpg|png" Just replace the "jpg|png" with a list of the file types you are looking for separated by the "|" character Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Sep 1, 2014 at 1:28 PM, JB wrote: > I have not tried it yet but if it works > the problem is I might want to use > a variety of file types so the repeat > would filter one line at a time and > then you check for that type in the > list of types you will allow. > > The way you provided would need it > to allow a list of types or I would need > to keep filtering so there might be a > faster way but I am not sure. > > Thank you for the reply and code advice. > > John Balgenorth > > > On Sep 1, 2014, at 1:24 PM, Martin Koob wrote: > > > > > I think you can use the filter command with a wildcard and your > extension. > > Put your folder path into tMyFolderPath then: > > > > set the folder to tMyFolderPath > > put the files into theFiles > > filter theFiles with "*.jpg" > > > > Martin > > > > > > > > -- > > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Filtering-FIle-Types-tp4682777p4682778.html > > Sent from the Revolution - User mailing list archive at Nabble.com. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Tue Sep 2 13:14:31 2014 From: sundown at pacifier.com (JB) Date: Tue, 2 Sep 2014 10:14:31 -0700 Subject: Filtering FIle Types In-Reply-To: <8689403C-7B31-42CF-813A-F9AA3C833700@gmail.com> References: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> <1409603095679-4682778.post@n4.nabble.com> <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> <8689403C-7B31-42CF-813A-F9AA3C833700@gmail.com> Message-ID: Thank you for the reply and code. If I call it for every type I want then I will need to splice it back together with the other types I filtered after I am done calling for each type. I guess there comes a point when I have added a certain amount of types it will be faster to do one line at a time. Thank you for the code! John Balgenorth On Sep 2, 2014, at 5:17 AM, Peter M. Brigham wrote: > you can use the following: > > function filterByType pFileList, pType > -- assuming pType is of the form "jpg" or "png" > filter pFileList by ("*." & pType) > return pFileList > end filterByType > > and call it repeatedly for whatever file types you want. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Sep 1, 2014, at 4:28 PM, JB wrote: > >> I have not tried it yet but if it works >> the problem is I might want to use >> a variety of file types so the repeat >> would filter one line at a time and >> then you check for that type in the >> list of types you will allow. >> >> The way you provided would need it >> to allow a list of types or I would need >> to keep filtering so there might be a >> faster way but I am not sure. >> >> Thank you for the reply and code advice. >> >> John Balgenorth >> >> >> On Sep 1, 2014, at 1:24 PM, Martin Koob wrote: >> >>> >>> I think you can use the filter command with a wildcard and your extension. >>> Put your folder path into tMyFolderPath then: >>> >>> set the folder to tMyFolderPath >>> put the files into theFiles >>> filter theFiles with "*.jpg" >>> >>> Martin >>> >>> >>> >>> -- >>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Filtering-FIle-Types-tp4682777p4682778.html >>> Sent from the Revolution - User mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Tue Sep 2 13:16:46 2014 From: sundown at pacifier.com (JB) Date: Tue, 2 Sep 2014 10:16:46 -0700 Subject: Filtering FIle Types In-Reply-To: References: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> <1409603095679-4682778.post@n4.nabble.com> <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> Message-ID: Thank you. Is there a regex that will work with Revolution? John Balgenorth On Sep 2, 2014, at 8:18 AM, Peter Haworth wrote: > Thew new syntax for the filter command (don;t recall which version it was > introduced but it works in 6.6.2) lets you filter with a regular > expression, so the following will do it in one filter command, no need to > repeat for each line: > > filter lines of tFiles with regex pattern ".*\.jpg|png" > > Just replace the "jpg|png" with a list of the file types you are looking > for separated by the "|" character > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > > On Mon, Sep 1, 2014 at 1:28 PM, JB wrote: > >> I have not tried it yet but if it works >> the problem is I might want to use >> a variety of file types so the repeat >> would filter one line at a time and >> then you check for that type in the >> list of types you will allow. >> >> The way you provided would need it >> to allow a list of types or I would need >> to keep filtering so there might be a >> faster way but I am not sure. >> >> Thank you for the reply and code advice. >> >> John Balgenorth >> >> >> On Sep 1, 2014, at 1:24 PM, Martin Koob wrote: >> >>> >>> I think you can use the filter command with a wildcard and your >> extension. >>> Put your folder path into tMyFolderPath then: >>> >>> set the folder to tMyFolderPath >>> put the files into theFiles >>> filter theFiles with "*.jpg" >>> >>> Martin >>> >>> >>> >>> -- >>> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Filtering-FIle-Types-tp4682777p4682778.html >>> Sent from the Revolution - User mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Tue Sep 2 13:37:27 2014 From: livfoss at mac.com (Graham Samuel) Date: Tue, 02 Sep 2014 19:37:27 +0200 Subject: Simulcast In-Reply-To: <5400B698.2090303@gmail.com> References: <5400B698.2090303@gmail.com> Message-ID: <97E2F797-97C5-49BF-A548-54CDDCAF6CDD@mac.com> I have lost all reference to the simulcast itself, although I may well have a right to view it. Can anyone give me a link before the Unicode session starts, or is it somehow hidden? TIA Graham Sent from my iPad > On 29 Aug 2014, at 19:21, Richmond wrote: > > Can anyone tell what "direct to video" means? > > In the Simulcast e-mail there are 2 links to the 2 tracks [i.e. 4 links]; > the second and the fourth marked as "direct to video". > > I wonder how those differ from the offerings at the first and third links? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Tue Sep 2 13:50:28 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 2 Sep 2014 13:50:28 -0400 Subject: Filtering FIle Types In-Reply-To: References: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> <1409603095679-4682778.post@n4.nabble.com> <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> <8689403C-7B31-42CF-813A-F9AA3C833700@gmail.com> Message-ID: <30806468-43C6-4CD5-A52E-F18DB5FC8FE1@gmail.com> Here's an expanded version -- feed it a list of filetypes and get them all at once: function filterByType pFileList, pTypeList -- assuming pTypeList is of the form "jpg,png,gif" (for instance) repeat for each item t in pTypeList put pFileList into workingList filter workingList by ("*." & t) put workingList & cr after outList end repeat return char 1 to -2 of outList end filterByType -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 2, 2014, at 1:14 PM, JB wrote: > Thank you for the reply and code. > > If I call it for every type I want then > I will need to splice it back together > with the other types I filtered after I > am done calling for each type. > > I guess there comes a point when I > have added a certain amount of types > it will be faster to do one line at a time. > > Thank you for the code! > > John Balgenorth > > > On Sep 2, 2014, at 5:17 AM, Peter M. Brigham wrote: > >> you can use the following: >> >> function filterByType pFileList, pType >> -- assuming pType is of the form "jpg" or "png" >> filter pFileList by ("*." & pType) >> return pFileList >> end filterByType >> >> and call it repeatedly for whatever file types you want. >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig >> >> >> On Sep 1, 2014, at 4:28 PM, JB wrote: >> >>> I have not tried it yet but if it works >>> the problem is I might want to use >>> a variety of file types so the repeat >>> would filter one line at a time and >>> then you check for that type in the >>> list of types you will allow. >>> >>> The way you provided would need it >>> to allow a list of types or I would need >>> to keep filtering so there might be a >>> faster way but I am not sure. >>> >>> Thank you for the reply and code advice. >>> >>> John Balgenorth >>> >>> >>> On Sep 1, 2014, at 1:24 PM, Martin Koob wrote: >>> >>>> >>>> I think you can use the filter command with a wildcard and your extension. >>>> Put your folder path into tMyFolderPath then: >>>> >>>> set the folder to tMyFolderPath >>>> put the files into theFiles >>>> filter theFiles with "*.jpg" >>>> >>>> Martin >>>> >>>> >>>> >>>> -- >>>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Filtering-FIle-Types-tp4682777p4682778.html >>>> Sent from the Revolution - User mailing list archive at Nabble.com. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Tue Sep 2 13:53:19 2014 From: sundown at pacifier.com (JB) Date: Tue, 2 Sep 2014 10:53:19 -0700 Subject: Filtering FIle Types In-Reply-To: <30806468-43C6-4CD5-A52E-F18DB5FC8FE1@gmail.com> References: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> <1409603095679-4682778.post@n4.nabble.com> <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> <8689403C-7B31-42CF-813A-F9AA3C833700@gmail.com> <30806468-43C6-4CD5-A52E-F18DB5FC8FE1@gmail.com> Message-ID: <1AE02A55-97B6-41BF-B28C-69776ECD1ECF@pacifier.com> That looks like what i need!! Thank you very much! John Balgenorth On Sep 2, 2014, at 10:50 AM, Peter M. Brigham wrote: > Here's an expanded version -- feed it a list of filetypes and get them all at once: > > function filterByType pFileList, pTypeList > -- assuming pTypeList is of the form "jpg,png,gif" (for instance) > repeat for each item t in pTypeList > put pFileList into workingList > filter workingList by ("*." & t) > put workingList & cr after outList > end repeat > return char 1 to -2 of outList > end filterByType > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Sep 2, 2014, at 1:14 PM, JB wrote: > >> Thank you for the reply and code. >> >> If I call it for every type I want then >> I will need to splice it back together >> with the other types I filtered after I >> am done calling for each type. >> >> I guess there comes a point when I >> have added a certain amount of types >> it will be faster to do one line at a time. >> >> Thank you for the code! >> >> John Balgenorth >> >> >> On Sep 2, 2014, at 5:17 AM, Peter M. Brigham wrote: >> >>> you can use the following: >>> >>> function filterByType pFileList, pType >>> -- assuming pType is of the form "jpg" or "png" >>> filter pFileList by ("*." & pType) >>> return pFileList >>> end filterByType >>> >>> and call it repeatedly for whatever file types you want. >>> >>> -- Peter >>> >>> Peter M. Brigham >>> pmbrig at gmail.com >>> http://home.comcast.net/~pmbrig >>> >>> >>> On Sep 1, 2014, at 4:28 PM, JB wrote: >>> >>>> I have not tried it yet but if it works >>>> the problem is I might want to use >>>> a variety of file types so the repeat >>>> would filter one line at a time and >>>> then you check for that type in the >>>> list of types you will allow. >>>> >>>> The way you provided would need it >>>> to allow a list of types or I would need >>>> to keep filtering so there might be a >>>> faster way but I am not sure. >>>> >>>> Thank you for the reply and code advice. >>>> >>>> John Balgenorth >>>> >>>> >>>> On Sep 1, 2014, at 1:24 PM, Martin Koob wrote: >>>> >>>>> >>>>> I think you can use the filter command with a wildcard and your extension. >>>>> Put your folder path into tMyFolderPath then: >>>>> >>>>> set the folder to tMyFolderPath >>>>> put the files into theFiles >>>>> filter theFiles with "*.jpg" >>>>> >>>>> Martin >>>>> >>>>> >>>>> >>>>> -- >>>>> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Filtering-FIle-Types-tp4682777p4682778.html >>>>> Sent from the Revolution - User mailing list archive at Nabble.com. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revolution at derbrill.de Tue Sep 2 14:08:03 2014 From: revolution at derbrill.de (Malte Brill) Date: Tue, 2 Sep 2014 20:08:03 +0200 Subject: NOT using a proxy with 6.7 on Windows... In-Reply-To: References: Message-ID: <5D3D01BD-68A1-4AF5-9A65-6B4EB8A01170@derbrill.de> Hey Trevor, what exactly would be needed to troubleshoot? As I do not own the machines this happens on and only can have limited access it will be a little tricky to get information. My suspition is that LC picks up the PROXY information from the registry (which did not work before my engine switch) and does this even if the HTTPProxy is set to empty by script... All the best, Malte From admin at FlexibleLearning.com Tue Sep 2 14:13:21 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Tue, 2 Sep 2014 19:13:21 +0100 Subject: How To: Delete columns of data Message-ID: <002701cfc6d9$949a8070$bdcf8150$@FlexibleLearning.com> This takes 2ms to remove 4 columns from a 100x100 data table... on mouseUp --| Syntax: deleteColumns , --| data: Specifies the data to parse --| cols: A comma separated list of columns to be removed deleteColumns fld "Input","5,10,15,20" -- Specify what to do with 'the result'... put the result into fld "Output" end mouseUp -- A single variable approach on deleteColumns pData,pColsToDelete split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns An enhancement request has been submitted to allow non-sequential keys to be combined. Meanwhile, this does it. Hugh Senior FLCo From alain_farmer at yahoo.com Tue Sep 2 14:18:04 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Tue, 2 Sep 2014 11:18:04 -0700 Subject: Newly created alias is not an alias In-Reply-To: References: <1409539113.30622.YahooMailNeo@web126101.mail.ne1.yahoo.com> Message-ID: <1409681884.57829.YahooMailNeo@web126103.mail.ne1.yahoo.com> Thank you, Mark, but the aliasReference is NEVER empty. Therefore cannot use: if the aliasReference of it is empty to test if something is an alias.: on testAliases currentFolder -- put currentFolder & "test/" into targetFolder put currentFolder & "test-alias" into aliasPath -- if there is not a folder aliasPath then -- alias of a folder is a folder create alias aliasPath to folder targetFolder if the result is not empty then answer the result end if -- answer aliasPath & cr & the aliasReference of aliasPath -- answers targetFolder answer targetFolder& cr & the aliasReference of targetFolder -- answers targetFolder -- instead of empty -- end testAliases On Monday, September 1, 2014 7:29:56 PM, Mark Wieder wrote: Alain Farmer writes: > setDirectoryTo someFolder > create alias "myAlias" to folder "existingFolder" > if the result is not empty then die the result > answer there is an alias "myAlias" -- returns false !?! I've never heard of a "there is an alias" reference. Instead try create alias "myAlias" to folder "existingFolder" if the aliasReference of "myAlias" is empty then die "it's not a reference!" end if -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From alain_farmer at yahoo.com Tue Sep 2 14:29:00 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Tue, 2 Sep 2014 11:29:00 -0700 Subject: Newly created alias is not an alias In-Reply-To: <1409681884.57829.YahooMailNeo@web126103.mail.ne1.yahoo.com> References: <1409539113.30622.YahooMailNeo@web126101.mail.ne1.yahoo.com> <1409681884.57829.YahooMailNeo@web126103.mail.ne1.yahoo.com> Message-ID: <1409682540.89905.YahooMailNeo@web126103.mail.ne1.yahoo.com> Explaining this has made me come-up with the solution: function isAlias pathToAlias return the aliasReference of pathToAlias is not pathToAlias end isAlias on testAliases currentFolder -- put currentFolder & "test/" into targetFolder put currentFolder & "test-alias" into aliasPath -- if there is not a folder aliasPath then -- alias of a folder is a folder create alias aliasPath to folder targetFolder if the result is not empty then answer the result end if -- answer isAlias(aliasPath) & cr & isAlias(targetFolder) -- answers: true & cr & false -- end testAliases On Tuesday, September 2, 2014 2:18:04 PM, Alain Farmer wrote: Thank you, Mark, but the aliasReference is NEVER empty. Therefore cannot use: if the aliasReference of it is empty to test if something is an alias.: on testAliases currentFolder -- put currentFolder & "test/" into targetFolder put currentFolder & "test-alias" into aliasPath -- if there is not a folder aliasPath then -- alias of a folder is a folder create alias aliasPath to folder targetFolder if the result is not empty then answer the result end if -- answer aliasPath & cr & the aliasReference of aliasPath -- answers targetFolder answer targetFolder& cr & the aliasReference of targetFolder -- answers targetFolder -- instead of empty -- end testAliases On Monday, September 1, 2014 7:29:56 PM, Mark Wieder wrote: Alain Farmer writes: > setDirectoryTo someFolder > create alias "myAlias" to folder "existingFolder" > if the result is not empty then die the result > answer there is an alias "myAlias" -- returns false !?! I've never heard of a "there is an alias" reference. Instead try create alias "myAlias" to folder "existingFolder" if the aliasReference of "myAlias" is empty then die "it's not a reference!" end if -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From B.Cornaz at gmx.net Tue Sep 2 14:45:30 2014 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Tue, 2 Sep 2014 20:45:30 +0200 Subject: permuting a string (was Re: Speed) Message-ID: Mon, 1 Sep 2014 19:35:31 -0500 From: Geoff Canyon > I have a set of code that seems to do the trick. It takes as an argument the number of each element to permute. Great, Geoff, this works fine. Quite clever thinking :-) Mon, 1 Sep 2014 19:47:58 -0500 From: Geoff Canyon > I think this is faster for many arguments. It might be slower for others. Your right. The only thing with this script is, that it sometimes generates too many permutations. E.g. 111223 as input is ok. But 1112223 generates too many permutations. 11122233 is ok again. I haven't figured out why. For the time being I appended a deletion of duplicates, and the right number of Permutations comes out. But it slows the script down, enough to make it slower than the one you posted just before (the long one). It's a pity, because even in generating too many permutations, this last script is faster with large input strings than the other scripts. I'll have a look if I can find where it sometimes goes wrong. Geoff, thanks again, I really appreciate your work and input, as well as the way you think. Very inspiring :-) Cheers, Beat From pete at lcsql.com Tue Sep 2 15:11:23 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 2 Sep 2014 12:11:23 -0700 Subject: Filtering FIle Types In-Reply-To: References: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> <1409603095679-4682778.post@n4.nabble.com> <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> <8689403C-7B31-42CF-813A-F9AA3C833700@gmail.com> Message-ID: In that case, the new filter command lets you put the output into a second variable: filter lines of tFiles with regex pattern ".*\.jpg|png" into tFilteredFiles That way, tFiles will not be changed and tFilteredFiles will contain the result of the filter command Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Sep 2, 2014 at 10:14 AM, JB wrote: > Thank you for the reply and code. > > If I call it for every type I want then > I will need to splice it back together > with the other types I filtered after I > am done calling for each type. > > I guess there comes a point when I > have added a certain amount of types > it will be faster to do one line at a time. > > Thank you for the code! > > John Balgenorth > > > On Sep 2, 2014, at 5:17 AM, Peter M. Brigham wrote: > > > you can use the following: > > > > function filterByType pFileList, pType > > -- assuming pType is of the form "jpg" or "png" > > filter pFileList by ("*." & pType) > > return pFileList > > end filterByType > > > > and call it repeatedly for whatever file types you want. > > > > -- Peter > > > > Peter M. Brigham > > pmbrig at gmail.com > > http://home.comcast.net/~pmbrig > > > > > > On Sep 1, 2014, at 4:28 PM, JB wrote: > > > >> I have not tried it yet but if it works > >> the problem is I might want to use > >> a variety of file types so the repeat > >> would filter one line at a time and > >> then you check for that type in the > >> list of types you will allow. > >> > >> The way you provided would need it > >> to allow a list of types or I would need > >> to keep filtering so there might be a > >> faster way but I am not sure. > >> > >> Thank you for the reply and code advice. > >> > >> John Balgenorth > >> > >> > >> On Sep 1, 2014, at 1:24 PM, Martin Koob wrote: > >> > >>> > >>> I think you can use the filter command with a wildcard and your > extension. > >>> Put your folder path into tMyFolderPath then: > >>> > >>> set the folder to tMyFolderPath > >>> put the files into theFiles > >>> filter theFiles with "*.jpg" > >>> > >>> Martin > >>> > >>> > >>> > >>> -- > >>> View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Filtering-FIle-Types-tp4682777p4682778.html > >>> Sent from the Revolution - User mailing list archive at Nabble.com. > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Sep 2 15:12:00 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 2 Sep 2014 12:12:00 -0700 Subject: Filtering FIle Types In-Reply-To: References: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> <1409603095679-4682778.post@n4.nabble.com> <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> Message-ID: Not sure I understand your question. The regex is in the filter command example I posted. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Sep 2, 2014 at 10:16 AM, JB wrote: > Thank you. > > Is there a regex that will work > with Revolution? > > John Balgenorth > > > On Sep 2, 2014, at 8:18 AM, Peter Haworth wrote: > > > Thew new syntax for the filter command (don;t recall which version it was > > introduced but it works in 6.6.2) lets you filter with a regular > > expression, so the following will do it in one filter command, no need to > > repeat for each line: > > > > filter lines of tFiles with regex pattern ".*\.jpg|png" > > > > Just replace the "jpg|png" with a list of the file types you are looking > > for separated by the "|" character > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > > > > > On Mon, Sep 1, 2014 at 1:28 PM, JB wrote: > > > >> I have not tried it yet but if it works > >> the problem is I might want to use > >> a variety of file types so the repeat > >> would filter one line at a time and > >> then you check for that type in the > >> list of types you will allow. > >> > >> The way you provided would need it > >> to allow a list of types or I would need > >> to keep filtering so there might be a > >> faster way but I am not sure. > >> > >> Thank you for the reply and code advice. > >> > >> John Balgenorth > >> > >> > >> On Sep 1, 2014, at 1:24 PM, Martin Koob wrote: > >> > >>> > >>> I think you can use the filter command with a wildcard and your > >> extension. > >>> Put your folder path into tMyFolderPath then: > >>> > >>> set the folder to tMyFolderPath > >>> put the files into theFiles > >>> filter theFiles with "*.jpg" > >>> > >>> Martin > >>> > >>> > >>> > >>> -- > >>> View this message in context: > >> > http://runtime-revolution.278305.n4.nabble.com/Filtering-FIle-Types-tp4682777p4682778.html > >>> Sent from the Revolution - User mailing list archive at Nabble.com. > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Tue Sep 2 15:15:58 2014 From: sundown at pacifier.com (JB) Date: Tue, 2 Sep 2014 12:15:58 -0700 Subject: Filtering FIle Types In-Reply-To: References: <502DA566-B5C8-4FB4-9E97-D24EE073D3D2@pacifier.com> <1409603095679-4682778.post@n4.nabble.com> <83764688-2254-4F52-835B-5A444C51CBEE@pacifier.com> Message-ID: <00CC2E76-08C1-496A-9AB8-ED13E629F428@pacifier.com> You posted >> Thew new syntax for the filter command (don;t recall which version it was >> introduced but it works in 6.6.2) Maybe that is why I get an error when I even put the script into my button. It works on LiveCode 6.6.2 and higher not Revolution. Not to be critical of LiveCode I just happen to be working or a project in the last version of Revolution Enterprise. John Balgenorth \ On Sep 2, 2014, at 12:12 PM, Peter Haworth wrote: >>> Thew new syntax for the filter command (don;t recall which version it was >>> introduced but it works in 6.6.2) From pete at lcsql.com Tue Sep 2 15:48:53 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 2 Sep 2014 12:48:53 -0700 Subject: Speed testing: Fastest search method In-Reply-To: References: <000601cfc501$71c24530$5546cf90$@FlexibleLearning.com> <54038DEE.8090203@tweedly.net> Message-ID: On Mon, Sep 1, 2014 at 5:58 PM, Geoff Canyon wrote: > All justifications aside, I'd use method 3 all the time unless something > broke. ;-) > A recent post on a similar topic (filtering lines by filetype from the output of "the files") made me think of this thread again. I tried Alex's test again and also included both filter lines of tVar without "a*" and filter lines of tVar without "a*" into tVar2 The first variation completed in .004 seconds and the second in .005 seconds, both faster than any other method. Can't speak to memory usage. This thread started of on the subject of repeat loops but it seems that the filter command is the way to go provided that you can express the required data conditions with it. The recent addition of using regex with filter makes that more likely. Personally, I'm always drawn to solutions with less lines of code, assuming performance is at least comparable. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From lists at mangomultimedia.com Tue Sep 2 19:15:15 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 2 Sep 2014 19:15:15 -0400 Subject: NOT using a proxy with 6.7 on Windows... In-Reply-To: <5D3D01BD-68A1-4AF5-9A65-6B4EB8A01170@derbrill.de> References: <5D3D01BD-68A1-4AF5-9A65-6B4EB8A01170@derbrill.de> Message-ID: On Tue, Sep 2, 2014 at 2:08 PM, Malte Brill wrote: > what exactly would be needed to troubleshoot? > Malte, I'm actually going to talk about this at the conference Thursday morning :-) With any internet app I recommend adding lots of logging. I would add a front script or library script with the following handler: command ulLogIt pMsg LogNetworkActivity pMsg pass ulLogIt end legit libURL uses this command to log messages to the field specified with a call to libURLSetLogField. If you handle it early enough in the message path then you can log it as well. The LogNetworkActivity tries to log the message to a file if you have set sNetworkActivityFile to a file path. local sNetworkActivityFile command LogNetworkActivity pStr if sNetworkActivityFile is not empty then local theError replace CRLF with CR in pStr open file theFile for append put the result into theError if theError is empty then write "[" & the internet date & "] " && pStr & cr to file theFile end if close file theFile end if return theError end LogNetworkActivity What I do is allow a user to turn logging on if they hold down the SHIFT key while launching my application. I prompt them, they click "OK" and then I write a log file to their desktop. > As I do not own the machines this happens on and only can have limited > access it will be a little tricky to get information. My suspition is that > LC picks up the PROXY information from the registry (which did not work > before my engine switch) and does this even if the HTTPProxy is set to > empty by script... LC does pick up proxy settings from the registry. If you edit the libURL script and take a look at the libURLInitializeProxy then you can see the new logic that was introduced. edit script of btw "revliburl" of stack "rev library" The first time libURL loads a URL it initializes the proxy server settings. I imagine your users have automatic detection or a PAC file configured in their settings. Old versions of LiveCode only picked up the HTTP Proxy setting and didn't take into account PAC or auto detection. I'm not sure what the best solution would be for your scenario. The first thing is to find out what the proxy settings are. ulLogIt will log the proxy settings that libURL settles on. If the user has auto detection (WPAD) or a PAC file then perhaps they need to update their settings to not use the proxy for local or 169 address. On OS X my settings look like this: *.local, 169.254/16 As long as your LAN URLs are listed in the Bypass list then libURL should not set the proxy server for those URLs. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From prothero at earthednet.org Tue Sep 2 23:32:31 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 2 Sep 2014 20:32:31 -0700 Subject: Simulcast In-Reply-To: <97E2F797-97C5-49BF-A548-54CDDCAF6CDD@mac.com> References: <5400B698.2090303@gmail.com> <97E2F797-97C5-49BF-A548-54CDDCAF6CDD@mac.com> Message-ID: Graham: You will need a password, but the link is: https://new.livestream.com/runrevlivetrack1/ Bill On Sep 2, 2014, at 10:37 AM, Graham Samuel wrote: > I have lost all reference to the simulcast itself, although I may well have a right to view it. Can anyone give me a link before the Unicode session starts, or is it somehow hidden? > > TIA > > Graham > > Sent from my iPad > >> On 29 Aug 2014, at 19:21, Richmond wrote: >> >> Can anyone tell what "direct to video" means? >> >> In the Simulcast e-mail there are 2 links to the 2 tracks [i.e. 4 links]; >> the second and the fourth marked as "direct to video". >> >> I wonder how those differ from the offerings at the first and third links? >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From selander at tkf.att.ne.jp Tue Sep 2 23:32:39 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 03 Sep 2014 12:32:39 +0900 Subject: Strange group behavior In-Reply-To: References: Message-ID: <54068BD7.4080904@tkf.att.ne.jp> OK, I have to admit that when I saw the Subject: line, I thought the post would be, umm, about those of us on the listserve! Tim Selander Tokyo, Japan On 14/09/02 12:33, Geoff Canyon wrote: > I've experienced something that might be related. For several versions, > culminating in 6.6.x, the activation dialog had multiple invisible > controls, making it very difficult for me to activate LC. I also found that > sometimes whole groups would go invisible in my stacks. I never found a > consistent trigger for it. > > I created http://quality.runrev.com/show_bug.cgi?id=13199 for it, but > everything seems to work properly in 6.7, so my bug was marked resolved. > > > On Mon, Sep 1, 2014 at 9:46 PM, Peter Haworth wrote: > >> I'm busy getting everything ready for the conference and that involves >> setting up software on a pretty old Mac laptop running OSX 10.6.8. >> >> One of the programs I'll be using has a handler that creates a group on a >> card and the copies a control into it, all with straightforward "create >> group" and "copy" commands. The group and its controls are all created >> successfully... except that none of them are visible. Their visible >> property is set to true. >> >> I accidentally discovered that if I set the showborder property of the >> group to true, it and its controls became visible and stay visible even if >> I set the showborder property back to false. >> >> This happened in LC 5.5.4 and 6.6.2. >> >> All works fine running the same software on my Mac desktop running 10.7.4, >> no need to show/hide border. >> >> While I have a workaround, I'm wondering if anyone else has come across >> this strange situation. >> >> Needless to say, it makes me somewhat apprehensive about what other >> gremlins might be lurking under the covers of old OSX versions. >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Tue Sep 2 23:33:03 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 3 Sep 2014 11:33:03 +0800 Subject: Newly created alias is not an alias In-Reply-To: <1409681884.57829.YahooMailNeo@web126103.mail.ne1.yahoo.com> References: <1409539113.30622.YahooMailNeo@web126101.mail.ne1.yahoo.com> <1409681884.57829.YahooMailNeo@web126103.mail.ne1.yahoo.com> Message-ID: On Wed, Sep 3, 2014 at 2:18 AM, Alain Farmer wrote: > Thank you, Mark, but the aliasReference is NEVER empty. > The Dictionary says: Comments: If the aliasPath does not exist, the aliasReference function returns empty and the result is set to "can't get". If you are seeing something different, submit a bug report. http://quality.runrev.com/ From alain_farmer at yahoo.com Wed Sep 3 01:45:48 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Tue, 2 Sep 2014 22:45:48 -0700 Subject: Newly created alias is not an alias In-Reply-To: References: <1409539113.30622.YahooMailNeo@web126101.mail.ne1.yahoo.com> <1409681884.57829.YahooMailNeo@web126103.mail.ne1.yahoo.com> Message-ID: <1409723148.17138.YahooMailNeo@web126106.mail.ne1.yahoo.com> Hello Kay, I tested it empirically. In version 6.6.2, the aliasReference of a file/folder returns the path to file/folder itself; not empty as you suggest. Either way, my function below works: function isAlias pathToAlias return the aliasReference of pathToAlias is not pathToAlias end isAlias On Tuesday, September 2, 2014 11:33:14 PM, Kay C Lan wrote: On Wed, Sep 3, 2014 at 2:18 AM, Alain Farmer wrote: > Thank you, Mark, but the aliasReference is NEVER empty. > The Dictionary says: Comments: If the aliasPath does not exist, the aliasReference function returns empty and the result is set to "can't get". If you are seeing something different, submit a bug report. http://quality.runrev.com/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Wed Sep 3 07:28:06 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 3 Sep 2014 14:28:06 +0300 Subject: Writing to file in utf-8 In-Reply-To: <5405DC46.2040905@gmail.com> References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> <5405DC46.2040905@gmail.com> Message-ID: Hi list I have a script that accumulates successive strings into a file. Each string comes from utf-8 text files and contains french characters with accents like "? ? ?". After processing in the script, those strings get accumulated in other txt files. I need these second serie of files to be in utf-8 format too. So I use the following code (found in this LC lesson : http://lessons.runrev.com/m/4071/l/20441-unicode ) put (unidecode(it,"utf8") & return) after url tPath but when I open the file tPath in a text editor, everything is replaced by chinese chars... What am I missing ? Thanks in advance. jbv From m.schonewille at economy-x-talk.com Wed Sep 3 07:41:53 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 03 Sep 2014 13:41:53 +0200 Subject: Writing to file in utf-8 In-Reply-To: References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> <5405DC46.2040905@gmail.com> Message-ID: <5406FE81.6070700@economy-x-talk.com> Hi Jbv, Lots of information is missing. First of all, which version of LiveCode are you using? There are quite a few differences between 5, 6 and 7. You provide one line of syntax, but it isn't clear where the contents of the it variable comes from, e.g. from a file or a field. It isn't clear if the files are 100% UTF8 or e.g. are they Latin1 or MacRoman encoded XML files with some UTF8 encoded strings? (Not very likely to happen, but perhaps something similar is going on). Generally, if you import a UTF8 file into a field, you do this: put url ("binfile:" & myUrl) into myData put uniEncode(myData,"UTF8") into myData set the unicodeText of fld 1 to myData and to export you use put the unicodeText of fld 1 into myData put uniDecode(myData,"UTF8") into myData put myData into url ("binfile:" & myUrl) This should work with all versions, although LiveCode 7 will have different ways to work with unicode text. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/3/2014 13:28, jbv at souslelogo.com wrote: > Hi list > > I have a script that accumulates successive strings into a file. > Each string comes from utf-8 text files and contains french > characters with accents like "? ? ?". > After processing in the script, those strings get accumulated > in other txt files. I need these second serie of files to be in > utf-8 format too. > So I use the following code (found in this LC lesson : > http://lessons.runrev.com/m/4071/l/20441-unicode ) > > put (unidecode(it,"utf8") & return) after url tPath > > but when I open the file tPath in a text editor, everything is > replaced by chinese chars... > > What am I missing ? > Thanks in advance. > jbv From jbv at souslelogo.com Wed Sep 3 09:04:07 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 3 Sep 2014 16:04:07 +0300 Subject: Writing to file in utf-8 In-Reply-To: <5406FE81.6070700@economy-x-talk.com> References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> <5405DC46.2040905@gmail.com> <5406FE81.6070700@economy-x-talk.com> Message-ID: <377ae47e096495ef0994b7adcc8f3bb7.squirrel@185.8.104.234> Hi Mark, Thanks for your reply, and sorry for the missing information. I am on Mac OSX with LC 6.5.2. But a solution that works on different platforms would be nice. As I said, the contents of variable it come from files, which I assume are in utf-8 (when I open them in BBedit or TextWrangler, it says UTF-8, presumably MacRoman encoded XML files with some UTF8 encoded strings). I don't use fields; the whole thing goes as follows : file 1 -> var 1 -> processing -> var 2 -> file 2 In var 2 and file 2 I need to get a list of mySQL INSERT commands to be executed on a server to fill a DB in utf-8. When I follow your advice, in text file "file 2" the char "?" (for instance) is replaced by "??" (AFAIR this is the utf8 encodeing for "?"), and apparently the file is in utf-8. The only thing I wonder is : if I insert such strings into a DB, will they display the "??" as "?" in web pages with an utf-8 charset... Best, JB > Hi Jbv, > > Lots of information is missing. First of all, which version of LiveCode > are you using? There are quite a few differences between 5, 6 and 7. > > You provide one line of syntax, but it isn't clear where the contents of > the it variable comes from, e.g. from a file or a field. > > It isn't clear if the files are 100% UTF8 or e.g. are they Latin1 or > MacRoman encoded XML files with some UTF8 encoded strings? (Not very > likely to happen, but perhaps something similar is going on). > > Generally, if you import a UTF8 file into a field, you do this: > > put url ("binfile:" & myUrl) into myData > put uniEncode(myData,"UTF8") into myData > set the unicodeText of fld 1 to myData > > and to export you use > > put the unicodeText of fld 1 into myData > put uniDecode(myData,"UTF8") into myData > put myData into url ("binfile:" & myUrl) > > This should work with all versions, although LiveCode 7 will have > different ways to work with unicode text. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 9/3/2014 13:28, jbv at souslelogo.com wrote: >> Hi list >> >> I have a script that accumulates successive strings into a file. >> Each string comes from utf-8 text files and contains french >> characters with accents like "? ? ?". >> After processing in the script, those strings get accumulated >> in other txt files. I need these second serie of files to be in >> utf-8 format too. >> So I use the following code (found in this LC lesson : >> http://lessons.runrev.com/m/4071/l/20441-unicode ) >> >> put (unidecode(it,"utf8") & return) after url tPath >> >> but when I open the file tPath in a text editor, everything is >> replaced by chinese chars... >> >> What am I missing ? >> Thanks in advance. >> jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Wed Sep 3 09:33:49 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 03 Sep 2014 15:33:49 +0200 Subject: Writing to file in utf-8 In-Reply-To: <377ae47e096495ef0994b7adcc8f3bb7.squirrel@185.8.104.234> References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> <5405DC46.2040905@gmail.com> <5406FE81.6070700@economy-x-talk.com> <377ae47e096495ef0994b7adcc8f3bb7.squirrel@185.8.104.234> Message-ID: <540718BD.7020600@economy-x-talk.com> Hi, Please, post a simplified version of your actual script. Without script, it is really difficult to see what you're doing wrong. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/3/2014 15:04, jbv at souslelogo.com wrote: > Hi Mark, > > Thanks for your reply, and sorry for the missing information. > > I am on Mac OSX with LC 6.5.2. But a solution that works on different > platforms would be nice. > > As I said, the contents of variable it come from files, which I assume are > in utf-8 (when I open them in BBedit or TextWrangler, it says UTF-8, > presumably MacRoman encoded XML files with some UTF8 encoded strings). > > I don't use fields; the whole thing goes as follows : > file 1 -> var 1 -> processing -> var 2 -> file 2 > > In var 2 and file 2 I need to get a list of mySQL INSERT commands to be > executed on a server to fill a DB in utf-8. > > When I follow your advice, in text file "file 2" the char "?" (for > instance) is > replaced by "??" (AFAIR this is the utf8 encodeing for "?"), and apparently > the file is in utf-8. > > The only thing I wonder is : if I insert such strings into a DB, will they > display > the "??" as "?" in web pages with an utf-8 charset... > > Best, > JB > > >> Hi Jbv, >> >> Lots of information is missing. First of all, which version of LiveCode >> are you using? There are quite a few differences between 5, 6 and 7. >> >> You provide one line of syntax, but it isn't clear where the contents of >> the it variable comes from, e.g. from a file or a field. >> >> It isn't clear if the files are 100% UTF8 or e.g. are they Latin1 or >> MacRoman encoded XML files with some UTF8 encoded strings? (Not very >> likely to happen, but perhaps something similar is going on). >> >> Generally, if you import a UTF8 file into a field, you do this: >> >> put url ("binfile:" & myUrl) into myData >> put uniEncode(myData,"UTF8") into myData >> set the unicodeText of fld 1 to myData >> >> and to export you use >> >> put the unicodeText of fld 1 into myData >> put uniDecode(myData,"UTF8") into myData >> put myData into url ("binfile:" & myUrl) >> >> This should work with all versions, although LiveCode 7 will have >> different ways to work with unicode text. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Installer Maker for LiveCode: >> http://qery.us/468 >> >> Buy my new book "Programming LiveCode for the Real Beginner" >> http://qery.us/3fi >> >> LiveCode on Facebook: >> https://www.facebook.com/groups/runrev/ >> >> On 9/3/2014 13:28, jbv at souslelogo.com wrote: >>> Hi list >>> >>> I have a script that accumulates successive strings into a file. >>> Each string comes from utf-8 text files and contains french >>> characters with accents like "? ? ?". >>> After processing in the script, those strings get accumulated >>> in other txt files. I need these second serie of files to be in >>> utf-8 format too. >>> So I use the following code (found in this LC lesson : >>> http://lessons.runrev.com/m/4071/l/20441-unicode ) >>> >>> put (unidecode(it,"utf8") & return) after url tPath >>> >>> but when I open the file tPath in a text editor, everything is >>> replaced by chinese chars... >>> >>> What am I missing ? >>> Thanks in advance. >>> jbv >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gcanyon at gmail.com Wed Sep 3 09:56:11 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 3 Sep 2014 08:56:11 -0500 Subject: permuting a string (was Re: Speed) In-Reply-To: References: Message-ID: On Tue, Sep 2, 2014 at 1:45 PM, Beat Cornaz wrote: > Mon, 1 Sep 2014 19:47:58 -0500 > From: Geoff Canyon > > > I think this is faster for many arguments. It might be slower for others. > > Your right. The only thing with this script is, that it sometimes > generates too many permutations. E.g. 111223 as input is ok. But 1112223 > generates too many permutations. 11122233 is ok again. > Gah, I forgot one stinkin' line: put isNewElement into wasNewElement Here's the corrected (I think) version: function beatPermut ToPermutateOrdered -- assumes the paramter is in decreasing order of frequency -- "11122334" is fine -- "11222" might work -- "12213" will probably fail put char 1 of ToPermutateOrdered into lastChar -- start with the longest string of duplicates possible repeat with i = 1 to length(ToPermutateOrdered) if char i of ToPermutateOrdered <> lastChar then exit repeat put char i of ToPermutateOrdered after TempPerms2 end repeat put length(TempPerms2) into numChars put char numChars + 1 to -1 of ToPermutateOrdered into tInput3 put true into wasNewElement repeat for each char rNewElement in tInput3 put rNewElement <> lastChar into isNewElement -- remove duplicates for each new value after a duplicate if isNewElement and not wasNewElement then split TempPerms2 using cr as set put the keys of TempPerms2 into TempPerms1 else put TempPerms2 into TempPerms1 end if put isNewElement into wasNewElement put rNewElement into lastChar put empty into TempPerms2 -- for the first of a duplicate -- or for a unique -- just distribute it repeat for each line rLine in TempPerms1 put rNewElement & rLine & cr after TempPerms2 repeat with x = 1 to NumChars - 1 put (char 1 to x of rLine) & rNewElement & (char x+1 to -1 of rLine) & cr after TempPerms2 end repeat put rLine & rNewElement & cr after TempPerms2 end repeat else -- for duplicates after the first -- never place before the first -- never insert except at the end of a string repeat for each line rLine in TempPerms1 repeat with x = offset(rNewElement,rLine) + 1 to NumChars if char x of rLine <> rNewElement then put (char 1 to x-1 of rLine) & rNewElement & (char x to NumChars of rLine) & cr after TempPerms2 end repeat put rLine & rNewElement & cr after TempPerms2 end repeat end if add 1 to NumChars end repeat -- Final deletion of duplicates, if the last element was a duplicate if isNewElement then return TempPerms2 split TempPerms2 using cr as set return the keys of TempPerms2 end beatPermut From jbv at souslelogo.com Wed Sep 3 10:12:39 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 3 Sep 2014 17:12:39 +0300 Subject: Writing to file in utf-8 In-Reply-To: <540718BD.7020600@economy-x-talk.com> References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> <5405DC46.2040905@gmail.com> <5406FE81.6070700@economy-x-talk.com> <377ae47e096495ef0994b7adcc8f3bb7.squirrel@185.8.104.234> <540718BD.7020600@economy-x-talk.com> Message-ID: From richmondmathewson at gmail.com Wed Sep 3 11:19:39 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 03 Sep 2014 18:19:39 +0300 Subject: Redneck Champagne. Message-ID: <5407318B.2050900@gmail.com> For anyone NOT at the Conf. and NOT listening to the Simulcast and NOT obsessively checking this site fifty-seven times a day: http://downloads.livecode.com/livecode/ There are now release candidates for 6.70 and 7.0.0 available for download. Anybody get the reference on the title to this post? Richmond. From lists at mangomultimedia.com Wed Sep 3 11:19:58 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 3 Sep 2014 11:19:58 -0400 Subject: Writing to file in utf-8 In-Reply-To: References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> <5405DC46.2040905@gmail.com> Message-ID: On Wed, Sep 3, 2014 at 7:28 AM, wrote: > I have a script that accumulates successive strings into a file. > Each string comes from utf-8 text files and contains french > characters with accents like "? ? ?". > After processing in the script, those strings get accumulated > in other txt files. I need these second serie of files to be in > utf-8 format too. > ... > > put (unidecode(it,"utf8") & return) after url tPath > Why are you using unidecode? Unless you are converting the data you read in to UTF16 data using uniencode then you are passing bad data to unidecode. unidecode expects UTF16 data. Based on what I've read you shouldn't need to use unidecode or uniencode. Just read the text in (using binfile), manipulate it, write the text out (using binfile). -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From m.schonewille at economy-x-talk.com Wed Sep 3 11:44:43 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 3 Sep 2014 17:44:43 +0200 Subject: Writing to file in utf-8 In-Reply-To: References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> <5405DC46.2040905@gmail.com> Message-ID: <0101D954-3BAF-4576-868C-9BDB0BEB538C@economy-x-talk.com> He wants UTF8 files. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3 sep 2014, at 17:19, Trevor DeVore wrote: > On Wed, Sep 3, 2014 at 7:28 AM, wrote: > >> I have a script that accumulates successive strings into a file. >> Each string comes from utf-8 text files and contains french >> characters with accents like "? ? ?". >> After processing in the script, those strings get accumulated >> in other txt files. I need these second serie of files to be in >> utf-8 format too. >> ... >> >> put (unidecode(it,"utf8") & return) after url tPath >> > > Why are you using unidecode? Unless you are converting the data you read in > to UTF16 data using uniencode then you are passing bad data to unidecode. > unidecode expects UTF16 data. Based on what I've read you shouldn't need to > use unidecode or uniencode. Just read the text in (using binfile), > manipulate it, write the text out (using binfile). > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Sep 3 12:29:45 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 03 Sep 2014 18:29:45 +0200 Subject: [ANN] LiveCode Meeting in the Netherlands - It is free Message-ID: <540741F9.40303@economy-x-talk.com> Hi, This is the latest news about the meeting. Several people have registered now. I hope to gather between 10 and 20 people on 20th September. Entrance is free. We will have a license for HyperStudio to raffle off. This is really cool. I'm sure someone is going to have a lot of fun with this. Have a look at http://bit.ly/HSTestDrive for some inspirational ideas. Many thanks Roger Wagner for providing the license! We'll also give away an e-book from TidBITS' Take Control series and of course a copy of my own book Programming LiveCode for the Real Beginner. A license for ChartsEngine is also available as well as a license for Installer Maker. So far, we have EUR 100 worth of goodies and gifts. We're now deciding on the agenda. There will be a presentation, followed by a discussion, but we're still looking for more people who would like to prepare a presentation, demonstration or a discussion topic. Anything is possible. Contact me if you want to make a contribution. If you would like to spend the night in Utrecht, we can help you to find a suitable hotel. Utrecht is a beautiful city and there are plenty of hotels. It is a great place to spend a long weekend. We are considering to rent a room for the meeting. Probably, there will be room for at most 20 people. Please, register as soon as possible if you want to participate. Just send me an e-mail, or use Twitter, LinkedIn or Facebook. You can also call me, if you have my phone number. I'll send another e-mail, as soon as there is more info. You can now find some information about this meeting at http://blog.economy-x-talk.com and I will continuously update this blog. See below for contact information and links to the websites of our sponsors. --Dutch Announcement-- Hallo, Hier is het laatste nieuws over de bijeenkomst. Een paar mensen hebben zich nu aangemeld. Ik hoop op 20 december zo'n 10 tot 20 mensen te hebben. Toegang gratis. We hebben nu ook een licentie voor HyperStudio te verloten, wat echt geweldig is. Ik weet zeker dat iemand hier heel veel plezier aan zal beleven. Kijk eens op http://bit.ly/HSTestDrive voor een aantal inspirerende idee?n. We zijn Roger Wagner veel dank verschuldigd voor het beschikbaar stellen van deze licentie! We zullen ook een e-boek uit de serie Take Control van TidBITS weggeven alsmede een exemplaar van mijn eigen boek Programming LiveCode for the Real Beginner. Er zal ook weer een licenstie voor ChartsEngine beschikbaar zijn en een licentie van Installer Maker.Tot nu toe hebben we zo'n 100 euro aan geschenken om weg te geven. We zijn op dit moment over de agenda aan het besluiten. Er zal een presentatie zijn, gevolgd door een discussie, maar we zoeken nog steeds mensen die eveneens iets willen presenteren of demonstreren of die een gespreksronde willen voorbereiden. Alles is mogelijk. Neem contact met mij op als je iets wilt bijdragen. Als je de nacht in Utrecht door wilt brengen, kunnen we je helpen een gschikt hotel te vinden. Utrecht is een prachtige stad met voldoende hotels. Het is een prima plaats om een lang weekend door te brengen. We overwegen een conferentieruimte af te huren. Waarschijnlijk zullen er dan maximaal 20 plaatsen beschikbaar zijn. Meld je daarom zo snel mogelijk aan. Stuur me een mailtje of gebruikt Twitter, LinkedIn of Facebook. Als je mijn telefoonnummer al hebt, kun je me ook bellen. Zo gauw er meer nieuws is, neem ik opnieuw per e-mail contact op. Je kunt deze informatie ook vinden op http://blog.economy-x-talk.com en ik zal deze blog ook voortdurend actualiseren. --websites of sponsors-- HyperStudio http://bit.ly/HSTestDrive http://www.mackiev.com/hyperstudio/index.html ChartsEngine https://livecode.com/store/marketplace/charts-engine-1-2-1/ TidBITS http://www.takecontrolbooks.com Programming LiveCode http://livecodebeginner.economy-x-talk.com Installer Maker http://rrinstallermaker.economy-x-talk.com --contact options-- m.schonewille at economy-x-talk.com http://twitter.com/xtalkprogrammer http://facebook.com/marksch http://linkedin.com/in/marksch -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From jbv at souslelogo.com Wed Sep 3 13:02:12 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 3 Sep 2014 20:02:12 +0300 Subject: Writing to file in utf-8 In-Reply-To: References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> <5405DC46.2040905@gmail.com> Message-ID: <9b104760bbfc57035c716aac18f7a53f.squirrel@185.8.104.234> Hell Trevor > Why are you using unidecode? I am using unidecode because 1- in this LC lesson http://lessons.runrev.com/m/4071/l/20441-unicode it says : The keys to using UTF-8 text in Livecode are the uniEncode() and uniDecode() functions. Let's say you've gotten some UTF-8 text from a web site and you want to display it in your Livecode stack. You store it in a file called myUniText.ut8. This is how you would read it in: put url ("binfile:/path/to/file/myUniText.ut8") into tRawTxt set the unicodetext of fld "display" to uniencode(tRawTxt,"UTF8") 2- Mark suggested to use that function in his 1st reply to my question... Best jbv From jbv at souslelogo.com Wed Sep 3 13:06:57 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 3 Sep 2014 20:06:57 +0300 Subject: Writing to file in utf-8 In-Reply-To: <0101D954-3BAF-4576-868C-9BDB0BEB538C@economy-x-talk.com> References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> <5405DC46.2040905@gmail.com> <0101D954-3BAF-4576-868C-9BDB0BEB538C@economy-x-talk.com> Message-ID: <735ee329f4cfa86160b49779b7d573b0.squirrel@185.8.104.234> > He wants UTF8 files. Another possibility could be, after all processing is done for each xml tree, to replace all weird unicode chars like "??t??" by its equivalent ("?" in that case) before saving to the final file... It's not very elegant and a rather brute-force approach but it might work, except that there's no guarantee that the final file will be in utf8 format... Again, any wise suggestion is welcomed... Best jbv From m.schonewille at economy-x-talk.com Wed Sep 3 13:09:13 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 3 Sep 2014 19:09:13 +0200 Subject: Writing to file in utf-8 In-Reply-To: <9b104760bbfc57035c716aac18f7a53f.squirrel@185.8.104.234> References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> <5405DC46.2040905@gmail.com> <9b104760bbfc57035c716aac18f7a53f.squirrel@185.8.104.234> Message-ID: Hi jbv, I suggested this, because I understand from you that you need UTF8 for the files and the database. If you don't need UTF8 for the database and files, then you might as well use the native encoding of your operating system. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 3 sep 2014, at 19:02, jbv at souslelogo.com wrote: > Hell Trevor > >> Why are you using unidecode? > > I am using unidecode because > > 1- in this LC lesson > http://lessons.runrev.com/m/4071/l/20441-unicode > > it says : > The keys to using UTF-8 text in Livecode are the uniEncode() and > uniDecode() functions. Let's say you've gotten some UTF-8 text from a web > site and you want to display it in your Livecode stack. You store it in a > file called myUniText.ut8. This is how you would read it in: > > put url ("binfile:/path/to/file/myUniText.ut8") into tRawTxt > set the unicodetext of fld "display" to uniencode(tRawTxt,"UTF8") > > 2- Mark suggested to use that function in his 1st reply to my question... > > Best > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Wed Sep 3 13:31:01 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 3 Sep 2014 20:31:01 +0300 Subject: Writing to file in utf-8 In-Reply-To: References: <5400B698.2090303@gmail.com> <54058D65.6070507@gmail.com> <1409655946902-4682796.post@n4.nabble.com> <5405DC46.2040905@gmail.com> <9b104760bbfc57035c716aac18f7a53f.squirrel@185.8.104.234> Message-ID: Hello Mark Yes you understood me well : the original xml files are in UTF8 and the DB format is UTF8 too. So it seems logical to try to preserve UTF8 through the whole process... Best jbv > Hi jbv, > > I suggested this, because I understand from you that you need UTF8 for the > files and the database. If you don't need UTF8 for the database and files, > then you might as well use the native encoding of your operating system. > From pete at lcsql.com Wed Sep 3 15:33:55 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 3 Sep 2014 12:33:55 -0700 Subject: Strange group behavior In-Reply-To: <54068BD7.4080904@tkf.att.ne.jp> References: <54068BD7.4080904@tkf.att.ne.jp> Message-ID: When I types the subject, the same thought crossed my mind! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Sep 2, 2014 at 8:32 PM, Tim Selander wrote: > OK, I have to admit that when I saw the Subject: line, I thought the post > would be, umm, about those of us on the listserve! > > Tim Selander > Tokyo, Japan > > > > > On 14/09/02 12:33, Geoff Canyon wrote: > >> I've experienced something that might be related. For several versions, >> culminating in 6.6.x, the activation dialog had multiple invisible >> controls, making it very difficult for me to activate LC. I also found >> that >> sometimes whole groups would go invisible in my stacks. I never found a >> consistent trigger for it. >> >> I created http://quality.runrev.com/show_bug.cgi?id=13199 for it, but >> everything seems to work properly in 6.7, so my bug was marked resolved. >> >> >> On Mon, Sep 1, 2014 at 9:46 PM, Peter Haworth wrote: >> >> I'm busy getting everything ready for the conference and that involves >>> setting up software on a pretty old Mac laptop running OSX 10.6.8. >>> >>> One of the programs I'll be using has a handler that creates a group on a >>> card and the copies a control into it, all with straightforward "create >>> group" and "copy" commands. The group and its controls are all created >>> successfully... except that none of them are visible. Their visible >>> property is set to true. >>> >>> I accidentally discovered that if I set the showborder property of the >>> group to true, it and its controls became visible and stay visible even >>> if >>> I set the showborder property back to false. >>> >>> This happened in LC 5.5.4 and 6.6.2. >>> >>> All works fine running the same software on my Mac desktop running >>> 10.7.4, >>> no need to show/hide border. >>> >>> While I have a workaround, I'm wondering if anyone else has come across >>> this strange situation. >>> >>> Needless to say, it makes me somewhat apprehensive about what other >>> gremlins might be lurking under the covers of old OSX versions. >>> >>> Pete >>> lcSQL Software >>> Home of lcStackBrowser and >>> SQLiteAdmin >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cmsheffield at icloud.com Wed Sep 3 17:00:38 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 03 Sep 2014 15:00:38 -0600 Subject: LC 6.7 rc-1 - a couple strange things in an iOS app Message-ID: Is anyone trying out the latest LC 6.7 build for iOS apps? I?m seeing a couple odd things that I?m wondering if anyone else has run into. First, I have an iPad app that?s using a couple custom fonts. One font in particular doesn?t seem to work throughout the app. The strange part is it works/displays as expected in some fields, but not in others (even on the same card). Another issue I?m seeing is with export snapshot. I?m using the ?at size? variation and it seems to produce an empty image A third issue (IDE only), searching a stack?s scripts is painfully slow. A search that should only take a second or two takes about 24 to 25 seconds to complete. Ouch! All of these issues only appear in LC 6.7 (possibly 7.0 as well, but I haven?t taken the time yet to check). LC 6.6.2 behaves as expected. I?m planning on reporting these issues to RunRev, but I thought I?d check here first to see if anyone can offer any suggestions. Thanks, Chris ? Chris Sheffield Read Naturally, Inc. www.readnaturally.com From B.Cornaz at gmx.net Thu Sep 4 10:38:53 2014 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Thu, 4 Sep 2014 16:38:53 +0200 Subject: permuting a string (was Re: Speed) Message-ID: Wed, 3 Sep 2014 08:56:11 -0500 Geoff Canyon wrote : > Gah, I forgot one stinkin' line: > put isNewElement into wasNewElement That does the JOB :-) I was playing around with deleting duplicate perms inside the handler, which worked, but Geoff's solution (correct script) is much faster. Thanks again mate, Beat From coiin at verizon.net Thu Sep 4 11:14:16 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 04 Sep 2014 08:14:16 -0700 Subject: anyone have a Samsung Galaxy Note 3? Message-ID: <46A9D2A4-BBE9-4F86-901E-48465DC5AE52@verizon.net> Does anyone at the conference have a Samsung Galaxy Note 3 with them? If you do, can I try something on it? Thanks. From MikeKerner at roadrunner.com Thu Sep 4 11:15:21 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 4 Sep 2014 11:15:21 -0400 Subject: Who's Blogging? Message-ID: The interweb has been vewy vewy kwiet from a certain LC thing, so what am I missing? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From m.schonewille at economy-x-talk.com Thu Sep 4 11:38:23 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 04 Sep 2014 17:38:23 +0200 Subject: Who's Blogging? In-Reply-To: References: Message-ID: <5408876F.8000502@economy-x-talk.com> You're right Mike. I also checked Twitter and noticed that there's almost nothing to find. I do blog about something LiveCode-related, but it is about another event http://blog.economy-x-talk.com -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/4/2014 17:15, Mike Kerner wrote: > The interweb has been vewy vewy kwiet from a certain LC thing, so what am I > missing? > From dochawk at gmail.com Thu Sep 4 12:34:23 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 4 Sep 2014 09:34:23 -0700 Subject: anyone have a Samsung Galaxy Note 3? In-Reply-To: <46A9D2A4-BBE9-4F86-901E-48465DC5AE52@verizon.net> References: <46A9D2A4-BBE9-4F86-901E-48465DC5AE52@verizon.net> Message-ID: On Thu, Sep 4, 2014 at 8:14 AM, Colin Holgate wrote: > Does anyone at the conference have a Samsung Galaxy Note 3 with them? If > you do, can I try something on it? I was about to say that I could find mine and bring it tomorrow . . . and then I realized that you must mean the RunRev conference, not the American Bankruptcy Institute Conference . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From revdev at pdslabs.net Thu Sep 4 12:36:19 2014 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 04 Sep 2014 09:36:19 -0700 Subject: Who's Blogging? In-Reply-To: References: Message-ID: <54089503.5060200@pdslabs.net> The conference is happening in San Diego as we speak. Most of the troublemakers are there, so it's quieter here. ;-) Phil Davis On 9/4/14, 8:15 AM, Mike Kerner wrote: > The interweb has been vewy vewy kwiet from a certain LC thing, so what am I > missing? > -- Phil Davis From userev at canelasoftware.com Thu Sep 4 13:02:30 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 4 Sep 2014 10:02:30 -0700 Subject: Who's Blogging? In-Reply-To: <54089503.5060200@pdslabs.net> References: <54089503.5060200@pdslabs.net> Message-ID: <6CDA4A45-22BD-4D36-A22B-4DFA5F8F73B4@canelasoftware.com> Just a quick update on the conference. If you are interested in seeing some of the action, go ahead and download the conference app. There is a feed where people are posting comments and pictures in a Twitter like manner from within the app. I can say that we are all having a great time. You can get the conference app from here: http://livecloud.io/runrevlive-14-conference-app/ Best regards, Mark Talluto livecloud.io canelasoftware.com On Sep 4, 2014, at 9:36 AM, Phil Davis wrote: > The conference is happening in San Diego as we speak. Most of the troublemakers are there, so it's quieter here. ;-) > > Phil Davis > > > On 9/4/14, 8:15 AM, Mike Kerner wrote: >> The interweb has been vewy vewy kwiet from a certain LC thing, so what am I >> missing? >> > > -- > Phil Davis > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Thu Sep 4 13:09:22 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 04 Sep 2014 10:09:22 -0700 Subject: anyone have a Samsung Galaxy Note 3? In-Reply-To: References: <46A9D2A4-BBE9-4F86-901E-48465DC5AE52@verizon.net> Message-ID: Thanks, if that conference is also in the San Diego Hyatt I could come over? On Sep 4, 2014, at 9:34 AM, Dr. Hawkins wrote: > I was about to say that I could find mine and bring it tomorrow . . . and > then I realized that you must mean the RunRev conference, not the American > Bankruptcy Institute Conference . . . From sundown at pacifier.com Thu Sep 4 15:26:01 2014 From: sundown at pacifier.com (JB) Date: Thu, 4 Sep 2014 12:26:01 -0700 Subject: How To: Delete columns of data In-Reply-To: <002701cfc6d9$949a8070$bdcf8150$@FlexibleLearning.com> References: <002701cfc6d9$949a8070$bdcf8150$@FlexibleLearning.com> Message-ID: <92C2C6C5-D6BF-46B8-AED9-4CE9E44CF893@pacifier.com> That is fast but here are a few problems I am having. It looks to me like you can only delete one column and then you use it again to delete another column. I am getting a list of the detailed files which is a comma separated list of 11 items and I only want to end up with 4 columns. When I use it again it looks like I need to calculate the column I deleted to know which columns I still need to delete. Not major issue. The bigger problem is this scenario. I deleted a bunch of columns from a list of a little over 30,000 files and it worked but then I use the open to select another folder of files and it only had around 305 files but for some reason it appears the memory is not cleared because the cursor spins and won?t take me to the other folder. I use Force Quit and it list Revolution as not responding. It does not look like this is code limited to newer versions of LiveCode so I don?t understand why Revolution would quit responding. John Balgenorth On Sep 2, 2014, at 11:13 AM, FlexibleLearning.com wrote: > This takes 2ms to remove 4 columns from a 100x100 data table... > > on mouseUp > --| Syntax: deleteColumns , > --| data: Specifies the data to parse > --| cols: A comma separated list of columns to be removed > deleteColumns fld "Input","5,10,15,20" > -- Specify what to do with 'the result'... > put the result into fld "Output" > end mouseUp > > -- A single variable approach > on deleteColumns pData,pColsToDelete > split pData by column > put item 2 of extents(pData) into tMax > repeat with n=1 to tMax > if n is NOT among the items of pColsToDelete then > add 1 to x > put pData[n] into pData[x] > end if > end repeat > repeat with n=x+1 to tMax > delete local pData[n] > end repeat > combine pData by column > return pData > end deleteColumns > > > An enhancement request has been submitted to allow non-sequential keys to be > combined. Meanwhile, this does it. > > Hugh Senior > FLCo > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Thu Sep 4 16:29:31 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 4 Sep 2014 16:29:31 -0400 Subject: Who's Blogging? In-Reply-To: <6CDA4A45-22BD-4D36-A22B-4DFA5F8F73B4@canelasoftware.com> References: <54089503.5060200@pdslabs.net> <6CDA4A45-22BD-4D36-A22B-4DFA5F8F73B4@canelasoftware.com> Message-ID: I'm going with handler crashing bug - spinner stuck on syncing. On Thu, Sep 4, 2014 at 1:02 PM, Mark Talluto wrote: > Just a quick update on the conference. If you are interested in seeing > some of the action, go ahead and download the conference app. There is a > feed where people are posting comments and pictures in a Twitter like > manner from within the app. I can say that we are all having a great time. > > You can get the conference app from here: > http://livecloud.io/runrevlive-14-conference-app/ > > > Best regards, > > Mark Talluto > livecloud.io > canelasoftware.com > > > > On Sep 4, 2014, at 9:36 AM, Phil Davis wrote: > > > The conference is happening in San Diego as we speak. Most of the > troublemakers are there, so it's quieter here. ;-) > > > > Phil Davis > > > > > > On 9/4/14, 8:15 AM, Mike Kerner wrote: > >> The interweb has been vewy vewy kwiet from a certain LC thing, so what > am I > >> missing? > >> > > > > -- > > Phil Davis > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Thu Sep 4 17:27:07 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 4 Sep 2014 17:27:07 -0400 Subject: anyone have a Samsung Galaxy Note 3? In-Reply-To: <46A9D2A4-BBE9-4F86-901E-48465DC5AE52@verizon.net> References: <46A9D2A4-BBE9-4F86-901E-48465DC5AE52@verizon.net> Message-ID: <007101cfc886$fafa1520$f0ee3f60$@net> I have a Samsung Galaxy Tab 3. Will that help you? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Colin Holgate Sent: Thursday, September 04, 2014 11:14 AM To: How to use LiveCode Subject: anyone have a Samsung Galaxy Note 3? Does anyone at the conference have a Samsung Galaxy Note 3 with them? If you do, can I try something on it? Thanks. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Thu Sep 4 17:29:35 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 04 Sep 2014 14:29:35 -0700 Subject: anyone have a Samsung Galaxy Note 3? In-Reply-To: <007101cfc886$fafa1520$f0ee3f60$@net> References: <46A9D2A4-BBE9-4F86-901E-48465DC5AE52@verizon.net> <007101cfc886$fafa1520$f0ee3f60$@net> Message-ID: <5E01FB3F-D9BF-4566-B3D1-93DD5C3B8C93@verizon.net> Might be interesting to try, but the problem I have had reported is specifically about the Note 3. As an aside, the Tab 3 is an Intel processor, how do you find your LiveCode apps work in it? It has to emulate ARMv7, and performance can be affected by that. On Sep 4, 2014, at 2:27 PM, Ralph DiMola wrote: > I have a Samsung Galaxy Tab 3. Will that help you? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Colin Holgate > Sent: Thursday, September 04, 2014 11:14 AM > To: How to use LiveCode > Subject: anyone have a Samsung Galaxy Note 3? > > Does anyone at the conference have a Samsung Galaxy Note 3 with them? If you > do, can I try something on it? > > Thanks. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Sep 4 17:58:36 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 4 Sep 2014 17:58:36 -0400 Subject: anyone have a Samsung Galaxy Note 3? In-Reply-To: <5E01FB3F-D9BF-4566-B3D1-93DD5C3B8C93@verizon.net> References: <46A9D2A4-BBE9-4F86-901E-48465DC5AE52@verizon.net> <007101cfc886$fafa1520$f0ee3f60$@net> <5E01FB3F-D9BF-4566-B3D1-93DD5C3B8C93@verizon.net> Message-ID: <007201cfc88b$61302bf0$239083d0$@net> In a word... Slow. All apps are affected not just LC apps Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Colin Holgate Sent: Thursday, September 04, 2014 5:30 PM To: How to use LiveCode Subject: Re: anyone have a Samsung Galaxy Note 3? Might be interesting to try, but the problem I have had reported is specifically about the Note 3. As an aside, the Tab 3 is an Intel processor, how do you find your LiveCode apps work in it? It has to emulate ARMv7, and performance can be affected by that. On Sep 4, 2014, at 2:27 PM, Ralph DiMola wrote: > I have a Samsung Galaxy Tab 3. Will that help you? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Colin Holgate > Sent: Thursday, September 04, 2014 11:14 AM > To: How to use LiveCode > Subject: anyone have a Samsung Galaxy Note 3? > > Does anyone at the conference have a Samsung Galaxy Note 3 with them? > If you do, can I try something on it? > > Thanks. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Thu Sep 4 18:50:31 2014 From: coiin at verizon.net (Colin Holgate) Date: Thu, 04 Sep 2014 15:50:31 -0700 Subject: couple of photospheres... Message-ID: <67D0B803-CC39-4292-B2E2-126F56B43172@verizon.net> From the conference: https://www.google.com/maps/views/view/114217638380823763773/gphoto/6054689189803590450 https://www.google.com/maps/views/view/114217638380823763773/gphoto/6055347776837818594 From bornstein at designeq.com Thu Sep 4 23:57:37 2014 From: bornstein at designeq.com (Howard Bornstein) Date: Thu, 4 Sep 2014 20:57:37 -0700 Subject: couple of photospheres... In-Reply-To: <67D0B803-CC39-4292-B2E2-126F56B43172@verizon.net> References: <67D0B803-CC39-4292-B2E2-126F56B43172@verizon.net> Message-ID: Nice On Thu, Sep 4, 2014 at 3:50 PM, Colin Holgate wrote: > From the conference: > > > https://www.google.com/maps/views/view/114217638380823763773/gphoto/6054689189803590450 > > > https://www.google.com/maps/views/view/114217638380823763773/gphoto/6055347776837818594 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Howard Bornstein ----------------------- www.designeq.com From toolbook at kestner.de Fri Sep 5 03:18:10 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 5 Sep 2014 09:18:10 +0200 Subject: go stack on windows behaves strange Message-ID: <001b01cfc8d9$8d85d350$a89179f0$@de> Hi, I have a splash stack with some checking things etc. At the end I call my main program and hide the main stack, because of the need of some scripts of the splash stack: go stack foo hide me This looks very easy and works since years. Now with LC 6.6.2 on Win 7 I am experiencing a very strange behavior. Sometimes on startup of the standalone the splash stack hangs at the "go stack foo" and doesn't goes on. Stack foo doesn't appear and the splash stack doesn't hide. When hovering the mouse over the hanging splash stack (without clicking) the script goes on, stack foo appears and the splash stack hides. It seems, as if the LC program "looses it's focus", stops processing the handler and waits until it gets the focus again. Because of this issue only appears randomly I couldn't drill it down to anything. Is it LC 6.6.2, Is my windows running wrong? Is it some other program on my machine making a conflict? Has anybody experienced such a behavior or has an idea how I can drill down, what causes this random hang or has an idea how to give the script a shove? Thanks for any ideas Tiemo From toolbook at kestner.de Fri Sep 5 06:47:27 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 5 Sep 2014 12:47:27 +0200 Subject: AW: couple of photospheres... In-Reply-To: <67D0B803-CC39-4292-B2E2-126F56B43172@verizon.net> References: <67D0B803-CC39-4292-B2E2-126F56B43172@verizon.net> Message-ID: <003701cfc8f6$c9bf9640$5d3ec2c0$@de> Colin, thanks for the insights :) > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Colin Holgate > Gesendet: Freitag, 5. September 2014 00:51 > An: How to use LiveCode > Betreff: couple of photospheres... > > From the conference: > > https://www.google.com/maps/views/view/114217638380823763773/gphoto/60546891 89 > 803590450 > > https://www.google.com/maps/views/view/114217638380823763773/gphoto/60553477 76 > 837818594 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Fri Sep 5 06:56:48 2014 From: revolution at derbrill.de (Malte Brill) Date: Fri, 5 Sep 2014 12:56:48 +0200 Subject: NOT using a proxy with 6.7 on Windows... In-Reply-To: References: Message-ID: <7B20F20F-E2DC-4294-BBD0-2B62EEC9A764@derbrill.de> Hi, ok, this will be fun to debug :-( What I found out is that the registry is used to make the machines aware of using the proxy. HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet Settings This has two keys, one for the proxy and one for the exceptions. In the exceptions the entry for not using the proxy is ProxyOverride 10.* Would it be helpful to use wireshark to record what happens? All the best, Malte From admin at FlexibleLearning.com Fri Sep 5 07:59:30 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 5 Sep 2014 12:59:30 +0100 Subject: How To: Delete columns of data Message-ID: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> Hi John The routine lets you specify any number of columns to delete. You do not have to use it on each column. If you have 11 columns, simply specify which ones you do not want. If you have comma-separated data, you need to specify the columnDelimiter. This includes that option... on mouseUp --| Syntax: deleteColumns ,[,] --| data: Specifies the data to parse. --| cols: A comma separated list of columns to be removed for example "2,5,7". --| delim: Optional column separator for example "," or "|". If unspecified, defaults to TAB. deleteColumns fld "Input","1,3,5" -- Specify what to do with 'the result'... put the result into fld "Output" end mouseUp on deleteColumns pData,pColsToDelete,pDelim try set the columnDelimiter to pDelim end try split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns Or have I misunderstood the problem you face? Best regards Hugh Senior FLCo From: JB > That is fast but here are a few problems I > am having. > > It looks to me like you can only delete one > column and then you use it again to delete > another column. > > I am getting a list of the detailed files which > is a comma separated list of 11 items and I > only want to end up with 4 columns. When > I use it again it looks like I need to calculate > the column I deleted to know which columns > I still need to delete. Not major issue. The > bigger problem is this scenario. I deleted a > bunch of columns from a list of a little over > 30,000 files and it worked but then I use the > open to select another folder of files and it > only had around 305 files but for some reason > it appears the memory is not cleared because > the cursor spins and won?t take me to the other > folder. I use Force Quit and it list Revolution as > not responding. It does not look like this is code > limited to newer versions of LiveCode so I don?t > understand why Revolution would quit responding. > > John Balgenorth From mikedoub at gmail.com Fri Sep 5 08:55:55 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 5 Sep 2014 08:55:55 -0400 Subject: How To: Delete columns of data In-Reply-To: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> Message-ID: <0FEE650C-00A1-46EE-8123-2AF964558817@gmail.com> Hugh, I noticed that you did not create this as a function. Can you explain your rational? I am always debating this with myself. Regards, Mike On Sep 5, 2014, at 7:59 AM, FlexibleLearning.com wrote: > Hi John > > The routine lets you specify any number of columns to delete. You do not > have to use it on each column. If you have 11 columns, simply specify which > ones you do not want. If you have comma-separated data, you need to specify > the columnDelimiter. This includes that option... > > on mouseUp > --| Syntax: deleteColumns ,[,] > --| data: Specifies the data to parse. > --| cols: A comma separated list of columns to be removed for example > "2,5,7". > --| delim: Optional column separator for example "," or "|". If > unspecified, defaults to TAB. > deleteColumns fld "Input","1,3,5" > -- Specify what to do with 'the result'... > put the result into fld "Output" > end mouseUp > > on deleteColumns pData,pColsToDelete,pDelim > try > set the columnDelimiter to pDelim > end try > split pData by column > put item 2 of extents(pData) into tMax > repeat with n=1 to tMax > if n is NOT among the items of pColsToDelete then > add 1 to x > put pData[n] into pData[x] > end if > end repeat > repeat with n=x+1 to tMax > delete local pData[n] > end repeat > combine pData by column > return pData > end deleteColumns > > > Or have I misunderstood the problem you face? > > Best regards > > Hugh Senior > FLCo > > From: JB > >> That is fast but here are a few problems I >> am having. >> >> It looks to me like you can only delete one >> column and then you use it again to delete >> another column. >> >> I am getting a list of the detailed files which >> is a comma separated list of 11 items and I >> only want to end up with 4 columns. When >> I use it again it looks like I need to calculate >> the column I deleted to know which columns >> I still need to delete. Not major issue. The >> bigger problem is this scenario. I deleted a >> bunch of columns from a list of a little over >> 30,000 files and it worked but then I use the >> open to select another folder of files and it >> only had around 305 files but for some reason >> it appears the memory is not cleared because >> the cursor spins and won?t take me to the other >> folder. I use Force Quit and it list Revolution as >> not responding. It does not look like this is code >> limited to newer versions of LiveCode so I don?t >> understand why Revolution would quit responding. >> >> John Balgenorth > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Fri Sep 5 10:46:50 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 5 Sep 2014 10:46:50 -0400 Subject: NOT using a proxy with 6.7 on Windows... In-Reply-To: <7B20F20F-E2DC-4294-BBD0-2B62EEC9A764@derbrill.de> References: <7B20F20F-E2DC-4294-BBD0-2B62EEC9A764@derbrill.de> Message-ID: On Fri, Sep 5, 2014 at 6:56 AM, Malte Brill wrote: > ok, this will be fun to debug :-( > What I found out is that the registry is used to make the machines aware > of using the proxy. > > HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Internet > Settings > > This has two keys, one for the proxy and one for the exceptions. In the > exceptions the entry for not using the proxy is > > ProxyOverride 10.* > > Would it be helpful to use wireshark to record what happens? I don't think you will need to use wireshark to troubleshoot this. Does the URL you are requesting start with 10.? If so, it may be that libURL is not picking up the bypass list properly. If you look at libURL, you will see the _proxyConfig_ConfigureBypassList command. This attempts to build the bypass list. If the proxy is enabled for the user settings then the list is taken from HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyOverride. If not, then the proxy enabled is checked for the system and the list is taken from HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ProxyOverride. I just did a quick test where I set the internal libURL bypass list to "10.*". I then called libURLURLBypassesProxy("http://10.1.1.1/myurl.html") which returned true (meaning no proxy should be assigned). So I think libURL should set the proxy to empty in that case assuming libURL is getting the bypass list properly. You might try updating libURL and sending a new build to the customer. I would do the following: Update libURLSetProxyBypassList to this: command libURLSetProxyBypassList pList replace ";" with LF in pList ulLogIt "setting proxy bypass list:" && lvProxyBypassList & cr put pList into lvProxyBypassList end libURLSetProxyBypassList Now your internet logging routine will report if the bypass list is being set. If not, then we know libURL isn't picking up the settings properly and we know where to look to find out why. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From pmbrig at gmail.com Fri Sep 5 10:50:30 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 5 Sep 2014 10:50:30 -0400 Subject: How To: Delete columns of data In-Reply-To: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> Message-ID: <3A9231B0-6AEA-4A60-815D-852262A88285@gmail.com> On Sep 5, 2014, at 7:59 AM, FlexibleLearning.com wrote: > The routine lets you specify any number of columns to delete. You do not > have to use it on each column. If you have 11 columns, simply specify which > ones you do not want. If you have comma-separated data, you need to specify > the columnDelimiter. This includes that option... Here's a version of your handler that includes the option of specifying a column range to delete. I converted your handler to a function, it's more intuitive that way, for me at least. Call it like this: put deleteColumns(tTable,"3-6") into tNewTable -- will delete columns 3, 4, 5, and 6 of tTable (tab delimited) ---------- function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns ,[,] -- data: Specifies the data to parse. -- cols: A comma separated list of columns to be removed, -- for example "2,5,7" -- or a column range: "3-5" -- delim: Optional column separator, for example "," or "|" -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData if "-" is in pColsToDelete then put getItem(pColsToDelete,1,"-") into firstColNbr put getItem(pColsToDelete,2,"-") into lastColNbr repeat with i = firstColNbr to lastColNbr put i & comma after pColsToDelete end repeat delete char -1 of pColsToDelete end if if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just "get item tIndex of tList" in the calling handler but -- then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem ---------- -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Fri Sep 5 10:58:32 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 5 Sep 2014 10:58:32 -0400 Subject: How To: Delete columns of data In-Reply-To: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> Message-ID: <97967478-FDB7-44A8-9F33-FA7DC266C681@gmail.com> Sorry, left out a crucial line: put empty into pColsToDelete before the repeat. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig ---------- function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns ,[,] -- data: Specifies the data to parse. -- cols: A comma separated list of columns to be removed, -- for example "2,5,7" -- or a column range: "3-5" -- delim: Optional column separator for example "," or "|" -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData if "-" is in pColsToDelete then put getItem(pColsToDelete,1,"-") into firstColNbr put getItem(pColsToDelete,2,"-") into lastColNbr put empty into pColsToDelete repeat with i = firstColNbr to lastColNbr put i & comma after pColsToDelete end repeat delete char -1 of pColsToDelete end if if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just "get item tIndex of tList" in the calling handler but -- then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem From mikedoub at gmail.com Fri Sep 5 13:51:56 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 5 Sep 2014 13:51:56 -0400 Subject: How To: Delete columns of data In-Reply-To: <97967478-FDB7-44A8-9F33-FA7DC266C681@gmail.com> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> <97967478-FDB7-44A8-9F33-FA7DC266C681@gmail.com> Message-ID: <8AC7E84D-1A5A-4011-B48B-7A6EEE982889@gmail.com> Here is an even more general version: function deleteColumns pData,pColsToDelete,pDelim -- delete specified columns from a table -- Syntax: deleteColumns ,[,] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be removed, -- for example "2,5,7" -- or a column range: "3-5" -- or a combination "2,4-5,7,9-11," -- delim: Optional column separator for example "," or "|" -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToDelete = empty then return pData repeat for each item pCol in pColsToDelete if "-" is in pCol then put getItem(pCol,1,"-") into firstColNbr put getItem(pCol,2,"-") into lastColNbr repeat with i = firstColNbr to lastColNbr put i & comma after pColsToDeleteExpanded end repeat else put pCol & comma after pColsToDeleteExpanded end if end repeat put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if n is NOT among the items of pColsToDelete then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end deleteColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just "get item tIndex of tList" in the calling handler but -- then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem On Sep 5, 2014, at 10:58 AM, Peter M. Brigham wrote: > Peter M. Brigham From rdimolad at evergreeninfo.net Fri Sep 5 14:36:56 2014 From: rdimolad at evergreeninfo.net (Ralph DiMola) Date: Fri, 05 Sep 2014 11:36:56 -0700 Subject: Presentation slides and extras Message-ID: <84sslot44r1hfibvrkrvvdxy.1409942216284@email.android.com> My presentation files on the USB stick was ?corrupt. ?I reuploaded the zip file to the thumb drives. Heather has confirmed the files are OK. See Heather or email me to obtain this material.? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From mikedoub at gmail.com Fri Sep 5 14:37:47 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 5 Sep 2014 14:37:47 -0400 Subject: How To: Delete columns of data In-Reply-To: <8AC7E84D-1A5A-4011-B48B-7A6EEE982889@gmail.com> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> <97967478-FDB7-44A8-9F33-FA7DC266C681@gmail.com> <8AC7E84D-1A5A-4011-B48B-7A6EEE982889@gmail.com> Message-ID: <7B71D349-9D66-4E69-97D6-CA21FF880F67@gmail.com> just to complete your library, here is a function that will extract the listed column in the order that you specify but it does not modify the original data. -= Mike function extractColumns @pData,pColsToReturn,pDelim -- Extract specified columns from a table in order -- Syntax: extractColumns ,[,] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be returned in order -- for example "2,7,5" -- or a accending column range: "3-5" -- of a decending column range: "5-3" -- or a combination "2,4-5,7,11-9" -- delim: Optional column separator for example "," or "|" -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToReturn = empty then return pData repeat for each item pCol in pColsToReturn if "-" is in pCol then put getItem(pCol,1,"-") into firstColNbr put getItem(pCol,2,"-") into lastColNbr if firstColNbr < lastColNbr then repeat with i = firstColNbr to lastColNbr put i & comma after pColsToReturnExpanded end repeat else repeat with i = firstColNbr down to lastColNbr put i & comma after pColsToReturnExpanded end repeat end if else put pCol & comma after pColsToReturnExpanded end if end repeat put char 1 to -2 of pColsToReturnExpanded into pColsToReturn if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat for each item n in pColsToReturn add 1 to x put pData[n] into rData[x] end repeat combine rData by column return rData end extractColumns On Sep 5, 2014, at 1:51 PM, Michael Doub wrote: > Here is an even more general version: > > function deleteColumns pData,pColsToDelete,pDelim > -- delete specified columns from a table > -- Syntax: deleteColumns ,[,] > -- data: Specifies the data to parse. > -- cols: A comma separated list of columns or column ranges to be removed, > -- for example "2,5,7" > -- or a column range: "3-5" > -- or a combination "2,4-5,7,9-11," > -- delim: Optional column separator for example "," or "|" > -- if unspecified, defaults to tab. > -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list > > -- requires getItem() > > if pColsToDelete = empty then return pData > repeat for each item pCol in pColsToDelete > if "-" is in pCol then > put getItem(pCol,1,"-") into firstColNbr > put getItem(pCol,2,"-") into lastColNbr > repeat with i = firstColNbr to lastColNbr > put i & comma after pColsToDeleteExpanded > end repeat > else > put pCol & comma after pColsToDeleteExpanded > end if > end repeat > put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete > if pDelim = empty then put tab into pDelim > set the columnDelimiter to pDelim > split pData by column > put item 2 of extents(pData) into tMax > repeat with n=1 to tMax > if n is NOT among the items of pColsToDelete then > add 1 to x > put pData[n] into pData[x] > end if > end repeat > repeat with n=x+1 to tMax > delete local pData[n] > end repeat > combine pData by column > return pData > end deleteColumns > > function getItem tList,tIndex,tDelim > -- returns item # tIndex of tList, given itemdelimiter = tDelim > -- could just "get item tIndex of tList" in the calling handler but > -- then have to set and restore the itemDelimiter, so this is less hassle > -- defaults to tDelim = comma > > if tDelim = empty then put comma into tDelim > set the itemdelimiter to tDelim > return item tIndex of tList > end getItem > > > > On Sep 5, 2014, at 10:58 AM, Peter M. Brigham wrote: > >> Peter M. Brigham > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Fri Sep 5 14:45:51 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 5 Sep 2014 14:45:51 -0400 Subject: How To: Delete columns of data In-Reply-To: <7B71D349-9D66-4E69-97D6-CA21FF880F67@gmail.com> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> <97967478-FDB7-44A8-9F33-FA7DC266C681@gmail.com> <8AC7E84D-1A5A-4011-B48B-7A6EEE982889@gmail.com> <7B71D349-9D66-4E69-97D6-CA21FF880F67@gmail.com> Message-ID: <2E085CA9-B476-4ACA-8FCF-F6F934CF5870@gmail.com> Opps, I left off the getItem function. Here it is again for completeness: > just to complete your library, here is a function that will extract the listed columns in the order that you > specify but it does not modify the original data. > > -= Mike > function extractColumns @pData,pColsToReturn,pDelim -- Extract specified columns from a table in order -- Syntax: extractColumns ,[,] -- data: Specifies the data to parse. -- cols: A comma separated list of columns or column ranges to be returned in order -- for example "2,7,5" -- or a accending column range: "3-5" -- of a decending column range: "5-3" -- or a combination "2,4-5,7,11-9" -- delim: Optional column separator for example "," or "|" -- if unspecified, defaults to tab. -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list -- requires getItem() if pColsToReturn = empty then return pData repeat for each item pCol in pColsToReturn if "-" is in pCol then put getItem(pCol,1,"-") into firstColNbr put getItem(pCol,2,"-") into lastColNbr if firstColNbr < lastColNbr then repeat with i = firstColNbr to lastColNbr put i & comma after pColsToReturnExpanded end repeat else repeat with i = firstColNbr down to lastColNbr put i & comma after pColsToReturnExpanded end repeat end if else put pCol & comma after pColsToReturnExpanded end if end repeat put char 1 to -2 of pColsToReturnExpanded into pColsToReturn if pDelim = empty then put tab into pDelim set the columnDelimiter to pDelim split pData by column put item 2 of extents(pData) into tMax repeat for each item n in pColsToReturn add 1 to x put pData[n] into rData[x] end repeat combine rData by column return rData end extractColumns function getItem tList,tIndex,tDelim -- returns item # tIndex of tList, given itemdelimiter = tDelim -- could just "get item tIndex of tList" in the calling handler but -- then have to set and restore the itemDelimiter, so this is less hassle -- defaults to tDelim = comma if tDelim = empty then put comma into tDelim set the itemdelimiter to tDelim return item tIndex of tList end getItem From cmsheffield at icloud.com Fri Sep 5 15:26:07 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 05 Sep 2014 13:26:07 -0600 Subject: Strange error uploading iOS app to Apple Message-ID: <1F34EAA1-29AC-4D7F-BE57-196FFFA6FA03@icloud.com> Has anyone experienced this before? I wanted to try out the new TestFlight stuff through Apple today, so I tried to upload an app build but am receiving the following error from Application Loader: Your app contains non-public API usage. Please review the errors, correct them, and resubmit your application. The app references non-public symbols in [app_name]: MPMoviePlayerContentPreloadDidFinishNotification As far as I know I?m not using this anywhere. The only thing I can think of is that I?m using mergNotify (Monte?) to display a message to the user when the app becomes active again after the device has been locked. Does mergNotify possibly have something in it that?s causing this? Anyone have any other ideas? The app is built with LC 6.6.2. This app is still in beta testing, but we?re going to ready for release very soon, and I?d like to have this worked out asap. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From coiin at verizon.net Fri Sep 5 15:31:56 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 05 Sep 2014 12:31:56 -0700 Subject: Strange error uploading iOS app to Apple In-Reply-To: <1F34EAA1-29AC-4D7F-BE57-196FFFA6FA03@icloud.com> References: <1F34EAA1-29AC-4D7F-BE57-196FFFA6FA03@icloud.com> Message-ID: <8EA64BFA-8BCB-4616-B867-965CAE89E533@verizon.net> I wonder if iOS also doesn?t like QuickTime references now? Have you tried using LiveCode 6.7, to see if you still get the error? From cmsheffield at icloud.com Fri Sep 5 15:35:12 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 05 Sep 2014 13:35:12 -0600 Subject: Strange error uploading iOS app to Apple In-Reply-To: <8EA64BFA-8BCB-4616-B867-965CAE89E533@verizon.net> References: <1F34EAA1-29AC-4D7F-BE57-196FFFA6FA03@icloud.com> <8EA64BFA-8BCB-4616-B867-965CAE89E533@verizon.net> Message-ID: No, but that?s a good idea. Hadn?t thought of it. Only bad thing is, my app shows some strange bugs when built with LC 6.7. But it might be worth a try just to see if it?ll upload to Apple. Thanks. > On Sep 5, 2014, at 1:31 PM, Colin Holgate wrote: > > I wonder if iOS also doesn?t like QuickTime references now? Have you tried using LiveCode 6.7, to see if you still get the error? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Fri Sep 5 15:39:23 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 05 Sep 2014 12:39:23 -0700 Subject: Strange error uploading iOS app to Apple In-Reply-To: References: <1F34EAA1-29AC-4D7F-BE57-196FFFA6FA03@icloud.com> <8EA64BFA-8BCB-4616-B867-965CAE89E533@verizon.net> Message-ID: <520D3DB2-D250-4302-97C6-8132A600BE36@verizon.net> Make sure you?re on the RC1 from a week ago: http://downloads.livecode.com/livecode/ On Sep 5, 2014, at 12:35 PM, Chris Sheffield wrote: > No, but that?s a good idea. Hadn?t thought of it. Only bad thing is, my app shows some strange bugs when built with LC 6.7. But it might be worth a try just to see if it?ll upload to Apple. > > Thanks. > >> On Sep 5, 2014, at 1:31 PM, Colin Holgate wrote: >> >> I wonder if iOS also doesn?t like QuickTime references now? Have you tried using LiveCode 6.7, to see if you still get the error? >> From cmsheffield at icloud.com Fri Sep 5 15:59:35 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 05 Sep 2014 13:59:35 -0600 Subject: fatal flaw in Mobile Support preferences under Yosemite Message-ID: Just got bit by this. Thought I?d throw out the warning just in case. I installed OS X Yosemite yesterday to give it a go. I fired up LC today and tried to create an app build (iOS) only to discover that the process failed. I went into the Mobile Support prefs, and the entire iOS SDKs pane was disabled and no SDKs were set. I peeked into the code a bit, and discovered that it?s using the systemVersion in a couple places to determine which versions of OS X and SDKs are supported. Turns out, under Yosemite, the systemVersion returns 10.10.0, which of course, numbers-wise, is less than 10.6, 10.7, 10.8, etc. So the pane is getting disabled and it?s impossible to set the path to any SDK. Pretty nasty bug. I?ll report it, but thought I?d give everyone a heads up. I?ll probably try to come up with a workaround in the meantime, as I need it to work with LC 6.6.2, and I?m not sure if we?ll get another 6.6.x release in order to fix it or not. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From larry at significantplanet.org Fri Sep 5 18:00:27 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 5 Sep 2014 16:00:27 -0600 Subject: copying files Message-ID: Hello All, I need to copy some files from one folder to another in Windows. I have searched the dictionary and cannot figure it out. Is there a way to have "thisFile.txt" in one folder and copy the file to another folder? TIA Larry From hechris at ziggo.nl Fri Sep 5 18:02:03 2014 From: hechris at ziggo.nl (Chris Heidecker) Date: Sat, 6 Sep 2014 00:02:03 +0200 Subject: How To: Delete columns of data In-Reply-To: <7B71D349-9D66-4E69-97D6-CA21FF880F67@gmail.com> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> <97967478-FDB7-44A8-9F33-FA7DC266C681@gmail.com> <8AC7E84D-1A5A-4011-B48B-7A6EEE982889@gmail.com> <7B71D349-9D66-4E69-97D6-CA21FF880F67@gmail.com> Message-ID: <7A6BA013-193C-44E4-8135-0E9FE8741692@ziggo.nl> I think you should not use @pData, just pData should be enough. You?re not using it to return the data but are modifying by splitting but not combining the data. regards, Chris Heidecker Op 5 sep. 2014, om 20:37 heeft Michael Doub het volgende geschreven: > just to complete your library, here is a function that will extract the listed column in the order that you > specify but it does not modify the original data. > > -= Mike > > > > function extractColumns @pData,pColsToReturn,pDelim > -- Extract specified columns from a table in order > -- Syntax: extractColumns ,[,] > -- data: Specifies the data to parse. > -- cols: A comma separated list of columns or column ranges to be returned in order > -- for example "2,7,5" > -- or a accending column range: "3-5" > -- of a decending column range: "5-3" > -- or a combination "2,4-5,7,11-9" > -- delim: Optional column separator for example "," or "|" > -- if unspecified, defaults to tab. > -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list > > -- requires getItem() > > if pColsToReturn = empty then return pData > repeat for each item pCol in pColsToReturn > if "-" is in pCol then > put getItem(pCol,1,"-") into firstColNbr > put getItem(pCol,2,"-") into lastColNbr > if firstColNbr < lastColNbr then > repeat with i = firstColNbr to lastColNbr > put i & comma after pColsToReturnExpanded > end repeat > else > repeat with i = firstColNbr down to lastColNbr > put i & comma after pColsToReturnExpanded > end repeat > end if > else > put pCol & comma after pColsToReturnExpanded > end if > end repeat > put char 1 to -2 of pColsToReturnExpanded into pColsToReturn > if pDelim = empty then put tab into pDelim > set the columnDelimiter to pDelim > split pData by column > put item 2 of extents(pData) into tMax > repeat for each item n in pColsToReturn > add 1 to x > put pData[n] into rData[x] > end repeat > combine rData by column > return rData > end extractColumns > > > On Sep 5, 2014, at 1:51 PM, Michael Doub wrote: > >> Here is an even more general version: >> >> function deleteColumns pData,pColsToDelete,pDelim >> -- delete specified columns from a table >> -- Syntax: deleteColumns ,[,] >> -- data: Specifies the data to parse. >> -- cols: A comma separated list of columns or column ranges to be removed, >> -- for example "2,5,7" >> -- or a column range: "3-5" >> -- or a combination "2,4-5,7,9-11," >> -- delim: Optional column separator for example "," or "|" >> -- if unspecified, defaults to tab. >> -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list >> >> -- requires getItem() >> >> if pColsToDelete = empty then return pData >> repeat for each item pCol in pColsToDelete >> if "-" is in pCol then >> put getItem(pCol,1,"-") into firstColNbr >> put getItem(pCol,2,"-") into lastColNbr >> repeat with i = firstColNbr to lastColNbr >> put i & comma after pColsToDeleteExpanded >> end repeat >> else >> put pCol & comma after pColsToDeleteExpanded >> end if >> end repeat >> put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete >> if pDelim = empty then put tab into pDelim >> set the columnDelimiter to pDelim >> split pData by column >> put item 2 of extents(pData) into tMax >> repeat with n=1 to tMax >> if n is NOT among the items of pColsToDelete then >> add 1 to x >> put pData[n] into pData[x] >> end if >> end repeat >> repeat with n=x+1 to tMax >> delete local pData[n] >> end repeat >> combine pData by column >> return pData >> end deleteColumns >> >> function getItem tList,tIndex,tDelim >> -- returns item # tIndex of tList, given itemdelimiter = tDelim >> -- could just "get item tIndex of tList" in the calling handler but >> -- then have to set and restore the itemDelimiter, so this is less hassle >> -- defaults to tDelim = comma >> >> if tDelim = empty then put comma into tDelim >> set the itemdelimiter to tDelim >> return item tIndex of tList >> end getItem >> >> >> >> On Sep 5, 2014, at 10:58 AM, Peter M. Brigham wrote: >> >>> Peter M. Brigham >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Sep 5 18:11:12 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 06 Sep 2014 00:11:12 +0200 Subject: copying files In-Reply-To: References: Message-ID: <540A3500.8020604@economy-x-talk.com> Hi Larry, You could use revCopyFile or e.g. put URL x into URL y. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/6/2014 00:00, larry at significantplanet.org wrote: > Hello All, > > I need to copy some files from one folder to another in Windows. > > I have searched the dictionary and cannot figure it out. > > Is there a way to have "thisFile.txt" in one folder and copy the file to another folder? > > TIA > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Fri Sep 5 18:18:03 2014 From: sundown at pacifier.com (JB) Date: Fri, 5 Sep 2014 15:18:03 -0700 Subject: Swift externals Message-ID: <4814EF0C-8C37-4950-BF50-796F481A1488@pacifier.com> It sounds like Apples new programming language Swift is going to be used in LiveCode. Swift looks similar to a scripting language. Does anyone know when the official release of Swift is and will it be possible to incorporate it into older versions like Revolution? It looks like Swift would be a good way to write externals instead of Xcode 2.4 which is outdated. John Balgenorth From alex at harryscollar.com Fri Sep 5 19:09:09 2014 From: alex at harryscollar.com (Alex Shaw) Date: Sat, 06 Sep 2014 09:09:09 +1000 Subject: Strange error uploading iOS app to Apple - Monte? In-Reply-To: <520D3DB2-D250-4302-97C6-8132A600BE36@verizon.net> References: <1F34EAA1-29AC-4D7F-BE57-196FFFA6FA03@icloud.com> <8EA64BFA-8BCB-4616-B867-965CAE89E533@verizon.net> <520D3DB2-D250-4302-97C6-8132A600BE36@verizon.net> Message-ID: <540A4295.7020004@harryscollar.com> Hi I'm getting this error as well. Double checked for any quicktime references and have none. Tried uploading version created with 6.7RC1 without success. The only other thing that I suspect may be causing an issue is mergAV or mergMicrophone, both of which I use in the app. Monte? regards alex On 6/09/2014 5:39 am, Colin Holgate wrote: > Make sure you?re on the RC1 from a week ago: > > http://downloads.livecode.com/livecode/ > > > On Sep 5, 2014, at 12:35 PM, Chris Sheffield wrote: > >> No, but that?s a good idea. Hadn?t thought of it. Only bad thing is, my app shows some strange bugs when built with LC 6.7. But it might be worth a try just to see if it?ll upload to Apple. >> >> Thanks. >> >>> On Sep 5, 2014, at 1:31 PM, Colin Holgate wrote: >>> >>> I wonder if iOS also doesn?t like QuickTime references now? Have you tried using LiveCode 6.7, to see if you still get the error? >>> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Fri Sep 5 19:09:39 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 5 Sep 2014 19:09:39 -0400 Subject: How To: Delete columns of data In-Reply-To: <8AC7E84D-1A5A-4011-B48B-7A6EEE982889@gmail.com> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> <97967478-FDB7-44A8-9F33-FA7DC266C681@gmail.com> <8AC7E84D-1A5A-4011-B48B-7A6EEE982889@gmail.com> Message-ID: <7C4CBEED-7355-4B73-93F2-7F4E66265F61@gmail.com> Great! -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 5, 2014, at 1:51 PM, Michael Doub wrote: > Here is an even more general version: > > function deleteColumns pData,pColsToDelete,pDelim > -- delete specified columns from a table > -- Syntax: deleteColumns ,[,] > -- data: Specifies the data to parse. > -- cols: A comma separated list of columns or column ranges to be removed, > -- for example "2,5,7" > -- or a column range: "3-5" > -- or a combination "2,4-5,7,9-11," > -- delim: Optional column separator for example "," or "|" > -- if unspecified, defaults to tab. > -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list > > -- requires getItem() > > if pColsToDelete = empty then return pData > repeat for each item pCol in pColsToDelete > if "-" is in pCol then > put getItem(pCol,1,"-") into firstColNbr > put getItem(pCol,2,"-") into lastColNbr > repeat with i = firstColNbr to lastColNbr > put i & comma after pColsToDeleteExpanded > end repeat > else > put pCol & comma after pColsToDeleteExpanded > end if > end repeat > put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete > if pDelim = empty then put tab into pDelim > set the columnDelimiter to pDelim > split pData by column > put item 2 of extents(pData) into tMax > repeat with n=1 to tMax > if n is NOT among the items of pColsToDelete then > add 1 to x > put pData[n] into pData[x] > end if > end repeat > repeat with n=x+1 to tMax > delete local pData[n] > end repeat > combine pData by column > return pData > end deleteColumns > > function getItem tList,tIndex,tDelim > -- returns item # tIndex of tList, given itemdelimiter = tDelim > -- could just "get item tIndex of tList" in the calling handler but > -- then have to set and restore the itemDelimiter, so this is less hassle > -- defaults to tDelim = comma > > if tDelim = empty then put comma into tDelim > set the itemdelimiter to tDelim > return item tIndex of tList > end getItem > > > > On Sep 5, 2014, at 10:58 AM, Peter M. Brigham wrote: > >> Peter M. Brigham > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Fri Sep 5 19:10:07 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 5 Sep 2014 19:10:07 -0400 Subject: How To: Delete columns of data In-Reply-To: <7B71D349-9D66-4E69-97D6-CA21FF880F67@gmail.com> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> <97967478-FDB7-44A8-9F33-FA7DC266C681@gmail.com> <8AC7E84D-1A5A-4011-B48B-7A6EEE982889@gmail.com> <7B71D349-9D66-4E69-97D6-CA21FF880F67@gmail.com> Message-ID: Great and greater! -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 5, 2014, at 2:37 PM, Michael Doub wrote: > just to complete your library, here is a function that will extract the listed column in the order that you > specify but it does not modify the original data. > > -= Mike > > > > function extractColumns @pData,pColsToReturn,pDelim > -- Extract specified columns from a table in order > -- Syntax: extractColumns ,[,] > -- data: Specifies the data to parse. > -- cols: A comma separated list of columns or column ranges to be returned in order > -- for example "2,7,5" > -- or a accending column range: "3-5" > -- of a decending column range: "5-3" > -- or a combination "2,4-5,7,11-9" > -- delim: Optional column separator for example "," or "|" > -- if unspecified, defaults to tab. > -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list > > -- requires getItem() > > if pColsToReturn = empty then return pData > repeat for each item pCol in pColsToReturn > if "-" is in pCol then > put getItem(pCol,1,"-") into firstColNbr > put getItem(pCol,2,"-") into lastColNbr > if firstColNbr < lastColNbr then > repeat with i = firstColNbr to lastColNbr > put i & comma after pColsToReturnExpanded > end repeat > else > repeat with i = firstColNbr down to lastColNbr > put i & comma after pColsToReturnExpanded > end repeat > end if > else > put pCol & comma after pColsToReturnExpanded > end if > end repeat > put char 1 to -2 of pColsToReturnExpanded into pColsToReturn > if pDelim = empty then put tab into pDelim > set the columnDelimiter to pDelim > split pData by column > put item 2 of extents(pData) into tMax > repeat for each item n in pColsToReturn > add 1 to x > put pData[n] into rData[x] > end repeat > combine rData by column > return rData > end extractColumns > > > On Sep 5, 2014, at 1:51 PM, Michael Doub wrote: > >> Here is an even more general version: >> >> function deleteColumns pData,pColsToDelete,pDelim >> -- delete specified columns from a table >> -- Syntax: deleteColumns ,[,] >> -- data: Specifies the data to parse. >> -- cols: A comma separated list of columns or column ranges to be removed, >> -- for example "2,5,7" >> -- or a column range: "3-5" >> -- or a combination "2,4-5,7,9-11," >> -- delim: Optional column separator for example "," or "|" >> -- if unspecified, defaults to tab. >> -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list >> >> -- requires getItem() >> >> if pColsToDelete = empty then return pData >> repeat for each item pCol in pColsToDelete >> if "-" is in pCol then >> put getItem(pCol,1,"-") into firstColNbr >> put getItem(pCol,2,"-") into lastColNbr >> repeat with i = firstColNbr to lastColNbr >> put i & comma after pColsToDeleteExpanded >> end repeat >> else >> put pCol & comma after pColsToDeleteExpanded >> end if >> end repeat >> put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete >> if pDelim = empty then put tab into pDelim >> set the columnDelimiter to pDelim >> split pData by column >> put item 2 of extents(pData) into tMax >> repeat with n=1 to tMax >> if n is NOT among the items of pColsToDelete then >> add 1 to x >> put pData[n] into pData[x] >> end if >> end repeat >> repeat with n=x+1 to tMax >> delete local pData[n] >> end repeat >> combine pData by column >> return pData >> end deleteColumns >> >> function getItem tList,tIndex,tDelim >> -- returns item # tIndex of tList, given itemdelimiter = tDelim >> -- could just "get item tIndex of tList" in the calling handler but >> -- then have to set and restore the itemDelimiter, so this is less hassle >> -- defaults to tDelim = comma >> >> if tDelim = empty then put comma into tDelim >> set the itemdelimiter to tDelim >> return item tIndex of tList >> end getItem >> >> >> >> On Sep 5, 2014, at 10:58 AM, Peter M. Brigham wrote: >> >>> Peter M. Brigham >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Fri Sep 5 19:12:14 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 5 Sep 2014 19:12:14 -0400 Subject: How To: Delete columns of data In-Reply-To: <7A6BA013-193C-44E4-8135-0E9FE8741692@ziggo.nl> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> <97967478-FDB7-44A8-9F33-FA7DC266C681@gmail.com> <8AC7E84D-1A5A-4011-B48B-7A6EEE982889@gmail.com> <7B71D349-9D66-4E69-97D6-CA21FF880F67@gmail.com> <7A6BA013-193C-44E4-8135-0E9FE8741692@ziggo.nl> Message-ID: Yes. You split pData, which will alter the original table, and you don't restore it. Don't reference the parameter. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 5, 2014, at 6:02 PM, Chris Heidecker wrote: > I think you should not use @pData, just pData should be enough. > You?re not using it to return the data but are modifying by splitting but not combining the data. > > regards, > Chris Heidecker > > Op 5 sep. 2014, om 20:37 heeft Michael Doub het volgende geschreven: > >> just to complete your library, here is a function that will extract the listed column in the order that you >> specify but it does not modify the original data. >> >> -= Mike >> >> >> >> function extractColumns @pData,pColsToReturn,pDelim >> -- Extract specified columns from a table in order >> -- Syntax: extractColumns ,[,] >> -- data: Specifies the data to parse. >> -- cols: A comma separated list of columns or column ranges to be returned in order >> -- for example "2,7,5" >> -- or a accending column range: "3-5" >> -- of a decending column range: "5-3" >> -- or a combination "2,4-5,7,11-9" >> -- delim: Optional column separator for example "," or "|" >> -- if unspecified, defaults to tab. >> -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list >> >> -- requires getItem() >> >> if pColsToReturn = empty then return pData >> repeat for each item pCol in pColsToReturn >> if "-" is in pCol then >> put getItem(pCol,1,"-") into firstColNbr >> put getItem(pCol,2,"-") into lastColNbr >> if firstColNbr < lastColNbr then >> repeat with i = firstColNbr to lastColNbr >> put i & comma after pColsToReturnExpanded >> end repeat >> else >> repeat with i = firstColNbr down to lastColNbr >> put i & comma after pColsToReturnExpanded >> end repeat >> end if >> else >> put pCol & comma after pColsToReturnExpanded >> end if >> end repeat >> put char 1 to -2 of pColsToReturnExpanded into pColsToReturn >> if pDelim = empty then put tab into pDelim >> set the columnDelimiter to pDelim >> split pData by column >> put item 2 of extents(pData) into tMax >> repeat for each item n in pColsToReturn >> add 1 to x >> put pData[n] into rData[x] >> end repeat >> combine rData by column >> return rData >> end extractColumns >> >> >> On Sep 5, 2014, at 1:51 PM, Michael Doub wrote: >> >>> Here is an even more general version: >>> >>> function deleteColumns pData,pColsToDelete,pDelim >>> -- delete specified columns from a table >>> -- Syntax: deleteColumns ,[,] >>> -- data: Specifies the data to parse. >>> -- cols: A comma separated list of columns or column ranges to be removed, >>> -- for example "2,5,7" >>> -- or a column range: "3-5" >>> -- or a combination "2,4-5,7,9-11," >>> -- delim: Optional column separator for example "," or "|" >>> -- if unspecified, defaults to tab. >>> -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list >>> >>> -- requires getItem() >>> >>> if pColsToDelete = empty then return pData >>> repeat for each item pCol in pColsToDelete >>> if "-" is in pCol then >>> put getItem(pCol,1,"-") into firstColNbr >>> put getItem(pCol,2,"-") into lastColNbr >>> repeat with i = firstColNbr to lastColNbr >>> put i & comma after pColsToDeleteExpanded >>> end repeat >>> else >>> put pCol & comma after pColsToDeleteExpanded >>> end if >>> end repeat >>> put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete >>> if pDelim = empty then put tab into pDelim >>> set the columnDelimiter to pDelim >>> split pData by column >>> put item 2 of extents(pData) into tMax >>> repeat with n=1 to tMax >>> if n is NOT among the items of pColsToDelete then >>> add 1 to x >>> put pData[n] into pData[x] >>> end if >>> end repeat >>> repeat with n=x+1 to tMax >>> delete local pData[n] >>> end repeat >>> combine pData by column >>> return pData >>> end deleteColumns >>> >>> function getItem tList,tIndex,tDelim >>> -- returns item # tIndex of tList, given itemdelimiter = tDelim >>> -- could just "get item tIndex of tList" in the calling handler but >>> -- then have to set and restore the itemDelimiter, so this is less hassle >>> -- defaults to tDelim = comma >>> >>> if tDelim = empty then put comma into tDelim >>> set the itemdelimiter to tDelim >>> return item tIndex of tList >>> end getItem >>> >>> >>> >>> On Sep 5, 2014, at 10:58 AM, Peter M. Brigham wrote: >>> >>>> Peter M. Brigham >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Fri Sep 5 19:08:29 2014 From: sundown at pacifier.com (JB) Date: Fri, 5 Sep 2014 16:08:29 -0700 Subject: How To: Delete columns of data In-Reply-To: <7C4CBEED-7355-4B73-93F2-7F4E66265F61@gmail.com> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> <97967478-FDB7-44A8-9F33-FA7DC266C681@gmail.com> <8AC7E84D-1A5A-4011-B48B-7A6EEE982889@gmail.com> <7C4CBEED-7355-4B73-93F2-7F4E66265F61@gmail.com> Message-ID: <88337DB6-8823-4E41-8A3E-D5F77E82358B@pacifier.com> All 3 of you have posted some fantastic code! Thank you, Hugh, Peter and Mike. I can use it to solve some problems. John Balgenorth On Sep 5, 2014, at 4:09 PM, Peter M. Brigham wrote: > Great! > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > On Sep 5, 2014, at 1:51 PM, Michael Doub wrote: > >> Here is an even more general version: >> >> function deleteColumns pData,pColsToDelete,pDelim >> -- delete specified columns from a table >> -- Syntax: deleteColumns ,[,] >> -- data: Specifies the data to parse. >> -- cols: A comma separated list of columns or column ranges to be removed, >> -- for example "2,5,7" >> -- or a column range: "3-5" >> -- or a combination "2,4-5,7,9-11," >> -- delim: Optional column separator for example "," or "|" >> -- if unspecified, defaults to tab. >> -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list >> >> -- requires getItem() >> >> if pColsToDelete = empty then return pData >> repeat for each item pCol in pColsToDelete >> if "-" is in pCol then >> put getItem(pCol,1,"-") into firstColNbr >> put getItem(pCol,2,"-") into lastColNbr >> repeat with i = firstColNbr to lastColNbr >> put i & comma after pColsToDeleteExpanded >> end repeat >> else >> put pCol & comma after pColsToDeleteExpanded >> end if >> end repeat >> put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete >> if pDelim = empty then put tab into pDelim >> set the columnDelimiter to pDelim >> split pData by column >> put item 2 of extents(pData) into tMax >> repeat with n=1 to tMax >> if n is NOT among the items of pColsToDelete then >> add 1 to x >> put pData[n] into pData[x] >> end if >> end repeat >> repeat with n=x+1 to tMax >> delete local pData[n] >> end repeat >> combine pData by column >> return pData >> end deleteColumns >> >> function getItem tList,tIndex,tDelim >> -- returns item # tIndex of tList, given itemdelimiter = tDelim >> -- could just "get item tIndex of tList" in the calling handler but >> -- then have to set and restore the itemDelimiter, so this is less hassle >> -- defaults to tDelim = comma >> >> if tDelim = empty then put comma into tDelim >> set the itemdelimiter to tDelim >> return item tIndex of tList >> end getItem >> >> >> >> On Sep 5, 2014, at 10:58 AM, Peter M. Brigham wrote: >> >>> Peter M. Brigham >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Fri Sep 5 19:13:56 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 5 Sep 2014 19:13:56 -0400 Subject: How To: Delete columns of data In-Reply-To: <7B71D349-9D66-4E69-97D6-CA21FF880F67@gmail.com> References: <003f01cfc900$d9c25b90$8d4712b0$@FlexibleLearning.com> <97967478-FDB7-44A8-9F33-FA7DC266C681@gmail.com> <8AC7E84D-1A5A-4011-B48B-7A6EEE982889@gmail.com> <7B71D349-9D66-4E69-97D6-CA21FF880F67@gmail.com> Message-ID: <29C00FEF-5AE2-4450-B591-13DC646834B5@gmail.com> Yes. You split pData, which will alter the original table, and you don't restore it. Don't reference the parameter. Still great, however!! -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 5, 2014, at 2:37 PM, Michael Doub wrote: > just to complete your library, here is a function that will extract the listed column in the order that you > specify but it does not modify the original data. > > -= Mike > > > > function extractColumns @pData,pColsToReturn,pDelim > -- Extract specified columns from a table in order > -- Syntax: extractColumns ,[,] > -- data: Specifies the data to parse. > -- cols: A comma separated list of columns or column ranges to be returned in order > -- for example "2,7,5" > -- or a accending column range: "3-5" > -- of a decending column range: "5-3" > -- or a combination "2,4-5,7,11-9" > -- delim: Optional column separator for example "," or "|" > -- if unspecified, defaults to tab. > -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list > > -- requires getItem() > > if pColsToReturn = empty then return pData > repeat for each item pCol in pColsToReturn > if "-" is in pCol then > put getItem(pCol,1,"-") into firstColNbr > put getItem(pCol,2,"-") into lastColNbr > if firstColNbr < lastColNbr then > repeat with i = firstColNbr to lastColNbr > put i & comma after pColsToReturnExpanded > end repeat > else > repeat with i = firstColNbr down to lastColNbr > put i & comma after pColsToReturnExpanded > end repeat > end if > else > put pCol & comma after pColsToReturnExpanded > end if > end repeat > put char 1 to -2 of pColsToReturnExpanded into pColsToReturn > if pDelim = empty then put tab into pDelim > set the columnDelimiter to pDelim > split pData by column > put item 2 of extents(pData) into tMax > repeat for each item n in pColsToReturn > add 1 to x > put pData[n] into rData[x] > end repeat > combine rData by column > return rData > end extractColumns > > > On Sep 5, 2014, at 1:51 PM, Michael Doub wrote: > >> Here is an even more general version: >> >> function deleteColumns pData,pColsToDelete,pDelim >> -- delete specified columns from a table >> -- Syntax: deleteColumns ,[,] >> -- data: Specifies the data to parse. >> -- cols: A comma separated list of columns or column ranges to be removed, >> -- for example "2,5,7" >> -- or a column range: "3-5" >> -- or a combination "2,4-5,7,9-11," >> -- delim: Optional column separator for example "," or "|" >> -- if unspecified, defaults to tab. >> -- based on a handler by Hugh Senior and Peter M. Brigham, Use-LC list >> >> -- requires getItem() >> >> if pColsToDelete = empty then return pData >> repeat for each item pCol in pColsToDelete >> if "-" is in pCol then >> put getItem(pCol,1,"-") into firstColNbr >> put getItem(pCol,2,"-") into lastColNbr >> repeat with i = firstColNbr to lastColNbr >> put i & comma after pColsToDeleteExpanded >> end repeat >> else >> put pCol & comma after pColsToDeleteExpanded >> end if >> end repeat >> put char 1 to -2 of pColsToDeleteExpanded into pColsToDelete >> if pDelim = empty then put tab into pDelim >> set the columnDelimiter to pDelim >> split pData by column >> put item 2 of extents(pData) into tMax >> repeat with n=1 to tMax >> if n is NOT among the items of pColsToDelete then >> add 1 to x >> put pData[n] into pData[x] >> end if >> end repeat >> repeat with n=x+1 to tMax >> delete local pData[n] >> end repeat >> combine pData by column >> return pData >> end deleteColumns >> >> function getItem tList,tIndex,tDelim >> -- returns item # tIndex of tList, given itemdelimiter = tDelim >> -- could just "get item tIndex of tList" in the calling handler but >> -- then have to set and restore the itemDelimiter, so this is less hassle >> -- defaults to tDelim = comma >> >> if tDelim = empty then put comma into tDelim >> set the itemdelimiter to tDelim >> return item tIndex of tList >> end getItem >> >> >> >> On Sep 5, 2014, at 10:58 AM, Peter M. Brigham wrote: >> >>> Peter M. Brigham >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Fri Sep 5 20:57:56 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 6 Sep 2014 08:57:56 +0800 Subject: copying files In-Reply-To: References: Message-ID: On Sat, Sep 6, 2014 at 6:00 AM, wrote: > > I need to copy some files from one folder to another in Windows. > > I have searched the dictionary and cannot figure it out. I opened the Dictonary, typed 'move' into the search field and found 'revMoveFolder'. Reading that entry, at the bottom is a User Note by Rodney that says: to move a file see 'rename'. So I typed 'rename' in the search field and under that entry it says: Gives a file or folder a new name or moves it to a new location or both. From david at rotundasoftware.com Sat Sep 6 02:42:02 2014 From: david at rotundasoftware.com (David Beck) Date: Fri, 5 Sep 2014 23:42:02 -0700 Subject: pixelScale support on desktop? Message-ID: Hello, Great to see all of you in San Diego! Hope you are all enjoying a warm night or safely returning home. Question for the list: In 6.5.2 it was possible to set the pixelScale property on MacOS, but it looks like that is not possible in 6.7. I am getting a "Can't set this property on this platform" error. Is there any way to "scale up" a stack in 6.7? We have some users with sight problems and they like to see everything bigger. Thank you! David Beck Rotunda Software From dave at applicationinsight.com Sat Sep 6 04:40:58 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sat, 6 Sep 2014 01:40:58 -0700 (PDT) Subject: pixelScale support on desktop? In-Reply-To: References: Message-ID: <1409992858084-4682883.post@n4.nabble.com> Hi David, check out 'scaleFactor' in the dictionary ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/pixelScale-support-on-desktop-tp4682882p4682883.html Sent from the Revolution - User mailing list archive at Nabble.com. From admin at FlexibleLearning.com Sat Sep 6 05:44:24 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 6 Sep 2014 10:44:24 +0100 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) Message-ID: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> Peter: Thank you for adding column ranges. Mike: Thank you for the column extraction handler. I believe this summarises our efforts to date. It includes column ranges and the ability to either delete or extract columns of data from a table. I accept that optimisation has been compromised in favour of code brevity when extracting columns, but the time overhead is negligible. function manageColumns pData,pCols,pAction,pDelim -- Purpose: To delete or extract specified columns from a table -- Syntax: manageColumns ,,[,] -- data: Specifies the data to parse -- cols: A comma separated list of columns or column ranges to be removed or extracted -- for example "2,5,7" -- or a column range: "3-5" -- or a combination "2,4-5,7,9-11," -- action: Either "delete" or "extract" -- delim: Optional column separator for example "," or "|" -- if unspecified, defaults to TAB -- By: Hugh Senior, based on handlers by Michael Doub, based on a handler by Peter M. Brigham, based on a handler by Hugh Senior, Use-LC list if pCols ="" then return pData if pDelim <>"" then set the columnDelimiter to pDelim repeat for each item tCol in pCols if "-" is in tCol then set the itemDel to "-" repeat with i = item 1 of tCol to item -1 of tCol put i & comma after pColsExpanded end repeat set the itemDel to comma else put tCol & comma after pColsExpanded end if end repeat put char 1 to -2 of pColsExpanded into pCols split pData by column put item 2 of extents(pData) into tMax repeat with n=1 to tMax if pAction="delete" then get (n is NOT among the items of pCols) else get (n is among the items of pCols) if it then add 1 to x put pData[n] into pData[x] end if end repeat repeat with n=x+1 to tMax delete local pData[n] end repeat combine pData by column return pData end manageColumns Hugh Senior FLCo From pmbrig at gmail.com Sat Sep 6 07:24:43 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 6 Sep 2014 07:24:43 -0400 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> Message-ID: <0CB89A99-5166-4D3A-A914-D02C16360EDF@gmail.com> That was fun! And useful! -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 6, 2014, at 5:44 AM, FlexibleLearning.com wrote: > Peter: Thank you for adding column ranges. > Mike: Thank you for the column extraction handler. > > I believe this summarises our efforts to date. It includes column ranges and > the ability to either delete or extract columns of data from a table. I > accept that optimisation has been compromised in favour of code brevity when > extracting columns, but the time overhead is negligible. > > function manageColumns pData,pCols,pAction,pDelim > -- Purpose: To delete or extract specified columns from a table > -- Syntax: manageColumns ,,[,] > -- data: Specifies the data to parse > -- cols: A comma separated list of columns or column ranges to be > removed or extracted > -- for example "2,5,7" > -- or a column range: "3-5" > -- or a combination "2,4-5,7,9-11," > -- action: Either "delete" or "extract" > -- delim: Optional column separator for example "," or "|" > -- if unspecified, defaults to TAB > -- By: Hugh Senior, based on handlers by Michael Doub, based on a handler > by Peter M. Brigham, based on a handler by Hugh Senior, Use-LC list > > if pCols ="" then return pData > if pDelim <>"" then set the columnDelimiter to pDelim > repeat for each item tCol in pCols > if "-" is in tCol then > set the itemDel to "-" > repeat with i = item 1 of tCol to item -1 of tCol > put i & comma after pColsExpanded > end repeat > set the itemDel to comma > else > put tCol & comma after pColsExpanded > end if > end repeat > put char 1 to -2 of pColsExpanded into pCols > split pData by column > put item 2 of extents(pData) into tMax > repeat with n=1 to tMax > if pAction="delete" then get (n is NOT among the items of pCols) > else get (n is among the items of pCols) > if it then > add 1 to x > put pData[n] into pData[x] > end if > end repeat > repeat with n=x+1 to tMax > delete local pData[n] > end repeat > combine pData by column > return pData > end manageColumns > > > > Hugh Senior > FLCo > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Sat Sep 6 07:26:23 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 6 Sep 2014 12:26:23 +0100 Subject: preOpenStack Message-ID: I have a stack(main stack) which in the stack script contains a preopenstack handler that I use to set the size of the window before it shows. One of the datagrids on the card of this stack executes: on mouseDoubleUp theMouseButton open stack ?MyOtherStack" as sheet end mouseDoubleUp Since I have started using 6.7 RC1 on my Mac when open stack ?MyOtherStack" as sheet is executed the sheet window is resized to that in the preopenstack handler of the main stack. on preOpenStack set the width of this stack" to 1080 set the height of this stack to 700 end preOpenStack Is this a bug? Does the preopenstack handler in the script of the main stack also get applied to the sheet window? It didn?t in earlier releases (DP?s). All the best Terry From jbv at souslelogo.com Sat Sep 6 07:32:44 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 6 Sep 2014 14:32:44 +0300 Subject: preOpenStack In-Reply-To: References: Message-ID: <945096e7bc9eed99c6ac9f3b14bfd948.squirrel@185.8.104.234> Hello, When using preopenstack or openstack, I always check the name of the stack, no matter which version of LC. on openStack if short name of this stack contains "my main stack" then -- do something end if end openStack This way you're 100% safe. Best jbv > I have a stack(main stack) which in the stack script contains a > preopenstack handler that I use to set the size of the window before it > shows. > > One of the datagrids on the card of this stack executes: > > on mouseDoubleUp theMouseButton > open stack ?MyOtherStack" as sheet > end mouseDoubleUp > > Since I have started using 6.7 RC1 on my Mac when open stack > ?MyOtherStack" as sheet is executed the sheet window is resized to that in > the preopenstack handler of the main stack. > > on preOpenStack > set the width of this stack" to 1080 > set the height of this stack to 700 > end preOpenStack > > Is this a bug? > > Does the preopenstack handler in the script of the main stack also get > applied to the sheet window? > > It didn?t in earlier releases (DP?s). > > All the best > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikedoub at gmail.com Sat Sep 6 08:38:49 2014 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Sat, 06 Sep 2014 08:38:49 -0400 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <0CB89A99-5166-4D3A-A914-D02C16360EDF@gmail.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <0CB89A99-5166-4D3A-A914-D02C16360EDF@gmail.com> Message-ID: <20140906123849.6037652.17495.2428@gmail.com> I agree! ? ?Next... :-) ? Original Message ? From: Peter M. Brigham Sent: Saturday, September 6, 2014 7:25 AM To: How to use LiveCode Reply To: How to use LiveCode Subject: Re: How To: Manage columns of data (was Re: How To: Delete columns of data) That was fun! And useful! -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 6, 2014, at 5:44 AM, FlexibleLearning.com wrote: > Peter: Thank you for adding column ranges. > Mike: Thank you for the column extraction handler. > > I believe this summarises our efforts to date. It includes column ranges and > the ability to either delete or extract columns of data from a table. I > accept that optimisation has been compromised in favour of code brevity when > extracting columns, but the time overhead is negligible. > > function manageColumns pData,pCols,pAction,pDelim > -- Purpose: To delete or extract specified columns from a table > -- Syntax: manageColumns ,,[,] > -- data: Specifies the data to parse > -- cols: A comma separated list of columns or column ranges to be > removed or extracted > -- for example "2,5,7" > -- or a column range: "3-5" > -- or a combination "2,4-5,7,9-11," > -- action: Either "delete" or "extract" > -- delim: Optional column separator for example "," or "|" > -- if unspecified, defaults to TAB > -- By: Hugh Senior, based on handlers by Michael Doub, based on a handler > by Peter M. Brigham, based on a handler by Hugh Senior, Use-LC list > > if pCols ="" then return pData > if pDelim <>"" then set the columnDelimiter to pDelim > repeat for each item tCol in pCols > if "-" is in tCol then > set the itemDel to "-" > repeat with i = item 1 of tCol to item -1 of tCol > put i & comma after pColsExpanded > end repeat > set the itemDel to comma > else > put tCol & comma after pColsExpanded > end if > end repeat > put char 1 to -2 of pColsExpanded into pCols > split pData by column > put item 2 of extents(pData) into tMax > repeat with n=1 to tMax > if pAction="delete" then get (n is NOT among the items of pCols) > else get (n is among the items of pCols) > if it then > add 1 to x > put pData[n] into pData[x] > end if > end repeat > repeat with n=x+1 to tMax > delete local pData[n] > end repeat > combine pData by column > return pData > end manageColumns > > > > Hugh Senior > FLCo > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From alex at harryscollar.com Sat Sep 6 09:00:48 2014 From: alex at harryscollar.com (Alex Shaw) Date: Sat, 06 Sep 2014 23:00:48 +1000 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> Message-ID: <540B0580.1040008@harryscollar.com> Nice! alex On 6/09/2014 7:44 pm, FlexibleLearning.com wrote: > Peter: Thank you for adding column ranges. > Mike: Thank you for the column extraction handler. > > I believe this summarises our efforts to date. It includes column ranges and > the ability to either delete or extract columns of data from a table. I > accept that optimisation has been compromised in favour of code brevity when > extracting columns, but the time overhead is negligible. > > function manageColumns pData,pCols,pAction,pDelim > -- Purpose: To delete or extract specified columns from a table > -- Syntax: manageColumns ,,[,] > -- data: Specifies the data to parse > -- cols: A comma separated list of columns or column ranges to be > removed or extracted > -- for example "2,5,7" > -- or a column range: "3-5" > -- or a combination "2,4-5,7,9-11," > -- action: Either "delete" or "extract" > -- delim: Optional column separator for example "," or "|" > -- if unspecified, defaults to TAB > -- By: Hugh Senior, based on handlers by Michael Doub, based on a handler > by Peter M. Brigham, based on a handler by Hugh Senior, Use-LC list > > if pCols ="" then return pData > if pDelim <>"" then set the columnDelimiter to pDelim > repeat for each item tCol in pCols > if "-" is in tCol then > set the itemDel to "-" > repeat with i = item 1 of tCol to item -1 of tCol > put i & comma after pColsExpanded > end repeat > set the itemDel to comma > else > put tCol & comma after pColsExpanded > end if > end repeat > put char 1 to -2 of pColsExpanded into pCols > split pData by column > put item 2 of extents(pData) into tMax > repeat with n=1 to tMax > if pAction="delete" then get (n is NOT among the items of pCols) > else get (n is among the items of pCols) > if it then > add 1 to x > put pData[n] into pData[x] > end if > end repeat > repeat with n=x+1 to tMax > delete local pData[n] > end repeat > combine pData by column > return pData > end manageColumns > > > > Hugh Senior > FLCo > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From t.heaford at btinternet.com Sat Sep 6 09:11:25 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 6 Sep 2014 14:11:25 +0100 Subject: preOpenStack In-Reply-To: <945096e7bc9eed99c6ac9f3b14bfd948.squirrel@185.8.104.234> References: <945096e7bc9eed99c6ac9f3b14bfd948.squirrel@185.8.104.234> Message-ID: <72DA9C98-7F45-4567-97BB-85D313013B8C@btinternet.com> Thanks for your response, I am aware of this solution but? Is what I described correct or a bug? Thanks Terry On 06 Sep 2014, at 12:32, jbv at souslelogo.com wrote: > Hello, > > When using preopenstack or openstack, I always check the name > of the stack, no matter which version of LC. > > on openStack > if short name of this stack contains "my main stack" then > -- do something > end if > end openStack > > This way you're 100% safe. > > Best > jbv > > >> I have a stack(main stack) which in the stack script contains a >> preopenstack handler that I use to set the size of the window before it >> shows. >> >> One of the datagrids on the card of this stack executes: >> >> on mouseDoubleUp theMouseButton >> open stack ?MyOtherStack" as sheet >> end mouseDoubleUp >> >> Since I have started using 6.7 RC1 on my Mac when open stack >> ?MyOtherStack" as sheet is executed the sheet window is resized to that in >> the preopenstack handler of the main stack. >> >> on preOpenStack >> set the width of this stack" to 1080 >> set the height of this stack to 700 >> end preOpenStack >> >> Is this a bug? >> >> Does the preopenstack handler in the script of the main stack also get >> applied to the sheet window? >> >> It didn?t in earlier releases (DP?s). >> >> All the best >> >> Terry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Sat Sep 6 09:12:41 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sat, 6 Sep 2014 14:12:41 +0100 Subject: preOpenStack In-Reply-To: <945096e7bc9eed99c6ac9f3b14bfd948.squirrel@185.8.104.234> References: <945096e7bc9eed99c6ac9f3b14bfd948.squirrel@185.8.104.234> Message-ID: <447D1985-C51B-4643-B1F2-7BCF58807164@btinternet.com> Thanks for your response, I am aware of this solution but? Is what I described correct or a bug? Thanks Terry On 06 Sep 2014, at 12:32, jbv at souslelogo.com wrote: > Hello, > > When using preopenstack or openstack, I always check the name > of the stack, no matter which version of LC. > > on openStack > if short name of this stack contains "my main stack" then > -- do something > end if > end openStack > > This way you're 100% safe. > > Best > jbv > > >> I have a stack(main stack) which in the stack script contains a >> preopenstack handler that I use to set the size of the window before it >> shows. >> >> One of the datagrids on the card of this stack executes: >> >> on mouseDoubleUp theMouseButton >> open stack ?MyOtherStack" as sheet >> end mouseDoubleUp >> >> Since I have started using 6.7 RC1 on my Mac when open stack >> ?MyOtherStack" as sheet is executed the sheet window is resized to that in >> the preopenstack handler of the main stack. >> >> on preOpenStack >> set the width of this stack" to 1080 >> set the height of this stack to 700 >> end preOpenStack >> >> Is this a bug? >> >> Does the preopenstack handler in the script of the main stack also get >> applied to the sheet window? >> >> It didn?t in earlier releases (DP?s). >> >> All the best >> >> Terry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Sat Sep 6 10:02:26 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 6 Sep 2014 10:02:26 -0400 Subject: Presentation slides and extras In-Reply-To: <84sslot44r1hfibvrkrvvdxy.1409942216284@email.android.com> References: <84sslot44r1hfibvrkrvvdxy.1409942216284@email.android.com> Message-ID: I'm not sure yours was the only corrupt zip file. None of them will unzip on my 10.8.3 Mac. I'll try on Windows later. Sent from my Android tablet On Sep 5, 2014 2:38 PM, "Ralph DiMola" wrote: > My presentation files on the USB stick was corrupt. I reuploaded the zip > file to the thumb drives. Heather has confirmed the files are OK. See > Heather or email me to obtain this material. > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Sat Sep 6 10:03:04 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sat, 6 Sep 2014 10:03:04 -0400 Subject: preOpenStack In-Reply-To: <447D1985-C51B-4643-B1F2-7BCF58807164@btinternet.com> References: <945096e7bc9eed99c6ac9f3b14bfd948.squirrel@185.8.104.234> <447D1985-C51B-4643-B1F2-7BCF58807164@btinternet.com> Message-ID: <5AE80180-CE9B-4F2E-BC2B-60A751765498@gmail.com> If I understand correctly, what is happening is that the preopenstack message is getting passed through the "MyOtherStack" script and ends up going to the main stack script. One solution is to put an empty "on preopenstack" handler in the "MyOtherStack" script, to the message won't get to the mainstack script. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 6, 2014, at 9:12 AM, Terence Heaford wrote: > Thanks for your response, I am aware of this solution but? > > Is what I described correct or a bug? > > > Thanks > > Terry > > On 06 Sep 2014, at 12:32, jbv at souslelogo.com wrote: > >> Hello, >> >> When using preopenstack or openstack, I always check the name >> of the stack, no matter which version of LC. >> >> on openStack >> if short name of this stack contains "my main stack" then >> -- do something >> end if >> end openStack >> >> This way you're 100% safe. >> >> Best >> jbv >> >> >>> I have a stack(main stack) which in the stack script contains a >>> preopenstack handler that I use to set the size of the window before it >>> shows. >>> >>> One of the datagrids on the card of this stack executes: >>> >>> on mouseDoubleUp theMouseButton >>> open stack ?MyOtherStack" as sheet >>> end mouseDoubleUp >>> >>> Since I have started using 6.7 RC1 on my Mac when open stack >>> ?MyOtherStack" as sheet is executed the sheet window is resized to that in >>> the preopenstack handler of the main stack. >>> >>> on preOpenStack >>> set the width of this stack" to 1080 >>> set the height of this stack to 700 >>> end preOpenStack >>> >>> Is this a bug? >>> >>> Does the preopenstack handler in the script of the main stack also get >>> applied to the sheet window? >>> >>> It didn?t in earlier releases (DP?s). >>> >>> All the best >>> >>> Terry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Sat Sep 6 10:36:04 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Sat, 6 Sep 2014 17:36:04 +0300 Subject: preOpenStack In-Reply-To: <72DA9C98-7F45-4567-97BB-85D313013B8C@btinternet.com> References: <945096e7bc9eed99c6ac9f3b14bfd948.squirrel@185.8.104.234> <72DA9C98-7F45-4567-97BB-85D313013B8C@btinternet.com> Message-ID: > Thanks for your response, I am aware of this solution but > > Is what I described correct or a bug? > Honnestly I don't know. I had a similar problem as yours with earlier versions of LC (4.5.3 IIRC), that's why I always use the solution I mentioned. Therefore I don't if it also happens in more recent versions. jbv From larry at significantplanet.org Sat Sep 6 10:40:49 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sat, 6 Sep 2014 08:40:49 -0600 Subject: copying files References: Message-ID: <20BA6394962C4E018DF117BA65AD072D@userd204a4d61c> Thank you Kay ----- Original Message ----- From: "Kay C Lan" To: "How to use LiveCode" Sent: Friday, September 05, 2014 6:57 PM Subject: Re: copying files > On Sat, Sep 6, 2014 at 6:00 AM, wrote: >> >> I need to copy some files from one folder to another in Windows. >> >> I have searched the dictionary and cannot figure it out. > > I opened the Dictonary, typed 'move' into the search field and found > 'revMoveFolder'. Reading that entry, at the bottom is a User Note by > Rodney that says: to move a file see 'rename'. So I typed 'rename' in > the search field and under that entry it says: > > Gives a file or folder a new name or moves it to a new location or both. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Sep 6 12:09:17 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Sep 2014 09:09:17 -0700 Subject: preOpenStack In-Reply-To: <72DA9C98-7F45-4567-97BB-85D313013B8C@btinternet.com> References: <945096e7bc9eed99c6ac9f3b14bfd948.squirrel@185.8.104.234> <72DA9C98-7F45-4567-97BB-85D313013B8C@btinternet.com> Message-ID: <15776de1-1a64-444a-8f28-00e7e528e419@email.android.com> One of the nice things about attending the conferences is that you overhear little asides the engineers drop into conversations. Yesterday one of them said they'd rather we entered everything into the bug database, even if we aren't positive it's really a bug. They'd rather know than miss something. I'm not sure if what you describe is a bug or a fix to something that used to be a bug, but I'd say let them know that the current behavior broke your scripts. On September 6, 2014 6:11:25 AM PDT, Terence Heaford wrote: >Thanks for your response, I am aware of this solution but? > >Is what I described correct or a bug? > > >Thanks > >Terry > > >On 06 Sep 2014, at 12:32, jbv at souslelogo.com wrote: > >> Hello, >> >> When using preopenstack or openstack, I always check the name >> of the stack, no matter which version of LC. >> >> on openStack >> if short name of this stack contains "my main stack" then >> -- do something >> end if >> end openStack >> >> This way you're 100% safe. >> >> Best >> jbv >> >> >>> I have a stack(main stack) which in the stack script contains a >>> preopenstack handler that I use to set the size of the window before >it >>> shows. >>> >>> One of the datagrids on the card of this stack executes: >>> >>> on mouseDoubleUp theMouseButton >>> open stack ?MyOtherStack" as sheet >>> end mouseDoubleUp >>> >>> Since I have started using 6.7 RC1 on my Mac when open stack >>> ?MyOtherStack" as sheet is executed the sheet window is resized to >that in >>> the preopenstack handler of the main stack. >>> >>> on preOpenStack >>> set the width of this stack" to 1080 >>> set the height of this stack to 700 >>> end preOpenStack >>> >>> Is this a bug? >>> >>> Does the preopenstack handler in the script of the main stack also >get >>> applied to the sheet window? >>> >>> It didn?t in earlier releases (DP?s). >>> >>> All the best >>> >>> Terry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Sep 6 12:08:20 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 6 Sep 2014 09:08:20 -0700 Subject: preOpenStack In-Reply-To: References: Message-ID: <25332655692.20140906090820@ahsoftware.net> Terence- Saturday, September 6, 2014, 4:26:23 AM, you wrote: > I have a stack(main stack) which in the stack script contains a > preopenstack handler that I use to set the size of the window before > it shows. The preopenstack and openstack class of handlers should be in the script of the first card, not in the stack script. Yes, it's in the docs. If these handlers are in the stack script you an easily run into the sort of problems you're encountering. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From pete at lcsql.com Sat Sep 6 12:14:40 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 6 Sep 2014 09:14:40 -0700 Subject: Presentation slides and extras In-Reply-To: References: <84sslot44r1hfibvrkrvvdxy.1409942216284@email.android.com> Message-ID: I've put my SQL presentation slides, the sample scripts from it, and a paper I wrote on the subject on my web site. Go to www.lcsql.com/free-stuff.html to get them. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Sep 6, 2014 at 7:02 AM, Roger Eller wrote: > I'm not sure yours was the only corrupt zip file. None of them will unzip > on my 10.8.3 Mac. I'll try on Windows later. > > Sent from my Android tablet > On Sep 5, 2014 2:38 PM, "Ralph DiMola" wrote: > > > My presentation files on the USB stick was corrupt. I reuploaded the > zip > > file to the thumb drives. Heather has confirmed the files are OK. See > > Heather or email me to obtain this material. > > > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Sat Sep 6 12:19:52 2014 From: klaus at major-k.de (Klaus major-k) Date: Sat, 6 Sep 2014 18:19:52 +0200 Subject: Presentation slides and extras In-Reply-To: References: <84sslot44r1hfibvrkrvvdxy.1409942216284@email.android.com> Message-ID: <63EC04C9-55E3-4065-B913-BC5CD235ABF6@major-k.de> Hi Pete, Am 06.09.2014 um 18:14 schrieb Peter Haworth : > I've put my SQL presentation slides, the sample scripts from it, and a > paper I wrote on the subject on my web site. Go to > www.lcsql.com/free-stuff.html to get them. great, thank you very much! > Pete Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From sundown at pacifier.com Sat Sep 6 16:43:33 2014 From: sundown at pacifier.com (JB) Date: Sat, 6 Sep 2014 13:43:33 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> Message-ID: <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> Hi Hugh, Thank you again for the code. When I first mentioned I tested your code I said that for some reason it was causing me problems and I would need to force quit the program, A few days before that I replied to Richmond?s post about spies under his bed. My home page was Google and now it is Yahoo. I was attacked by MacKeeper and I personally think it was done from Google and with their permission. I also suspect they share the same management & they are Booz, Allen, Hamilton. I have been in a war with them for over 20 years now and I continue to expose their criminal activity and abuse of power. The reason why I sometimes have trouble with what seem to be small things like not seeing the code did allow more than one column to be deleted is because I am being poisoned in my own home in such large amounts I can hardly see plus it causes problems with thinking and lowers the ability to learn, The recent attack from MacKeeper prevented me from accessing my bank account and when I would to to a web site their ad would appear instead. I believe the problem caused my computer memory to over load and that is why I would need to force quit the program. I have posted this to let you know since I did mention the problems happen when I used your code. John Balgenorth On Sep 6, 2014, at 2:44 AM, FlexibleLearning.com wrote: > Peter: Thank you for adding column ranges. > Mike: Thank you for the column extraction handler. > > I believe this summarises our efforts to date. It includes column ranges and > the ability to either delete or extract columns of data from a table. I > accept that optimisation has been compromised in favour of code brevity when > extracting columns, but the time overhead is negligible. > > function manageColumns pData,pCols,pAction,pDelim > -- Purpose: To delete or extract specified columns from a table > -- Syntax: manageColumns ,,[,] > -- data: Specifies the data to parse > -- cols: A comma separated list of columns or column ranges to be > removed or extracted > -- for example "2,5,7" > -- or a column range: "3-5" > -- or a combination "2,4-5,7,9-11," > -- action: Either "delete" or "extract" > -- delim: Optional column separator for example "," or "|" > -- if unspecified, defaults to TAB > -- By: Hugh Senior, based on handlers by Michael Doub, based on a handler > by Peter M. Brigham, based on a handler by Hugh Senior, Use-LC list > > if pCols ="" then return pData > if pDelim <>"" then set the columnDelimiter to pDelim > repeat for each item tCol in pCols > if "-" is in tCol then > set the itemDel to "-" > repeat with i = item 1 of tCol to item -1 of tCol > put i & comma after pColsExpanded > end repeat > set the itemDel to comma > else > put tCol & comma after pColsExpanded > end if > end repeat > put char 1 to -2 of pColsExpanded into pCols > split pData by column > put item 2 of extents(pData) into tMax > repeat with n=1 to tMax > if pAction="delete" then get (n is NOT among the items of pCols) > else get (n is among the items of pCols) > if it then > add 1 to x > put pData[n] into pData[x] > end if > end repeat > repeat with n=x+1 to tMax > delete local pData[n] > end repeat > combine pData by column > return pData > end manageColumns > > > > Hugh Senior > FLCo > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Sat Sep 6 18:17:59 2014 From: coiin at verizon.net (Colin Holgate) Date: Sat, 06 Sep 2014 18:17:59 -0400 Subject: Russian submarine Message-ID: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> Some people went around the Russian submarine the other night. I didn?t go because I was looking after Heather?s handbag! But I was curious about what it was like. So, when I left yesterday I walked to the airport instead of taking a taxi. I wanted to go on the Midway tour, but unfortunately they stop letting people in at 4pm, and I got there at 4:10pm. I still did go on to the Marine Museum, where the submarine is, and looked around the various vessels there. There are two submarines, and the Russian one was the more interesting one. I?m now curious about how well the others got on in getting through the submarine, there are several narrow portals that you have to climb through, it?s a but of a workout! Anyway, if you too were curious about what it?s like, wonder no longer, I did a Google Glass video of my visit: https://plus.google.com/114217638380823763773/posts/X2Bv4i11QBo The walk to the airport ended up seeming further than the 3 miles that Google maps implies, but I?m glad I did it. There can?t be very many cities in the world where walking to the plane is a practical possibility. From sundown at pacifier.com Sat Sep 6 19:53:12 2014 From: sundown at pacifier.com (JB) Date: Sat, 6 Sep 2014 16:53:12 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> Message-ID: <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> I would like to clarify the part about the attack from MacKeeper preventing me from accessing my bank account. I mentioned that I was also taken to MacKeeper instead of the websites I wanted to go to. The attempt to go to other websites was done from my home page which was Google. The attempt to access my bank account was done from my banks web site which is Bank of America. I would click the button to sign in and instead of taking me to the next sign in step I would see advertisements preventing me from logging into my account. I called my local bank and they gave me a phone number to call. The woman I spoke with at my bank & the number I called were very nice. The woman at the number I called tried for a long time to help me log in and she could not get me logged in so she gave me the number of their tech crew and also transferred me to them. After quite a while and many different attempts he got me logged in to my account. He was not jerking me around and wasting my time and accomplished getting me logged in. I have used Bank of America for many years and they did not personally attack me or waste my time. Even so I suspect they share the same management and it is corrupt management who intentionally left the door open for the abuse and attack by MacKeeper. That does not mean it was Bank of America just because they employ BAH. John Balgenorth On Sep 6, 2014, at 1:43 PM, JB wrote: > Hi Hugh, > > Thank you again for the code. > > When I first mentioned I tested your code I said that > for some reason it was causing me problems and I > would need to force quit the program, > > A few days before that I replied to Richmond?s post > about spies under his bed. > > My home page was Google and now it is Yahoo. I > was attacked by MacKeeper and I personally think > it was done from Google and with their permission. > I also suspect they share the same management & > they are Booz, Allen, Hamilton. I have been in a war > with them for over 20 years now and I continue to > expose their criminal activity and abuse of power. > > The reason why I sometimes have trouble with what > seem to be small things like not seeing the code did > allow more than one column to be deleted is because > I am being poisoned in my own home in such large > amounts I can hardly see plus it causes problems with > thinking and lowers the ability to learn, > > The recent attack from MacKeeper prevented me from > accessing my bank account and when I would to to a > web site their ad would appear instead. > > I believe the problem caused my computer memory to > over load and that is why I would need to force quit the > program. > > I have posted this to let you know since I did mention > the problems happen when I used your code. > > John Balgenorth > > > On Sep 6, 2014, at 2:44 AM, FlexibleLearning.com wrote: > >> Peter: Thank you for adding column ranges. >> Mike: Thank you for the column extraction handler. >> >> I believe this summarises our efforts to date. It includes column ranges and >> the ability to either delete or extract columns of data from a table. I >> accept that optimisation has been compromised in favour of code brevity when >> extracting columns, but the time overhead is negligible. >> >> function manageColumns pData,pCols,pAction,pDelim >> -- Purpose: To delete or extract specified columns from a table >> -- Syntax: manageColumns ,,[,] >> -- data: Specifies the data to parse >> -- cols: A comma separated list of columns or column ranges to be >> removed or extracted >> -- for example "2,5,7" >> -- or a column range: "3-5" >> -- or a combination "2,4-5,7,9-11," >> -- action: Either "delete" or "extract" >> -- delim: Optional column separator for example "," or "|" >> -- if unspecified, defaults to TAB >> -- By: Hugh Senior, based on handlers by Michael Doub, based on a handler >> by Peter M. Brigham, based on a handler by Hugh Senior, Use-LC list >> >> if pCols ="" then return pData >> if pDelim <>"" then set the columnDelimiter to pDelim >> repeat for each item tCol in pCols >> if "-" is in tCol then >> set the itemDel to "-" >> repeat with i = item 1 of tCol to item -1 of tCol >> put i & comma after pColsExpanded >> end repeat >> set the itemDel to comma >> else >> put tCol & comma after pColsExpanded >> end if >> end repeat >> put char 1 to -2 of pColsExpanded into pCols >> split pData by column >> put item 2 of extents(pData) into tMax >> repeat with n=1 to tMax >> if pAction="delete" then get (n is NOT among the items of pCols) >> else get (n is among the items of pCols) >> if it then >> add 1 to x >> put pData[n] into pData[x] >> end if >> end repeat >> repeat with n=x+1 to tMax >> delete local pData[n] >> end repeat >> combine pData by column >> return pData >> end manageColumns >> >> >> >> Hugh Senior >> FLCo >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Sep 6 20:22:11 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Sep 2014 00:22:11 +0000 (UTC) Subject: Russian submarine References: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> Message-ID: Colin Holgate writes: > I?m now curious about how well the others got on in getting through the submarine, there are several > narrow portals that you have to climb through, it?s a but of a workout! Good on ya for getting on board. We got there at about 8:01, and they throw folks out at 8:00, so all we could do was stand on top. While I can't say I got into a Russian sub, at least I can say I was "on" one. However, we *did* get to go on board the USS Dolphin on the other side of the Berkeley. The last of the diesel-electric submarines, and it holds the record for the deepest dive of a submarine, although the actual figure is classified for some reason. > The walk to the airport ended up seeming further than the 3 miles that Google maps implies, but I?m glad I > did it. There can?t be very many cities in the world where walking to the plane is a practical possibility. Yeah, I tried that in Las Vegas a few conferences ago, and it just can't be done, even though it's a straight shot on the map. -- Mark Wieder ahsoftware at gmail.com From m.schonewille at economy-x-talk.com Sat Sep 6 20:35:55 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 07 Sep 2014 02:35:55 +0200 Subject: [ANN] Installer Maker 1.8.7 for LiveCode Message-ID: <540BA86B.8080102@economy-x-talk.com> Hello, Installer Maker 1.8.7 for LiveCode has been released. This new release contains many big fixes and new features. Important is the new possibility to choose almost any location on a Windows PC as a file destination. For more information about changes, please read http://http://rrinstallermaker.economy-x-talk.com/ This release is currently available as a plug-in only, but will be available as a standalone application in a few days. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From jacque at hyperactivesw.com Sat Sep 6 23:45:07 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Sep 2014 22:45:07 -0500 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> Message-ID: <540BD4C3.6000307@hyperactivesw.com> On 9/6/2014, 6:53 PM, JB wrote: > I would like to clarify the part about the attack from MacKeeper > preventing me from accessing my bank account. I mentioned > that I was also taken to MacKeeper instead of the websites I > wanted to go to. > > The attempt to go to other websites was done from my home > page which was Google. > > The attempt to access my bank account was done from my > banks web site which is Bank of America. I would click the > button to sign in and instead of taking me to the next sign in > step I would see advertisements preventing me from logging > into my account. This sounds much like a DNS changer trojan. It redirects your internet browsing to other fake sites, usually to scrape your passwords and login data. Neither Google or your bank would be the culprit; instead something would have changed the DNS settings on your computer. MacKeeper is probaby not the problem. It's gotten a bad rap from some users but authorities say it's legitimate and does what it's supposed to. MacDefender, however, is malware and is sometimes confused with MacKeeper. There is other similar malware out there too. If you have kept up with system updates, OS X has a built-in security scan that eliminates MacDefender, but you may have contracted something else. The main point here is that the web sites you visited aren't the problem. The problem is more likely on your computer, and it sounds like something is redirecting your web browsing to other look-alike sites. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Sep 6 23:53:08 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Sep 2014 22:53:08 -0500 Subject: Russian submarine In-Reply-To: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> References: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> Message-ID: <540BD6A4.70209@hyperactivesw.com> On 9/6/2014, 5:17 PM, Colin Holgate wrote: > Anyway, if you too were curious about what it?s like, wonder no longer, I did a Google Glass video of my visit: Okay, you win. That is really cool. Thanks for the link! -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sundown at pacifier.com Sun Sep 7 00:17:26 2014 From: sundown at pacifier.com (JB) Date: Sat, 6 Sep 2014 21:17:26 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <540BD4C3.6000307@hyperactivesw.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> Message-ID: <9A58111C-5FCB-4CAE-BAE7-96CD2379914E@pacifier.com> I suspect MacKeeper is the culprit and they are causing the problem to get me and other to purchase MacKeeper. It is similar to the mafial coming into a store and telling them we have noticed some problems in the area and for a fee we will insure you don?t have problems. If you pay they protect you if not they will prove to you the problems exist. The web site does not look false to me & in the url it included MacKeeper campaign in the name. MacKeeper attacks are not new and you can google them to see this is not the first year. If MacKeeper did not benefit from attacks they would have made sure years ago people who use their name maliciously were prosecuted or at least exposed and stopped. Considering authorizes ignoring the issue you need to consider Booz, Allen, Hamilton control the DOJ, NSA, CIA, FBI the news media and many other things along with the politicians. Maybe you are not being attacked and simply believe in the tooth fairy and Santa Claus. I am closely involved with the abuse and I have sent the news media thousands of emails over many years exposing abuse. That does not make the reporters evil or out to get me. They report what they are told to report and if they attempt to report this it will not be aired and they will not have a job. The attacks on me are vicious and last summer my two phone lines were disconnected for failure to pay. One of the lines I had for over 30 years. The problem started in the end of June when I paid my bill on time and they refused the payment from Discover card. I was not told the payment was refused so as far as I knew it was paid. In the last week of July both phone lines and my internet all stopped. I am not allowed to have a phone in my own hame now. At the worst if I was late on my payment for a month it would wrong to disconnect my phone lines that fast and not even give me a warning, especially since I have been a customer for over 30 years with the same phone number. I wes without phone service for 10 weeks and I wrote them a lot of letters and made sure they were paid in full. John Balgenorth On Sep 6, 2014, at 8:45 PM, J. Landman Gay wrote: > On 9/6/2014, 6:53 PM, JB wrote: >> I would like to clarify the part about the attack from MacKeeper >> preventing me from accessing my bank account. I mentioned >> that I was also taken to MacKeeper instead of the websites I >> wanted to go to. >> >> The attempt to go to other websites was done from my home >> page which was Google. >> >> The attempt to access my bank account was done from my >> banks web site which is Bank of America. I would click the >> button to sign in and instead of taking me to the next sign in >> step I would see advertisements preventing me from logging >> into my account. > > This sounds much like a DNS changer trojan. It redirects your internet browsing to other fake sites, usually to scrape your passwords and login data. Neither Google or your bank would be the culprit; instead something would have changed the DNS settings on your computer. > > MacKeeper is probaby not the problem. It's gotten a bad rap from some users but authorities say it's legitimate and does what it's supposed to. MacDefender, however, is malware and is sometimes confused with MacKeeper. There is other similar malware out there too. If you have kept up with system updates, OS X has a built-in security scan that eliminates MacDefender, but you may have contracted something else. > > The main point here is that the web sites you visited aren't the problem. The problem is more likely on your computer, and it sounds like something is redirecting your web browsing to other look-alike sites. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhj at jhj.com Sun Sep 7 00:25:34 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 6 Sep 2014 21:25:34 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <540BD4C3.6000307@hyperactivesw.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> Message-ID: <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> On Sep 6, 2014, at 8:45 PM, J. Landman Gay wrote: > On 9/6/2014, 6:53 PM, JB wrote: >> I would like to clarify the part about the attack from MacKeeper >> preventing me from accessing my bank account. I mentioned >> that I was also taken to MacKeeper instead of the websites I >> wanted to go to. >> >> The attempt to go to other websites was done from my home >> page which was Google. >> >> The attempt to access my bank account was done from my >> banks web site which is Bank of America. I would click the >> button to sign in and instead of taking me to the next sign in >> step I would see advertisements preventing me from logging >> into my account. > > This sounds much like a DNS changer trojan. It redirects your internet browsing to other fake sites, usually to scrape your passwords and login data. Neither Google or your bank would be the culprit; instead something would have changed the DNS settings on your computer. > > MacKeeper is probaby not the problem. It's gotten a bad rap from some users but authorities say it's legitimate and does what it's supposed to. MacDefender, however, is malware and is sometimes confused with MacKeeper. There is other similar malware out there too. If you have kept up with system updates, OS X has a built-in security scan that eliminates MacDefender, but you may have contracted something else. > > The main point here is that the web sites you visited aren't the problem. The problem is more likely on your computer, and it sounds like something is redirecting your web browsing to other look-alike sites. I concur with Jacque about this likely being a DNS changer trojan. I have seen a few cases where somebody was tricked into installing something masquerading as something else. Typically something like "if you want to see this, you have to install this new codec" or something like that. You should check with your ISP to see if the DNS server numbers on your computer are the ones they supply. The cases I saw were not. On a mac, they can be seen in the "Network" pane of "System Preferences". Click the "Advanced" button, then the "DNS" tab at the top. .Jerry From sundown at pacifier.com Sun Sep 7 00:26:30 2014 From: sundown at pacifier.com (JB) Date: Sat, 6 Sep 2014 21:26:30 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> Message-ID: <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> If my DNS was changed the bank would not recognize me and they would never have let me log in without explaining why I have a different DNS and would tell me that was the problem. They are not idiots and don?t allow people to use my account with another DNS and that includes me. John Balgenorth On Sep 6, 2014, at 9:25 PM, Jerry Jensen wrote: > On Sep 6, 2014, at 8:45 PM, J. Landman Gay wrote: > >> On 9/6/2014, 6:53 PM, JB wrote: >>> I would like to clarify the part about the attack from MacKeeper >>> preventing me from accessing my bank account. I mentioned >>> that I was also taken to MacKeeper instead of the websites I >>> wanted to go to. >>> >>> The attempt to go to other websites was done from my home >>> page which was Google. >>> >>> The attempt to access my bank account was done from my >>> banks web site which is Bank of America. I would click the >>> button to sign in and instead of taking me to the next sign in >>> step I would see advertisements preventing me from logging >>> into my account. >> >> This sounds much like a DNS changer trojan. It redirects your internet browsing to other fake sites, usually to scrape your passwords and login data. Neither Google or your bank would be the culprit; instead something would have changed the DNS settings on your computer. >> >> MacKeeper is probaby not the problem. It's gotten a bad rap from some users but authorities say it's legitimate and does what it's supposed to. MacDefender, however, is malware and is sometimes confused with MacKeeper. There is other similar malware out there too. If you have kept up with system updates, OS X has a built-in security scan that eliminates MacDefender, but you may have contracted something else. >> >> The main point here is that the web sites you visited aren't the problem. The problem is more likely on your computer, and it sounds like something is redirecting your web browsing to other look-alike sites. > > I concur with Jacque about this likely being a DNS changer trojan. I have seen a few cases where somebody was tricked into installing something masquerading as something else. Typically something like "if you want to see this, you have to install this new codec" or something like that. > > You should check with your ISP to see if the DNS server numbers on your computer are the ones they supply. The cases I saw were not. On a mac, they can be seen in the "Network" pane of "System Preferences". Click the "Advanced" button, then the "DNS" tab at the top. > > Jerry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhj at jhj.com Sun Sep 7 00:36:49 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 6 Sep 2014 21:36:49 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> Message-ID: On Sep 6, 2014, at 9:26 PM, JB wrote: > If my DNS was changed the bank would not recognize me > and they would never have let me log in without explaining > why I have a different DNS and would tell me that was the > problem. They are not idiots and don?t allow people to use > my account with another DNS and that includes me. You wrote earlier: --------------------- The web site does not look false to me & in the url it included MacKeeper campaign in the name. --------------------- If MacKeeper was in the URL, it was a fake site. Nothing to do with B of A except the fake site probably used a bunch of their graphics. B of A would like to hear about this, and may go after the perps. .Jerry From sundown at pacifier.com Sun Sep 7 00:38:24 2014 From: sundown at pacifier.com (JB) Date: Sat, 6 Sep 2014 21:38:24 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> Message-ID: B of A did not have MacKeeper ads. I can assure you that they were told about the abuse during the time they finally got me logged in. If you can prove what they have not I am sure they would like to know about it. Post the evidence. John Balgenorth On Sep 6, 2014, at 9:36 PM, Jerry Jensen wrote: > On Sep 6, 2014, at 9:26 PM, JB wrote: > >> If my DNS was changed the bank would not recognize me >> and they would never have let me log in without explaining >> why I have a different DNS and would tell me that was the >> problem. They are not idiots and don?t allow people to use >> my account with another DNS and that includes me. > > You wrote earlier: > --------------------- > The web site does not look false to me & > in the url it included MacKeeper campaign > in the name. > --------------------- > > If MacKeeper was in the URL, it was a fake site. Nothing to do with B of A except the fake site probably used a bunch of their graphics. B of A would like to hear about this, and may go after the perps. > > Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhj at jhj.com Sun Sep 7 00:57:56 2014 From: jhj at jhj.com (Jerry Jensen) Date: Sat, 6 Sep 2014 21:57:56 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> Message-ID: On Sep 6, 2014, at 9:38 PM, JB wrote: > B of A did not have MacKeeper ads. I can assure you that > they were told about the abuse during the time they finally > got me logged in. > > If you can prove what they have not I am sure they would > like to know about it. Post the evidence. I agree, B of A did not have MacKeeper ads. The URL used to get the ads was not a real B of A URL. Thats what B of A wants to hear about. By the way, if you typed your password into the fake site, the perps have it now. OK, I'm done. From sundown at pacifier.com Sun Sep 7 00:59:27 2014 From: sundown at pacifier.com (JB) Date: Sat, 6 Sep 2014 21:59:27 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> Message-ID: <1488DA2C-46FC-4722-B7E7-EF94891A53A4@pacifier.com> I am glad you are done. B of A had me go to the web site with them of the phone and we still had the problems. I was not at a fake site. Post some good evidence. I am not going to tell you anything else B of A and I talked about. John Balgenorth On Sep 6, 2014, at 9:57 PM, Jerry Jensen wrote: > > On Sep 6, 2014, at 9:38 PM, JB wrote: > >> B of A did not have MacKeeper ads. I can assure you that >> they were told about the abuse during the time they finally >> got me logged in. >> >> If you can prove what they have not I am sure they would >> like to know about it. Post the evidence. > > I agree, B of A did not have MacKeeper ads. The URL used to get the ads was not a real B of A URL. Thats what B of A wants to hear about. By the way, if you typed your password into the fake site, the perps have it now. > > OK, I'm done. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From peterwawood at gmail.com Sun Sep 7 01:09:22 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Sun, 7 Sep 2014 13:09:22 +0800 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> Message-ID: <9D2F8E57-31D5-4705-BE0E-00BB2AB406EF@gmail.com> On 7 Sep 2014, at 12:26, JB wrote: > If my DNS was changed the bank would not recognize me > and they would never have let me log in without explaining > why I have a different DNS and would tell me that was the > problem. They are not idiots and don?t allow people to use > my account with another DNS and that includes me. DNS stands for Domain Name System. You can read about it on Wikipedia - http://en.wikipedia.org/wiki/Domain_Name_System . Your browser uses a DNS Server to translate a URL into an IP Address (you can also look those up on Wikipedia). Your bank has no idea which DNS Server your computer uses, it does know your IP Address. If some malware has changed the settings in your computer so that your browser accesses a rogue DNS Server instead of a genuine one, you will not be connected to the sites that you expected. I would change my passwords if I were you. Regards Peter From sundown at pacifier.com Sun Sep 7 01:12:36 2014 From: sundown at pacifier.com (JB) Date: Sat, 6 Sep 2014 22:12:36 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <9D2F8E57-31D5-4705-BE0E-00BB2AB406EF@gmail.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> <9D2F8E57-31D5-4705-BE0E-00BB2AB406EF@gmail.com> Message-ID: <841452CB-C268-4972-BD48-F0A1AC84A87F@pacifier.com> I was not thinking correctly and you are right about DNS but it goes back to the same issue of why do you think B of A techs would not be aware of this and have me change my password. Unless you have done their job I do not think you have the knowledge they have. So it does not matter if I know DNS or ISP because B of A wants to protect me and would make sure I was protected if I like it or not or if I understand it. These post to suggest B of A do not know how to do their job by suggesting I am wrong are ridiculous. Provide some evidence and I will give it to B of A if it is something we did not already discuss. John Balgenorth On Sep 6, 2014, at 10:09 PM, Peter W A Wood wrote: > > On 7 Sep 2014, at 12:26, JB wrote: > >> If my DNS was changed the bank would not recognize me >> and they would never have let me log in without explaining >> why I have a different DNS and would tell me that was the >> problem. They are not idiots and don?t allow people to use >> my account with another DNS and that includes me. > > > DNS stands for Domain Name System. You can read about it on Wikipedia - http://en.wikipedia.org/wiki/Domain_Name_System . Your browser uses a DNS Server to translate a URL into an IP Address (you can also look those up on Wikipedia). Your bank has no idea which DNS Server your computer uses, it does know your IP Address. > > If some malware has changed the settings in your computer so that your browser accesses a rogue DNS Server instead of a genuine one, you will not be connected to the sites that you expected. > > I would change my passwords if I were you. > > Regards > > Peter > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sun Sep 7 01:31:54 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 6 Sep 2014 22:31:54 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> Message-ID: Personally, I'd like to see this discussion continued somewhere more appropriate to the subject matter. It has nothing remotely to do with Livecode. Pete lcSQL Software On Sep 6, 2014 9:26 PM, "JB" wrote: > If my DNS was changed the bank would not recognize me > and they would never have let me log in without explaining > why I have a different DNS and would tell me that was the > problem. They are not idiots and don?t allow people to use > my account with another DNS and that includes me. > > John Balgenorth > > > On Sep 6, 2014, at 9:25 PM, Jerry Jensen wrote: > > > On Sep 6, 2014, at 8:45 PM, J. Landman Gay > wrote: > > > >> On 9/6/2014, 6:53 PM, JB wrote: > >>> I would like to clarify the part about the attack from MacKeeper > >>> preventing me from accessing my bank account. I mentioned > >>> that I was also taken to MacKeeper instead of the websites I > >>> wanted to go to. > >>> > >>> The attempt to go to other websites was done from my home > >>> page which was Google. > >>> > >>> The attempt to access my bank account was done from my > >>> banks web site which is Bank of America. I would click the > >>> button to sign in and instead of taking me to the next sign in > >>> step I would see advertisements preventing me from logging > >>> into my account. > >> > >> This sounds much like a DNS changer trojan. It redirects your internet > browsing to other fake sites, usually to scrape your passwords and login > data. Neither Google or your bank would be the culprit; instead something > would have changed the DNS settings on your computer. > >> > >> MacKeeper is probaby not the problem. It's gotten a bad rap from some > users but authorities say it's legitimate and does what it's supposed to. > MacDefender, however, is malware and is sometimes confused with MacKeeper. > There is other similar malware out there too. If you have kept up with > system updates, OS X has a built-in security scan that eliminates > MacDefender, but you may have contracted something else. > >> > >> The main point here is that the web sites you visited aren't the > problem. The problem is more likely on your computer, and it sounds like > something is redirecting your web browsing to other look-alike sites. > > > > I concur with Jacque about this likely being a DNS changer trojan. I > have seen a few cases where somebody was tricked into installing something > masquerading as something else. Typically something like "if you want to > see this, you have to install this new codec" or something like that. > > > > You should check with your ISP to see if the DNS server numbers on your > computer are the ones they supply. The cases I saw were not. On a mac, they > can be seen in the "Network" pane of "System Preferences". Click the > "Advanced" button, then the "DNS" tab at the top. > > > > Jerry > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Sep 7 02:00:37 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 07 Sep 2014 01:00:37 -0500 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <841452CB-C268-4972-BD48-F0A1AC84A87F@pacifier.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> <9D2F8E57-31D5-4705-BE0E-00BB2AB406EF@gmail.com> <841452CB-C268-4972-BD48-F0A1AC84A87F@pacifier.com> Message-ID: <540BF485.3070002@hyperactivesw.com> On 9/7/2014, 12:12 AM, JB wrote: > I was not thinking correctly and you are right > about DNS but it goes back to the same issue > of why do you think B of A techs would not be > aware of this and have me change my password. A DNS spoof is outside of their control, and they wouldn't know you are trying to connect through a modified server. When you spoke with them, I'm sure they assumed you had a clean connection. It's similar to dialing a wrong phone number; the person you intended to call will never know you're trying to reach them. DNS translates web addresses containing words into web addresses containing only numbers. Your computer stores some DNS entries which tell your Mac where to get those translataions, and other servers between you and the rest of the net can also modify DNS on every hop. If your computer, or one of the servers in between your computer and the bank, has been modified, your request can be re-routed to a fake site. The fake site will look virtually identical to the real one in many ways. Usually they copy the images and layout of the real site. In your case, the fake site included ads that were not on the real site, which would be a tip-off. You said the URL had been changed too; that's a red flag that you'd been re-routed. BofA has no way of knowing that a server somewhere has intercepted your request. If the problem is on your own computer (which is what a trojan would do,) then all requests to your bank (or any site that has been intercepted) will be re-routed to a fake one. If the problem is on a server in between your computer and the bank, then anyone who tries to connect to the bank through that server will be re-routed. You should first check your own computer to be sure it has the right DNS entries. Your service provider will know what those are and can verify if yours are correct. If they are, then the problem is, unfortunately, largely out of your control. Your service provider can try to track where the problem is, and you should tell them about it. The bank would be unaware of any problems. There are millions of paths through the internet from one point to another. In the cases where you did connect to their site successfully, your request likely travelled through an uninfected server. A browser request is not guaranteed to take the same path each time it travels to a certain site. The point is, somewhere along the line it sounds like you got re-routed to a fake site. If you entered your bank credentials on that fake site, the malware authors now have your password and login details. The bank won't know anything about it because you never arrived there. But if our guess is right, you should change your password immediately. When you do, make sure you are at the real site. Look closely at the URL and verify it really belongs to BofA. This is kind of techy, but here is one explanation: I tried to find one with the clearest explanation for the layman, but it is a confusing topic. There is a lot going on between you and the rest of the net, and without some basic info about how it works, it's pretty geeky. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sundown at pacifier.com Sun Sep 7 02:19:38 2014 From: sundown at pacifier.com (JB) Date: Sat, 6 Sep 2014 23:19:38 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data) In-Reply-To: <540BF485.3070002@hyperactivesw.com> References: <006b01cfc9b7$24bc92d0$6e35b870$@FlexibleLearning.com> <8D1DB85D-2DA4-4E68-AF41-EEA9129D4F2B@pacifier.com> <8A2C53AF-0CE5-4A22-96AA-9B10927C3003@pacifier.com> <540BD4C3.6000307@hyperactivesw.com> <838B7DE8-28EC-4549-8315-A56F333285DE@jhj.com> <7D7C014A-65E1-4ED0-BAF7-90F345C39457@pacifier.com> <9D2F8E57-31D5-4705-BE0E-00BB2AB406EF@gmail.com> <841452CB-C268-4972-BD48-F0A1AC84A87F@pacifier.com> <540BF485.3070002@hyperactivesw.com> Message-ID: I really do appreciate your help, Jacque. The technician had me go to the site with him on the phone line talking to me and had me enter my info. He knows if I am at the site and asked me everything I saw. As for stealing my info he would be aware if I had been compromised very fast. His questions would give him the evidence he needed to promptly tell me to change my password. I was not at a fake BofA site unless I was talking to fake BofA employees. And if I was why spend so much time with me and then solve the problem? The techs at BofA know my password already. And I will tell you they know everything about me logging in. They know if I am using another web browser or another phone to log in. If I did log in and anything unusual was detected it will automatically block me. If there was anything to suggest I had ever been on a fake site they would force me to change my password and take action. Thanks for the help but you are wrong about me being at a fake site. John Balgenorth On Sep 6, 2014, at 11:00 PM, J. Landman Gay wrote: > On 9/7/2014, 12:12 AM, JB wrote: >> I was not thinking correctly and you are right >> about DNS but it goes back to the same issue >> of why do you think B of A techs would not be >> aware of this and have me change my password. > > A DNS spoof is outside of their control, and they wouldn't know you are trying to connect through a modified server. When you spoke with them, I'm sure they assumed you had a clean connection. It's similar to dialing a wrong phone number; the person you intended to call will never know you're trying to reach them. > > DNS translates web addresses containing words into web addresses containing only numbers. Your computer stores some DNS entries which tell your Mac where to get those translataions, and other servers between you and the rest of the net can also modify DNS on every hop. If your computer, or one of the servers in between your computer and the bank, has been modified, your request can be re-routed to a fake site. The fake site will look virtually identical to the real one in many ways. Usually they copy the images and layout of the real site. In your case, the fake site included ads that were not on the real site, which would be a tip-off. You said the URL had been changed too; that's a red flag that you'd been re-routed. > > BofA has no way of knowing that a server somewhere has intercepted your request. If the problem is on your own computer (which is what a trojan would do,) then all requests to your bank (or any site that has been intercepted) will be re-routed to a fake one. If the problem is on a server in between your computer and the bank, then anyone who tries to connect to the bank through that server will be re-routed. You should first check your own computer to be sure it has the right DNS entries. Your service provider will know what those are and can verify if yours are correct. If they are, then the problem is, unfortunately, largely out of your control. Your service provider can try to track where the problem is, and you should tell them about it. > > The bank would be unaware of any problems. There are millions of paths through the internet from one point to another. In the cases where you did connect to their site successfully, your request likely travelled through an uninfected server. A browser request is not guaranteed to take the same path each time it travels to a certain site. > > The point is, somewhere along the line it sounds like you got re-routed to a fake site. If you entered your bank credentials on that fake site, the malware authors now have your password and login details. The bank won't know anything about it because you never arrived there. But if our guess is right, you should change your password immediately. When you do, make sure you are at the real site. Look closely at the URL and verify it really belongs to BofA. > > This is kind of techy, but here is one explanation: > > > > I tried to find one with the clearest explanation for the layman, but it is a confusing topic. There is a lot going on between you and the rest of the net, and without some basic info about how it works, it's pretty geeky. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From t.heaford at btinternet.com Sun Sep 7 03:00:57 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 7 Sep 2014 08:00:57 +0100 Subject: preOpenStack In-Reply-To: <25332655692.20140906090820@ahsoftware.net> References: <25332655692.20140906090820@ahsoftware.net> Message-ID: Thanks for your reply. Putting it in the card script does seem to be the answer. Had a quick look in the dictionary and I couldn?t find where it says do not put it in the stack script. The dictionary just says the message is sent to the destination card when you open a stack. It may be in some other docs somewhere. All the best Terry On 06 Sep 2014, at 17:08, Mark Wieder wrote: > Terence- > > Saturday, September 6, 2014, 4:26:23 AM, you wrote: > >> I have a stack(main stack) which in the stack script contains a >> preopenstack handler that I use to set the size of the window before >> it shows. > > The preopenstack and openstack class of handlers should be in the > script of the first card, not in the stack script. Yes, it's in the > docs. If these handlers are in the stack script you an easily run into > the sort of problems you're encountering. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Sun Sep 7 03:02:13 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 7 Sep 2014 08:02:13 +0100 Subject: preOpenStack In-Reply-To: <25332655692.20140906090820@ahsoftware.net> References: <25332655692.20140906090820@ahsoftware.net> Message-ID: <081613A6-F6E5-46C1-B2F5-78C7C879D4CC@btinternet.com> Thanks for your reply. Putting it in the card script does seem to be the answer. Had a quick look in the dictionary and I couldn?t find where it says do not put it in the stack script. The dictionary just says the message is sent to the destination card when you open a stack. It may be in some other docs somewhere. All the best Terry On 06 Sep 2014, at 17:08, Mark Wieder wrote: > Terence- > > Saturday, September 6, 2014, 4:26:23 AM, you wrote: > >> I have a stack(main stack) which in the stack script contains a >> preopenstack handler that I use to set the size of the window before >> it shows. > > The preopenstack and openstack class of handlers should be in the > script of the first card, not in the stack script. Yes, it's in the > docs. If these handlers are in the stack script you an easily run into > the sort of problems you're encountering. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Sun Sep 7 03:54:57 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 7 Sep 2014 00:54:57 -0700 (PDT) Subject: [ANN] Installer Maker 1.8.7 for LiveCode In-Reply-To: <540BA86B.8080102@economy-x-talk.com> References: <540BA86B.8080102@economy-x-talk.com> Message-ID: <1410076497495-4682921.post@n4.nabble.com> Mark the link you put up didn't resolve - try this one instead http://rrinstallermaker.economy-x-talk.com/ ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Installer-Maker-1-8-7-for-LiveCode-tp4682904p4682921.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Sep 7 08:40:44 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 7 Sep 2014 14:40:44 +0200 Subject: [ANN] Installer Maker 1.8.7 for LiveCode In-Reply-To: <1410076497495-4682921.post@n4.nabble.com> References: <540BA86B.8080102@economy-x-talk.com> <1410076497495-4682921.post@n4.nabble.com> Message-ID: <27DA8DA4-1EC4-473D-9CFE-3A2F56D5AC43@economy-x-talk.com> Thanks for the reply, David. I noticed later that there is an http too many. I'll make another announcement soon and then I'll post a correct link. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 7 sep 2014, at 09:54, Dave Kilroy wrote: > Mark the link you put up didn't resolve - try this one instead > http://rrinstallermaker.economy-x-talk.com/ From dochawk at gmail.com Sun Sep 7 10:40:38 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 7 Sep 2014 07:40:38 -0700 Subject: Russian submarine In-Reply-To: References: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> Message-ID: On Sat, Sep 6, 2014 at 5:22 PM, Mark Wieder wrote: > Yeah, I tried that in Las Vegas a few conferences ago, and it just can't be > done, even though it's a straight shot on the map. > While I was in exile in Pennsylvania and came here/home (LV) for a conference a few years, I walked from the airport to UNLV. Not really designed for it, but possible. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From prothero at earthednet.org Sun Sep 7 11:22:03 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sun, 7 Sep 2014 08:22:03 -0700 Subject: preOpenStack In-Reply-To: <081613A6-F6E5-46C1-B2F5-78C7C879D4CC@btinternet.com> References: <25332655692.20140906090820@ahsoftware.net> <081613A6-F6E5-46C1-B2F5-78C7C879D4CC@btinternet.com> Message-ID: <8F41B1F5-1935-4789-A89C-EBE90A4E225A@earthednet.org> Terence, Interesting, but it seems counter-intuitive to have a handler that references the stack being required to be on a card script. Which card? I assume it's the card that first opens in the stack? Bill William Prothero http://es.earthednet.org > On Sep 7, 2014, at 12:02 AM, Terence Heaford wrote: > > Thanks for your reply. > > Putting it in the card script does seem to be the answer. > > Had a quick look in the dictionary and I couldn?t find where it says do not put it in the stack script. > The dictionary just says the message is sent to the destination card when you open a stack. > > It may be in some other docs somewhere. > > > All the best > > Terry > >> On 06 Sep 2014, at 17:08, Mark Wieder wrote: >> >> Terence- >> >> Saturday, September 6, 2014, 4:26:23 AM, you wrote: >> >>> I have a stack(main stack) which in the stack script contains a >>> preopenstack handler that I use to set the size of the window before >>> it shows. >> >> The preopenstack and openstack class of handlers should be in the >> script of the first card, not in the stack script. Yes, it's in the >> docs. If these handlers are in the stack script you an easily run into >> the sort of problems you're encountering. >> >> -- >> -Mark Wieder >> ahsoftware at gmail.com >> >> This communication may be unlawfully collected and stored by the National >> Security Agency (NSA) in secret. The parties to this email do not >> consent to the retrieving or storing of this communication and any >> related metadata, as well as printing, copying, re-transmitting, >> disseminating, or otherwise using it. If you believe you have received >> this communication in error, please delete it immediately. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Sep 7 11:22:59 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Sep 2014 15:22:59 +0000 (UTC) Subject: preOpenStack References: <25332655692.20140906090820@ahsoftware.net> <081613A6-F6E5-46C1-B2F5-78C7C879D4CC@btinternet.com> Message-ID: Terence Heaford writes: > Putting it in the card script does seem to be the answer. > > Had a quick look in the dictionary and I couldn?t find where it says do not put it in the stack script. > The dictionary just says the message is sent to the destination card when you open a stack. As you yourself quoted, "the message is sent to the destination *card*". The card has the first crack at handling the message. If the handler is in the stack script then it's accessible at the root of the message path from any stack in the ecosystem. Placing it in the card script localizes its effect. -- Mark Wieder ahsoftware at gmail.com From prothero at earthednet.org Sun Sep 7 11:25:35 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Sun, 7 Sep 2014 08:25:35 -0700 Subject: preOpenStack In-Reply-To: References: <25332655692.20140906090820@ahsoftware.net> <081613A6-F6E5-46C1-B2F5-78C7C879D4CC@btinternet.com> Message-ID: <4F798204-C5EB-4168-8F84-60E831FB52F6@earthednet.org> Mark, Ok, you answered my concern. I guess it's another item to add to the dictionary somehow. Bill William Prothero http://es.earthednet.org > On Sep 7, 2014, at 8:22 AM, Mark Wieder wrote: > > Terence Heaford writes: > >> Putting it in the card script does seem to be the answer. >> >> Had a quick look in the dictionary and I couldn?t find where it says do > not put it in the stack script. >> The dictionary just says the message is sent to the destination card when > you open a stack. > > As you yourself quoted, "the message is sent to the destination *card*". > The card has the first crack at handling the message. > > If the handler is in the stack script then it's accessible at the root of > the message path from any stack in the ecosystem. Placing it in the card > script localizes its effect. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Sep 7 11:36:35 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Sep 2014 15:36:35 +0000 (UTC) Subject: preOpenStack References: <25332655692.20140906090820@ahsoftware.net> <081613A6-F6E5-46C1-B2F5-78C7C879D4CC@btinternet.com> <4F798204-C5EB-4168-8F84-60E831FB52F6@earthednet.org> Message-ID: Earthednet-wp writes: > > Mark, > Ok, you answered my concern. I guess it's another item to add to the dictionary somehow. Yeah, it's just one of those things that you learn along the way. It's only intuitive in hindsight. -- Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Sun Sep 7 12:40:41 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 7 Sep 2014 12:40:41 -0400 Subject: preOpenStack In-Reply-To: References: <25332655692.20140906090820@ahsoftware.net> <081613A6-F6E5-46C1-B2F5-78C7C879D4CC@btinternet.com> Message-ID: <8D198D198BCB98A-2D3C-28263@webmail-d169.sysops.aol.com> It actually is a bit counterintuitive that a card can receive a preOpenStack message. After all, the whole (ostensible) idea is that "preOpenstack" is sent before the stack opens, so how could there even be a card to send that message to. It is all mainly a matter of drawing, though, not what is actually is existence. The wording is a bit misleading is all... Craig -----Original Message----- From: Mark Wieder To: use-livecode Sent: Sun, Sep 7, 2014 11:23 am Subject: Re: preOpenStack Terence Heaford writes: > Putting it in the card script does seem to be the answer. > > Had a quick look in the dictionary and I couldn?t find where it says do not put it in the stack script. > The dictionary just says the message is sent to the destination card when you open a stack. As you yourself quoted, "the message is sent to the destination *card*". The card has the first crack at handling the message. If the handler is in the stack script then it's accessible at the root of the message path from any stack in the ecosystem. Placing it in the card script localizes its effect. -- Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Sun Sep 7 12:49:00 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 7 Sep 2014 09:49:00 -0700 (PDT) Subject: preOpenStack In-Reply-To: <8D198D198BCB98A-2D3C-28263@webmail-d169.sysops.aol.com> References: <25332655692.20140906090820@ahsoftware.net> <081613A6-F6E5-46C1-B2F5-78C7C879D4CC@btinternet.com> <8D198D198BCB98A-2D3C-28263@webmail-d169.sysops.aol.com> Message-ID: <1410108540138-4682929.post@n4.nabble.com> I guess it's part of flexibility of LiveCode where you can have things like 'mouseup' handlers in a group, field, card or stack - but for sure the dictionary could be tweaked to make things clearer... ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/preOpenStack-tp4682886p4682929.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Sun Sep 7 12:52:28 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 07 Sep 2014 18:52:28 +0200 Subject: [ANN] Installer Maker 1.8.7 for LiveCode (standalone) In-Reply-To: <540BA86B.8080102@economy-x-talk.com> References: <540BA86B.8080102@economy-x-talk.com> Message-ID: <540C8D4C.7090806@economy-x-talk.com> Hi everyone, I have now also updated the standalone version of Installer Maker. A list of bug fixes and new features can be found at http://installermaker.economy-x-talk.com An important new feature is the list of folder locations available on Windows PC's. Installer Maker 1.8.7 also features greatly improved profile files. A new license costs 39 euro. Upgrade licenses cost ?16,95. Free updates are available until 3 months after purchase and upgrade licenses can be bought until 1 year after purchase. A plug-in version of Installer maker is also available and can be found at http://rrinstallermaker.economy-x-talk.com Send me an e-mail if you have any questions. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From pmbrig at gmail.com Sun Sep 7 12:54:43 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 7 Sep 2014 10:54:43 -0600 Subject: preOpenStack In-Reply-To: References: <25332655692.20140906090820@ahsoftware.net> <081613A6-F6E5-46C1-B2F5-78C7C879D4CC@btinternet.com> <4F798204-C5EB-4168-8F84-60E831FB52F6@earthednet.org> Message-ID: <1850F6C1-738B-4C07-8FA9-584D3793F8FA@gmail.com> You really have to understand the message path for this kind of thing to be clear. If you master the way messages get sent, passed, and handled, then it's actually obvious. If you don't know the message path, it seems counterintuitive. Knowing the message path backwards and forwards to the point where you don't even have to think about it much will go a long way towards fluid scripting. It takes a while. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 7, 2014, at 9:36 AM, Mark Wieder wrote: > Earthednet-wp writes: > >> >> Mark, >> Ok, you answered my concern. I guess it's another item to add to the > dictionary somehow. > > Yeah, it's just one of those things that you learn along the way. It's only > intuitive in hindsight. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Sun Sep 7 13:00:53 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 7 Sep 2014 13:00:53 -0400 Subject: Presentation slides and extras In-Reply-To: <84sslot44r1hfibvrkrvvdxy.1409942216284@email.android.com> References: <84sslot44r1hfibvrkrvvdxy.1409942216284@email.android.com> Message-ID: <009e01cfcabd$492820b0$db786210$@net> Here is the link for the presentation material http://www.evergreeninfo.on-rev.com/rrlive/14/GettingYourAppToTheStore_Ralph_DiMola.zip Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Ralph DiMola Sent: Friday, September 05, 2014 2:37 PM To: How to use LiveCode Subject: Presentation slides and extras My presentation files on the USB stick was corrupt. I reuploaded the zip file to the thumb drives. Heather has confirmed the files are OK. See Heather or email me to obtain this material. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Sun Sep 7 13:05:41 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 07 Sep 2014 10:05:41 -0700 Subject: preOpenStack In-Reply-To: <1410108540138-4682929.post@n4.nabble.com> References: <25332655692.20140906090820@ahsoftware.net> <081613A6-F6E5-46C1-B2F5-78C7C879D4CC@btinternet.com> <8D198D198BCB98A-2D3C-28263@webmail-d169.sysops.aol.com> <1410108540138-4682929.post@n4.nabble.com> Message-ID: I encourage everyone who would like the notes to be updated to do so yourself by adding comments to the dictionary items. This is a great feature of the documentation. Just scroll all the way down on a dictionary entry. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Sep 7, 2014, at 9:49 AM, Dave Kilroy wrote: > I guess it's part of flexibility of LiveCode where you can have things like > 'mouseup' handlers in a group, field, card or stack - but for sure the > dictionary could be tweaked to make things clearer... > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/preOpenStack-tp4682886p4682929.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jiml at netrin.com Sun Sep 7 13:34:52 2014 From: jiml at netrin.com (Jim Lambert) Date: Sun, 7 Sep 2014 10:34:52 -0700 Subject: How To: Manage columns of data (was Re: How To: Delete columns of data In-Reply-To: References: Message-ID: This conversation has veered far from LiveCode. The wise advice generously proffered does not seem to have landed. So, I second PeterH?s suggestion that this thread move to a more appropriate venue. Jim Lambert From roger.e.eller at sealedair.com Sun Sep 7 13:54:10 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 7 Sep 2014 13:54:10 -0400 Subject: [OT] Mark Weider ... Check your spam filter Message-ID: Sorry folks... Mark, I sent you an off-list email yesterday and this morning. Please look for it in your spam folder if you didn't see it. Thanks. ~Roger Sent from my Android tablet From ambassador at fourthworld.com Sun Sep 7 16:02:17 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 07 Sep 2014 13:02:17 -0700 Subject: preOpenStack In-Reply-To: <8F41B1F5-1935-4789-A89C-EBE90A4E225A@earthednet.org> References: <8F41B1F5-1935-4789-A89C-EBE90A4E225A@earthednet.org> Message-ID: <540CB9C9.7050304@fourthworld.com> Terence Heaford wrote: > Putting it in the card script does seem to be the answer. > > Had a quick look in the dictionary and I couldn?t find where it says > do not put it in the stack script. > The dictionary just says the message is sent to the destination card > when you open a stack. Whether we *should* or *shouldn't* do something depends on what we want to do. Once we learn the basics of the message path (in the v6.6.2 User Guide this is in Section 5.3.2, p127), we can anticipate the flow of messages and use them as we need for the task at hand. While it may be useful to put initialization things in the first card of the mainstack, having commonly-used routines in the mainstack script can be very useful. William Prothero wrote: > Interesting, but it seems counter-intuitive to have a handler that > references the stack being required to be on a card script. I believe this was introduced in HyperCard, and remains a foundational element in most xTalks. It's useful in allowing us to overload or override how messages are handled differently if we choose based on the context of the current card. > Which card? I assume it's the card that first opens in the stack? This should always be the current card, so in a case where a stack is being opened the current card will be the first one. That said, you can also open stacks via script with things like: open card 2 of stack "SomeStack" ...in which case the card script invoked will be for card 2, which gives us the flexibility of handling these sorts of messages however we might want for a given card. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From mwieder at ahsoftware.net Sun Sep 7 16:19:52 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Sep 2014 20:19:52 +0000 (UTC) Subject: [OT] Mark Weider ... Check your spam filter References: Message-ID: Roger Eller writes: > > Sorry folks... Mark, I sent you an off-list email yesterday and this > morning. Please look for it in your spam folder if you didn't see it. No worries, Roger. I'm still on the road and using gmane for list access, but should be back tonight. I'll check my email when I get back. -- Mark Wieder ahsoftware at gmail.com From prothero at earthednet.org Sun Sep 7 16:25:14 2014 From: prothero at earthednet.org (William Prothero) Date: Sun, 7 Sep 2014 13:25:14 -0700 Subject: preOpenStack In-Reply-To: <540CB9C9.7050304@fourthworld.com> References: <8F41B1F5-1935-4789-A89C-EBE90A4E225A@earthednet.org> <540CB9C9.7050304@fourthworld.com> Message-ID: Richard: Tnx for the comments, all. Just to check my understanding of this issue: So, the ?on preopenstack? message, in a card script, will only get triggered once, when the stack is opened? It won?t get triggered when you go to another card with an ?on preOpenStack? handler?? Bill On Sep 7, 2014, at 1:02 PM, Richard Gaskin wrote: > Terence Heaford wrote: > > > Putting it in the card script does seem to be the answer. > > > > Had a quick look in the dictionary and I couldn?t find where it says > > do not put it in the stack script. > > The dictionary just says the message is sent to the destination card > > when you open a stack. > > Whether we *should* or *shouldn't* do something depends on what we want to do. > > Once we learn the basics of the message path (in the v6.6.2 User Guide this is in Section 5.3.2, p127), we can anticipate the flow of messages and use them as we need for the task at hand. > > While it may be useful to put initialization things in the first card of the mainstack, having commonly-used routines in the mainstack script can be very useful. > > > > William Prothero wrote: > > > Interesting, but it seems counter-intuitive to have a handler that > > references the stack being required to be on a card script. > > I believe this was introduced in HyperCard, and remains a foundational element in most xTalks. It's useful in allowing us to overload or override how messages are handled differently if we choose based on the context of the current card. > > > Which card? I assume it's the card that first opens in the stack? > > This should always be the current card, so in a case where a stack is being opened the current card will be the first one. > > That said, you can also open stacks via script with things like: > > open card 2 of stack "SomeStack" > > ...in which case the card script invoked will be for card 2, which gives us the flexibility of handling these sorts of messages however we might want for a given card. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Sun Sep 7 16:37:30 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 7 Sep 2014 15:37:30 -0500 Subject: An interesting comparison with web development Message-ID: http://chromakode.com/post/notes-on-xkcd-pixels That's a description of how XKCD's "Pixels" panel was developed using HTML 5 in three days. I wonder how long it would take in LiveCode. The basic parameters are: 1. Black and white 600x600 image, zoomable. 2. The zoom must be location sensitive to the pointer, zooming in/out wherever it is. 3. When the image is roughly 10x zoomed in, replace smoothly (fade in) replacements for each of the roughly 60*60 = 3600 pixels and continue zooming. 4. Replacements come from a pool of mostly-black and mostly-white 600x600 images. 5. Replacements are further constrained by the image in which they are appearing as pixels. So image A might be replaced by White: B,C,D and Black: Z,Y,X; while B might be replaced by White: C,E,F and Black W,V,U; and C might be replaced by White: A,B,E, and Black Y,X,W, etc. 6. Replacements must not be the same for each instance of an image; if image B appears multiple times as a replacement for white pixels in image A, different instances of B will have their pixels replaced by different arrangements of images C,E,F for white and W,V,U for black. 7. The whole thing must zoom indefinitely; at least thousands of replacements deep. 8. The replacements must be in some way deterministic, so the whole thing can be consistent all the way in and all the way back out. Apart from anything else, (7) and (8) preclude any sort of simple coordinate system; a basic X,Y with zoom = Z would break within 8 replacements. Plus I wonder how to break down the data to allow LC to spend most of its time simply resizing an image. gc From ambassador at fourthworld.com Sun Sep 7 16:38:32 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 07 Sep 2014 13:38:32 -0700 Subject: preOpenStack In-Reply-To: References: Message-ID: <540CC248.2070702@fourthworld.com> William Prothero wrote: > Richard: > Tnx for the comments, all. > Just to check my understanding of this issue: > > So, the ?on preopenstack? message, in a card script, will only get > triggered once, when the stack is opened? It won?t get triggered when > you go to another card with an ?on preOpenStack? handler?? Most non-control-specific system messages are sent to the card first (the others being sent to the target control). Like any other object, if you handle it in that object's script and don't explicitly pass it, the message won't travel any further. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthednet.org Sun Sep 7 16:49:20 2014 From: prothero at earthednet.org (William Prothero) Date: Sun, 7 Sep 2014 13:49:20 -0700 Subject: Making data plots Message-ID: Folks: I?ve been working on an app that plots various kinds of data. For some of the data, where I need a line plot, I create lines, boxes, labels, etc, and after they are displayed, I take a snapshot of the graphic and then delete the objects that I used to create the plot. So far, as a beginning live coder, I?ve just stored the names of the graphic elements of the plot in an array, then deleted them using the array entries. But, it seems, as the plots are getting more complex, that it might be easier or more efficient to put the objects for a single plot into a group, then I can delete the entire group in one operation. The dictionary has some entries on creating groups, but I can?t find anything about adding a single object to a group. I want to do this so that each time an element of the plot is created, it is added to the group. That way, I don?t have to keep track of the objects myself. Is there a tutorial where I can find this information? Also, I am assuming that if I delete a group, all of the objects in it are also deleted. Best, Bill William A. Prothero, Ph.D. University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) Santa Barbara, CA. 93105 http://es.earthednet.org/ From prothero at earthednet.org Sun Sep 7 16:55:11 2014 From: prothero at earthednet.org (William Prothero) Date: Sun, 7 Sep 2014 13:55:11 -0700 Subject: preOpenStack In-Reply-To: <540CC248.2070702@fourthworld.com> References: <540CC248.2070702@fourthworld.com> Message-ID: <01E2FC36-1C59-48E6-BD35-A8B0A1963E5D@earthednet.org> Richard, sorry for not being more clear. I understand that if a stack is opened, then the preOpenStack handler is triggered (it is in the first card), but if I go to another card on the same stack with a different preOpenStack handler on it, I would assume the preOpenStack handler wouldn?t get triggered because a new stack hasn?t been opened. Easy to test, but I thought I?d ask. Bill On Sep 7, 2014, at 1:38 PM, Richard Gaskin wrote: > William Prothero wrote: > > Richard: > > Tnx for the comments, all. > > Just to check my understanding of this issue: > > > > So, the ?on preopenstack? message, in a card script, will only get > > triggered once, when the stack is opened? It won?t get triggered when > > you go to another card with an ?on preOpenStack? handler?? > > Most non-control-specific system messages are sent to the card first (the others being sent to the target control). Like any other object, if you handle it in that object's script and don't explicitly pass it, the message won't travel any further. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sun Sep 7 17:30:10 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 7 Sep 2014 14:30:10 -0700 Subject: anyone have a Samsung Galaxy Note 3? In-Reply-To: References: <46A9D2A4-BBE9-4F86-901E-48465DC5AE52@verizon.net> Message-ID: On Thu, Sep 4, 2014 at 10:09 AM, Colin Holgate wrote: > Thanks, if that conference is also in the San Diego Hyatt I could come > over? > 'twas the Las Vegas Four Seasons . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jacque at hyperactivesw.com Sun Sep 7 18:18:37 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 07 Sep 2014 17:18:37 -0500 Subject: preOpenStack In-Reply-To: <01E2FC36-1C59-48E6-BD35-A8B0A1963E5D@earthednet.org> References: <540CC248.2070702@fourthworld.com> <01E2FC36-1C59-48E6-BD35-A8B0A1963E5D@earthednet.org> Message-ID: <540CD9BD.101@hyperactivesw.com> On 9/7/2014, 3:55 PM, William Prothero wrote: > I understand that if a stack is opened, then the preOpenStack handler > is triggered (it is in the first card), but if I go to another card > on the same stack with a different preOpenStack handler on it, I > would assume the preOpenStack handler wouldn?t get triggered because > a new stack hasn?t been opened. Easy to test, but I thought I?d ask. Right. The preOpenStack and openStack messages are only sent once when a stack first opens. It always opens on the first card. As a user you won't see that if a script requests "card 2 of stack x" but it still goes to card 1 first and then moves to card 2. I don't believe a preOpenStack handler on card 2 will ever trigger. It seemed non-intuitive to me too that you could put a preOpenStack handler in a card, because the card wasn't open yet. That was wrong-thinking. I asked Mark Waddingham about it some years ago and he said that the entire stack has to load at once when it opens, otherwise there would be no way a script could manage any of the objects or card properties. The messages are sent in a specific order, but in reality the entire structure is already in RAM before the messaging starts. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Sep 7 18:23:07 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 07 Sep 2014 17:23:07 -0500 Subject: Making data plots In-Reply-To: References: Message-ID: <540CDACB.4010407@hyperactivesw.com> On 9/7/2014, 3:49 PM, William Prothero wrote: > The dictionary has some entries on creating groups, but I can?t find > anything about adding a single object to a group. I want to do this > so that each time an element of the plot is created, it is added to > the group. That way, I don?t have to keep track of the objects > myself. Is there a tutorial where I can find this information? See the "create" command, I think that's what you want if I understand right: create button x in grp y > Also, I am assuming that if I delete a group, all of the objects in > it are also deleted. Yes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Sun Sep 7 18:25:36 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 08 Sep 2014 00:25:36 +0200 Subject: Making data plots In-Reply-To: References: Message-ID: <540CDB60.2060304@economy-x-talk.com> Hi Bill, The dictionary entry about the create command contains the in group clause. Example: create button "New Button" in group "Old Group" put it into myLongID When you delete the group, all its objects are also deleted. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/7/2014 22:49, William Prothero wrote: > Folks: > I?ve been working on an app that plots various kinds of data. For some of the data, where I need a line plot, I create lines, boxes, labels, etc, and after they are displayed, I take a snapshot of the graphic and then delete the objects that I used to create the plot. So far, as a beginning live coder, I?ve just stored the names of the graphic elements of the plot in an array, then deleted them using the array entries. But, it seems, as the plots are getting more complex, that it might be easier or more efficient to put the objects for a single plot into a group, then I can delete the entire group in one operation. > > The dictionary has some entries on creating groups, but I can?t find anything about adding a single object to a group. I want to do this so that each time an element of the plot is created, it is added to the group. That way, I don?t have to keep track of the objects myself. Is there a tutorial where I can find this information? > > Also, I am assuming that if I delete a group, all of the objects in it are also deleted. > > Best, > Bill > > William A. Prothero, Ph.D. > University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) > Santa Barbara, CA. 93105 > http://es.earthednet.org/ > From coiin at verizon.net Sun Sep 7 18:51:42 2014 From: coiin at verizon.net (Colin Holgate) Date: Sun, 07 Sep 2014 18:51:42 -0400 Subject: anyone have a Samsung Galaxy Note 3? In-Reply-To: References: <46A9D2A4-BBE9-4F86-901E-48465DC5AE52@verizon.net> Message-ID: Thanks. That would have been a bit too far to walk. Our client is going to let it go for now, seeing as it only seems to be one device with that particular problem. We?ll no doubt have to fix whatever it is that?s wrong, if anyone out there sees the same issue. I?m not too worried, the feature that triggers the issue isn?t going to be the most common action people will take in the app, and few people who do will have that device. On Sep 7, 2014, at 5:30 PM, Dr. Hawkins wrote: > On Thu, Sep 4, 2014 at 10:09 AM, Colin Holgate wrote: > >> Thanks, if that conference is also in the San Diego Hyatt I could come >> over? >> > > 'twas the Las Vegas Four Seasons . . . > > > -- > Dr. Richard E. Hawkins, Esq. From dunbarx at aol.com Sun Sep 7 20:38:09 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 7 Sep 2014 20:38:09 -0400 Subject: Making data plots In-Reply-To: References: Message-ID: <8D199144C09FE91-DD8-2D595@webmail-va009.sysops.aol.com> Hi. Would the "copy" command be useful to you? You can designate a group as the target. Craig Newman -----Original Message----- From: William Prothero To: Use-livecode Use-livecode Sent: Sun, Sep 7, 2014 4:50 pm Subject: Making data plots Folks: I?ve been working on an app that plots various kinds of data. For some of the data, where I need a line plot, I create lines, boxes, labels, etc, and after they are displayed, I take a snapshot of the graphic and then delete the objects that I used to create the plot. So far, as a beginning live coder, I?ve just stored the names of the graphic elements of the plot in an array, then deleted them using the array entries. But, it seems, as the plots are getting more complex, that it might be easier or more efficient to put the objects for a single plot into a group, then I can delete the entire group in one operation. The dictionary has some entries on creating groups, but I can?t find anything about adding a single object to a group. I want to do this so that each time an element of the plot is created, it is added to the group. That way, I don?t have to keep track of the objects myself. Is there a tutorial where I can find this information? Also, I am assuming that if I delete a group, all of the objects in it are also deleted. Best, Bill William A. Prothero, Ph.D. University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) Santa Barbara, CA. 93105 http://es.earthednet.org/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sun Sep 7 21:44:11 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 7 Sep 2014 21:44:11 -0400 Subject: Orientation Support Mobile Message-ID: Is anybody buildng projects that swing both ways on mobile? MG used to support doing that, but now it doesn't. I've been trying to make it work, but I'm running into all sorts of issues. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From coiin at verizon.net Sun Sep 7 22:04:39 2014 From: coiin at verizon.net (Colin Holgate) Date: Sun, 07 Sep 2014 22:04:39 -0400 Subject: Orientation Support Mobile In-Reply-To: References: Message-ID: <2180714C-088B-444E-9B3B-58252267B5DD@verizon.net> I have used landscape and portrait in the same app outside of LiveCode, and certainly ran into issues. I think that in LiveCode you would want to enable all orientations, then listen for the orientationChanged message. Then, in theory, you could react accordingly. Can you go into more detail about issues you?ve hit? From MikeKerner at roadrunner.com Sun Sep 7 23:38:43 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 7 Sep 2014 23:38:43 -0400 Subject: Orientation Support Mobile In-Reply-To: <2180714C-088B-444E-9B3B-58252267B5DD@verizon.net> References: <2180714C-088B-444E-9B3B-58252267B5DD@verizon.net> Message-ID: Well, for starters: 1) You can't seem to force LC to render a card in one orientation or the other and then understand what you're forcing it to do. There doesn't seem to be a command to do it. MobileSetAllowedOrientations doesn't help. So if you support P and L, but certain cards are one way and certain the other, and the app opens in the one you didn't want, you have an issue. Let's say you do mobileSetAllowedOrientations to portrait, and you flip the device sideways. When you open the app, the app will render in portrait, but it will think that its width and height are for landscape, which makes rendering a bit challenging. 2) How do you lay out your cards for P and L? You could have custom properties, (do it the old MG way, before MG stopped supporting rotating), but that creates a layout issue, in that you have to build the properties for as many objects as you have on a card, and then deal with rearranging the layout when the orientation changes. 3) If you try to overcome #2 with a substack for P and a substack for L, then you have an event issue, because going from card 1 of substack P to card 2 of substack L isn't going to send a closeCard event to card 1 of substack P, which means that if you were using closeCard to dispose of your native controls...you have to do something else, and the transition isn't smooth. 4) There are issues with getting LC to render objects consistently when switching orientations, which I would imagine is why John stopped supporting orientation switching in MG. Sometimes, when you rotate the device, not everything goes where one might hope it would. I still haven't gotten to the bottom of that one. On Sun, Sep 7, 2014 at 10:04 PM, Colin Holgate wrote: > I have used landscape and portrait in the same app outside of LiveCode, > and certainly ran into issues. I think that in LiveCode you would want to > enable all orientations, then listen for the orientationChanged message. > Then, in theory, you could react accordingly. > > Can you go into more detail about issues you?ve hit? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From simon at asato-media.com Mon Sep 8 01:32:22 2014 From: simon at asato-media.com (Simon) Date: Sun, 7 Sep 2014 22:32:22 -0700 (PDT) Subject: Calling Andre Garzia Message-ID: <1410154342013-4682952.post@n4.nabble.com> Hi Andre, There is some guy not very happy with you here: http://forums.livecode.com/viewtopic.php?f=31&t=21499 If any can pass this along directly to Andre I'm sure he'll appreciated clearing up his good name. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Calling-Andre-Garzia-tp4682952.html Sent from the Revolution - User mailing list archive at Nabble.com. From rdimolad at evergreeninfo.net Mon Sep 8 01:39:06 2014 From: rdimolad at evergreeninfo.net (Ralph DiMola) Date: Sun, 07 Sep 2014 22:39:06 -0700 Subject: Orientation Support Mobile Message-ID: Mobile Orientation change cookbook: 1. Device is flipped.? 2. The resizestack message is sent before the card is rendered (orientationchanged message is sent after). 2. In the resizestack handler reposition your controls.? 3. During this message no screen updates are done.? 4. The user will see the screen flip with the previous layout.? 5. When the resizestack message completes the new layout is rendered.? 6. Pass the resizestack message after repositioning your controls or strange things will occur. This works equally well with both Android and iOS.? Now I don't know how this works if you're changing cards as I reposition controls on the same card. I would guess opening a new card in the resizestack message will yield similar results. ?I will try it when I get back. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net
-------- Original message --------
From: Mike Kerner
Date:09/07/2014 20:38 (GMT-08:00)
To: How to use LiveCode
Subject: Re: Orientation Support Mobile
Well, for starters: 1) You can't seem to force LC to render a card in one orientation or the other and then understand what you're forcing it to do. There doesn't seem to be a command to do it. MobileSetAllowedOrientations doesn't help. So if you support P and L, but certain cards are one way and certain the other, and the app opens in the one you didn't want, you have an issue. Let's say you do mobileSetAllowedOrientations to portrait, and you flip the device sideways. When you open the app, the app will render in portrait, but it will think that its width and height are for landscape, which makes rendering a bit challenging. 2) How do you lay out your cards for P and L? You could have custom properties, (do it the old MG way, before MG stopped supporting rotating), but that creates a layout issue, in that you have to build the properties for as many objects as you have on a card, and then deal with rearranging the layout when the orientation changes. 3) If you try to overcome #2 with a substack for P and a substack for L, then you have an event issue, because going from card 1 of substack P to card 2 of substack L isn't going to send a closeCard event to card 1 of substack P, which means that if you were using closeCard to dispose of your native controls...you have to do something else, and the transition isn't smooth. 4) There are issues with getting LC to render objects consistently when switching orientations, which I would imagine is why John stopped supporting orientation switching in MG. Sometimes, when you rotate the device, not everything goes where one might hope it would. I still haven't gotten to the bottom of that one. On Sun, Sep 7, 2014 at 10:04 PM, Colin Holgate wrote: > I have used landscape and portrait in the same app outside of LiveCode, > and certainly ran into issues. I think that in LiveCode you would want to > enable all orientations, then listen for the orientationChanged message. > Then, in theory, you could react accordingly. > > Can you go into more detail about issues you?ve hit? > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Mon Sep 8 02:31:23 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 8 Sep 2014 01:31:23 -0500 Subject: Making data plots In-Reply-To: References: Message-ID: On Sun, Sep 7, 2014 at 3:49 PM, William Prothero wrote: > Also, I am assuming that if I delete a group, all of the objects in it are > also deleted. > Another possibility is to simply hide the group. That way creating another graph will likely be faster -- depending on your actual circumstances. From t.heaford at btinternet.com Mon Sep 8 02:45:54 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 8 Sep 2014 07:45:54 +0100 Subject: Making data plots In-Reply-To: References: Message-ID: <0D187009-1275-4AC6-8B53-42FE42B091CF@btinternet.com> I to do a similar thing when creating a pie chart in a group. All the chart handlers are in the group. Here is an example for creating a segment of a pie chart: on drawASegment tLeft,tTop,tRight,tBottom,tRadius,tStartAngle,tArcAngle,tColor set the style of the templateGraphic to oval create grc in me put the id of the last grc of me into tID set the antialiased of grc id tID to true set the rect of grc id tID to tLeft,tTop,tRight,tBottom set the startangle of grc id tID to tStartAngle set the arcangle of grc id tID to tArcAngle set the backcolor of grc id tID to tColor set the showFill of grc id tID to true set the forecolor of grc id tID to tColor set the lineSize of grc id tID to 1 set the locked of grc id tID to true end drawASegment When deleting the chart I use this handler which does not delete the group, rather it deletes the objects of the group: on deleteChart put the childControlNames of me into tObjectList lock screen if tObjectList is not empty then repeat with n = 1 to the number of lines in tObjectList put line n of tObjectList into tObject if exists(tObject) then delete tObject else put "OBJECT DOES NOT EXIST " & tObject end if end repeat end if unlock screen end deleteChart Hopefully this will give you some ideas. All the best Terry On 07 Sep 2014, at 21:49, William Prothero wrote: > Folks: > I?ve been working on an app that plots various kinds of data. For some of the data, where I need a line plot, I create lines, boxes, labels, etc, and after they are displayed, I take a snapshot of the graphic and then delete the objects that I used to create the plot. So far, as a beginning live coder, I?ve just stored the names of the graphic elements of the plot in an array, then deleted them using the array entries. But, it seems, as the plots are getting more complex, that it might be easier or more efficient to put the objects for a single plot into a group, then I can delete the entire group in one operation. > > The dictionary has some entries on creating groups, but I can?t find anything about adding a single object to a group. I want to do this so that each time an element of the plot is created, it is added to the group. That way, I don?t have to keep track of the objects myself. Is there a tutorial where I can find this information? > > Also, I am assuming that if I delete a group, all of the objects in it are also deleted. > > Best, > Bill > > William A. Prothero, Ph.D. > University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) > Santa Barbara, CA. 93105 > http://es.earthednet.org/ > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Mon Sep 8 02:53:31 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Mon, 8 Sep 2014 01:53:31 -0500 Subject: Making data plots In-Reply-To: <0D187009-1275-4AC6-8B53-42FE42B091CF@btinternet.com> References: <0D187009-1275-4AC6-8B53-42FE42B091CF@btinternet.com> Message-ID: I generally use a utility command, something like: on forceNControls pID,N put max(2,N + 1) into M repeat (the number of controls of pID) - M + 1 delete control M of pID end repeat set the vis of control 1 of pID to (N > 0) repeat with i = (the number of controls of pID) to N - 1 clone control i of pID end repeat end forceNControls On Mon, Sep 8, 2014 at 1:45 AM, Terence Heaford wrote: > I to do a similar thing when creating a pie chart in a group. > > All the chart handlers are in the group. > > Here is an example for creating a segment of a pie chart: > > on drawASegment > tLeft,tTop,tRight,tBottom,tRadius,tStartAngle,tArcAngle,tColor > set the style of the templateGraphic to oval > create grc in me > put the id of the last grc of me into tID > set the antialiased of grc id tID to true > set the rect of grc id tID to tLeft,tTop,tRight,tBottom > set the startangle of grc id tID to tStartAngle > set the arcangle of grc id tID to tArcAngle > set the backcolor of grc id tID to tColor > set the showFill of grc id tID to true > set the forecolor of grc id tID to tColor > set the lineSize of grc id tID to 1 > set the locked of grc id tID to true > end drawASegment > > When deleting the chart I use this handler which does not delete the > group, rather it deletes the objects of the group: > > on deleteChart > put the childControlNames of me into tObjectList > lock screen > if tObjectList is not empty then > repeat with n = 1 to the number of lines in tObjectList > put line n of tObjectList into tObject > if exists(tObject) then > delete tObject > else > put "OBJECT DOES NOT EXIST " & tObject > end if > end repeat > end if > unlock screen > end deleteChart > > Hopefully this will give you some ideas. > > All the best > > Terry > > > > On 07 Sep 2014, at 21:49, William Prothero > wrote: > > > Folks: > > I?ve been working on an app that plots various kinds of data. For some > of the data, where I need a line plot, I create lines, boxes, labels, etc, > and after they are displayed, I take a snapshot of the graphic and then > delete the objects that I used to create the plot. So far, as a beginning > live coder, I?ve just stored the names of the graphic elements of the plot > in an array, then deleted them using the array entries. But, it seems, as > the plots are getting more complex, that it might be easier or more > efficient to put the objects for a single plot into a group, then I can > delete the entire group in one operation. > > > > The dictionary has some entries on creating groups, but I can?t find > anything about adding a single object to a group. I want to do this so that > each time an element of the plot is created, it is added to the group. That > way, I don?t have to keep track of the objects myself. Is there a tutorial > where I can find this information? > > > > Also, I am assuming that if I delete a group, all of the objects in it > are also deleted. > > > > Best, > > Bill > > > > William A. Prothero, Ph.D. > > University of California, Santa Barbara Dept. of Earth Sciences > (Emeritus) > > Santa Barbara, CA. 93105 > > http://es.earthednet.org/ > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From admin at FlexibleLearning.com Mon Sep 8 03:20:20 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 8 Sep 2014 08:20:20 +0100 Subject: Making data plots Message-ID: <000401cfcb35$59a84960$0cf8dc20$@FlexibleLearning.com> Or use ChartMaker... www.flexibleLearning.com/chartmaker Hugh Senior FLCo William Prothero wrote: > Folks: > I?ve been working on an app that plots various kinds of data. For some of the > data, where I need a line plot, I create lines, boxes, labels, etc, and after they > are displayed, I take a snapshot of the graphic and then delete the objects > that I used to create the plot. So far, as a beginning live coder, I?ve just > stored the names of the graphic elements of the plot in an array, then > deleted them using the array entries. But, it seems, as the plots are getting > more complex, that it might be easier or more efficient to put the objects for > a single plot into a group, then I can delete the entire group in one operation. > > The dictionary has some entries on creating groups, but I can?t find anything > about adding a single object to a group. I want to do this so that each time an > element of the plot is created, it is added to the group. That way, I don?t > have to keep track of the objects myself. Is there a tutorial where I can find > this information? > > Also, I am assuming that if I delete a group, all of the objects in it are also > deleted. > > Best, > Bill > > William A. Prothero, Ph.D. > University of California, Santa Barbara Dept. of Earth Sciences (Emeritus) > Santa Barbara, CA. 93105 > http://es.earthednet.org/ From toolbook at kestner.de Mon Sep 8 05:39:40 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 8 Sep 2014 11:39:40 +0200 Subject: AW: go stack on windows behaves strange In-Reply-To: <001b01cfc8d9$8d85d350$a89179f0$@de> References: <001b01cfc8d9$8d85d350$a89179f0$@de> Message-ID: <004e01cfcb48$d0b8a780$7229f680$@de> I did some more tests. Though this strange "hang" occurs only randomly, it only occurs in a 6.6.2 standalone. With a 6.5.2 standalone of the same stack, I couldn't reproduce this behavior. Also not with 6.6.2 when creating a clean test stack with going to a second stack from a splash stack. So there must be some more dependencies in my stack, which results in such a behavior, but only in 6.6.2. So I will dump 6.6.2 and go on with 6.5.2. Very strange. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Tiemo Hollmann TB > Gesendet: Freitag, 5. September 2014 09:18 > An: 'How to use LiveCode' > Betreff: go stack on windows behaves strange > > Hi, > > I have a splash stack with some checking things etc. At the end I call my main > program and hide the main stack, because of the need of some scripts of the > splash stack: > > go stack foo > > hide me > > This looks very easy and works since years. Now with LC 6.6.2 on Win 7 I am > experiencing a very strange behavior. Sometimes on startup of the standalone > the splash stack hangs at the "go stack foo" and doesn't goes on. Stack foo > doesn't appear and the splash stack doesn't hide. When hovering the mouse over > the hanging splash stack (without clicking) the script goes on, stack foo > appears and the splash stack hides. It seems, as if the LC program "looses > it's focus", stops processing the handler and waits until it gets the focus > again. Because of this issue only appears randomly I couldn't drill it down to > anything. Is it LC 6.6.2, Is my windows running wrong? Is it some other > program on my machine making a conflict? > > > > Has anybody experienced such a behavior or has an idea how I can drill down, > what causes this random hang or has an idea how to give the script a shove? > > Thanks for any ideas > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From B.Cornaz at gmx.net Mon Sep 8 06:44:27 2014 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Mon, 8 Sep 2014 12:44:27 +0200 Subject: Making data plots Message-ID: <919AD27C-3AF6-4933-8097-A215F164DF07@gmx.net> Hi William, If you have a line plot, I would use one single line and set the points of the line to the desired data points. If you have multiple elements, the following might help. I use it to make grids, but I think the principle can be used for charts as well. You'll create a template object, which you clone all the time. For each cloned element, you set the selected to true and when you have enough, you group them (all the selected objects). Then you set the name of the last created group to whatever you like. You can now also delete that group by name. Here's an example : The part in bold is the core of it. The rest you'll need to adapt to your needs on mouseUp set the cursor to busy -- ** Fld "Input" contais data about the grid put line 1 of fld "Input" into OffsetX put line 2 of fld "Input" into OffsetY put line 3 of fld "Input" into NrColums put line 4 of fld "Input" into NrRows put line 5 of fld "Input" into SizeX put line 6 of fld "Input" into SizeY put line 7 of fld "Input" into GridX put line 8 of fld "Input" into GridY put line 9 of fld "Input" into BorderBreedte put line 10 of fld "Input" into NameStart repeat with x = 1 to NrColums repeat with y = 1 to NrRows clone grc "Grc template" -- ** The Template -- ** Stuff to arrange and size the grid cells set the width of it to SizeX set the height it to SizeY set the lineSize of it to BorderBreedte set the left of it to x * GridX - (BorderBreedte * (x-1)) + OffsetX set the bottom of it to y * GridY - (BorderBreedte * (y-1)) + OffsetY set the lockLoc of it to true set the selected of it to true put NameStart & y & "-" & x into tName set the name of it to tName end repeat end repeat group set the name of last group to "GGGG" select empty set the cursor to Arrow end mouseUp Cheers, Beat From MikeKerner at roadrunner.com Mon Sep 8 09:47:40 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 8 Sep 2014 09:47:40 -0400 Subject: Orientation Support Mobile In-Reply-To: References: Message-ID: Thanks, Ralph, now I have something else to try, today! On Mon, Sep 8, 2014 at 1:39 AM, Ralph DiMola wrote: > Mobile Orientation change cookbook: > 1. Device is flipped. > 2. The resizestack message is sent before the card is rendered > (orientationchanged message is sent after). > 2. In the resizestack handler reposition your controls. > 3. During this message no screen updates are done. > 4. The user will see the screen flip with the previous layout. > 5. When the resizestack message completes the new layout is rendered. > 6. Pass the resizestack message after repositioning your controls or > strange things will occur. > > This works equally well with both Android and iOS. > > Now I don't know how this works if you're changing cards as I reposition > controls on the same card. I would guess opening a new card in the > resizestack message will yield similar results. I will try it when I get > back. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > >
-------- Original message --------
From: Mike Kerner < > MikeKerner at roadrunner.com>
Date:09/07/2014 20:38 (GMT-08:00) >
To: How to use LiveCode >
Subject: Re: Orientation Support Mobile
>
Well, for starters: > 1) You can't seem to force LC to render a card in one orientation or the > other and then understand what you're forcing it to do. There doesn't seem > to be a command to do it. MobileSetAllowedOrientations doesn't help. So > if you support P and L, but certain cards are one way and certain the > other, and the app opens in the one you didn't want, you have an issue. > Let's say you do mobileSetAllowedOrientations to portrait, and you flip > the device sideways. When you open the app, the app will render in > portrait, but it will think that its width and height are for landscape, > which makes rendering a bit challenging. > 2) How do you lay out your cards for P and L? You could have custom > properties, (do it the old MG way, before MG stopped supporting rotating), > but that creates a layout issue, in that you have to build the properties > for as many objects as you have on a card, and then deal with rearranging > the layout when the orientation changes. > 3) If you try to overcome #2 with a substack for P and a substack for L, > then you have an event issue, because going from card 1 of substack P to > card 2 of substack L isn't going to send a closeCard event to card 1 of > substack P, which means that if you were using closeCard to dispose of your > native controls...you have to do something else, and the transition isn't > smooth. > 4) There are issues with getting LC to render objects consistently when > switching orientations, which I would imagine is why John stopped > supporting orientation switching in MG. Sometimes, when you rotate the > device, not everything goes where one might hope it would. I still haven't > gotten to the bottom of that one. > > > > On Sun, Sep 7, 2014 at 10:04 PM, Colin Holgate wrote: > > > I have used landscape and portrait in the same app outside of LiveCode, > > and certainly ran into issues. I think that in LiveCode you would want to > > enable all orientations, then listen for the orientationChanged message. > > Then, in theory, you could react accordingly. > > > > Can you go into more detail about issues you?ve hit? > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From andre at andregarzia.com Mon Sep 8 10:12:57 2014 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 8 Sep 2014 11:12:57 -0300 Subject: Calling Andre Garzia In-Reply-To: <1410154342013-4682952.post@n4.nabble.com> References: <1410154342013-4682952.post@n4.nabble.com> Message-ID: Hi Simon, Thanks a lot! Both Richard and Matthias forwarded the thread to me. I've already replied. Damn, the guy sent me a single email that goes to spam and all hell breaks lose. And the worse thing, the problem was not even with my library but with the fact the he is trying to write to read-only folder. Argh! Anyway, thanks a lot folks, I've replied to him and refunded him just to be sure. Don't want unhappy customers. I miss you all and I wish I was there at the conference with you folks! Cheers On Mon, Sep 8, 2014 at 2:32 AM, Simon wrote: > Hi Andre, > There is some guy not very happy with you here: > http://forums.livecode.com/viewtopic.php?f=31&t=21499 > > If any can pass this along directly to Andre I'm sure he'll appreciated > clearing up his good name. > > Simon > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Calling-Andre-Garzia-tp4682952.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Mon Sep 8 10:12:57 2014 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 8 Sep 2014 11:12:57 -0300 Subject: Calling Andre Garzia In-Reply-To: <1410154342013-4682952.post@n4.nabble.com> References: <1410154342013-4682952.post@n4.nabble.com> Message-ID: Hi Simon, Thanks a lot! Both Richard and Matthias forwarded the thread to me. I've already replied. Damn, the guy sent me a single email that goes to spam and all hell breaks lose. And the worse thing, the problem was not even with my library but with the fact the he is trying to write to read-only folder. Argh! Anyway, thanks a lot folks, I've replied to him and refunded him just to be sure. Don't want unhappy customers. I miss you all and I wish I was there at the conference with you folks! Cheers On Mon, Sep 8, 2014 at 2:32 AM, Simon wrote: > Hi Andre, > There is some guy not very happy with you here: > http://forums.livecode.com/viewtopic.php?f=31&t=21499 > > If any can pass this along directly to Andre I'm sure he'll appreciated > clearing up his good name. > > Simon > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Calling-Andre-Garzia-tp4682952.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From prothero at earthednet.org Mon Sep 8 10:40:08 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 8 Sep 2014 07:40:08 -0700 Subject: Making data plots In-Reply-To: <919AD27C-3AF6-4933-8097-A215F164DF07@gmx.net> References: <919AD27C-3AF6-4933-8097-A215F164DF07@gmx.net> Message-ID: <5801E2E7-A514-48D0-A201-64C2EC239599@earthednet.org> Folks, Thanks for all the good ideas. For line plots, I do create a line and set the points of the line to the values I want. For plots with discrete symbols (there may be many thousands), I draw directly into an image using a derivative of code I got from Colin's simple draw program. This works well, but I noticed a huge slowdown going to livecode 7, so I'll have to spend some time optimizing my repeat loops. Grouping plot elements will simplify my code, and since I rely heavily on snapshots, I really appreciate that the dev team did some work to make it more robust. Thanks again for the ideas and help. Bill William Prothero http://es.earthednet.org > On Sep 8, 2014, at 3:44 AM, Beat Cornaz wrote: > > Hi William, > > If you have a line plot, I would use one single line and set the points of the line to the desired data points. > > If you have multiple elements, the following might help. I use it to make grids, but I think the principle can be used for charts as well. > > You'll create a template object, which you clone all the time. For each cloned element, you set the selected to true and when you have enough, you group them (all the selected objects). Then you set the name of the last created group to whatever you like. You can now also delete that group by name. > > Here's an example : The part in bold is the core of it. The rest you'll need to adapt to your needs > > > on mouseUp > > set the cursor to busy > > -- ** Fld "Input" contais data about the grid > > put line 1 of fld "Input" into OffsetX > put line 2 of fld "Input" into OffsetY > put line 3 of fld "Input" into NrColums > put line 4 of fld "Input" into NrRows > put line 5 of fld "Input" into SizeX > put line 6 of fld "Input" into SizeY > put line 7 of fld "Input" into GridX > put line 8 of fld "Input" into GridY > put line 9 of fld "Input" into BorderBreedte > put line 10 of fld "Input" into NameStart > > > repeat with x = 1 to NrColums > > repeat with y = 1 to NrRows > clone grc "Grc template" -- ** The Template > > -- ** Stuff to arrange and size the grid cells > set the width of it to SizeX > set the height it to SizeY > set the lineSize of it to BorderBreedte > set the left of it to x * GridX - (BorderBreedte * (x-1)) + OffsetX > set the bottom of it to y * GridY - (BorderBreedte * (y-1)) + OffsetY > > set the lockLoc of it to true > > set the selected of it to true > put NameStart & y & "-" & x into tName > set the name of it to tName > > end repeat > end repeat > > group > set the name of last group to "GGGG" > select empty > > set the cursor to Arrow > end mouseUp > > > Cheers, Beat > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Sep 8 10:47:04 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Sep 2014 09:47:04 -0500 Subject: Calling Andre Garzia In-Reply-To: References: <1410154342013-4682952.post@n4.nabble.com> Message-ID: <17722916-fec3-4c38-b07b-7ca392fab671@email.android.com> We missed you too. We're a great group full of interesting people, but it just wasn't the same without you. On September 8, 2014 9:12:57 AM CDT, Andre Garzia wrote: >Hi Simon, > >Thanks a lot! Both Richard and Matthias forwarded the thread to me. >I've >already replied. > >Damn, the guy sent me a single email that goes to spam and all hell >breaks >lose. And the worse thing, the problem was not even with my library but >with the fact the he is trying to write to read-only folder. Argh! > >Anyway, thanks a lot folks, I've replied to him and refunded him just >to be >sure. Don't want unhappy customers. > >I miss you all and I wish I was there at the conference with you folks! > >Cheers > > > >On Mon, Sep 8, 2014 at 2:32 AM, Simon wrote: > >> Hi Andre, >> There is some guy not very happy with you here: >> http://forums.livecode.com/viewtopic.php?f=31&t=21499 >> >> If any can pass this along directly to Andre I'm sure he'll >appreciated >> clearing up his good name. >> >> Simon >> >> >> >> -- >> View this message in context: >> >http://runtime-revolution.278305.n4.nabble.com/Calling-Andre-Garzia-tp4682952.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Mon Sep 8 11:35:37 2014 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 8 Sep 2014 17:35:37 +0200 Subject: preOpenStack In-Reply-To: <540CD9BD.101@hyperactivesw.com> References: <540CC248.2070702@fourthworld.com> <01E2FC36-1C59-48E6-BD35-A8B0A1963E5D@earthednet.org> <540CD9BD.101@hyperactivesw.com> Message-ID: On 07.09.2014 at 17:18 Uhr -0500 J. Landman Gay apparently wrote: > >It seemed non-intuitive to me too that you could put a preOpenStack >handler in a card, because the card wasn't open yet. That was >wrong-thinking. I asked Mark Waddingham about it some years ago and >he said that the entire stack has to load at once when it opens, >otherwise there would be no way a script could manage any of the >objects or card properties. The messages are sent in a specific >order, but in reality the entire structure is already in RAM before >the messaging starts. > It helps to mentally distinguish between loading the stack in memory, which happens before anything else as Jacqie says above, and rendering it on the screen, which is interwoven with certain messages. RObert From ambassador at fourthworld.com Mon Sep 8 11:44:27 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 08 Sep 2014 08:44:27 -0700 Subject: Calling Andre Garzia In-Reply-To: References: Message-ID: <540DCEDB.8040605@fourthworld.com> Andre Garzia wrote: > I miss you all and I wish I was there at the conference with you > folks! We sure missed you too - and it occurred to me that this conference represented a milestone of sorts for Kevin: The very first LC conference was organized by Dan Shafer and Chipp Walters at a B&B in Monterrey, a small group which Kevin wasn't part of. But Andre was there, and AFAIK has attended every other conference since until this most recent one. So at this point Kevin is now tied with Andre for record attendance at LiveCode conferences. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From rdimola at evergreeninfo.net Mon Sep 8 13:02:36 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Sep 2014 13:02:36 -0400 Subject: Orientation Support Mobile In-Reply-To: References: Message-ID: <00c501cfcb86$b0ecd140$12c673c0$@net> Mike, When you are processing the resizestack message you can determine the orientation using mobileOrientation(). Or better use my PorL() function(included in the simulcast materials) so you can test in the IDE and know what it will look like on the mobile device. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner Sent: Monday, September 08, 2014 9:48 AM To: How to use LiveCode Subject: Re: Orientation Support Mobile Thanks, Ralph, now I have something else to try, today! On Mon, Sep 8, 2014 at 1:39 AM, Ralph DiMola wrote: > Mobile Orientation change cookbook: > 1. Device is flipped. > 2. The resizestack message is sent before the card is rendered > (orientationchanged message is sent after). > 2. In the resizestack handler reposition your controls. > 3. During this message no screen updates are done. > 4. The user will see the screen flip with the previous layout. > 5. When the resizestack message completes the new layout is rendered. > 6. Pass the resizestack message after repositioning your controls or > strange things will occur. > > This works equally well with both Android and iOS. > > Now I don't know how this works if you're changing cards as I > reposition controls on the same card. I would guess opening a new card > in the resizestack message will yield similar results. I will try it > when I get back. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > >
-------- Original message --------
From: Mike Kerner < > MikeKerner at roadrunner.com>
Date:09/07/2014 20:38 > (GMT-08:00) >
To: How to use LiveCode >
Subject: Re: Orientation Support Mobile
>
Well, for starters: > 1) You can't seem to force LC to render a card in one orientation or > the other and then understand what you're forcing it to do. There > doesn't seem to be a command to do it. MobileSetAllowedOrientations > doesn't help. So if you support P and L, but certain cards are one > way and certain the other, and the app opens in the one you didn't want, you have an issue. > Let's say you do mobileSetAllowedOrientations to portrait, and you > flip the device sideways. When you open the app, the app will render > in portrait, but it will think that its width and height are for > landscape, which makes rendering a bit challenging. > 2) How do you lay out your cards for P and L? You could have custom > properties, (do it the old MG way, before MG stopped supporting > rotating), but that creates a layout issue, in that you have to build > the properties for as many objects as you have on a card, and then > deal with rearranging the layout when the orientation changes. > 3) If you try to overcome #2 with a substack for P and a substack for > L, then you have an event issue, because going from card 1 of substack > P to card 2 of substack L isn't going to send a closeCard event to > card 1 of substack P, which means that if you were using closeCard to > dispose of your native controls...you have to do something else, and > the transition isn't smooth. > 4) There are issues with getting LC to render objects consistently > when switching orientations, which I would imagine is why John stopped > supporting orientation switching in MG. Sometimes, when you rotate > the device, not everything goes where one might hope it would. I > still haven't gotten to the bottom of that one. > > > > On Sun, Sep 7, 2014 at 10:04 PM, Colin Holgate wrote: > > > I have used landscape and portrait in the same app outside of > > LiveCode, and certainly ran into issues. I think that in LiveCode > > you would want to enable all orientations, then listen for the orientationChanged message. > > Then, in theory, you could react accordingly. > > > > Can you go into more detail about issues you?ve hit? > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth On the second > day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Mon Sep 8 13:13:28 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 8 Sep 2014 13:13:28 -0400 Subject: Calling Andre Garzia In-Reply-To: <540DCEDB.8040605@fourthworld.com> References: <540DCEDB.8040605@fourthworld.com> Message-ID: On Mon, Sep 8, 2014 at 11:44 AM, Richard Gaskin wrote: > > So at this point Kevin is now tied with Andre for record attendance at > LiveCode conferences. :) It may be a 3-way tie. I think I've only missed Malta :-) -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From MikeKerner at roadrunner.com Mon Sep 8 13:23:45 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 8 Sep 2014 13:23:45 -0400 Subject: Orientation Support Mobile In-Reply-To: <00c501cfcb86$b0ecd140$12c673c0$@net> References: <00c501cfcb86$b0ecd140$12c673c0$@net> Message-ID: Yes, I know I can see what the orientation is, but it's the forcing of some cards to render a certain way, no matter what that is causing a problem. On Mon, Sep 8, 2014 at 1:02 PM, Ralph DiMola wrote: > Mike, > When you are processing the resizestack message you can determine the > orientation using mobileOrientation(). Or better use my PorL() > function(included in the simulcast materials) so you can test in the IDE > and know what it will look like on the mobile device. > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of Mike Kerner > Sent: Monday, September 08, 2014 9:48 AM > To: How to use LiveCode > Subject: Re: Orientation Support Mobile > > Thanks, Ralph, now I have something else to try, today! > > On Mon, Sep 8, 2014 at 1:39 AM, Ralph DiMola > wrote: > > > Mobile Orientation change cookbook: > > 1. Device is flipped. > > 2. The resizestack message is sent before the card is rendered > > (orientationchanged message is sent after). > > 2. In the resizestack handler reposition your controls. > > 3. During this message no screen updates are done. > > 4. The user will see the screen flip with the previous layout. > > 5. When the resizestack message completes the new layout is rendered. > > 6. Pass the resizestack message after repositioning your controls or > > strange things will occur. > > > > This works equally well with both Android and iOS. > > > > Now I don't know how this works if you're changing cards as I > > reposition controls on the same card. I would guess opening a new card > > in the resizestack message will yield similar results. I will try it > > when I get back. > > > > Ralph DiMola > > IT Director > > Evergreen Information Services > > rdimola at evergreeninfo.net > > > > > > > > > >
-------- Original message --------
From: Mike Kerner < > > MikeKerner at roadrunner.com>
Date:09/07/2014 20:38 > > (GMT-08:00) > >
To: How to use LiveCode > >
Subject: Re: Orientation Support Mobile
> >
Well, for starters: > > 1) You can't seem to force LC to render a card in one orientation or > > the other and then understand what you're forcing it to do. There > > doesn't seem to be a command to do it. MobileSetAllowedOrientations > > doesn't help. So if you support P and L, but certain cards are one > > way and certain the other, and the app opens in the one you didn't want, > you have an issue. > > Let's say you do mobileSetAllowedOrientations to portrait, and you > > flip the device sideways. When you open the app, the app will render > > in portrait, but it will think that its width and height are for > > landscape, which makes rendering a bit challenging. > > 2) How do you lay out your cards for P and L? You could have custom > > properties, (do it the old MG way, before MG stopped supporting > > rotating), but that creates a layout issue, in that you have to build > > the properties for as many objects as you have on a card, and then > > deal with rearranging the layout when the orientation changes. > > 3) If you try to overcome #2 with a substack for P and a substack for > > L, then you have an event issue, because going from card 1 of substack > > P to card 2 of substack L isn't going to send a closeCard event to > > card 1 of substack P, which means that if you were using closeCard to > > dispose of your native controls...you have to do something else, and > > the transition isn't smooth. > > 4) There are issues with getting LC to render objects consistently > > when switching orientations, which I would imagine is why John stopped > > supporting orientation switching in MG. Sometimes, when you rotate > > the device, not everything goes where one might hope it would. I > > still haven't gotten to the bottom of that one. > > > > > > > > On Sun, Sep 7, 2014 at 10:04 PM, Colin Holgate > wrote: > > > > > I have used landscape and portrait in the same app outside of > > > LiveCode, and certainly ran into issues. I think that in LiveCode > > > you would want to enable all orientations, then listen for the > orientationChanged message. > > > Then, in theory, you could react accordingly. > > > > > > Can you go into more detail about issues you?ve hit? > > > > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > > > -- > > On the first day, God created the heavens and the Earth On the second > > day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth On the second day, > God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From larry at significantplanet.org Mon Sep 8 13:43:06 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 8 Sep 2014 11:43:06 -0600 Subject: icon sizes Message-ID: does anyone know the sizes needed to include an icon in a Windows build? thanks p.s. why does LC make this information so difficult to find? From MikeKerner at roadrunner.com Mon Sep 8 13:57:00 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 8 Sep 2014 13:57:00 -0400 Subject: Orientation Support Mobile In-Reply-To: References: <00c501cfcb86$b0ecd140$12c673c0$@net> Message-ID: Also, Ralph, to your original suggestion, I'm not looking to support orientation changing, initially, I'm looking to have some cards render one way and some the other way. When you have everything accept both orientations, you wind up with a situation where you also have to move controls to support the keyboard on the bottom of the screen, especially in landscape. On Mon, Sep 8, 2014 at 1:23 PM, Mike Kerner wrote: > Yes, I know I can see what the orientation is, but it's the forcing of > some cards to render a certain way, no matter what that is causing a > problem. > > On Mon, Sep 8, 2014 at 1:02 PM, Ralph DiMola > wrote: > >> Mike, >> When you are processing the resizestack message you can determine the >> orientation using mobileOrientation(). Or better use my PorL() >> function(included in the simulcast materials) so you can test in the IDE >> and know what it will look like on the mobile device. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of Mike Kerner >> Sent: Monday, September 08, 2014 9:48 AM >> To: How to use LiveCode >> Subject: Re: Orientation Support Mobile >> >> Thanks, Ralph, now I have something else to try, today! >> >> On Mon, Sep 8, 2014 at 1:39 AM, Ralph DiMola >> wrote: >> >> > Mobile Orientation change cookbook: >> > 1. Device is flipped. >> > 2. The resizestack message is sent before the card is rendered >> > (orientationchanged message is sent after). >> > 2. In the resizestack handler reposition your controls. >> > 3. During this message no screen updates are done. >> > 4. The user will see the screen flip with the previous layout. >> > 5. When the resizestack message completes the new layout is rendered. >> > 6. Pass the resizestack message after repositioning your controls or >> > strange things will occur. >> > >> > This works equally well with both Android and iOS. >> > >> > Now I don't know how this works if you're changing cards as I >> > reposition controls on the same card. I would guess opening a new card >> > in the resizestack message will yield similar results. I will try it >> > when I get back. >> > >> > Ralph DiMola >> > IT Director >> > Evergreen Information Services >> > rdimola at evergreeninfo.net >> > >> > >> > >> > >> >
-------- Original message --------
From: Mike Kerner < >> > MikeKerner at roadrunner.com>
Date:09/07/2014 20:38 >> > (GMT-08:00) >> >
To: How to use LiveCode >> >
Subject: Re: Orientation Support Mobile
>> >
Well, for starters: >> > 1) You can't seem to force LC to render a card in one orientation or >> > the other and then understand what you're forcing it to do. There >> > doesn't seem to be a command to do it. MobileSetAllowedOrientations >> > doesn't help. So if you support P and L, but certain cards are one >> > way and certain the other, and the app opens in the one you didn't >> want, you have an issue. >> > Let's say you do mobileSetAllowedOrientations to portrait, and you >> > flip the device sideways. When you open the app, the app will render >> > in portrait, but it will think that its width and height are for >> > landscape, which makes rendering a bit challenging. >> > 2) How do you lay out your cards for P and L? You could have custom >> > properties, (do it the old MG way, before MG stopped supporting >> > rotating), but that creates a layout issue, in that you have to build >> > the properties for as many objects as you have on a card, and then >> > deal with rearranging the layout when the orientation changes. >> > 3) If you try to overcome #2 with a substack for P and a substack for >> > L, then you have an event issue, because going from card 1 of substack >> > P to card 2 of substack L isn't going to send a closeCard event to >> > card 1 of substack P, which means that if you were using closeCard to >> > dispose of your native controls...you have to do something else, and >> > the transition isn't smooth. >> > 4) There are issues with getting LC to render objects consistently >> > when switching orientations, which I would imagine is why John stopped >> > supporting orientation switching in MG. Sometimes, when you rotate >> > the device, not everything goes where one might hope it would. I >> > still haven't gotten to the bottom of that one. >> > >> > >> > >> > On Sun, Sep 7, 2014 at 10:04 PM, Colin Holgate >> wrote: >> > >> > > I have used landscape and portrait in the same app outside of >> > > LiveCode, and certainly ran into issues. I think that in LiveCode >> > > you would want to enable all orientations, then listen for the >> orientationChanged message. >> > > Then, in theory, you could react accordingly. >> > > >> > > Can you go into more detail about issues you?ve hit? >> > > >> > > >> > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > >> > >> > >> > -- >> > On the first day, God created the heavens and the Earth On the second >> > day, God created the oceans. >> > On the third day, God put the animals on hold for a few hours, >> > and did a little diving. >> > And God said, "This is good." >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> -- >> On the first day, God created the heavens and the Earth On the second >> day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From alex at tweedly.net Mon Sep 8 14:00:56 2014 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 08 Sep 2014 19:00:56 +0100 Subject: Calling Andre Garzia In-Reply-To: References: <540DCEDB.8040605@fourthworld.com> Message-ID: <540DEED8.5060604@tweedly.net> On 08/09/2014 18:13, Trevor DeVore wrote: > On Mon, Sep 8, 2014 at 11:44 AM, Richard Gaskin > wrote: > >> So at this point Kevin is now tied with Andre for record attendance at >> LiveCode conferences. :) > > It may be a 3-way tie. I think I've only missed Malta :-) > Which Malta ? 2004 or 2006 ? or both ? in which case maybe it's not a 3-way tie :-) Either way, I'm jealous of anyone who gets to attend the US conferences :-( -- Alex From charles at buchwald.ca Mon Sep 8 14:20:11 2014 From: charles at buchwald.ca (Charles E Buchwald) Date: Mon, 8 Sep 2014 13:20:11 -0500 Subject: icon sizes In-Reply-To: References: Message-ID: Hi Larry, Is this helpful? http://buchwald.ca/lc/Windows-Icons.png - Charles On 08 Sep 2014, at 12:43 PM, larry at significantplanet.org wrote: > does anyone know the sizes needed to include an icon in a Windows build? > > thanks > > p.s. why does LC make this information so difficult to find? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Mac OSX 10.9.4, LC 6.6.2 Commercial LC Developer Tools: http://buchwald.ca Email Notice: http://wp.me/P3aT4d-33 From larry at significantplanet.org Mon Sep 8 14:29:46 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 8 Sep 2014 12:29:46 -0600 Subject: icon sizes References: Message-ID: <3008A4F53B7240A1B7B9B35190267D2A@userd204a4d61c> Yes, Thanks Charles Larry ----- Original Message ----- From: "Charles E Buchwald" To: "How to use LiveCode" Sent: Monday, September 08, 2014 12:20 PM Subject: Re: icon sizes > Hi Larry, > Is this helpful? > http://buchwald.ca/lc/Windows-Icons.png > - Charles > > On 08 Sep 2014, at 12:43 PM, larry at significantplanet.org wrote: > >> does anyone know the sizes needed to include an icon in a Windows build? >> >> thanks >> >> p.s. why does LC make this information so difficult to find? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Charles E. Buchwald > CEO/Director General > Museografica Digital > http://digital.museografica.com > > Mac OSX 10.9.4, LC 6.6.2 Commercial > > LC Developer Tools: http://buchwald.ca > > Email Notice: http://wp.me/P3aT4d-33 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Mon Sep 8 14:30:08 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 8 Sep 2014 14:30:08 -0400 Subject: Orientation Support Mobile In-Reply-To: References: <00c501cfcb86$b0ecd140$12c673c0$@net> Message-ID: Try this: 1) create a stack 2) set the dimensions to ipad (1024x768), just because 3) Set the background color to whatever you want 4) Toss a button on the top, left, right, and bottom, just so you can have a reference point 5) set standalone for your mobile platform (i did ios, and targeted ipad) 6) Test Now rotate the screen around Everything looks ok, with the exception of the buttons not moving around (which is fine, that wasn't the point - the point was that this looks like we expected it to look) NOW, go into the stack script on preOpenStack mobileSetAllowedOrientations "portrait" end preOpenStack Now rotate the simulator so it is in either left or right landscape, exit the app, and test again. The simulator will re-orient itself into portrait, with a 254 pixel black bottom border. On the device, it does indeed orient the app in portrait, even if the device is sitting in landscape, with the black border occupying the bottom 254 or so pixels. On Mon, Sep 8, 2014 at 1:57 PM, Mike Kerner wrote: > Also, Ralph, to your original suggestion, I'm not looking to support > orientation changing, initially, I'm looking to have some cards render one > way and some the other way. When you have everything accept both > orientations, you wind up with a situation where you also have to move > controls to support the keyboard on the bottom of the screen, especially in > landscape. > > On Mon, Sep 8, 2014 at 1:23 PM, Mike Kerner > wrote: > >> Yes, I know I can see what the orientation is, but it's the forcing of >> some cards to render a certain way, no matter what that is causing a >> problem. >> >> On Mon, Sep 8, 2014 at 1:02 PM, Ralph DiMola >> wrote: >> >>> Mike, >>> When you are processing the resizestack message you can determine the >>> orientation using mobileOrientation(). Or better use my PorL() function(included >>> in the simulcast materials) so you can test in the IDE and know what it >>> will look like on the mobile device. >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >>> >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>> Behalf Of Mike Kerner >>> Sent: Monday, September 08, 2014 9:48 AM >>> To: How to use LiveCode >>> Subject: Re: Orientation Support Mobile >>> >>> Thanks, Ralph, now I have something else to try, today! >>> >>> On Mon, Sep 8, 2014 at 1:39 AM, Ralph DiMola >> > >>> wrote: >>> >>> > Mobile Orientation change cookbook: >>> > 1. Device is flipped. >>> > 2. The resizestack message is sent before the card is rendered >>> > (orientationchanged message is sent after). >>> > 2. In the resizestack handler reposition your controls. >>> > 3. During this message no screen updates are done. >>> > 4. The user will see the screen flip with the previous layout. >>> > 5. When the resizestack message completes the new layout is rendered. >>> > 6. Pass the resizestack message after repositioning your controls or >>> > strange things will occur. >>> > >>> > This works equally well with both Android and iOS. >>> > >>> > Now I don't know how this works if you're changing cards as I >>> > reposition controls on the same card. I would guess opening a new card >>> > in the resizestack message will yield similar results. I will try it >>> > when I get back. >>> > >>> > Ralph DiMola >>> > IT Director >>> > Evergreen Information Services >>> > rdimola at evergreeninfo.net >>> > >>> > >>> > >>> > >>> >
-------- Original message --------
From: Mike Kerner < >>> > MikeKerner at roadrunner.com>
Date:09/07/2014 20:38 >>> > (GMT-08:00) >>> >
To: How to use LiveCode >>> >
Subject: Re: Orientation Support Mobile
>>> >
Well, for starters: >>> > 1) You can't seem to force LC to render a card in one orientation or >>> > the other and then understand what you're forcing it to do. There >>> > doesn't seem to be a command to do it. MobileSetAllowedOrientations >>> > doesn't help. So if you support P and L, but certain cards are one >>> > way and certain the other, and the app opens in the one you didn't >>> want, you have an issue. >>> > Let's say you do mobileSetAllowedOrientations to portrait, and you >>> > flip the device sideways. When you open the app, the app will render >>> > in portrait, but it will think that its width and height are for >>> > landscape, which makes rendering a bit challenging. >>> > 2) How do you lay out your cards for P and L? You could have custom >>> > properties, (do it the old MG way, before MG stopped supporting >>> > rotating), but that creates a layout issue, in that you have to build >>> > the properties for as many objects as you have on a card, and then >>> > deal with rearranging the layout when the orientation changes. >>> > 3) If you try to overcome #2 with a substack for P and a substack for >>> > L, then you have an event issue, because going from card 1 of substack >>> > P to card 2 of substack L isn't going to send a closeCard event to >>> > card 1 of substack P, which means that if you were using closeCard to >>> > dispose of your native controls...you have to do something else, and >>> > the transition isn't smooth. >>> > 4) There are issues with getting LC to render objects consistently >>> > when switching orientations, which I would imagine is why John stopped >>> > supporting orientation switching in MG. Sometimes, when you rotate >>> > the device, not everything goes where one might hope it would. I >>> > still haven't gotten to the bottom of that one. >>> > >>> > >>> > >>> > On Sun, Sep 7, 2014 at 10:04 PM, Colin Holgate >>> wrote: >>> > >>> > > I have used landscape and portrait in the same app outside of >>> > > LiveCode, and certainly ran into issues. I think that in LiveCode >>> > > you would want to enable all orientations, then listen for the >>> orientationChanged message. >>> > > Then, in theory, you could react accordingly. >>> > > >>> > > Can you go into more detail about issues you?ve hit? >>> > > >>> > > >>> > > >>> > > _______________________________________________ >>> > > use-livecode mailing list >>> > > use-livecode at lists.runrev.com >>> > > Please visit this url to subscribe, unsubscribe and manage your >>> > > subscription preferences: >>> > > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > > >>> > >>> > >>> > >>> > -- >>> > On the first day, God created the heavens and the Earth On the second >>> > day, God created the oceans. >>> > On the third day, God put the animals on hold for a few hours, >>> > and did a little diving. >>> > And God said, "This is good." >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode at lists.runrev.com >>> > Please visit this url to subscribe, unsubscribe and manage your >>> > subscription preferences: >>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode at lists.runrev.com >>> > Please visit this url to subscribe, unsubscribe and manage your >>> > subscription preferences: >>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > >>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth On the second >>> day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Mon Sep 8 14:32:59 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Sep 2014 13:32:59 -0500 Subject: Orientation Support Mobile In-Reply-To: References: Message-ID: <540DF65B.2020800@hyperactivesw.com> On 9/8/2014, 12:39 AM, Ralph DiMola wrote: > 2. The resizestack message is sent before the card is rendered (orientationchanged message is sent after). I thought it was the other way around and the orientationChanged message should really be called "orientationAboutToChange". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 8 14:33:35 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Sep 2014 13:33:35 -0500 Subject: Calling Andre Garzia In-Reply-To: References: <540DCEDB.8040605@fourthworld.com> Message-ID: <540DF67F.2060700@hyperactivesw.com> On 9/8/2014, 12:13 PM, Trevor DeVore wrote: > On Mon, Sep 8, 2014 at 11:44 AM, Richard Gaskin > wrote: > >> >> So at this point Kevin is now tied with Andre for record attendance at >> LiveCode conferences. :) > > > It may be a 3-way tie. I think I've only missed Malta :-) > I missed the first one too. Four-way tie. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rdimola at evergreeninfo.net Mon Sep 8 14:48:50 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Sep 2014 14:48:50 -0400 Subject: Orientation Support Mobile In-Reply-To: <540DF65B.2020800@hyperactivesw.com> References: <540DF65B.2020800@hyperactivesw.com> Message-ID: <00d701cfcb95$88200840$986018c0$@net> You are correct. What I meant was that the rect of the card is still the old rect when that message starts. That message should have a synonym of orientationAboutToChange. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Monday, September 08, 2014 2:33 PM To: How to use LiveCode Subject: Re: Orientation Support Mobile On 9/8/2014, 12:39 AM, Ralph DiMola wrote: > 2. The resizestack message is sent before the card is rendered (orientationchanged message is sent after). I thought it was the other way around and the orientationChanged message should really be called "orientationAboutToChange". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Mon Sep 8 14:51:59 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 8 Sep 2014 14:51:59 -0400 Subject: Calling Andre Garzia In-Reply-To: <540DEED8.5060604@tweedly.net> References: <540DCEDB.8040605@fourthworld.com> <540DEED8.5060604@tweedly.net> Message-ID: On Monday, September 8, 2014, Alex Tweedly wrote: > > >> Which Malta ? 2004 or 2006 ? > or both ? > in which case maybe it's not a 3-way tie :-) > There were 2 of them? I'm out of the running then :-) -- Trevor DeVore From rdimola at evergreeninfo.net Mon Sep 8 15:01:37 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Sep 2014 15:01:37 -0400 Subject: Orientation Support Mobile In-Reply-To: References: <00c501cfcb86$b0ecd140$12c673c0$@net> Message-ID: <00d801cfcb97$51167440$f3435cc0$@net> I have a handler the returns the rect of the card and has an option of returning 1)the remain card area 2) original size but the top is off the screen (negative items 1 and 3) 3) ignore the keyboard altogether. Also an additional offset is implemented. See below. function getCardRect local r1 , r2 , r3 , r4 , tR2 , tR4 --return the rect of this card if the environment is not "mobile" then put item 1 of the rect of this card into R1 put item 2 of the rect of this card into R2 put item 3 of the rect of this card into R3 put item 4 of the rect of this card into R4 else -- Mobile if the ignorekeyboard of this stack then put item 1 of the rect of this stack into R1 put item 2 of the rect of this stack into R2 put item 3 of the rect of this stack into R3 put item 4 of the rect of this stack into R4 else -- Don't Ignore Keyboard put 0 into R1 put item 3 of the effective working screenrect - item 1 of the effective working screenrect into R3 if the ShrinkKeyboard of this stack then -- Shrink Keyboard put 0 into R2 put item 4 of the effective working screenrect - item 2 of the effective working screenrect into R4 else -- Don?t but move top off screen put (item 4 of the effective working screenrect - item 2 of the effective working screenrect) - item 4 of the rect of this stack into R2 put item 4 of the effective working screenrect - item 2 of the effective working screenrect into R4 if the KeyboardOffet of this stack is not empty and the KeyboardOffet of this stack is a number then put (item 2 of the rect of this stack - the KeyboardOffet of this stack) into tR2 put (item 4 of the rect of this stack - the KeyboardOffet of this stack) into tR4 if tR2 >= R2 then put tR2 into R2 put tR4 into R4 end if -- Offset out of range end if -- Keyboard Offset end if -- Shrink Keyboard end if --Ignore Keyboard end if -- Mobile return (R1,R2,R3,R4) end getCardRect Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner Sent: Monday, September 08, 2014 1:57 PM To: How to use LiveCode Subject: Re: Orientation Support Mobile Also, Ralph, to your original suggestion, I'm not looking to support orientation changing, initially, I'm looking to have some cards render one way and some the other way. When you have everything accept both orientations, you wind up with a situation where you also have to move controls to support the keyboard on the bottom of the screen, especially in landscape. On Mon, Sep 8, 2014 at 1:23 PM, Mike Kerner wrote: > Yes, I know I can see what the orientation is, but it's the forcing of > some cards to render a certain way, no matter what that is causing a > problem. > > On Mon, Sep 8, 2014 at 1:02 PM, Ralph DiMola > > wrote: > >> Mike, >> When you are processing the resizestack message you can determine the >> orientation using mobileOrientation(). Or better use my PorL() >> function(included in the simulcast materials) so you can test in the >> IDE and know what it will look like on the mobile device. >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of Mike Kerner >> Sent: Monday, September 08, 2014 9:48 AM >> To: How to use LiveCode >> Subject: Re: Orientation Support Mobile >> >> Thanks, Ralph, now I have something else to try, today! >> >> On Mon, Sep 8, 2014 at 1:39 AM, Ralph DiMola >> >> wrote: >> >> > Mobile Orientation change cookbook: >> > 1. Device is flipped. >> > 2. The resizestack message is sent before the card is rendered >> > (orientationchanged message is sent after). >> > 2. In the resizestack handler reposition your controls. >> > 3. During this message no screen updates are done. >> > 4. The user will see the screen flip with the previous layout. >> > 5. When the resizestack message completes the new layout is rendered. >> > 6. Pass the resizestack message after repositioning your controls >> > or strange things will occur. >> > >> > This works equally well with both Android and iOS. >> > >> > Now I don't know how this works if you're changing cards as I >> > reposition controls on the same card. I would guess opening a new >> > card in the resizestack message will yield similar results. I will >> > try it when I get back. >> > >> > Ralph DiMola >> > IT Director >> > Evergreen Information Services >> > rdimola at evergreeninfo.net >> > >> > >> > >> > >> >
-------- Original message --------
From: Mike Kerner >> > < MikeKerner at roadrunner.com>
Date:09/07/2014 20:38 >> > (GMT-08:00) >> >
To: How to use LiveCode >> >
Subject: Re: Orientation Support Mobile
>> >
Well, for starters: >> > 1) You can't seem to force LC to render a card in one orientation >> > or the other and then understand what you're forcing it to do. >> > There doesn't seem to be a command to do it. >> > MobileSetAllowedOrientations doesn't help. So if you support P and >> > L, but certain cards are one way and certain the other, and the app >> > opens in the one you didn't >> want, you have an issue. >> > Let's say you do mobileSetAllowedOrientations to portrait, and you >> > flip the device sideways. When you open the app, the app will >> > render in portrait, but it will think that its width and height are >> > for landscape, which makes rendering a bit challenging. >> > 2) How do you lay out your cards for P and L? You could have >> > custom properties, (do it the old MG way, before MG stopped >> > supporting rotating), but that creates a layout issue, in that you >> > have to build the properties for as many objects as you have on a >> > card, and then deal with rearranging the layout when the orientation changes. >> > 3) If you try to overcome #2 with a substack for P and a substack >> > for L, then you have an event issue, because going from card 1 of >> > substack P to card 2 of substack L isn't going to send a closeCard >> > event to card 1 of substack P, which means that if you were using >> > closeCard to dispose of your native controls...you have to do >> > something else, and the transition isn't smooth. >> > 4) There are issues with getting LC to render objects consistently >> > when switching orientations, which I would imagine is why John >> > stopped supporting orientation switching in MG. Sometimes, when >> > you rotate the device, not everything goes where one might hope it >> > would. I still haven't gotten to the bottom of that one. >> > >> > >> > >> > On Sun, Sep 7, 2014 at 10:04 PM, Colin Holgate >> wrote: >> > >> > > I have used landscape and portrait in the same app outside of >> > > LiveCode, and certainly ran into issues. I think that in LiveCode >> > > you would want to enable all orientations, then listen for the >> orientationChanged message. >> > > Then, in theory, you could react accordingly. >> > > >> > > Can you go into more detail about issues you?ve hit? >> > > >> > > >> > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > >> > >> > >> > -- >> > On the first day, God created the heavens and the Earth On the >> > second day, God created the oceans. >> > On the third day, God put the animals on hold for a few hours, >> > and did a little diving. >> > And God said, "This is good." >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> -- >> On the first day, God created the heavens and the Earth On the second >> day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth On the second > day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Sep 8 15:02:53 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Sep 2014 15:02:53 -0400 Subject: Orientation Support Mobile In-Reply-To: References: <00c501cfcb86$b0ecd140$12c673c0$@net> Message-ID: <00d901cfcb97$7ead2390$7c076ab0$@net> I still haven't found out how to force a rotation like Netflix. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner Sent: Monday, September 08, 2014 2:30 PM To: How to use LiveCode Subject: Re: Orientation Support Mobile Try this: 1) create a stack 2) set the dimensions to ipad (1024x768), just because 3) Set the background color to whatever you want 4) Toss a button on the top, left, right, and bottom, just so you can have a reference point 5) set standalone for your mobile platform (i did ios, and targeted ipad) 6) Test Now rotate the screen around Everything looks ok, with the exception of the buttons not moving around (which is fine, that wasn't the point - the point was that this looks like we expected it to look) NOW, go into the stack script on preOpenStack mobileSetAllowedOrientations "portrait" end preOpenStack Now rotate the simulator so it is in either left or right landscape, exit the app, and test again. The simulator will re-orient itself into portrait, with a 254 pixel black bottom border. On the device, it does indeed orient the app in portrait, even if the device is sitting in landscape, with the black border occupying the bottom 254 or so pixels. On Mon, Sep 8, 2014 at 1:57 PM, Mike Kerner wrote: > Also, Ralph, to your original suggestion, I'm not looking to support > orientation changing, initially, I'm looking to have some cards render > one way and some the other way. When you have everything accept both > orientations, you wind up with a situation where you also have to move > controls to support the keyboard on the bottom of the screen, > especially in landscape. > > On Mon, Sep 8, 2014 at 1:23 PM, Mike Kerner > > wrote: > >> Yes, I know I can see what the orientation is, but it's the forcing >> of some cards to render a certain way, no matter what that is causing >> a problem. >> >> On Mon, Sep 8, 2014 at 1:02 PM, Ralph DiMola >> >> wrote: >> >>> Mike, >>> When you are processing the resizestack message you can determine >>> the orientation using mobileOrientation(). Or better use my PorL() >>> function(included in the simulcast materials) so you can test in the >>> IDE and know what it will look like on the mobile device. >>> >>> Ralph DiMola >>> IT Director >>> Evergreen Information Services >>> rdimola at evergreeninfo.net >>> >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >>> Behalf Of Mike Kerner >>> Sent: Monday, September 08, 2014 9:48 AM >>> To: How to use LiveCode >>> Subject: Re: Orientation Support Mobile >>> >>> Thanks, Ralph, now I have something else to try, today! >>> >>> On Mon, Sep 8, 2014 at 1:39 AM, Ralph DiMola >>> >> > >>> wrote: >>> >>> > Mobile Orientation change cookbook: >>> > 1. Device is flipped. >>> > 2. The resizestack message is sent before the card is rendered >>> > (orientationchanged message is sent after). >>> > 2. In the resizestack handler reposition your controls. >>> > 3. During this message no screen updates are done. >>> > 4. The user will see the screen flip with the previous layout. >>> > 5. When the resizestack message completes the new layout is rendered. >>> > 6. Pass the resizestack message after repositioning your controls >>> > or strange things will occur. >>> > >>> > This works equally well with both Android and iOS. >>> > >>> > Now I don't know how this works if you're changing cards as I >>> > reposition controls on the same card. I would guess opening a new >>> > card in the resizestack message will yield similar results. I >>> > will try it when I get back. >>> > >>> > Ralph DiMola >>> > IT Director >>> > Evergreen Information Services >>> > rdimola at evergreeninfo.net >>> > >>> > >>> > >>> > >>> >
-------- Original message --------
From: Mike >>> > Kerner < MikeKerner at roadrunner.com>
Date:09/07/2014 >>> > 20:38 >>> > (GMT-08:00) >>> >
To: How to use LiveCode >>> >
Subject: Re: Orientation Support Mobile
>>> >
Well, for starters: >>> > 1) You can't seem to force LC to render a card in one orientation >>> > or the other and then understand what you're forcing it to do. >>> > There doesn't seem to be a command to do it. >>> > MobileSetAllowedOrientations doesn't help. So if you support P >>> > and L, but certain cards are one way and certain the other, and >>> > the app opens in the one you didn't >>> want, you have an issue. >>> > Let's say you do mobileSetAllowedOrientations to portrait, and you >>> > flip the device sideways. When you open the app, the app will >>> > render in portrait, but it will think that its width and height >>> > are for landscape, which makes rendering a bit challenging. >>> > 2) How do you lay out your cards for P and L? You could have >>> > custom properties, (do it the old MG way, before MG stopped >>> > supporting rotating), but that creates a layout issue, in that you >>> > have to build the properties for as many objects as you have on a >>> > card, and then deal with rearranging the layout when the orientation changes. >>> > 3) If you try to overcome #2 with a substack for P and a substack >>> > for L, then you have an event issue, because going from card 1 of >>> > substack P to card 2 of substack L isn't going to send a closeCard >>> > event to card 1 of substack P, which means that if you were using >>> > closeCard to dispose of your native controls...you have to do >>> > something else, and the transition isn't smooth. >>> > 4) There are issues with getting LC to render objects consistently >>> > when switching orientations, which I would imagine is why John >>> > stopped supporting orientation switching in MG. Sometimes, when >>> > you rotate the device, not everything goes where one might hope it >>> > would. I still haven't gotten to the bottom of that one. >>> > >>> > >>> > >>> > On Sun, Sep 7, 2014 at 10:04 PM, Colin Holgate >>> wrote: >>> > >>> > > I have used landscape and portrait in the same app outside of >>> > > LiveCode, and certainly ran into issues. I think that in >>> > > LiveCode you would want to enable all orientations, then listen >>> > > for the >>> orientationChanged message. >>> > > Then, in theory, you could react accordingly. >>> > > >>> > > Can you go into more detail about issues you?ve hit? >>> > > >>> > > >>> > > >>> > > _______________________________________________ >>> > > use-livecode mailing list >>> > > use-livecode at lists.runrev.com >>> > > Please visit this url to subscribe, unsubscribe and manage your >>> > > subscription preferences: >>> > > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > > >>> > >>> > >>> > >>> > -- >>> > On the first day, God created the heavens and the Earth On the >>> > second day, God created the oceans. >>> > On the third day, God put the animals on hold for a few hours, >>> > and did a little diving. >>> > And God said, "This is good." >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode at lists.runrev.com >>> > Please visit this url to subscribe, unsubscribe and manage your >>> > subscription preferences: >>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode at lists.runrev.com >>> > Please visit this url to subscribe, unsubscribe and manage your >>> > subscription preferences: >>> > http://lists.runrev.com/mailman/listinfo/use-livecode >>> > >>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth On the >>> second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth On the second >> day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > > -- > On the first day, God created the heavens and the Earth On the second > day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Mon Sep 8 16:28:20 2014 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 8 Sep 2014 20:28:20 +0000 Subject: Orientation Support Mobile In-Reply-To: <540DF65B.2020800@hyperactivesw.com> References: <540DF65B.2020800@hyperactivesw.com> Message-ID: On Sep 8, 2014, at 12:32 PM, J. Landman Gay wrote: > On 9/8/2014, 12:39 AM, Ralph DiMola wrote: >> 2. The resizestack message is sent before the card is rendered (orientationchanged message is sent after). > > I thought it was the other way around and the orientationChanged message should really be called "orientationAboutToChange". Or "preOrientationChange" to maintain consistency with the "open" messages, openCard-preOpenCard, etc. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From cmsheffield at icloud.com Mon Sep 8 16:28:56 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 08 Sep 2014 14:28:56 -0600 Subject: mobileClearTouches Message-ID: <78294DD9-C7A7-451A-BE3A-F4598AF197B3@icloud.com> Is anyone using mobileClearTouches in an app (iOS)? If so, are you noticing a strange delay before the next tap is registered? In my app, after calling mobileClearTouches, I?m seeing a delay of a couple seconds or so before a tap registers again. Is there any way to fix this? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From larry at significantplanet.org Mon Sep 8 19:37:10 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 8 Sep 2014 17:37:10 -0600 Subject: 2 lines on a button? Message-ID: Hi All, I have a large button and I want the label to read either "Show Instructions" or "Hide Instructions" but I cannot figure out how to put the two words on two different lines in the label of the button. Is that possible to do? TIA Larry From larry at significantplanet.org Mon Sep 8 19:43:11 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 8 Sep 2014 17:43:11 -0600 Subject: 2 lines on a button Message-ID: <0DE9237020304158A29A0F5782BFCF9E@userd204a4d61c> Never Mind! I was trying to do it in the property inspector and then I realized I can just say in the script: set the label of button myInstructions to "Show" & return & "Instructions" so simple, but in my defense, I'm still learning! Thanks, Larry From m.schonewille at economy-x-talk.com Mon Sep 8 19:48:08 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 09 Sep 2014 01:48:08 +0200 Subject: 2 lines on a button? In-Reply-To: References: Message-ID: <540E4038.8050709@economy-x-talk.com> Hi Larry, You can set the label of a button in the properties inspector or do this in the message box or a script: set the label of btn x to "Show" & cr & "Instructions" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/9/2014 01:37, larry at significantplanet.org wrote: > Hi All, > > I have a large button and I want the label to read either "Show Instructions" or "Hide Instructions" but I cannot figure out how to put the two words on two different lines in the label of the button. Is that possible to do? > TIA > Larry From mwieder at ahsoftware.net Mon Sep 8 19:47:41 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Sep 2014 16:47:41 -0700 Subject: 2 lines on a button In-Reply-To: <0DE9237020304158A29A0F5782BFCF9E@userd204a4d61c> References: <0DE9237020304158A29A0F5782BFCF9E@userd204a4d61c> Message-ID: <16533012693.20140908164741@ahsoftware.net> larry- Dang! You're getting way too fast at this! I was thinking that would probably work, but I didn't even get a chance to test it before you answered your own question. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From larry at significantplanet.org Mon Sep 8 20:09:39 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 8 Sep 2014 18:09:39 -0600 Subject: 2 lines on a button References: <0DE9237020304158A29A0F5782BFCF9E@userd204a4d61c> <16533012693.20140908164741@ahsoftware.net> Message-ID: <64651A9CB6E64CDA950BCCD42E3E3B08@userd204a4d61c> ha ha (I only wish I could be fast all the time!) ----- Original Message ----- From: "Mark Wieder" To: "How to use LiveCode" Sent: Monday, September 08, 2014 5:47 PM Subject: Re: 2 lines on a button > larry- > > Dang! You're getting way too fast at this! I was thinking that would > probably work, but I didn't even get a chance to test it before you > answered your own question. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Mon Sep 8 20:18:47 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 8 Sep 2014 17:18:47 -0700 Subject: 2 lines on a button In-Reply-To: <0DE9237020304158A29A0F5782BFCF9E@userd204a4d61c> References: <0DE9237020304158A29A0F5782BFCF9E@userd204a4d61c> Message-ID: On Mon, Sep 8, 2014 at 4:43 PM, wrote: > so simple, but in my defense, I'm still learning! we all are. New stuff every version. Like Christmas every month. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From skip at magicgate.com Mon Sep 8 22:29:18 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 8 Sep 2014 22:29:18 -0400 Subject: Simple JSON call Message-ID: Hey LCer's I am need to make a "simple" JSON call using something as simple as this: put myCommand into URL myURL The function works properly but it should also be kicking back some results that I then need to parse. The question is, how do I get the results? I have tried numerous, standard methods and all have failed thus far. Working on a project that combines data pulls using several different XML technologies and am about to pull my hair out at this point :) Any help is always appreciated! SKIP From revdev at pdslabs.net Mon Sep 8 22:46:49 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 08 Sep 2014 19:46:49 -0700 Subject: 2 lines on a button In-Reply-To: <0DE9237020304158A29A0F5782BFCF9E@userd204a4d61c> References: <0DE9237020304158A29A0F5782BFCF9E@userd204a4d61c> Message-ID: <540E6A19.5040506@pdslabs.net> Larry, Another way to do it in the Property Inspector is type \n between the first and second lines of the label, like this: first line\nsecond line Regards - Phil On 9/8/14, 4:43 PM, larry at significantplanet.org wrote: > Never Mind! > > I was trying to do it in the property inspector and then I realized I can just say in the script: > set the label of button myInstructions to "Show" & return & "Instructions" > > so simple, but in my defense, I'm still learning! > Thanks, Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From mikedoub at gmail.com Mon Sep 8 22:45:26 2014 From: mikedoub at gmail.com (Michael Doub) Date: Mon, 8 Sep 2014 22:45:26 -0400 Subject: Simple JSON call In-Reply-To: References: Message-ID: <90DDD6B8-FE4E-4806-A2C5-D2EB34851B03@gmail.com> Skip, Here is my routines that interfaces to postmark. It sends JSON in a way ,similar to the way you describe. This uses libJSON that I found on the list. Let me know off line and I can send you a copy. Regards, Mike constant APIKEY = constant API_URL = "https://api.postmarkapp.com/email" --http://developer.postmarkapp.com/developer-build.html For addtional API Information command testSend put libPostmark_SendEmail(fld "json") end testSend function libPostmark_SendEmail pMessageJSON -- pMessageJSON is a live code array of the date to be sent or if not an array, a JSON structure. -- See the postmark docs for the array structure itself. get the keys of pMessageJSON if it <> empty then put arrayToJson(pMessageJSON) into outgoing else put pMessageJSON into outgoing end if set the httpHeaders to "Accept: application/json" & return \ & "Content-Type: application/json" & return \ & "X-Postmark-Server-Token: " & APIKEY post outgoing to API_URL return it end libPostmark_SendEmail On Sep 8, 2014, at 10:29 PM, Magicgate Software - Skip Kimpel wrote: > Hey LCer's > > I am need to make a "simple" JSON call using something as simple as this: > put myCommand into URL myURL > > The function works properly but it should also be kicking back some results > that I then need to parse. The question is, how do I get the results? I > have tried numerous, standard methods and all have failed thus far. > > Working on a project that combines data pulls using several different XML > technologies and am about to pull my hair out at this point :) > > Any help is always appreciated! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Mon Sep 8 23:07:02 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 8 Sep 2014 21:07:02 -0600 Subject: 2 lines on a button References: <0DE9237020304158A29A0F5782BFCF9E@userd204a4d61c> <540E6A19.5040506@pdslabs.net> Message-ID: <441512A68B9341F1A1188D7E91B06D5E@userd204a4d61c> Thanks Phil, In many cases that will be easier! ( and I checked; you can put as many \n as the space on the button will allow: First\nSecond\nThird, etc.) Larry ----- Original Message ----- From: "Phil Davis" To: "How to use LiveCode" Sent: Monday, September 08, 2014 8:46 PM Subject: Re: 2 lines on a button > Larry, > > Another way to do it in the Property Inspector is type \n between the > first and second lines of the label, like this: > > first line\nsecond line > > Regards - > Phil > > > On 9/8/14, 4:43 PM, larry at significantplanet.org wrote: >> Never Mind! >> >> I was trying to do it in the property inspector and then I realized I can >> just say in the script: >> set the label of button myInstructions to "Show" & return & >> "Instructions" >> >> so simple, but in my defense, I'm still learning! >> Thanks, Larry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > -- > Phil Davis > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Mon Sep 8 23:40:01 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 8 Sep 2014 23:40:01 -0400 Subject: Raspberry Pi Standalone Message-ID: I just produced my first RPi standalone using the new Linux ARMv6-HF option found in 7.0 RC1. This is going to change everything. Fraser Gordon, you are brilliant! SKIP KIMPEL From richmondmathewson at gmail.com Tue Sep 9 00:20:47 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 09 Sep 2014 07:20:47 +0300 Subject: 2 lines on a button? In-Reply-To: References: Message-ID: <540E801F.7000808@gmail.com> On 09/09/14 02:37, larry at significantplanet.org wrote: > Hi All, > > I have a large button and I want the label to read either "Show Instructions" or "Hide Instructions" but I cannot figure out how to put the two words on two different lines in the label of the button. Is that possible to do? > TIA > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode As far as I know you have to fake things: i.e. an image that looks like a button. Richmond. From richmondmathewson at gmail.com Tue Sep 9 00:21:04 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 09 Sep 2014 07:21:04 +0300 Subject: 2 lines on a button In-Reply-To: <0DE9237020304158A29A0F5782BFCF9E@userd204a4d61c> References: <0DE9237020304158A29A0F5782BFCF9E@userd204a4d61c> Message-ID: <540E8030.3050502@gmail.com> On 09/09/14 02:43, larry at significantplanet.org wrote: > Never Mind! > > I was trying to do it in the property inspector and then I realized I can just say in the script: > set the label of button myInstructions to "Show" & return & "Instructions" > > so simple, but in my defense, I'm still learning! > Thanks, Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Wow! From gerry.orkin at gmail.com Tue Sep 9 03:07:40 2014 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 9 Sep 2014 17:07:40 +1000 Subject: Russian submarine In-Reply-To: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> References: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> Message-ID: Watched about 5.467 seconds of that before I was motion sick :) g On 7 Sep 2014, at 8:17 am, Colin Holgate wrote: > Anyway, if you too were curious about what it?s like, wonder no longer, I did a Google Glass video of my visit: From jbv at souslelogo.com Tue Sep 9 05:00:35 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 9 Sep 2014 12:00:35 +0300 Subject: Simple JSON call In-Reply-To: References: Message-ID: Hi Skip Is myURL located on a remote server ? If yes, why not using something like post "a=" & myCommand to URL myURL where myURL is a LC or PHP script that would return the expected json ? Best jbv > Hey LCer's > > I am need to make a "simple" JSON call using something as simple as this: > put myCommand into URL myURL > > The function works properly but it should also be kicking back some > results > that I then need to parse. The question is, how do I get the results? I > have tried numerous, standard methods and all have failed thus far. > > Working on a project that combines data pulls using several different XML > technologies and am about to pull my hair out at this point :) > > Any help is always appreciated! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Tue Sep 9 07:11:56 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 9 Sep 2014 07:11:56 -0400 Subject: Simple JSON call In-Reply-To: References: Message-ID: On Monday, September 8, 2014, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > > I am need to make a "simple" JSON call using something as simple as this: > put myCommand into URL myURL > > The function works properly but it should also be kicking back some results > that I then need to parse. The question is, how do I get the results? I > have tried numerous, standard methods and all have failed thus far. > Skip, "the urlresponse' will contain the data that the server sent back. Try checking that after your put into URL call. -- Trevor DeVore From williamdesmet at gmail.com Tue Sep 9 07:29:53 2014 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 9 Sep 2014 13:29:53 +0200 Subject: Touch rotate an image iOS. Any suggestions? Message-ID: Hi there, I want to touch-rotate an image on iOS. Any suggestions on how to start? Greetings, William From matthias_livecode_150811 at m-r-d.de Tue Sep 9 08:05:03 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 9 Sep 2014 14:05:03 +0200 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? Message-ID: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Hi, i am using coda 2 for all of my livecode server editing, but as today i was not able to get syntax highligting working. I downloaded the livecode-html mode from codingmonkeys.de and installed it. I can select the syntax mode, but i do not see any highlighting. Am i doing something wrong? Regards, Matthias From coiin at verizon.net Tue Sep 9 08:11:34 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 09 Sep 2014 08:11:34 -0400 Subject: Russian submarine In-Reply-To: References: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> Message-ID: You wouldn?t have liked the bits where I climb through the portals. On Sep 9, 2014, at 3:07 AM, Gerry wrote: > >Watched about 5.467 seconds of that before I was motion sick :) From andre at andregarzia.com Tue Sep 9 09:17:52 2014 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 9 Sep 2014 10:17:52 -0300 Subject: Calling Andre Garzia In-Reply-To: References: <540DCEDB.8040605@fourthworld.com> <540DEED8.5060604@tweedly.net> Message-ID: hauhauahahu Yep, I had a long run going to RunRev conferences. Since it was always expensive it didn't really made a difference if it was on the US or EU. I miss Malta a lot. This is the first time I miss a conference. I feels really bad... :-P On the other hand I think I did more than 20 conferences last year with Mozilla so I am also tired of traveling. On Mon, Sep 8, 2014 at 3:51 PM, Trevor DeVore wrote: > On Monday, September 8, 2014, Alex Tweedly wrote: > > > > > >> Which Malta ? 2004 or 2006 ? > > or both ? > > in which case maybe it's not a 3-way tie :-) > > > > There were 2 of them? I'm out of the running then :-) > > -- > Trevor DeVore > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From capellan2000 at gmail.com Tue Sep 9 09:55:30 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 9 Sep 2014 06:55:30 -0700 (PDT) Subject: Livecode Fields and USB keyboards in Android Message-ID: <1410270930807-4683003.post@n4.nabble.com> Hi All, I have trying (without success) to use fully an USB keyboard within a LiveCode field inside an Android application. What I am missing? This is the simple application that I am using to test Livecode commands in Android: A stack with a button and a field. The script of the button is: Do field 1 That is all. I have found many interesting features of Android platform, (with the Screen keyboard) just typing commands in the field and pressing the button "Do field 1"... (For example, Why "Ask" works as expected but "Answer" not?) I could open other stacks too using: go URL ("binfile:/mnt/sdcard/Documents/test.livecode") Exploring Android in this way is fine, but it could be easier and faster if I could use the USB keyboard to type in the Livecode field. Enter key and Delete keys do not works at all and I could not see spaces between words! For example, this script is written (and executed) correctly like this: put specialfolderpath("engine") into field 1 But this script looks like this in a Livecode field: putspecialfolderpath("engine")intofield1 By the way, an USB mouse works fine too in Android. Thanks in advance! Have a nice week. :D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Livecode-Fields-and-USB-keyboards-in-Android-tp4683003.html Sent from the Revolution - User mailing list archive at Nabble.com. From sims at ezpzapps.com Tue Sep 9 10:06:20 2014 From: sims at ezpzapps.com (Jim sims) Date: Tue, 9 Sep 2014 15:06:20 +0100 Subject: Calling Andre Garzia In-Reply-To: References: <540DCEDB.8040605@fourthworld.com> <540DEED8.5060604@tweedly.net> Message-ID: Hey Andre! Come on over to Malta whenever ye want. I'll surely have room for ye. Don't go now though, am at the Dingle Peninsula, Ireland. About to go fer a pint. sims On Tuesday, September 9, 2014, Andre Garzia wrote: > hauhauahahu > > Yep, I had a long run going to RunRev conferences. Since it was always > expensive it didn't really made a difference if it was on the US or EU. I > miss Malta a lot. > > This is the first time I miss a conference. I feels really bad... :-P > > On the other hand I think I did more than 20 conferences last year with > Mozilla so I am also tired of traveling. > > On Mon, Sep 8, 2014 at 3:51 PM, Trevor DeVore > > wrote: > > > On Monday, September 8, 2014, Alex Tweedly > wrote: > > > > > > > > >> Which Malta ? 2004 or 2006 ? > > > or both ? > > > in which case maybe it's not a 3-way tie :-) > > > > > > > There were 2 of them? I'm out of the running then :-) > > > > -- > > Trevor DeVore > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Sent from my iPodo - it makes weird spelling sometimes :-P From fraser.gordon at livecode.com Tue Sep 9 10:29:43 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Tue, 9 Sep 2014 15:29:43 +0100 Subject: Raspberry Pi Standalone In-Reply-To: References: Message-ID: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> On 9 Sep 2014, at 04:40, Magicgate Software - Skip Kimpel wrote: > I just produced my first RPi standalone using the new Linux ARMv6-HF option > found in 7.0 RC1. This is going to change everything. I forgot to mention something during my conference talk: you can only build for RPi from the Community version of RC1 (because only Community edition is supported). For those of you who missed the conference: We have termed the RaspberryPi release of LiveCode (whether the IDE or the standalone engine) "Community Supported" - it won't receive as much testing internally as the other builds (as I have only a finite number of hours in a day) and generally won't receive as much attention as the other platforms. Anything the LiveCode community can do to help us maintain this platform will be greatly appreciated. Regards, Fraser From roger.e.eller at sealedair.com Tue Sep 9 10:49:40 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 9 Sep 2014 10:49:40 -0400 Subject: Russian submarine In-Reply-To: References: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> Message-ID: That was the best part!!! Dangling feet added realism! Perfect video to watch with Google Cardboard. Just brilliant! On Tue, Sep 9, 2014 at 8:11 AM, Colin Holgate wrote: > You wouldn?t have liked the bits where I climb through the portals. > > > On Sep 9, 2014, at 3:07 AM, Gerry wrote: > > > >Watched about 5.467 seconds of that before I was motion sick :) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From hyperchris at aol.com Tue Sep 9 11:03:50 2014 From: hyperchris at aol.com (hyperchris at aol.com) Date: Tue, 9 Sep 2014 11:03:50 -0400 Subject: Raspberry Pi Standalone Message-ID: <8D19A5665C03652-2B00-6690@webmail-va002.sysops.aol.com> I played with the PI version of the IDE while at RunRevLive and it works pretty well. It's a little pokey but should work well for debugging and testing. The PI version is on the downloads page right next to all the other platforms! I just produced my first RPi standalone using the new Linux ARMv6-HF option found in 7.0 RC1. This is going to change everything. Fraser Gordon, you are brilliant! SKIP KIMPEL From coiin at verizon.net Tue Sep 9 11:07:17 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 09 Sep 2014 11:07:17 -0400 Subject: Russian submarine In-Reply-To: References: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> Message-ID: One day there will be stereoscopic Google Glass, then Google Cardboard would be great. On Sep 9, 2014, at 10:49 AM, Roger Eller wrote: > >That was the best part!!! Dangling feet added realism! Perfect video to > watch with Google Cardboard. Just brilliant! From roger.e.eller at sealedair.com Tue Sep 9 11:17:31 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 9 Sep 2014 11:17:31 -0400 Subject: Russian submarine In-Reply-To: References: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> Message-ID: Have you tried making a Cardboard app with LiveCode? I wonder how one would make a split screen app that keeps in perfect sync. On Tue, Sep 9, 2014 at 11:07 AM, Colin Holgate wrote: > One day there will be stereoscopic Google Glass, then Google Cardboard > would be great. > > > On Sep 9, 2014, at 10:49 AM, Roger Eller > wrote: > > > >That was the best part!!! Dangling feet added realism! Perfect video > to > > watch with Google Cardboard. Just brilliant! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From coiin at verizon.net Tue Sep 9 11:29:27 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 09 Sep 2014 11:29:27 -0400 Subject: Russian submarine In-Reply-To: References: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> Message-ID: <07E4C5E8-4FAF-4246-A517-1B1C585B1D1D@verizon.net> I just tried this video I made: https://www.youtube.com/watch?v=X8syWAyGIkM playing on my iPhone 5 inside Cardboard. It was effective enough. You wouldn?t normally have split screen video, where two videos are kept in sync, you would just have a single movie that was side by side videos. For interface tricks you would lock screen, set up both eyes, then unlock screen. That should keep things in sync. On Sep 9, 2014, at 11:17 AM, Roger Eller wrote: > Have you tried making a Cardboard app with LiveCode? I wonder how one > would make a split screen app that keeps in perfect sync. > > > On Tue, Sep 9, 2014 at 11:07 AM, Colin Holgate wrote: > >> One day there will be stereoscopic Google Glass, then Google Cardboard >> would be great. >> >> >> On Sep 9, 2014, at 10:49 AM, Roger Eller >> wrote: >> >>>> That was the best part!!! Dangling feet added realism! Perfect video >> to >>> watch with Google Cardboard. Just brilliant! From jbv at souslelogo.com Tue Sep 9 11:39:29 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 9 Sep 2014 18:39:29 +0300 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> Message-ID: <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> Hi list I am trying to improve the speed of a large script including many loops. Could anyone explain why : - question 1 : if a text file contains "toto", after running the following lines open file tpath read from file tpath until EOF write (it & return & "titi") to file tpath close file tpath the file contains : totototo titi and when running these lines open file tpath read from file tpath until EOF close file tpath open file tpath write (it & return & "titi") to file tpath close file tpath the file contains : toto titi - question 2 why is this line put "toto" after URL ("binfile:/hd/myFile.txt") much slower than open file tpath read from file tpath until EOF close file tpath open file tpath write (it & return & "toto") to file tpath close file tpath Thanks in advance. jbv From MikeKerner at roadrunner.com Tue Sep 9 11:40:09 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 9 Sep 2014 11:40:09 -0400 Subject: Orientation Support Mobile In-Reply-To: References: <540DF65B.2020800@hyperactivesw.com> Message-ID: bug 13386 On Mon, Sep 8, 2014 at 4:28 PM, Devin Asay wrote: > > On Sep 8, 2014, at 12:32 PM, J. Landman Gay > wrote: > > > On 9/8/2014, 12:39 AM, Ralph DiMola wrote: > >> 2. The resizestack message is sent before the card is rendered > (orientationchanged message is sent after). > > > > I thought it was the other way around and the orientationChanged message > should really be called "orientationAboutToChange". > > Or "preOrientationChange" to maintain consistency with the "open" > messages, openCard-preOpenCard, etc. > > Devin > > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.com > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Tue Sep 9 11:46:15 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 09 Sep 2014 18:46:15 +0300 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> Message-ID: <540F20C7.7010106@gmail.com> On 09/09/14 18:39, jbv at souslelogo.com wrote: > Hi list > > I am trying to improve the speed of a large script including > many loops. > Could anyone explain why : > > - question 1 : if a text file contains "toto", after running the > following lines > open file tpath > read from file tpath until EOF > write (it & return & "titi") to file tpath > close file tpath > > the file contains : > totototo > titi Because you are doing this: reading the contents of file tpath and THEN writing that ('toto') and 'titi' back to the file. So 'toto' + 'toto' + return + 'titi' is what you end up with. --------------------------------------------------------------- > > and when running these lines > open file tpath > read from file tpath until EOF > close file tpath > open file tpath > write (it & return & "titi") to file tpath > close file tpath > > the file contains : > toto > titi Because here you close the file for reading and then open it again. In the first case your information is appended to the existing file. In the second case your information overwrites the existing file. ----------------------------------------------------------------- > - question 2 > > why is this line > put "toto" after URL ("binfile:/hd/myFile.txt") > > much slower than > open file tpath > read from file tpath until EOF > close file tpath > open file tpath > write (it & return & "toto") to file tpath > close file tpath I don't know. > Thanks in advance. > jbv > > > Best, Richmond. From cmsheffield at icloud.com Tue Sep 9 12:22:23 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 09 Sep 2014 10:22:23 -0600 Subject: iOS app build error Message-ID: <614B576A-B6E2-4014-A54A-52AC980F8CB4@icloud.com> Another day, another problem (it?s me, I?m sure)? All of a sudden I?m getting the following error when trying to build an iOS app: ?could not find a valid identity to use for the selected profile? I have tried everything I can think of to try to resolve this, including removing my developer certificate(s) and all provisioning profiles and then reinstalling them. Nothing seems to work. Anyone else run into this? Any ideas? Thanks, Chris From roger.e.eller at sealedair.com Tue Sep 9 12:31:21 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 9 Sep 2014 12:31:21 -0400 Subject: Russian submarine In-Reply-To: <07E4C5E8-4FAF-4246-A517-1B1C585B1D1D@verizon.net> References: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> <07E4C5E8-4FAF-4246-A517-1B1C585B1D1D@verizon.net> Message-ID: That's what I was thinking. And I meant to say side-by-side as in duplicate screens for each eye. On Android, the Cardboard app is signaled by triggering the magnetometer. I don't remember if LC can read that sensor or not. The platform has already become pretty popular for Android app developers. https://play.google.com/store/search?q=cardboard&c=apps ~Roger On Tue, Sep 9, 2014 at 11:29 AM, Colin Holgate wrote: > I just tried this video I made: > > https://www.youtube.com/watch?v=X8syWAyGIkM > > playing on my iPhone 5 inside Cardboard. It was effective enough. You > wouldn?t normally have split screen video, where two videos are kept in > sync, you would just have a single movie that was side by side videos. For > interface tricks you would lock screen, set up both eyes, then unlock > screen. That should keep things in sync. > > > On Sep 9, 2014, at 11:17 AM, Roger Eller > wrote: > > > Have you tried making a Cardboard app with LiveCode? I wonder how one > > would make a split screen app that keeps in perfect sync. > > > > > > On Tue, Sep 9, 2014 at 11:07 AM, Colin Holgate > wrote: > > > >> One day there will be stereoscopic Google Glass, then Google Cardboard > >> would be great. > >> > >> > >> On Sep 9, 2014, at 10:49 AM, Roger Eller > >> wrote: > >> > >>>> That was the best part!!! Dangling feet added realism! Perfect video > >> to > >>> watch with Google Cardboard. Just brilliant! > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Tue Sep 9 12:40:39 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 9 Sep 2014 09:40:39 -0700 Subject: Slowdown when putting symbols into image data Message-ID: Folks: Drawing symbols on an image, in my app, has gone up a factor of 10, from 2.25 seconds in version 6.6.2 to 24 seconds in version 7.0RC1. I?m on OSX, Mavericks. This is a significant slowdown. The slowdown occurs in the drawSymbol method. If I comment it out, so all the operations happen without actually drawing the symbol, the speed without drawing the symbol is 4.55 seconds in v7.0. I can tolerate the delay from 2.25 to 4.55 seconds, but the symbol drawing routine slowdown is quite significant and I?d like to see it speeded up. My drawing code is derived from Colin?s SimplePaint program, modified for byte operations. The drawing code is below. First an array of the symbol image data is created, then when drawing all of the symbols, that array is accessed to put the image data into the binary of the image. I included the setSymbolArray handler (which is only called once), for clarity. The major slowdown is not in this method. Can anybody, with a quick scan suggest how to optimize this, or perhaps its a problem with livecode. If it?s not obvious to anybody, I?ll see if I can narrow the problem to a specific line of script. Thanks, Bill ?This is the draw program. For each symbol, the correct element of the symbol array is loaded to the array: sBrushDataArray on drawTheSymbol x,y put round(x) into startX put round(y) into startY put round(sBrushWidth/4) into sXDelta put round(sBrushHeight/2) into sYDelta put the keys of sBrushDataArray into tBrushKeys repeat for each line aKey in tBrushKeys put sBrushDataArray[aKey] into tbrushBinaryData -- the current part of a row of binary data of brush put length (tbrushBinaryData) into tLength -- the length of the binary data put aKey div sBrushWidth into tBrushRow -- calculate the row of the brush the data comes from -- get currentBrushRow for calculation of imagedata row to fit it into the image, sYDelta offsets the brush put tBrushRow + startY - sYDelta into tImageCurrRow put aKey mod sBrushWidth into tCurrBrushColumn -- the column of the brush the current data comes from put tCurrBrushColumn + startX - sXDelta into tCurrImageColumn -- the column in the image to fit into the imageData; sXDelta offsets the brush put tImageCurrRow * sMyWidth + tCurrImageColumn into tNewStart -- calculate the byte in xy coord of the image where to insert brushData put byte 1 to tLength of tbrushBinaryData into byte tNewStart * 4 - 3 to tNewStart*4 - 3 + tLength -1 of imgdata -- insert brushimageData into image imageData end repeat end drawTheSymbol ?This method is called only once. The array is created with an element for each symbol that is to be plotted --This puts image data into the quakeBrushForMag[#] array on setSymbolArray currentbrush put the imageData of image currentbrush into currentbrushdata put the alphaData of image currentbrush into brushalpha put the width of image currentBrush into sBrushWidth put the height of image currentBrush into sBrushHeight put round(sBrushWidth/2) into sXDelta -- to offset the brush so it is visible when using the finger put sBrushHeight into sYDelta -- same as above put 0 into sXDelta put 0 into sYDelta put "" into sBrushDataArray --- build array of brush imagedata repeat with y = 0 to sBrushHeight - 1 put byteToNum (byte ((y*sBrushWidth)+1) of brushalpha) if byteToNum (byte ((y*sBrushWidth)+1) of brushalpha) > sAlphaCutOff then put true into tAlphaOn put "" into tCollect put ((y*sBrushWidth ) + 1) into tStartDot else put false into tAlphaOn put "" into tCollect end if repeat with x = 0 to sBrushWidth - 1 put ((x+(y*sBrushWidth))+1) into tDot put (byteToNum(byte tDot of brushalpha) > sAlphaCutOff) into tNowAlphaOn if tNowAlphaOn then put byte tDot * 4 - 3 to tDot * 4 of currentbrushdata after tCollect -- above threshold-> collect end if -- test if state of alpha threshold changed if tAlphaOn <> tNowAlphaOn then if tAlphaOn then -- state changed to alpha below threshold, write array put tDot into tStopDot put tCollect into sBrushDataArray[tStartDot] put "" into tCollect -- clear tCollect since it is passed to the array else -- state changed to alpha above threshold put tDot into tStartDot end if -- reset tAlphaOn to current state of alpha threshold since it changed put tNowAlphaOn into tAlphaOn -- end alpha state changed end if end repeat if tCollect <> "" then put tCollect into sBrushDataArray[tStartDot] put "" into tCollect end repeat --- end build array end setSymbolArray William A. Prothero http://es.earthednet.org/ From jbv at souslelogo.com Tue Sep 9 12:58:31 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 9 Sep 2014 19:58:31 +0300 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: <540F20C7.7010106@gmail.com> References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> <540F20C7.7010106@gmail.com> Message-ID: Richmond, Thanks for your reply. Yes, I perfectly understand what happens, but my point is : why is it so ? What is the logic behind ? Is it specific to LC of is it closely related to the different OSes on which LC runs ? Why the fact of closing then reopening a file leads to overwriting its content ? Best, jbv > On 09/09/14 18:39, jbv at souslelogo.com wrote: >> Hi list >> >> I am trying to improve the speed of a large script including >> many loops. >> Could anyone explain why : >> >> - question 1 : if a text file contains "toto", after running the >> following lines >> open file tpath >> read from file tpath until EOF >> write (it & return & "titi") to file tpath >> close file tpath >> >> the file contains : >> totototo >> titi > Because you are doing this: > > reading the contents of file tpath > > and THEN writing that ('toto') and 'titi' back to the file. > > So 'toto' + 'toto' + return + 'titi' is what you end up with. > --------------------------------------------------------------- >> >> and when running these lines >> open file tpath >> read from file tpath until EOF >> close file tpath >> open file tpath >> write (it & return & "titi") to file tpath >> close file tpath >> >> the file contains : >> toto >> titi > > Because here you close the file for reading and then open it again. > > In the first case your information is appended to the existing file. > > In the second case your information overwrites the existing file. > ----------------------------------------------------------------- From MikeKerner at roadrunner.com Tue Sep 9 13:19:48 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 9 Sep 2014 13:19:48 -0400 Subject: iPush from M$ Message-ID: Did anybody ever get pushing to ios working from a win box? I fought with it and fought with it, but I have never gotten over the termination hurdle at the very end, so I can't do it automatically. It works fine from MacOS, though. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacques.hausser at unil.ch Tue Sep 9 13:22:46 2014 From: jacques.hausser at unil.ch (Jacques Hausser) Date: Tue, 9 Sep 2014 19:22:46 +0200 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> <540F20C7.7010106@gmail.com> Message-ID: <50FC8A31-8187-4C76-9057-A05BF04F5565@unil.ch> Think you have a pointer to the file; when you open a file, the pointer is on the first char. When you read the file till EOF, the pointer stays just after the last "readable" char. So, if you immediately write something, the writing weill start here. Now, if you close the file and reopen it, the pointer will be at the beginning again. And you'll overwrite what's on the file, except if you < write return & "titi" to file tFile at 5 (since toto has four chars). J. Le 9 sept. 2014 ? 18:58, jbv at souslelogo.com a ?crit : > Richmond, > Thanks for your reply. > Yes, I perfectly understand what happens, but my point is : > why is it so ? What is the logic behind ? > Is it specific to LC of is it closely related to the different OSes > on which LC runs ? > Why the fact of closing then reopening a file leads to overwriting > its content ? > > Best, > jbv > > >> On 09/09/14 18:39, jbv at souslelogo.com wrote: >>> Hi list >>> >>> I am trying to improve the speed of a large script including >>> many loops. >>> Could anyone explain why : >>> >>> - question 1 : if a text file contains "toto", after running the >>> following lines >>> open file tpath >>> read from file tpath until EOF >>> write (it & return & "titi") to file tpath >>> close file tpath >>> >>> the file contains : >>> totototo >>> titi >> Because you are doing this: >> >> reading the contents of file tpath >> >> and THEN writing that ('toto') and 'titi' back to the file. >> >> So 'toto' + 'toto' + return + 'titi' is what you end up with. >> --------------------------------------------------------------- >>> >>> and when running these lines >>> open file tpath >>> read from file tpath until EOF >>> close file tpath >>> open file tpath >>> write (it & return & "titi") to file tpath >>> close file tpath >>> >>> the file contains : >>> toto >>> titi >> >> Because here you close the file for reading and then open it again. >> >> In the first case your information is appended to the existing file. >> >> In the second case your information overwrites the existing file. >> ----------------------------------------------------------------- > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ****************************************** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel: ++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.hausser at unil.ch ******************************************* From skiplondon at gmail.com Tue Sep 9 13:37:46 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Tue, 9 Sep 2014 13:37:46 -0400 Subject: Simple JSON call In-Reply-To: References: Message-ID: Thanks for everybody's input... Trevor, that was exactly what I needed. The urlresponse works perfectly. SKIP > On Sep 9, 2014, at 7:11 AM, Trevor DeVore wrote: > > On Monday, September 8, 2014, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: >> >> I am need to make a "simple" JSON call using something as simple as this: >> put myCommand into URL myURL >> >> The function works properly but it should also be kicking back some results >> that I then need to parse. The question is, how do I get the results? I >> have tried numerous, standard methods and all have failed thus far. > > Skip, > > "the urlresponse' will contain the data that the server sent back. Try > checking that after your put into URL call. > > -- > Trevor DeVore > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Tue Sep 9 13:51:03 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 9 Sep 2014 10:51:03 -0700 Subject: Slowdown when putting symbols into image data In-Reply-To: References: Message-ID: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> Folks: Seems I?ve found the offending line in my draw script. Its: > put byte 1 to tLength of tbrushBinaryData into byte tNewStart * 4 - 3 to tNewStart*4 - 3 + tLength -1 of imgdata -- insert brushimageData into image If I comment out this line, the symbols are drawn in 2.85 seconds, more than a factor of 10 speedup. The context is indicated in the code below. Is this to be expected in LC V7? Best, Bill On Sep 9, 2014, at 9:40 AM, William Prothero wrote: > Folks: > Drawing symbols on an image, in my app, has gone up a factor of 10, from 2.25 seconds in version 6.6.2 to 24 seconds in version 7.0RC1. I?m on OSX, Mavericks. This is a significant slowdown. The slowdown occurs in the drawSymbol method. If I comment it out, so all the operations happen without actually drawing the symbol, the speed without drawing the symbol is 4.55 seconds in v7.0. I can tolerate the delay from 2.25 to 4.55 seconds, but the symbol drawing routine slowdown is quite significant and I?d like to see it speeded up. > > My drawing code is derived from Colin?s SimplePaint program, modified for byte operations. The drawing code is below. First an array of the symbol image data is created, then when drawing all of the symbols, that array is accessed to put the image data into the binary of the image. I included the setSymbolArray handler (which is only called once), for clarity. The major slowdown is not in this method. > > Can anybody, with a quick scan suggest how to optimize this, or perhaps its a problem with livecode. If it?s not obvious to anybody, I?ll see if I can narrow the problem to a specific line of script. > > Thanks, > Bill > > ?This is the draw program. For each symbol, the correct element of the symbol array is loaded to the array: sBrushDataArray > on drawTheSymbol x,y > put round(x) into startX > put round(y) into startY > put round(sBrushWidth/4) into sXDelta > put round(sBrushHeight/2) into sYDelta > put the keys of sBrushDataArray into tBrushKeys > repeat for each line aKey in tBrushKeys > put sBrushDataArray[aKey] into tbrushBinaryData -- the current part of a row of binary data of brush > put length (tbrushBinaryData) into tLength -- the length of the binary data > put aKey div sBrushWidth into tBrushRow -- calculate the row of the brush the data comes from > -- get currentBrushRow for calculation of imagedata row to fit it into the image, sYDelta offsets the brush > put tBrushRow + startY - sYDelta into tImageCurrRow > > put aKey mod sBrushWidth into tCurrBrushColumn -- the column of the brush the current data comes from > put tCurrBrushColumn + startX - sXDelta into tCurrImageColumn -- the column in the image to fit into the imageData; sXDelta offsets the brush > > put tImageCurrRow * sMyWidth + tCurrImageColumn into tNewStart -- calculate the byte in xy coord of the image where to insert brushData ?** The following line is the one that causes the slowdown. > put byte 1 to tLength of tbrushBinaryData into byte tNewStart * 4 - 3 to tNewStart*4 - 3 + tLength -1 of imgdata -- insert brushimageData into image imageData > end repeat > end drawTheSymbol > > ?This method is called only once. The array is created with an element for each symbol that is to be plotted > --This puts image data into the quakeBrushForMag[#] array > on setSymbolArray currentbrush > put the imageData of image currentbrush into currentbrushdata > put the alphaData of image currentbrush into brushalpha > put the width of image currentBrush into sBrushWidth > put the height of image currentBrush into sBrushHeight > > put round(sBrushWidth/2) into sXDelta -- to offset the brush so it is visible when using the finger > put sBrushHeight into sYDelta -- same as above > put 0 into sXDelta > put 0 into sYDelta > put "" into sBrushDataArray > > --- build array of brush imagedata > repeat with y = 0 to sBrushHeight - 1 > put byteToNum (byte ((y*sBrushWidth)+1) of brushalpha) > if byteToNum (byte ((y*sBrushWidth)+1) of brushalpha) > sAlphaCutOff then > put true into tAlphaOn > put "" into tCollect > put ((y*sBrushWidth ) + 1) into tStartDot > else > put false into tAlphaOn > put "" into tCollect > end if > repeat with x = 0 to sBrushWidth - 1 > put ((x+(y*sBrushWidth))+1) into tDot > put (byteToNum(byte tDot of brushalpha) > sAlphaCutOff) into tNowAlphaOn > if tNowAlphaOn then > put byte tDot * 4 - 3 to tDot * 4 of currentbrushdata after tCollect -- above threshold-> collect > end if > -- test if state of alpha threshold changed > if tAlphaOn <> tNowAlphaOn then > if tAlphaOn then > -- state changed to alpha below threshold, write array > put tDot into tStopDot > put tCollect into sBrushDataArray[tStartDot] > put "" into tCollect -- clear tCollect since it is passed to the array > else > -- state changed to alpha above threshold > put tDot into tStartDot > end if > -- reset tAlphaOn to current state of alpha threshold since it changed > put tNowAlphaOn into tAlphaOn > -- end alpha state changed > end if > end repeat > if tCollect <> "" then put tCollect into sBrushDataArray[tStartDot] > put "" into tCollect > end repeat > --- end build array > end setSymbolArray > > > William A. Prothero > http://es.earthednet.org/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Sep 9 14:12:05 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 09 Sep 2014 21:12:05 +0300 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> <540F20C7.7010106@gmail.com> Message-ID: <540F42F5.4070807@gmail.com> On 09/09/14 19:58, jbv at souslelogo.com wrote: > Richmond, > Thanks for your reply. > Yes, I perfectly understand what happens, but my point is : > why is it so ? What is the logic behind ? > Is it specific to LC of is it closely related to the different OSes > on which LC runs ? > Why the fact of closing then reopening a file leads to overwriting > its content ? > > Best, > jbv > > > No; it isn't very logical. Ask Kevin Miller or Dr Scott Ranier. Why is it so? Dunno, and don't really care; after all once one has worked out that is the the things are one works with those things. I think you will find this is a cross-platform "problem". Here's what is written in the dictionary: "write "one 222" to file tFile -- Writes to the start of the file write "two" to file tFile at 4 -- Writes to the file from character 4 write " three" to file tFile at EOF -- Writes to the end of the file write " four" to file tFile at end -- Writes to the end of the file" which seems quite straightforward. Richmond. From jbv at souslelogo.com Tue Sep 9 14:18:25 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 9 Sep 2014 21:18:25 +0300 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: <540F42F5.4070807@gmail.com> References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> <540F20C7.7010106@gmail.com> <540F42F5.4070807@gmail.com> Message-ID: >> > No; it isn't very logical. Ask Kevin Miller or Dr Scott Ranier. > > Why is it so? Dunno, and don't really care; after all > once one has worked out that is the the things are one works with those > things. > > I think you will find this is a cross-platform "problem". > > Here's what is written in the dictionary: > > "write "one 222" to file tFile -- Writes to the start of the file > write "two" to file tFile at 4 -- Writes to the file from character 4 > write " three" to file tFile at EOF -- Writes to the end of the file > write " four" to file tFile at end -- Writes to the end of the file" > > which seems quite straightforward. > Yes, that's straightforward as long as you stick to a simple open file / write / close file operation. Maybe the existence of a pointer, as mentioned by Jacques should be added to the dictionary... jbv From jhj at jhj.com Tue Sep 9 14:18:55 2014 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 9 Sep 2014 11:18:55 -0700 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> <540F20C7.7010106@gmail.com> Message-ID: On Sep 9, 2014, at 9:58 AM, jbv at souslelogo.com wrote: > Richmond, > Thanks for your reply. > Yes, I perfectly understand what happens, but my point is : > why is it so ? What is the logic behind ? > Is it specific to LC of is it closely related to the different OSes > on which LC runs ? > Why the fact of closing then reopening a file leads to overwriting > its content ? Its held over from deep dark history. Open file meant the operator should find the tape and mount it on the drive. Close file meant the tape would be rewound so the operator could take it off the drive and put it away. .Jerry From richmondmathewson at gmail.com Tue Sep 9 14:20:27 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 09 Sep 2014 21:20:27 +0300 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> <540F20C7.7010106@gmail.com> <540F42F5.4070807@gmail.com> Message-ID: <540F44EB.20006@gmail.com> On 09/09/14 21:18, jbv at souslelogo.com wrote: >> No; it isn't very logical. Ask Kevin Miller or Dr Scott Ranier. >> >> Why is it so? Dunno, and don't really care; after all >> once one has worked out that is the the things are one works with those >> things. >> >> I think you will find this is a cross-platform "problem". >> >> Here's what is written in the dictionary: >> >> "write "one 222" to file tFile -- Writes to the start of the file >> write "two" to file tFile at 4 -- Writes to the file from character 4 >> write " three" to file tFile at EOF -- Writes to the end of the file >> write " four" to file tFile at end -- Writes to the end of the file" >> >> which seems quite straightforward. >> > Yes, that's straightforward as long as you stick to a simple > open file / write / close file operation. > Maybe the existence of a pointer, as mentioned by Jacques > should be added to the dictionary... The dictionary is always 3 steps behind your brilliant mind and my brilliant mind . . . LOL Richmond. > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Sep 9 14:22:28 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 09 Sep 2014 21:22:28 +0300 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> <540F20C7.7010106@gmail.com> Message-ID: <540F4564.6070300@gmail.com> On 09/09/14 21:18, Jerry Jensen wrote: > On Sep 9, 2014, at 9:58 AM, jbv at souslelogo.com wrote: > >> Richmond, >> Thanks for your reply. >> Yes, I perfectly understand what happens, but my point is : >> why is it so ? What is the logic behind ? >> Is it specific to LC of is it closely related to the different OSes >> on which LC runs ? >> Why the fact of closing then reopening a file leads to overwriting >> its content ? > Its held over from deep dark history. Open file meant the operator should find the tape and mount it on the drive. Close file meant the tape would be rewound so the operator could take it off the drive and put it away. > .Jerry > > > What is wrong with tape drives? Trying to fit one in my Linux box as I write this . . . LOL Yo: Let's do the "Commodore PET Waltz" . . . Richmond. From MikeKerner at roadrunner.com Tue Sep 9 14:26:18 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 9 Sep 2014 14:26:18 -0400 Subject: ios8 Message-ID: Ummmm, ios8 comes out in 8 days. Has anybody else tried compiling LC apps for it? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jbv at souslelogo.com Tue Sep 9 14:29:01 2014 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Tue, 9 Sep 2014 21:29:01 +0300 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> <540F20C7.7010106@gmail.com> Message-ID: <20abe690e618ad52dfb6d8cbaca1a5c1.squirrel@185.8.104.234> > > Its held over from deep dark history. Open file meant the operator should > find the tape and mount it on the drive. Close file meant the tape would > be rewound so the operator could take it off the drive and put it away. > .Jerry do you mean tapes used on mainframes in the 60s and 70s ? Well that brings back a lot of memories... :-) jbv From coiin at verizon.net Tue Sep 9 14:30:23 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 09 Sep 2014 14:30:23 -0400 Subject: ios8 In-Reply-To: References: Message-ID: I was working on apps last week, and it went ok. That?s on my iOS 8 iPad Air. On Sep 9, 2014, at 2:26 PM, Mike Kerner wrote: > Ummmm, ios8 comes out in 8 days. Has anybody else tried compiling LC apps > for it? > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Tue Sep 9 14:30:46 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 9 Sep 2014 11:30:46 -0700 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? In-Reply-To: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: On Tue, Sep 9, 2014 at 5:05 AM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > am using coda 2 for all of my livecode server editing, but as today i was > not able to get syntax highligting working. > I have never been able to get this to work. could you post the correct link for the download? - can't find it. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From pete at lcsql.com Tue Sep 9 14:33:28 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Sep 2014 11:33:28 -0700 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> <540F20C7.7010106@gmail.com> Message-ID: >From the dictionary: "Use the for update form to open the file for both reading and writing. If the file is opened for update, you can use both the read from file and write to file commands to examine or change it, and writing to the file places the data at the specified position without replacing other characters beyond the written data." "If you do not specify a form, the file is opened for update." In your first case, the read causes the "specified position" to be the end of the file so your data is appended at that point. In the second case, you don't read anything after the second open so the "specified position" is the start of the file so your write overwrites what is already there. You can control all of this by specifying a mode when you open the file, depending on what your needs are. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Sep 9, 2014 at 9:58 AM, wrote: > Richmond, > Thanks for your reply. > Yes, I perfectly understand what happens, but my point is : > why is it so ? What is the logic behind ? > Is it specific to LC of is it closely related to the different OSes > on which LC runs ? > Why the fact of closing then reopening a file leads to overwriting > its content ? > > Best, > jbv > > > > On 09/09/14 18:39, jbv at souslelogo.com wrote: > >> Hi list > >> > >> I am trying to improve the speed of a large script including > >> many loops. > >> Could anyone explain why : > >> > >> - question 1 : if a text file contains "toto", after running the > >> following lines > >> open file tpath > >> read from file tpath until EOF > >> write (it & return & "titi") to file tpath > >> close file tpath > >> > >> the file contains : > >> totototo > >> titi > > Because you are doing this: > > > > reading the contents of file tpath > > > > and THEN writing that ('toto') and 'titi' back to the file. > > > > So 'toto' + 'toto' + return + 'titi' is what you end up with. > > --------------------------------------------------------------- > >> > >> and when running these lines > >> open file tpath > >> read from file tpath until EOF > >> close file tpath > >> open file tpath > >> write (it & return & "titi") to file tpath > >> close file tpath > >> > >> the file contains : > >> toto > >> titi > > > > Because here you close the file for reading and then open it again. > > > > In the first case your information is appended to the existing file. > > > > In the second case your information overwrites the existing file. > > ----------------------------------------------------------------- > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Tue Sep 9 14:40:19 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 9 Sep 2014 20:40:19 +0200 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? In-Reply-To: References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: Stephen, i used the link you posted in July 2013 in an answer to my question about syntax highlighting in Coda 2. Your link was http://subethaedit.net/modes.html which is now redirected to http://www.codingmonkeys.de/subethaedit/old/modes.html Regards, Matthias Am 09.09.2014 um 20:30 schrieb stephen barncard : > On Tue, Sep 9, 2014 at 5:05 AM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > >> am using coda 2 for all of my livecode server editing, but as today i was >> not able to get syntax highligting working. >> > > I have never been able to get this to work. could you post the correct link > for the download? - can't find it. > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Tue Sep 9 14:41:35 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 9 Sep 2014 14:41:35 -0400 Subject: ios8 In-Reply-To: References: Message-ID: Compiling from LC? The last time I read, we couldn't use the latest XC, yet. On Tue, Sep 9, 2014 at 2:30 PM, Colin Holgate wrote: > I was working on apps last week, and it went ok. That?s on my iOS 8 iPad > Air. > > > On Sep 9, 2014, at 2:26 PM, Mike Kerner wrote: > > > Ummmm, ios8 comes out in 8 days. Has anybody else tried compiling LC > apps > > for it? > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From coiin at verizon.net Tue Sep 9 14:48:02 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 09 Sep 2014 14:48:02 -0400 Subject: ios8 In-Reply-To: References: Message-ID: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> I used Xcode 6 to get the app onto my iPad. On Sep 9, 2014, at 2:41 PM, Mike Kerner wrote: > Compiling from LC? The last time I read, we couldn't use the latest XC, > yet. > > On Tue, Sep 9, 2014 at 2:30 PM, Colin Holgate wrote: > >> I was working on apps last week, and it went ok. That?s on my iOS 8 iPad >> Air. From ambassador at fourthworld.com Tue Sep 9 14:50:11 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Sep 2014 11:50:11 -0700 Subject: Simple JSON call In-Reply-To: References: Message-ID: <540F4BE3.6010207@fourthworld.com> Trevor DeVore wrote: > "the urlresponse' will contain the data that the server sent back. Try > checking that after your put into URL call. When does the urlResponse differ from the value in "it"? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Sep 9 14:54:15 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Sep 2014 11:54:15 -0700 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: References: Message-ID: <540F4CD7.2020101@fourthworld.com> Jerry Jensen wrote: > On Sep 9, 2014, at 9:58 AM, jbv at souslelogo.com wrote: > >> Richmond, >> Thanks for your reply. >> Yes, I perfectly understand what happens, but my point is : >> why is it so ? What is the logic behind ? >> Is it specific to LC of is it closely related to the different OSes >> on which LC runs ? >> Why the fact of closing then reopening a file leads to overwriting >> its content ? > > Its held over from deep dark history. Open file meant the operator > should find the tape and mount it on the drive. Close file meant the > tape would be rewound so the operator could take it off the drive and > put it away. It's more than a historical artifact, offering tremendous flexibility for traversing a file and reading/writing discrete parts of it. Open for update allows this traversal gracefully, opening the door to a wide range of fairly sophisticated file I/O options, esp. useful for data too large to fit into RAM as a whole. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From smaclean at madmansoft.com Tue Sep 9 15:07:16 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 9 Sep 2014 15:07:16 -0400 Subject: LC and Apple Watch... Message-ID: <255611DE-2DF8-41D0-B602-AF05DA29121A@madmansoft.com> WatchKit PLEASE!!!! Steve MacLean From jacque at hyperactivesw.com Tue Sep 9 15:09:51 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Sep 2014 14:09:51 -0500 Subject: Slowdown when putting symbols into image data In-Reply-To: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> Message-ID: <540F507F.7070105@hyperactivesw.com> On 9/9/2014, 12:51 PM, William Prothero wrote: > Seems I?ve found the offending line in my draw script. Its: > >> > put byte 1 to tLength of tbrushBinaryData into byte tNewStart * 4 - 3 to tNewStart*4 - 3 + tLength -1 of imgdata -- insert brushimageData into image > If I comment out this line, the symbols are drawn in 2.85 seconds, more than a factor of 10 speedup. This would be similar to using a "repeat with x = 1 to 1000" structure. Every time through the loop the engine has to count from byte 1 to tNewStart. An image has lots of bytes, so all that counting makes it slow. I had a very similar requirement in my current project, I had to create hundreds of small images on top of a map. I never bothered to try drawing into the map image, I knew it would take forever. Instead I used a polygon graphic and set its points to the locations I needed, and set its markers to the symbol I wanted to display. I needed one graphic per symbol type, but that still cut down the number from hundreds to five. You may remember my thread about setting markers so they would resize correctly. It was very helpful and I was able to do what I needed. Setting the points of a graphic is instantaneous, there was no delay at all. If your goal is similar to mine, you might want to drop the painting method and just go with the graphics approach. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Sep 9 15:21:55 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Sep 2014 12:21:55 -0700 Subject: Slowdown when putting symbols into image data In-Reply-To: <540F507F.7070105@hyperactivesw.com> References: <540F507F.7070105@hyperactivesw.com> Message-ID: <540F5353.60108@fourthworld.com> J. Landman Gay wrote: > Setting the points of a graphic is instantaneous, there was no delay > at all. If your goal is similar to mine, you might want to drop the > painting method and just go with the graphics approach. Not only is it *much* faster, but prints better too, using the full resolution of the printer as opposed to the screen resolution that bitmaps are limited to. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dsimpson at dotcomsolutionsinc.net Tue Sep 9 15:24:02 2014 From: dsimpson at dotcomsolutionsinc.net (David Simpson) Date: Tue, 9 Sep 2014 12:24:02 -0700 Subject: LC and Apple Watch... In-Reply-To: <255611DE-2DF8-41D0-B602-AF05DA29121A@madmansoft.com> References: <255611DE-2DF8-41D0-B602-AF05DA29121A@madmansoft.com> Message-ID: <30F81A43-3E5A-4E61-89B8-DA6CA9CAC7C7@dotcomsolutionsinc.net> WatchKit should be straightforward to wrap using the new Widgets/Extensions feature discussed at the conference. Actually, Kevin?s blog posting gives a nice overview of the process: http://livecode.com/blog/2014/07/08/the-next-generation-widgets-themes/ There are examples on the USB archive of files from the conference. Once this new Widgets/Extensions feature is shipping, there is no reason RunRev has to add all of the features to the platform - and that is part of the beauty of the design. I think that we can look forward to a future where there are potentially thousands of Widgets and APIs available for our use. And Ben?s discussion of the new IDE features would seem to make searching/installing/updating these features much more seamless than we have ever experienced previously. David Simpson www.fmpromigrator.com On Sep 9, 2014, at 12:07 PM, Stephen MacLean wrote: > WatchKit PLEASE!!!! > > Steve MacLean > > > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev From smaclean at madmansoft.com Tue Sep 9 15:28:34 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 9 Sep 2014 15:28:34 -0400 Subject: LC and Apple Watch... In-Reply-To: <30F81A43-3E5A-4E61-89B8-DA6CA9CAC7C7@dotcomsolutionsinc.net> References: <255611DE-2DF8-41D0-B602-AF05DA29121A@madmansoft.com> <30F81A43-3E5A-4E61-89B8-DA6CA9CAC7C7@dotcomsolutionsinc.net> Message-ID: <66D1FF64-24EA-406B-A937-55BC2DAF2E70@madmansoft.com> This would be music to my ears... really wished I had been able to go. As they say timing is everything. Thank you! On Sep 9, 2014, at 3:24 PM, David Simpson wrote: > WatchKit should be straightforward to wrap using the new Widgets/Extensions feature discussed at the conference. > > Actually, Kevin?s blog posting gives a nice overview of the process: > http://livecode.com/blog/2014/07/08/the-next-generation-widgets-themes/ > > There are examples on the USB archive of files from the conference. > > Once this new Widgets/Extensions feature is shipping, there is no reason RunRev has to add all of the features to the platform - and that is part of the beauty of the design. > > I think that we can look forward to a future where there are potentially thousands of Widgets and APIs available for our use. And Ben?s discussion of the new IDE features would seem to make searching/installing/updating these features much more seamless than we have ever experienced previously. > > David Simpson > www.fmpromigrator.com > > > > On Sep 9, 2014, at 12:07 PM, Stephen MacLean wrote: > >> WatchKit PLEASE!!!! >> >> Steve MacLean >> >> >> >> _______________________________________________ >> livecode-dev mailing list >> livecode-dev at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/livecode-dev > > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev From lists at mangomultimedia.com Tue Sep 9 15:31:58 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 9 Sep 2014 15:31:58 -0400 Subject: Simple JSON call In-Reply-To: <540F4BE3.6010207@fourthworld.com> References: <540F4BE3.6010207@fourthworld.com> Message-ID: On Tue, Sep 9, 2014 at 2:50 PM, Richard Gaskin wrote: > Trevor DeVore wrote: > >> "the urlresponse' will contain the data that the server sent back. Try >> checking that after your put into URL call. >> > > When does the urlResponse differ from the value in "it"? put ... into URL doesn't populate 'it'. Nor does 'delete URL ...'. The urlresponse was added so that we could get the server response in these cases. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From stephenREVOLUTION2 at barncard.com Tue Sep 9 15:40:17 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 9 Sep 2014 12:40:17 -0700 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? In-Reply-To: References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: On Tue, Sep 9, 2014 at 11:40 AM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > i used the link you posted in July 2013 in an answer to my question about > syntax highlighting in Coda 2. yeah they changed the specs and are even more confusing than the earlier ones. I love Coda but can't use it without the highlighting. I went back to Textmate and the plugin that one can get from the RevIgniter site. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From ambassador at fourthworld.com Tue Sep 9 16:15:10 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Sep 2014 13:15:10 -0700 Subject: Simple JSON call In-Reply-To: References: Message-ID: <540F5FCE.2090904@fourthworld.com> Trevor DeVore wrote: > On Tue, Sep 9, 2014 at 2:50 PM, Richard Gaskin wrote: > >> Trevor DeVore wrote: >> >>> "the urlresponse' will contain the data that the server sent back. Try >>> checking that after your put into URL call. >>> >> >> When does the urlResponse differ from the value in "it"? > > put ... into URL doesn't populate 'it'. Nor does 'delete URL ...'. > > The urlresponse was added so that we could get the server response in these > cases. Ah - supercool. I've been limiting my web APIs to use only POST, as I didn't realize we'd had a way to use PUT and DELETE. In fact, I thought DELETE only worked for FTP - what version extended that for HTTP? I wonder if the team should consider using "it" for those as they do for GET and POST.... -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From skip at magicgate.com Tue Sep 9 16:44:31 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 9 Sep 2014 16:44:31 -0400 Subject: Simple JSON call In-Reply-To: <540F5FCE.2090904@fourthworld.com> References: <540F5FCE.2090904@fourthworld.com> Message-ID: Richard, That is what confused me.... was trying "it", "result", etc. I was stress testing what I could do with some complex PUT, GET, POST and DELETE commands through some XML calls. I was getting server results, just not returning values. urlResponse works beautifully. Now I just need to parse the darn results :) Luckily there are few tools people have mentioned here to do that. SKIP On Tue, Sep 9, 2014 at 4:15 PM, Richard Gaskin wrote: > Trevor DeVore wrote: > > On Tue, Sep 9, 2014 at 2:50 PM, Richard Gaskin wrote: >> >> Trevor DeVore wrote: >>> >>> "the urlresponse' will contain the data that the server sent back. Try >>>> checking that after your put into URL call. >>>> >>>> >>> When does the urlResponse differ from the value in "it"? >>> >> >> put ... into URL doesn't populate 'it'. Nor does 'delete URL ...'. >> >> The urlresponse was added so that we could get the server response in >> these >> cases. >> > > Ah - supercool. I've been limiting my web APIs to use only POST, as I > didn't realize we'd had a way to use PUT and DELETE. In fact, I thought > DELETE only worked for FTP - what version extended that for HTTP? > > I wonder if the team should consider using "it" for those as they do for > GET and POST.... > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cowhead at mac.com Tue Sep 9 16:44:37 2014 From: cowhead at mac.com (Mark Mitchell) Date: Wed, 10 Sep 2014 05:44:37 +0900 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: References: Message-ID: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> First of all, LC is an absolutely amazing product. It's actually so amazing that I don't want to tell anyone about it, as I can make my computer dance and sing, and everyone thinks I am a programming wiz... However, my basic data base app has been running my small company for about 14 years? I think it started with the free meta-card, which was limited to just 10 lines of code, so you had to keep passing your code from hidden object to object, in order to keep it free... anyone remember those days? It was like NASA controlling Voyager! Then, this app went through paid metacard, Revolution Beta, paid Revolution, all versions of Livecode and FINALLY LC 7.0 managed to break it... I don't want to seem like a whiner; I HAVE paid hundreds of dollars for various incarnations and complicated licenses of this, ever since I was a beta tester. (And I never received a stuffed animal!) But this DB app has run on, quite literally, more than 20 different computers and various operating systems. It has managed my company and allowed me to raise more than 7 cats. The DB used 'color coding' of the lines, so the color of the lines is vital information. LC 7.0 erases all the previous 13 year of coloring on the entire fields and reverts them to plain text.. thus dumping 13 years of essential information. All is OK, for the time being, I have trashed LC 7.0 and restored all stacks (which worked fine with LC 6.6 but will not open with LC 7.0). I have tested on multiple machines, and it has failed, yet it still works fine on LC 6.6. Is this not a bug? I have a feeling it is tied to the revamped unicode which LC 7.0 has promised, but which I have not yet had a chance to test. I have narrowed down the offending code to this: -------- global planDate,linNum put "absolutely anything" into line linNum of card field "plan" -------------- It gets 'put' alright, but card field "plan" loses all previous formatting. Big, big bug if it changes folks' stacks forever! I've tried putting a global or a non-variable, and I get the same result. I would say I am doing something stupid, but I didn't DO anything, except upgrade to 7.0 (edit: in a previous post, I included an extraneous 'the' as I was testing to see if the type of variable mattered. Anyway, the 'the' doesn't matter. You still lose formatting without it.) From sc at sahores-conseil.com Tue Sep 9 16:51:05 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 9 Sep 2014 22:51:05 +0200 Subject: Fwd: iPush from M$ References: Message-ID: <77A05928-A96F-4F0D-B9B8-FEA4D0C945B4@sahores-conseil.com> Hi Mark, Works fine in one of my Win/Mac back office front-end but the messages are send from a server-side LC-server stack. Is it the way you act for your own ? If yes, you should probably search for charset compatibility issue somewhere in the process. Best regards, D?but du message r?exp?di? : > De: Mike Kerner > Objet: iPush from M$ > Date: 9 septembre 2014 19:19:48 UTC+2 > ?: How to use LiveCode > R?pondre ?: How to use LiveCode > > Did anybody ever get pushing to ios working from a win box? I fought with > it and fought with it, but I have never gotten over the termination hurdle > at the very end, so I can't do it automatically. It works fine from MacOS, > though. > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From larry at significantplanet.org Tue Sep 9 16:58:03 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 9 Sep 2014 14:58:03 -0600 Subject: Congrats LC 7.0! You finally broke my DB! References: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> Message-ID: <96F1815F55C341B19BA0DBBABE45244B@userd204a4d61c> Sorry that happened Mark. LC seems to be following the same rule of business as Microsoft - "Let's not worry too much about making our new stuff backward compatible with the old stuff. What do we care if people cannot run their old stuff anymore?" an emphathetic coder Larry ----- Original Message ----- From: "Mark Mitchell" To: Sent: Tuesday, September 09, 2014 2:44 PM Subject: Congrats LC 7.0! You finally broke my DB! > First of all, LC is an absolutely amazing product. It's actually so > amazing that I don't want to tell anyone about it, as I can make my > computer dance and sing, and everyone thinks I am a programming wiz... > > However, my basic data base app has been running my small company for > about 14 years? I think it started with the free meta-card, which was > limited to just 10 lines of code, so you had to keep passing your code > from hidden object to object, in order to keep it free... anyone remember > those days? It was like NASA controlling Voyager! Then, this app went > through paid metacard, Revolution Beta, paid Revolution, all versions of > Livecode and FINALLY LC 7.0 managed to break it... > > I don't want to seem like a whiner; I HAVE paid hundreds of dollars for > various incarnations and complicated licenses of this, ever since I was a > beta tester. (And I never received a stuffed animal!) > > But this DB app has run on, quite literally, more than 20 different > computers and various operating systems. It has managed my company and > allowed me to raise more than 7 cats. > > The DB used 'color coding' of the lines, so the color of the lines is > vital information. LC 7.0 erases all the previous 13 year of coloring on > the entire fields and reverts them to plain text.. thus dumping 13 years > of essential information. > > All is OK, for the time being, I have trashed LC 7.0 and restored all > stacks (which worked fine with LC 6.6 but will not open with LC 7.0). > > I have tested on multiple machines, and it has failed, yet it still works > fine on LC 6.6. Is this not a bug? I have a feeling it is tied to the > revamped unicode which LC 7.0 has promised, but which I have not yet had a > chance to test. > > I have narrowed down the offending code to this: > -------- > global planDate,linNum > put "absolutely anything" into line linNum of card field "plan" > -------------- > It gets 'put' alright, but card field "plan" loses all previous > formatting. > Big, big bug if it changes folks' stacks forever! > > I've tried putting a global or a non-variable, and I get the same result. > I would say I am doing something stupid, but I didn't DO anything, except > upgrade to 7.0 > > (edit: in a previous post, I included an extraneous 'the' as I was testing > to see if the type of variable mattered. Anyway, the 'the' doesn't > matter. You still lose formatting without it.) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Tue Sep 9 16:58:20 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 9 Sep 2014 16:58:20 -0400 Subject: Simple JSON call In-Reply-To: <540F5FCE.2090904@fourthworld.com> References: <540F5FCE.2090904@fourthworld.com> Message-ID: On Tuesday, September 9, 2014, Richard Gaskin wrote: > > > Ah - supercool. I've been limiting my web APIs to use only POST, as I > didn't realize we'd had a way to use PUT and DELETE. In fact, I thought > DELETE only worked for FTP - what version extended that for HTTP? AFAIK PUT and DELETE have always been available. At least since I needed to use them. It was just urlresponse that was added a few years ago so you could get the response. REST APIs often send back meaning data. -- Trevor DeVore From paulhibbert at mac.com Tue Sep 9 16:58:45 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 09 Sep 2014 13:58:45 -0700 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> References: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> Message-ID: Mark, Please bear in mind that LC 7.0 is not in final release yet, so it shouldn't really be used in production, it should only be used for testing right now. There are prominent warnings in the release notes. If you do find a bug such as this then RR needs to know about it, so reporting it using http://quality.runrev.com will give them the opportunity to fix the issue before final release. That helps everyone in the end. All you can hope for by posting it to the list is that someone may have a workaround that will help you and you may stop others falling into the same trap. Pleased to hear you didn't lose all your hard work! Paul On 2014-09-09, at 1:44 PM, Mark Mitchell wrote: > First of all, LC is an absolutely amazing product. It's actually so amazing that I don't want to tell anyone about it, as I can make my computer dance and sing, and everyone thinks I am a programming wiz... > > However, my basic data base app has been running my small company for about 14 years? I think it started with the free meta-card, which was limited to just 10 lines of code, so you had to keep passing your code from hidden object to object, in order to keep it free... anyone remember those days? It was like NASA controlling Voyager! Then, this app went through paid metacard, Revolution Beta, paid Revolution, all versions of Livecode and FINALLY LC 7.0 managed to break it... > > I don't want to seem like a whiner; I HAVE paid hundreds of dollars for various incarnations and complicated licenses of this, ever since I was a beta tester. (And I never received a stuffed animal!) > > But this DB app has run on, quite literally, more than 20 different computers and various operating systems. It has managed my company and allowed me to raise more than 7 cats. > > The DB used 'color coding' of the lines, so the color of the lines is vital information. LC 7.0 erases all the previous 13 year of coloring on the entire fields and reverts them to plain text.. thus dumping 13 years of essential information. > > All is OK, for the time being, I have trashed LC 7.0 and restored all stacks (which worked fine with LC 6.6 but will not open with LC 7.0). > > I have tested on multiple machines, and it has failed, yet it still works fine on LC 6.6. Is this not a bug? I have a feeling it is tied to the revamped unicode which LC 7.0 has promised, but which I have not yet had a chance to test. > > I have narrowed down the offending code to this: > -------- > global planDate,linNum > put "absolutely anything" into line linNum of card field "plan" > -------------- > It gets 'put' alright, but card field "plan" loses all previous formatting. > Big, big bug if it changes folks' stacks forever! > > I've tried putting a global or a non-variable, and I get the same result. > I would say I am doing something stupid, but I didn't DO anything, except upgrade to 7.0 > > (edit: in a previous post, I included an extraneous 'the' as I was testing to see if the type of variable mattered. Anyway, the 'the' doesn't matter. You still lose formatting without it.) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Sep 9 17:01:02 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Sep 2014 16:01:02 -0500 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> References: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> Message-ID: <540F6A8E.1050807@hyperactivesw.com> On 9/9/2014, 3:44 PM, Mark Mitchell wrote: > I have narrowed down the offending code to this: > -------- > global planDate,linNum > put "absolutely anything" into line linNum of card field "plan" > -------------- > It gets 'put' alright, but card field "plan" loses all previous formatting. > Big, big bug if it changes folks' stacks forever! I'd report it, since 7.0 isn't supposed to introduce any unexpected behavior. But I'm curious if it would work if you instead do this: put "absolutely anything" into char 1 to -1 of line linNum of card field "plan" Just a guess. I know in some cases character properties are retained where line properties aren't; for instance, backcolor. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Sep 9 17:11:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Sep 2014 16:11:46 -0500 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: <96F1815F55C341B19BA0DBBABE45244B@userd204a4d61c> References: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> <96F1815F55C341B19BA0DBBABE45244B@userd204a4d61c> Message-ID: <540F6D12.2070000@hyperactivesw.com> On 9/9/2014, 3:58 PM, larry at significantplanet.org wrote: > LC seems to be following the same rule of business as Microsoft - "Let's > not worry too much about making our new stuff backward compatible with > the old stuff. What do we care if people cannot run their old stuff > anymore?" I'm not sure why you'd say this. Historically it hasn't ever been so. RR has been consistently asking for feedback and has said repeatedly that they want to know about everything that doesn't work so they can fix it. They have promised backward compatibility, and all previous versions have aimed for that too. There's a reason Richard Gaskin keeps hammering at us to report everything. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Tue Sep 9 17:16:57 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Sep 2014 14:16:57 -0700 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: <540F6A8E.1050807@hyperactivesw.com> References: <540F6A8E.1050807@hyperactivesw.com> Message-ID: <540F6E49.5010505@fourthworld.com> J. Landman Gay wrote: > On 9/9/2014, 3:44 PM, Mark Mitchell wrote: >> I have narrowed down the offending code to this: >> -------- >> global planDate,linNum >> put "absolutely anything" into line linNum of card field "plan" >> -------------- >> It gets 'put' alright, but card field "plan" loses all previous formatting. >> Big, big bug if it changes folks' stacks forever! > > I'd report it, since 7.0 isn't supposed to introduce any unexpected > behavior. > > But I'm curious if it would work if you instead do this: > > put "absolutely anything" into char 1 to -1 of line linNum of card > field "plan" > > Just a guess. I know in some cases character properties are retained > where line properties aren't; for instance, backcolor. It's an odd regression, since the paragraph formatting was deeply overhauled for v5.5, where I would have expected to see things like this show up. Mark, thanks for helping to test v7.0 to better ensure that the final release fully meets your needs. After you file the bug report, please note the bug report number here so we can follow it. Thanks - -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From skip at magicgate.com Tue Sep 9 17:17:37 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 9 Sep 2014 17:17:37 -0400 Subject: Magic Super Glue Message-ID: Today I was explaining to someone what I use LiveCode for, especially at work. He had the perfect response.... "So it is your magic super glue!" Considering I use LC to consolidate data and create tools to compensate for lack of functionality in other software systems, I couldn't have put it better. SKIP From roger.e.eller at sealedair.com Tue Sep 9 17:19:10 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 9 Sep 2014 17:19:10 -0400 Subject: Magic Super Glue In-Reply-To: References: Message-ID: Excellent analogy! ~Roger On Tue, Sep 9, 2014 at 5:17 PM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Today I was explaining to someone what I use LiveCode for, especially at > work. He had the perfect response.... "So it is your magic super glue!" > > Considering I use LC to consolidate data and create tools to compensate for > lack of functionality in other software systems, I couldn't have put it > better. > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jhj at jhj.com Tue Sep 9 17:23:51 2014 From: jhj at jhj.com (Jerry Jensen) Date: Tue, 9 Sep 2014 14:23:51 -0700 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: <540F6D12.2070000@hyperactivesw.com> References: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> <96F1815F55C341B19BA0DBBABE45244B@userd204a4d61c> <540F6D12.2070000@hyperactivesw.com> Message-ID: <59CDBD85-4392-49C9-BD9F-767781C3B777@jhj.com> On Sep 9, 2014, at 2:11 PM, J. Landman Gay wrote: > On 9/9/2014, 3:58 PM, larry at significantplanet.org wrote: >> LC seems to be following the same rule of business as Microsoft - "Let's >> not worry too much about making our new stuff backward compatible with >> the old stuff. What do we care if people cannot run their old stuff >> anymore?" > > I'm not sure why you'd say this. Historically it hasn't ever been so. > > RR has been consistently asking for feedback and has said repeatedly that they want to know about everything that doesn't work so they can fix it. They have promised backward compatibility, and all previous versions have aimed for that too. There's a reason Richard Gaskin keeps hammering at us to report everything. I'd also point out that RR are putting up with the hassle of parallel fixes to 6.7 and 7.0. Some things inevitably had to change in 7.0. With 6.7 people who would otherwise have broken can take advantage of the latest improvements and bug fixes done in parallel to 6.7 and 7.0. .Jerry From ambassador at fourthworld.com Tue Sep 9 17:26:38 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Sep 2014 14:26:38 -0700 Subject: Magic Super Glue In-Reply-To: References: Message-ID: <540F708E.5030607@fourthworld.com> Skip Kimpel wrote: > Today I was explaining to someone what I use LiveCode for, especially > at work. He had the perfect response.... "So it is your magic super > glue!" > > Considering I use LC to consolidate data and create tools to > compensate for lack of functionality in other software systems, > I couldn't have put it better. You're in good company - back in '98 when Stanford's John Ousterhout was still working at Sun, in his seminal paper "Scripting: Higher- Level Programming for the 21st Century" he wrote: Scripting languages are sometimes referred to as glue languages or system integration languages. A good paper worth reading for many reasons - everything he writes there about Tcl applies to LC even more so: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From prothero at earthednet.org Tue Sep 9 17:28:03 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 9 Sep 2014 14:28:03 -0700 Subject: Slowdown when putting symbols into image data In-Reply-To: <540F507F.7070105@hyperactivesw.com> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> Message-ID: <42372E68-B5D7-4089-B7E0-27D402A5628F@earthednet.org> Jacqueline: Sounds like a good idea. I don?t see how, though, that you would be able to display a LOT of identical symbols on a map using a single polygon graphic. Don?t you have to create and place each one? That would mean thousands of graphic objects. Is that what you mean? Bill On Sep 9, 2014, at 12:09 PM, J. Landman Gay wrote: > On 9/9/2014, 12:51 PM, William Prothero wrote: >> Seems I?ve found the offending line in my draw script. Its: >> >>> > put byte 1 to tLength of tbrushBinaryData into byte tNewStart * 4 - 3 to tNewStart*4 - 3 + tLength -1 of imgdata -- insert brushimageData into image >> If I comment out this line, the symbols are drawn in 2.85 seconds, more than a factor of 10 speedup. > > This would be similar to using a "repeat with x = 1 to 1000" structure. Every time through the loop the engine has to count from byte 1 to tNewStart. An image has lots of bytes, so all that counting makes it slow. > > I had a very similar requirement in my current project, I had to create hundreds of small images on top of a map. I never bothered to try drawing into the map image, I knew it would take forever. Instead I used a polygon graphic and set its points to the locations I needed, and set its markers to the symbol I wanted to display. I needed one graphic per symbol type, but that still cut down the number from hundreds to five. > > You may remember my thread about setting markers so they would resize correctly. It was very helpful and I was able to do what I needed. Setting the points of a graphic is instantaneous, there was no delay at all. If your goal is similar to mine, you might want to drop the painting method and just go with the graphics approach. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Sep 9 17:50:05 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Sep 2014 16:50:05 -0500 Subject: Slowdown when putting symbols into image data In-Reply-To: <42372E68-B5D7-4089-B7E0-27D402A5628F@earthednet.org> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <42372E68-B5D7-4089-B7E0-27D402A5628F@earthednet.org> Message-ID: <540F760D.8030607@hyperactivesw.com> On 9/9/2014, 4:28 PM, William Prothero wrote: > Jacqueline: Sounds like a good idea. I don?t see how, though, that > you would be able to display a LOT of identical symbols on a map > using a single polygon graphic. Don?t you have to create and place > each one? That would mean thousands of graphic objects. Is that what > you mean? Oh no, not at all. Not having thousands of objects is exactly the reason to choose graphic objects. Every point on a graphic can display a marker which is just a small image you provide. If you set the linesize of the graphic to 0, the lines don't show, all you see are the markers. Then you just make a list of the locations, one per point, one point per line, and set the graphic's points property to that list. The graphic can cover as much area as you need, it can sprawl all over the card. All you see are the points, and each point is a symbol image. The only restriction is that a graphic can only show one type of marker, so you'll need a different graphic for each symbol image you want to display. In my case, I had five symbols, so I needed five graphics. But each graphic had hundreds of points. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cmsheffield at icloud.com Tue Sep 9 18:03:02 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 09 Sep 2014 16:03:02 -0600 Subject: iOS app build error In-Reply-To: <614B576A-B6E2-4014-A54A-52AC980F8CB4@icloud.com> References: <614B576A-B6E2-4014-A54A-52AC980F8CB4@icloud.com> Message-ID: Well, after working on this all day long, I am totally stumped. I?ve even tried building my app on a clean VM running Mavericks and LC 6.6.2. Still no go. I get the same error message. I think my certificates are hosed somehow, but I?m not sure how to fix them. I am noticing that I sometimes end up with duplicate certificates when I look in Keychain Access. But when I?ve seen that in the past, deleting them has always fixed the problem. Not this time, though. And if I open Xcode and let it automatically download and install everything, I just end up with all kinds of duplicates again. I?ve tried over and over to revoke my certificates and re-create them, and to re-create all my provisioning profiles. Nothing works. Does anyone have any ideas? I don?t think this is a LC problem specifically, but if anyone has any other ideas, I?d be very gratefully. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com > On Sep 9, 2014, at 10:22 AM, Chris Sheffield wrote: > > Another day, another problem (it?s me, I?m sure)? > > All of a sudden I?m getting the following error when trying to build an iOS app: > > ?could not find a valid identity to use for the selected profile? > > I have tried everything I can think of to try to resolve this, including removing my developer certificate(s) and all provisioning profiles and then reinstalling them. Nothing seems to work. > > Anyone else run into this? Any ideas? > > Thanks, > Chris > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Tue Sep 9 18:03:56 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 9 Sep 2014 15:03:56 -0700 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: <59CDBD85-4392-49C9-BD9F-767781C3B777@jhj.com> References: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> <96F1815F55C341B19BA0DBBABE45244B@userd204a4d61c> <540F6D12.2070000@hyperactivesw.com> <59CDBD85-4392-49C9-BD9F-767781C3B777@jhj.com> Message-ID: I'm kinda surprised that someone would put 7.0 into a production environment at this point - there isn't a GM release yet. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Sep 9, 2014 at 2:23 PM, Jerry Jensen wrote: > > On Sep 9, 2014, at 2:11 PM, J. Landman Gay > wrote: > > > On 9/9/2014, 3:58 PM, larry at significantplanet.org wrote: > >> LC seems to be following the same rule of business as Microsoft - "Let's > >> not worry too much about making our new stuff backward compatible with > >> the old stuff. What do we care if people cannot run their old stuff > >> anymore?" > > > > I'm not sure why you'd say this. Historically it hasn't ever been so. > > > > RR has been consistently asking for feedback and has said repeatedly > that they want to know about everything that doesn't work so they can fix > it. They have promised backward compatibility, and all previous versions > have aimed for that too. There's a reason Richard Gaskin keeps hammering at > us to report everything. > > I'd also point out that RR are putting up with the hassle of parallel > fixes to 6.7 and 7.0. Some things inevitably had to change in 7.0. With 6.7 > people who would otherwise have broken can take advantage of the latest > improvements and bug fixes done in parallel to 6.7 and 7.0. > > .Jerry > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From prothero at earthednet.org Tue Sep 9 18:13:55 2014 From: prothero at earthednet.org (William Prothero) Date: Tue, 9 Sep 2014 15:13:55 -0700 Subject: Slowdown when putting symbols into image data In-Reply-To: <540F760D.8030607@hyperactivesw.com> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <42372E68-B5D7-4089-B7E0-27D402A5628F@earthednet.org> <540F760D.8030607@hyperactivesw.com> Message-ID: <580287DE-7BDF-4C93-81D1-E71327AE0136@earthednet.org> Jacqueline: I didn?t know that markers could be applied to the points on a line. I see now, very cool. I?ll take that approach. I can see in the object inspector where to make up the markers. Looks straightforward. Thanks again, Bill On Sep 9, 2014, at 2:50 PM, J. Landman Gay wrote: > On 9/9/2014, 4:28 PM, William Prothero wrote: > > Jacqueline: Sounds like a good idea. I don?t see how, though, that > > you would be able to display a LOT of identical symbols on a map > > using a single polygon graphic. Don?t you have to create and place > > each one? That would mean thousands of graphic objects. Is that what > > you mean? > > > Oh no, not at all. Not having thousands of objects is exactly the reason to choose graphic objects. > > Every point on a graphic can display a marker which is just a small image you provide. If you set the linesize of the graphic to 0, the lines don't show, all you see are the markers. Then you just make a list of the locations, one per point, one point per line, and set the graphic's points property to that list. > > The graphic can cover as much area as you need, it can sprawl all over the card. All you see are the points, and each point is a symbol image. The only restriction is that a graphic can only show one type of marker, so you'll need a different graphic for each symbol image you want to display. In my case, I had five symbols, so I needed five graphics. But each graphic had hundreds of points. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Tue Sep 9 18:24:24 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 09 Sep 2014 15:24:24 -0700 Subject: iOS app build error In-Reply-To: References: <614B576A-B6E2-4014-A54A-52AC980F8CB4@icloud.com> Message-ID: Hey Chris: Dumb suggestion -- did you try physically deleting the local app provisioning files, as opposed to using xCode to remove them? It used to be that using xCode for deleting/updating local provisioning files was somewhat unreliable, and that manually deleting the profiles sometimes makes a difference (I ran into this fairly recently). /Library/MobileDevice/Provisioning Files/ Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/9/14 3:03 PM, "Chris Sheffield" wrote: >Well, after working on this all day long, I am totally stumped. I?ve even >tried building my app on a clean VM running Mavericks and LC 6.6.2. Still >no go. I get the same error message. I think my certificates are hosed >somehow, but I?m not sure how to fix them. I am noticing that I sometimes >end up with duplicate certificates when I look in Keychain Access. But >when I?ve seen that in the past, deleting them has always fixed the >problem. Not this time, though. And if I open Xcode and let it >automatically download and install everything, I just end up with all >kinds of duplicates again. > >I?ve tried over and over to revoke my certificates and re-create them, >and to re-create all my provisioning profiles. Nothing works. > >Does anyone have any ideas? I don?t think this is a LC problem >specifically, but if anyone has any other ideas, I?d be very gratefully. > >Thanks, >Chris > > >-- >Chris Sheffield >Read Naturally, Inc. >www.readnaturally.com > >> On Sep 9, 2014, at 10:22 AM, Chris Sheffield >>wrote: >> >> Another day, another problem (it?s me, I?m sure)? >> >> All of a sudden I?m getting the following error when trying to build an >>iOS app: >> >> ?could not find a valid identity to use for the selected profile? >> >> I have tried everything I can think of to try to resolve this, >>including removing my developer certificate(s) and all provisioning >>profiles and then reinstalling them. Nothing seems to work. >> >> Anyone else run into this? Any ideas? >> >> Thanks, >> Chris >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Sep 9 18:27:08 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Sep 2014 17:27:08 -0500 Subject: Slowdown when putting symbols into image data In-Reply-To: <580287DE-7BDF-4C93-81D1-E71327AE0136@earthednet.org> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <42372E68-B5D7-4089-B7E0-27D402A5628F@earthednet.org> <540F760D.8030607@hyperactivesw.com> <580287DE-7BDF-4C93-81D1-E71327AE0136@earthednet.org> Message-ID: <540F7EBC.2070603@hyperactivesw.com> I should warn you though about the issue I had. If you use an image as a marker it will tile across the whole graphic; that is, each marker is not drawn individually, it is as though the whole card had that pattern and each marker picks up only the portion of the fill pattern that would be under that spot. So if you can create the symbols using markerpoints instead of images, it works better. Basically that's what the list helped me with. Here's the thread on Nabble: If you scroll down to Bernd's post (user name BNig), he provides a link to his very cool MakeMarker utility that will help you create the markers you need. He and Jacques Hausser's circle points saved me. On 9/9/2014, 5:13 PM, William Prothero wrote: > Jacqueline: > I didn?t know that markers could be applied to the points on a line. I see now, very cool. I?ll take that approach. I can see in the object inspector where to make up the markers. Looks straightforward. > Thanks again, > Bill > On Sep 9, 2014, at 2:50 PM, J. Landman Gay wrote: > >> On 9/9/2014, 4:28 PM, William Prothero wrote: >>> Jacqueline: Sounds like a good idea. I don?t see how, though, that >>> you would be able to display a LOT of identical symbols on a map >>> using a single polygon graphic. Don?t you have to create and place >>> each one? That would mean thousands of graphic objects. Is that what >>> you mean? >> >> >> Oh no, not at all. Not having thousands of objects is exactly the reason to choose graphic objects. >> >> Every point on a graphic can display a marker which is just a small image you provide. If you set the linesize of the graphic to 0, the lines don't show, all you see are the markers. Then you just make a list of the locations, one per point, one point per line, and set the graphic's points property to that list. >> >> The graphic can cover as much area as you need, it can sprawl all over the card. All you see are the points, and each point is a symbol image. The only restriction is that a graphic can only show one type of marker, so you'll need a different graphic for each symbol image you want to display. In my case, I had five symbols, so I needed five graphics. But each graphic had hundreds of points. >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Sep 9 18:30:18 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Sep 2014 17:30:18 -0500 Subject: iOS app build error In-Reply-To: References: <614B576A-B6E2-4014-A54A-52AC980F8CB4@icloud.com> Message-ID: <540F7F7A.4040303@hyperactivesw.com> I can't really help here, but I seem to recall someone on the forums reporting the same problem. Or was that you? You might write to support about it, who knows, they may have an idea. On 9/9/2014, 5:03 PM, Chris Sheffield wrote: > Well, after working on this all day long, I am totally stumped. I?ve > even tried building my app on a clean VM running Mavericks and LC > 6.6.2. Still no go. I get the same error message. I think my > certificates are hosed somehow, but I?m not sure how to fix them. I > am noticing that I sometimes end up with duplicate certificates when > I look in Keychain Access. But when I?ve seen that in the past, > deleting them has always fixed the problem. Not this time, though. > And if I open Xcode and let it automatically download and install > everything, I just end up with all kinds of duplicates again. > > I?ve tried over and over to revoke my certificates and re-create > them, and to re-create all my provisioning profiles. Nothing works. > > Does anyone have any ideas? I don?t think this is a LC problem > specifically, but if anyone has any other ideas, I?d be very > gratefully. > > Thanks, Chris > > > -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com > >> On Sep 9, 2014, at 10:22 AM, Chris Sheffield >> wrote: >> >> Another day, another problem (it?s me, I?m sure)? >> >> All of a sudden I?m getting the following error when trying to >> build an iOS app: >> >> ?could not find a valid identity to use for the selected profile? >> >> I have tried everything I can think of to try to resolve this, >> including removing my developer certificate(s) and all provisioning >> profiles and then reinstalling them. Nothing seems to work. >> >> Anyone else run into this? Any ideas? >> >> Thanks, Chris >> >> _______________________________________________ use-livecode >> mailing list use-livecode at lists.runrev.com Please visit this url to >> subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ use-livecode mailing > list use-livecode at lists.runrev.com Please visit this url to > subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Tue Sep 9 18:42:33 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 09 Sep 2014 18:42:33 -0400 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> References: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> Message-ID: Are you able to describe a simple test that would show the issue? If I put styled and colored text into a field, and then change a line of that text with code, all the formatting stays intact. I wondered if it?s just an issue if you take an old stack and open it in LiveCode 7, but the oldest stack I can make is with 5.5.4, and that seems to work ok in LiveCode 7. Now, there is a problem I saw while testing this, Italics don?t seem to work in 7.0 RC1. But plain, bold, and colored text all work, and remain looking the same if I change a line of the field with code. From coiin at verizon.net Tue Sep 9 18:52:00 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 09 Sep 2014 18:52:00 -0400 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: References: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> Message-ID: I went ahead and logged a bug about italics not working: http://quality.runrev.com/show_bug.cgi?id=13392 From cowhead at mac.com Tue Sep 9 19:11:36 2014 From: cowhead at mac.com (Mark Mitchell) Date: Wed, 10 Sep 2014 08:11:36 +0900 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: References: Message-ID: On Sep 10, 2014, Jacqueline Landman Gay wrote: > put "absolutely anything" into char 1 to -1 of line linNum of card > field "plan" Thanks Jacqueline, wow I remember you and Gaskin from the old days! Anyway, that doesn't work either. However, I realize now that I haven't been keeping up and LC 7.0 is a not ready for prime time player? The installer (Which is absolutely awesome, by the way, I don't know who coded that!) states that it is a 'stable' release.... so I usually just click "install" when I see that. Anyway, OK, I'll report this as a bug.... how do I do that again?? From ambassador at fourthworld.com Tue Sep 9 19:15:27 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Sep 2014 16:15:27 -0700 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: References: Message-ID: <540F8A0F.4040105@fourthworld.com> Mark Mitchell wrote: > Thanks Jacqueline, wow I remember you and Gaskin from the old days! Good to see you here. > The installer (Which is absolutely awesome, by the way, I don't know > who coded that!) states that it is a 'stable' release.... That would be a bug. I've not seen this myself, but if anyone else sees it please take a screen shot and file a bug report. RC <> stable, it just means our window for submitting bug reports is getting narrower so we need to step up testing. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at tweedly.net Tue Sep 9 19:17:16 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 10 Sep 2014 00:17:16 +0100 Subject: Slowdown when putting symbols into image data In-Reply-To: <540F507F.7070105@hyperactivesw.com> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> Message-ID: <540F8A7C.4070908@tweedly.net> On 09/09/2014 20:09, J. Landman Gay wrote: > On 9/9/2014, 12:51 PM, William Prothero wrote: >> Seems I?ve found the offending line in my draw script. Its: >> >>> > put byte 1 to tLength of tbrushBinaryData into byte tNewStart * 4 >>> - 3 to tNewStart*4 - 3 + tLength -1 of imgdata -- insert >>> brushimageData into image >> If I comment out this line, the symbols are drawn in 2.85 seconds, >> more than a factor of 10 speedup. > > This would be similar to using a "repeat with x = 1 to 1000" > structure. Every time through the loop the engine has to count from > byte 1 to tNewStart. An image has lots of bytes, so all that counting > makes it slow. No, it wouldn't be similar to that, or at least two reasons: 1. accessing bytes (or historically chars) is 'direct' - the enginge can calculate where byte N is and just accesses it directly - in contrast to needing to traverse thrugh counting which it does need to do for item, line, word, .... char wa historically the exception, and very quick because of that. With the move to Unicode, char becomes less 'direct', but byte will remain direct, and hence should be the quickest one to use. 2. there is a repeat loop over the number of rows in the brushdata - but there is no repeat loop within this statement (except inside the engine). It's a single 'put' command, which should copy a large block of bytes into another (hopefully same sized) block of byte positions. Notwithstanding that, all the rest of your message, and the advice given, is correct and good - but I don't see any reason why this statement should be any slower in 7.0 than in 6.x. I'll go experiment .... -- Alex. From cmsheffield at icloud.com Tue Sep 9 19:26:37 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 09 Sep 2014 17:26:37 -0600 Subject: iOS app build error In-Reply-To: References: <614B576A-B6E2-4014-A54A-52AC980F8CB4@icloud.com> Message-ID: <9FC059F2-27D7-4256-8326-2AB448F58F4C@icloud.com> Scott, thanks. I thought about doing that but didn't know where they were located. Now I do. I'll give that a try. Chris > On Sep 9, 2014, at 4:24 PM, Scott Rossi wrote: > > Hey Chris: > > Dumb suggestion -- did you try physically deleting the local app > provisioning files, as opposed to using xCode to remove them? It used to > be that using xCode for deleting/updating local provisioning files was > somewhat unreliable, and that manually deleting the profiles sometimes > makes a difference (I ran into this fairly recently). > > /Library/MobileDevice/Provisioning Files/ > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > >> On 9/9/14 3:03 PM, "Chris Sheffield" wrote: >> >> Well, after working on this all day long, I am totally stumped. I?ve even >> tried building my app on a clean VM running Mavericks and LC 6.6.2. Still >> no go. I get the same error message. I think my certificates are hosed >> somehow, but I?m not sure how to fix them. I am noticing that I sometimes >> end up with duplicate certificates when I look in Keychain Access. But >> when I?ve seen that in the past, deleting them has always fixed the >> problem. Not this time, though. And if I open Xcode and let it >> automatically download and install everything, I just end up with all >> kinds of duplicates again. >> >> I?ve tried over and over to revoke my certificates and re-create them, >> and to re-create all my provisioning profiles. Nothing works. >> >> Does anyone have any ideas? I don?t think this is a LC problem >> specifically, but if anyone has any other ideas, I?d be very gratefully. >> >> Thanks, >> Chris >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >>> On Sep 9, 2014, at 10:22 AM, Chris Sheffield >>> wrote: >>> >>> Another day, another problem (it?s me, I?m sure)? >>> >>> All of a sudden I?m getting the following error when trying to build an >>> iOS app: >>> >>> ?could not find a valid identity to use for the selected profile? >>> >>> I have tried everything I can think of to try to resolve this, >>> including removing my developer certificate(s) and all provisioning >>> profiles and then reinstalling them. Nothing seems to work. >>> >>> Anyone else run into this? Any ideas? >>> >>> Thanks, >>> Chris >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Tue Sep 9 19:29:46 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 09 Sep 2014 17:29:46 -0600 Subject: iOS app build error In-Reply-To: <540F7F7A.4040303@hyperactivesw.com> References: <614B576A-B6E2-4014-A54A-52AC980F8CB4@icloud.com> <540F7F7A.4040303@hyperactivesw.com> Message-ID: Jacque, I found that post on the forums (it wasn't me) but didn't see that a specific solution was found. I'll take a closer look though. I'll try Scott's suggestion as well. If that doesn't work, I'll contact support. Not really sure what else to do. Thanks, Chris > On Sep 9, 2014, at 4:30 PM, J. Landman Gay wrote: > > I can't really help here, but I seem to recall someone on the forums reporting the same problem. Or was that you? > > You might write to support about it, who knows, they may have an idea. > > >> On 9/9/2014, 5:03 PM, Chris Sheffield wrote: >> Well, after working on this all day long, I am totally stumped. I?ve >> even tried building my app on a clean VM running Mavericks and LC >> 6.6.2. Still no go. I get the same error message. I think my >> certificates are hosed somehow, but I?m not sure how to fix them. I >> am noticing that I sometimes end up with duplicate certificates when >> I look in Keychain Access. But when I?ve seen that in the past, >> deleting them has always fixed the problem. Not this time, though. >> And if I open Xcode and let it automatically download and install >> everything, I just end up with all kinds of duplicates again. >> >> I?ve tried over and over to revoke my certificates and re-create >> them, and to re-create all my provisioning profiles. Nothing works. >> >> Does anyone have any ideas? I don?t think this is a LC problem >> specifically, but if anyone has any other ideas, I?d be very >> gratefully. >> >> Thanks, Chris >> >> >> -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com >> >>> On Sep 9, 2014, at 10:22 AM, Chris Sheffield >>> wrote: >>> >>> Another day, another problem (it?s me, I?m sure)? >>> >>> All of a sudden I?m getting the following error when trying to >>> build an iOS app: >>> >>> ?could not find a valid identity to use for the selected profile? >>> >>> I have tried everything I can think of to try to resolve this, >>> including removing my developer certificate(s) and all provisioning >>> profiles and then reinstalling them. Nothing seems to work. >>> >>> Anyone else run into this? Any ideas? >>> >>> Thanks, Chris >>> >>> _______________________________________________ use-livecode >>> mailing list use-livecode at lists.runrev.com Please visit this url to >>> subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ use-livecode mailing >> list use-livecode at lists.runrev.com Please visit this url to >> subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at harryscollar.com Tue Sep 9 19:50:55 2014 From: alex at harryscollar.com (Alex Shaw) Date: Wed, 10 Sep 2014 09:50:55 +1000 Subject: iOS app build error In-Reply-To: <614B576A-B6E2-4014-A54A-52AC980F8CB4@icloud.com> References: <614B576A-B6E2-4014-A54A-52AC980F8CB4@icloud.com> Message-ID: <540F925F.2090402@harryscollar.com> Hi Chris Ran into this a few weeks ago with LC6.6.2 Found a solution on the forum.. http://forums.livecode.com/viewtopic.php?f=7&t=21333&p=109203&hilit=profile#p109200 I thought the latest RC builds fixed it. Hopefully there will be some new builds soon which implement that fix plus the App Store submission bug. regards alex On 10/09/2014 2:22 am, Chris Sheffield wrote: > Another day, another problem (it?s me, I?m sure)? > > All of a sudden I?m getting the following error when trying to build an iOS app: > > ?could not find a valid identity to use for the selected profile? > > I have tried everything I can think of to try to resolve this, including removing my developer certificate(s) and all provisioning profiles and then reinstalling them. Nothing seems to work. > > Anyone else run into this? Any ideas? > > Thanks, > Chris > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Tue Sep 9 20:09:18 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 09 Sep 2014 18:09:18 -0600 Subject: iOS app build error In-Reply-To: <540F925F.2090402@harryscollar.com> References: <614B576A-B6E2-4014-A54A-52AC980F8CB4@icloud.com> <540F925F.2090402@harryscollar.com> Message-ID: Excellent! Thank you! I'll give it a try first thing tomorrow. I hadn't found that particular thread in the forums. Guess I didn't search for the right terms. :) > On Sep 9, 2014, at 5:50 PM, Alex Shaw wrote: > > Hi Chris > > Ran into this a few weeks ago with LC6.6.2 > > Found a solution on the forum.. > > http://forums.livecode.com/viewtopic.php?f=7&t=21333&p=109203&hilit=profile#p109200 > > I thought the latest RC builds fixed it. > > Hopefully there will be some new builds soon which implement that fix plus the App Store submission bug. > > regards > alex > >> On 10/09/2014 2:22 am, Chris Sheffield wrote: >> Another day, another problem (it?s me, I?m sure)? >> >> All of a sudden I?m getting the following error when trying to build an iOS app: >> >> ?could not find a valid identity to use for the selected profile? >> >> I have tried everything I can think of to try to resolve this, including removing my developer certificate(s) and all provisioning profiles and then reinstalling them. Nothing seems to work. >> >> Anyone else run into this? Any ideas? >> >> Thanks, >> Chris >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue Sep 9 20:18:43 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 10 Sep 2014 00:18:43 +0000 (UTC) Subject: Congrats LC 7.0! You finally broke my DB! References: Message-ID: Mark Mitchell writes: > However, I realize now that I haven't been keeping up and LC 7.0 is a not ready for prime time player? The > installer (Which is absolutely awesome, by the way, I don't know who coded that!) states that it is a > 'stable' release.... so I usually just click "install" when I see that. I just ran the installer again on OSX, and couldn't find anywhere where it said it was a stable release. In fact, the download page explicitly states that the RC releases are for testing to see if they are stable. We're getting close to a stable 7.0 release, but it's not quite there yet. Agree about the installer, though. -- Mark Wieder ahsoftware at gmail.com From coiin at verizon.net Tue Sep 9 20:47:29 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 09 Sep 2014 20:47:29 -0400 Subject: iOS app build error In-Reply-To: References: <614B576A-B6E2-4014-A54A-52AC980F8CB4@icloud.com> <540F925F.2090402@harryscollar.com> Message-ID: <85512CA0-4844-4444-8963-07437A8DFE41@verizon.net> I was building apps under 7.0dp10 on Tuesday, and then failing to build apps under RC1 on Thursday. When you?re checking into the patch from a few weeks ago, can you test whether dp10 needs it, as well as whether it fixes RC1? It could be that they put the fix in by dp10, but it got lost again after that. From wow at together.net Tue Sep 9 21:46:12 2014 From: wow at together.net (Richard Miller) Date: Tue, 09 Sep 2014 21:46:12 -0400 Subject: LC, Windows 8.1 and Recording Video In-Reply-To: References: <66DB3FFB-A42E-4178-AA91-7B4C89BBA201@verizon.net> Message-ID: <540FAD64.5020903@together.net> Is it possible to record video with a webcam through LC under Windows 8.1? I've been trying to do that on a new PC without any luck. The sample LC project doesn't work, regardless of whether I set the videograbber to "QT", "VFW" or "DirectX". My old (previously working) video capture stack does nothing either. I have QT installed. I've tried LC 6.0 and 7.0. Has anyone gotten this to work? Thanks, Richard Miller From mwieder at ahsoftware.net Tue Sep 9 22:28:13 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 9 Sep 2014 19:28:13 -0700 Subject: Simple JSON call In-Reply-To: References: <540F5FCE.2090904@fourthworld.com> Message-ID: <86629043382.20140909192813@ahsoftware.net> Trevor- Tuesday, September 9, 2014, 1:58:20 PM, you wrote: > AFAIK PUT and DELETE have always been available. At least since I needed to > use them. It was just urlresponse that was added a few years ago so you > could get the response. REST APIs often send back meaning data. Yeah. The put and delete verbs aren't exactly documented, but they're in the libUrl library, and AFAICT they've always been there. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Tue Sep 9 22:39:52 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Sep 2014 21:39:52 -0500 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: References: Message-ID: <540FB9F8.1020402@hyperactivesw.com> On 9/9/2014, 7:18 PM, Mark Wieder wrote: > I just ran the installer again on OSX, and couldn't find anywhere where it > said it was a stable release. I've seen it. I think the info is in the dialog that appears on launch when it tells you there's a new version available, not in the installer itself. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Sep 9 22:42:49 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Sep 2014 21:42:49 -0500 Subject: Slowdown when putting symbols into image data In-Reply-To: <540F8A7C.4070908@tweedly.net> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> Message-ID: <540FBAA9.2030307@hyperactivesw.com> On 9/9/2014, 6:17 PM, Alex Tweedly wrote: > accessing bytes (or historically chars) is 'direct' - the enginge can > calculate where byte N is and just accesses it directly - in contrast to > needing to traverse thrugh counting Thanks Alex, that's good to know. If you figure out where the slowdown is in the original script I'll be curious to know that too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Tue Sep 9 22:48:34 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 9 Sep 2014 19:48:34 -0700 (PDT) Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: <96F1815F55C341B19BA0DBBABE45244B@userd204a4d61c> References: <8AEBBAE5-BD14-48E8-BC42-A5512AE2734B@mac.com> <96F1815F55C341B19BA0DBBABE45244B@userd204a4d61c> Message-ID: <1410317314586-4683081.post@n4.nabble.com> larry wrote > LC seems to be following the same rule of business as Microsoft - "Let's > not > worry too much about making our new stuff backward compatible with the old > stuff. What do we care if people cannot run their old stuff anymore?" > an emphathetic coder > Larry Funny Enough, the original MetaCard Demo from 1992 run without any outstanding issues and I compiled it for android, where it works fine (just sounds does not works) Android APK: https://dl.dropboxusercontent.com/u/3834621/Demo.apk Editable stack: https://dl.dropboxusercontent.com/u/3834621/demoMC27.livecode If your OS or LiveCode version have problems playing sounds then use this version: https://dl.dropboxusercontent.com/u/3834621/demoMC27_no_sounds.livecode Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Congrats-LC-7-0-You-finally-broke-my-DB-tp4683046p4683081.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Tue Sep 9 22:50:30 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 9 Sep 2014 19:50:30 -0700 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: <540FB9F8.1020402@hyperactivesw.com> References: <540FB9F8.1020402@hyperactivesw.com> Message-ID: <76630380559.20140909195030@ahsoftware.net> Jacque- Tuesday, September 9, 2014, 7:39:52 PM, you wrote: > I've seen it. I think the info is in the dialog that appears on launch > when it tells you there's a new version available, not in the installer > itself. OK. I forced the updater to run and if you scroll the info window all the way to the top (I've never done that before) it does indeed say "This stable release..." -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Tue Sep 9 23:11:21 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Sep 2014 22:11:21 -0500 Subject: Congrats LC 7.0! You finally broke my DB! In-Reply-To: References: Message-ID: <540FC159.8020701@hyperactivesw.com> On 9/9/2014, 6:11 PM, Mark Mitchell wrote: > wow I remember you and Gaskin from the old days! This list is kind of like that street corner in New York where, if you stand there long enough, everyone in the world passes by. Welcome back. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From prothero at earthednet.org Wed Sep 10 00:13:17 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Tue, 9 Sep 2014 21:13:17 -0700 Subject: Slowdown when putting symbols into image data In-Reply-To: <540FBAA9.2030307@hyperactivesw.com> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <540FBAA9.2030307@hyperactivesw.com> Message-ID: I'll drink to that, too. It will save me reprogramming my plot routines. Bill William Prothero http://es.earthednet.org > On Sep 9, 2014, at 7:42 PM, "J. Landman Gay" wrote: > >> On 9/9/2014, 6:17 PM, Alex Tweedly wrote: >> accessing bytes (or historically chars) is 'direct' - the enginge can >> calculate where byte N is and just accesses it directly - in contrast to >> needing to traverse thrugh counting > > Thanks Alex, that's good to know. If you figure out where the slowdown is in the original script I'll be curious to know that too. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Wed Sep 10 00:27:44 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 10 Sep 2014 12:27:44 +0800 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: <540F44EB.20006@gmail.com> References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> <540F20C7.7010106@gmail.com> <540F42F5.4070807@gmail.com> <540F44EB.20006@gmail.com> Message-ID: On Wed, Sep 10, 2014 at 2:20 AM, Richmond wrote: > On 09/09/14 21:18, jbv at souslelogo.com wrote: >>> >> Yes, that's straightforward as long as you stick to a simple >> open file / write / close file operation. >> Maybe the existence of a pointer, as mentioned by Jacques >> should be added to the dictionary... > > > The dictionary is always 3 steps behind your brilliant mind and my brilliant > mind . . . LOL > Oh, I don't know the 3 starred items in the Dictionary seem to have your steps covered. The Dictionary may use the term 'start' rather than 'pointer', but it's pretty comprehensive in it's description of it's existence and how write to file works and why jbv got the result he did: ********** write value to {file pathName | stdout} [at {start | EOF | end}] ... The start specifies the character or byte position in the file where you want to begin writing. A positive number begins start characters after the beginning of the file; a negative number begins start characters before the end of the file. If you specify either of the synonyms EOF or end, the write begins after the last character in the file. If you don't specify a start, the write begins: * at the position determined by the seek command, or * if you haven't used the seek command, wherever the last read from file or write to file command to the file left off, or * if you haven't accessed the file with read from file or write to file since it was opened, after the last character (if the file was opened in append mode) or at the first character (if the file was opened in any other mode). ********** From richmondmathewson at gmail.com Wed Sep 10 02:12:15 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 10 Sep 2014 09:12:15 +0300 Subject: reading from / writing to file : 2 dumb questions In-Reply-To: References: <871EE83C-1E86-4096-8800-A3DFADA3BFD5@livecode.com> <7f7b324882d1482e3b09ed59d711c28b.squirrel@185.8.104.234> <540F20C7.7010106@gmail.com> <540F42F5.4070807@gmail.com> <540F44EB.20006@gmail.com> Message-ID: <540FEBBF.7090904@gmail.com> On 10/09/14 07:27, Kay C Lan wrote: > On Wed, Sep 10, 2014 at 2:20 AM, Richmond wrote: >> On 09/09/14 21:18, jbv at souslelogo.com wrote: >>> Yes, that's straightforward as long as you stick to a simple >>> open file / write / close file operation. >>> Maybe the existence of a pointer, as mentioned by Jacques >>> should be added to the dictionary... >> >> The dictionary is always 3 steps behind your brilliant mind and my brilliant >> mind . . . LOL >> > Oh, I don't know the 3 starred items in the Dictionary seem to have > your steps covered. The Dictionary may use the term 'start' rather > than 'pointer', but it's pretty comprehensive in it's description of > it's existence and how write to file works and why jbv got the result > he did: > > ********** > write value to {file pathName | stdout} [at {start | EOF | end}] > > ... > > The start specifies the character or byte position in the file where > you want to begin writing. A positive number begins start characters > after the beginning of the file; a negative number begins start > characters before the end of the file. > > If you specify either of the synonyms EOF or end, the write begins > after the last character in the file. > > If you don't specify a start, the write begins: > > * at the position determined by the seek command, or > > * if you haven't used the seek command, wherever the last read from > file or write to file command to the file left off, or > > * if you haven't accessed the file with read from file or write to > file since it was opened, after the last character (if the file was > opened in append mode) or at the first character (if the file was > opened in any other mode). > ********** > > Just in case anybody missed 'it' the phrase: "The dictionary is always 3 steps behind your brilliant mind and my brilliant mind . . . LOL" was meant ironically (well . . . at least with respect to my mind). Richmond. From B.Cornaz at gmx.net Wed Sep 10 08:47:32 2014 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Wed, 10 Sep 2014 14:47:32 +0200 Subject: Nameservers Message-ID: I have on-rev hosting for my website but my domain name (www.Step-Beyond.nl) is registered with a company called Hostnet. I am a total beginner at this, so please bear with me. I want to change the nameservers (if I am correct), so that people can send emails to info at Stepbeyond.nl. I have found the page on the Hostenet site where I can change the nameservers, but I have no idea what I should fill in there. What are the on-rev names (addresses) that I need to use? Thanks, Beat From alex at tweedly.net Wed Sep 10 09:28:56 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 10 Sep 2014 14:28:56 +0100 Subject: Slowdown when putting symbols into image data In-Reply-To: <540F8A7C.4070908@tweedly.net> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> Message-ID: <54105218.3030208@tweedly.net> On 10/09/2014 00:17, Alex Tweedly wrote: > I'll go experiment .... > > -- Alex. Experimenting with copying a block of bytes in 7.0.0 RC1 Script is included in its entirety below - but basically it creates a block of 1000 lines, 27K chars/bytes It then repeatedly copies over a section of 104 bytes, or 104 chars or 4 lines (i.e. 104 chars) As expected, copying by line is slower than by char or byte, and becomes increasingly slower as we choose lines further into the data. In 6.7 (DP1), the times to copy chars or bytes are equal and very small, while the number for lines is quite small. In 7.0 RC1, the times are all *MUCH* larger - to the point where I'd say 7.0 is unacceptable. And in addition, copying bytes takes over twice as long as copying chars - when if anything it should be the other way round. 7.0 RC1 bytes took 313 chars took 137 lines took 4058 6.7 (DP4) bytes took 8 chars took 8 lines took 411 i.e. 7.0 is 40 times slower for copying a block of data !! I'll try to enter a bug report and when (if) I succeed, I'll post the number here. -- Alex. constant K = 10 -- which gives 2**10 lines of data constant KSTART = 4 -- starting offset - large numbers should make lines slow, but not affect bytes constant COUNT = 20000 -- make this big enough to get useful data on mouseUp -- setup local tt, tStartData, cPos1, cPos2, t1, t2 put "abcdefghijklmnopqrstuvwxyz" & CR into tt repeat K times put tt after tt end repeat put tt into tStartData put "data has" && the number of lines in tStartData && the number of bytes in tStartData &CR after fld 1 put the number of chars in line 1 to KSTART of tStartData into cPos1 put the number of chars in line 1 to kSTART + 4 of tStartData into cPos2 put the millisecs into t1 repeat COUNT times put byte 1 to cPos2 - cPos1 +1 of tt into byte cPos1 to cPos2 of tStartData end repeat put the millisecs into t2 put "bytes took " && t2 - t1 &CR after msg put the millisecs into t1 repeat COUNT times put char 1 to cPos2 - cPos1 +1 of tt into char cPos1 to cPos2 of tStartData end repeat put the millisecs into t2 put "chars took " && t2 - t1 &CR after msg put the millisecs into t1 repeat COUNT times put line KSTART to KSTART+4 of tt into line KSTART to KSTART+4 of tStartData end repeat put the millisecs into t2 put "lines took " && t2 - t1 &CR after msg end mouseUp From alex at tweedly.net Wed Sep 10 09:30:04 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 10 Sep 2014 14:30:04 +0100 Subject: Nameservers In-Reply-To: References: Message-ID: <5410525C.7060003@tweedly.net> ns1.on-rev.com ns2.on-rev.com -- Alex. On 10/09/2014 13:47, Beat Cornaz wrote: > I have on-rev hosting for my website but my domain name (www.Step-Beyond.nl) is registered with a company called Hostnet. > > I am a total beginner at this, so please bear with me. > I want to change the nameservers (if I am correct), so that people can send emails to info at Stepbeyond.nl. I have found the page on the Hostenet site where I can change the nameservers, but I have no idea what I should fill in there. What are the on-rev names (addresses) that I need to use? > > Thanks, Beat > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Sep 10 09:45:00 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 10 Sep 2014 09:45:00 -0400 Subject: iPush from M$ In-Reply-To: <77A05928-A96F-4F0D-B9B8-FEA4D0C945B4@sahores-conseil.com> References: <77A05928-A96F-4F0D-B9B8-FEA4D0C945B4@sahores-conseil.com> Message-ID: This is not a charset issue. This is a termination issue. So...how are you doing the send? On Tue, Sep 9, 2014 at 4:51 PM, Pierre Sahores wrote: > Hi Mark, > > Works fine in one of my Win/Mac back office front-end but the messages are > send from a server-side LC-server stack. Is it the way you act for your own > ? If yes, you should probably search for charset compatibility issue > somewhere in the process. > > Best regards, > > D?but du message r?exp?di? : > > > De: Mike Kerner > > Objet: iPush from M$ > > Date: 9 septembre 2014 19:19:48 UTC+2 > > ?: How to use LiveCode > > R?pondre ?: How to use LiveCode > > > > Did anybody ever get pushing to ios working from a win box? I fought > with > > it and fought with it, but I have never gotten over the termination > hurdle > > at the very end, so I can't do it automatically. It works fine from > MacOS, > > though. > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From matthias_livecode_150811 at m-r-d.de Wed Sep 10 09:58:19 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 10 Sep 2014 15:58:19 +0200 Subject: iPush from M$ In-Reply-To: <77A05928-A96F-4F0D-B9B8-FEA4D0C945B4@sahores-conseil.com> References: <77A05928-A96F-4F0D-B9B8-FEA4D0C945B4@sahores-conseil.com> Message-ID: <1FB6CFAE-B9B2-4179-A7E9-693A931F75B8@m-r-d.de> Pierre, would you share how to send push notifications with LC-server? Regards, Matthias Am 09.09.2014 um 22:51 schrieb Pierre Sahores : > Hi Mark, > > Works fine in one of my Win/Mac back office front-end but the messages are send from a server-side LC-server stack. Is it the way you act for your own ? If yes, you should probably search for charset compatibility issue somewhere in the process. > > Best regards, > > D?but du message r?exp?di? : > >> De: Mike Kerner >> Objet: iPush from M$ >> Date: 9 septembre 2014 19:19:48 UTC+2 >> ?: How to use LiveCode >> R?pondre ?: How to use LiveCode >> >> Did anybody ever get pushing to ios working from a win box? I fought with >> it and fought with it, but I have never gotten over the termination hurdle >> at the very end, so I can't do it automatically. It works fine from MacOS, >> though. >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Sep 10 10:00:45 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Wed, 10 Sep 2014 07:00:45 -0700 Subject: Slowdown when putting symbols into image data In-Reply-To: <54105218.3030208@tweedly.net> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> Message-ID: <54D28806-0181-4442-BC14-2F180E769361@earthednet.org> Alex, Thanks so much for looking into this! Bill William Prothero http://es.earthednet.org > On Sep 10, 2014, at 6:28 AM, Alex Tweedly wrote: > >> On 10/09/2014 00:17, Alex Tweedly wrote: >> I'll go experiment .... >> >> -- Alex. > Experimenting with copying a block of bytes in 7.0.0 RC1 > > Script is included in its entirety below - but basically it creates a block of 1000 lines, 27K chars/bytes > It then repeatedly copies over a section of 104 bytes, or 104 chars or 4 lines (i.e. 104 chars) > > As expected, copying by line is slower than by char or byte, and becomes increasingly slower as we choose lines further into the data. > > In 6.7 (DP1), the times to copy chars or bytes are equal and very small, while the number for lines is quite small. > > In 7.0 RC1, the times are all *MUCH* larger - to the point where I'd say 7.0 is unacceptable. > And in addition, copying bytes takes over twice as long as copying chars - when if anything it should be the other way round. > > 7.0 RC1 > bytes took 313 > chars took 137 > lines took 4058 > > 6.7 (DP4) > bytes took 8 > chars took 8 > lines took 411 > > i.e. 7.0 is 40 times slower for copying a block of data !! > > I'll try to enter a bug report and when (if) I succeed, I'll post the number here. > > > -- Alex. > > constant K = 10 -- which gives 2**10 lines of data > constant KSTART = 4 -- starting offset - large numbers should make lines slow, but not affect bytes > constant COUNT = 20000 -- make this big enough to get useful data > > on mouseUp > -- setup > local tt, tStartData, cPos1, cPos2, t1, t2 > put "abcdefghijklmnopqrstuvwxyz" & CR into tt > repeat K times > put tt after tt > end repeat > > put tt into tStartData > put "data has" && the number of lines in tStartData && the number of bytes in tStartData &CR after fld 1 > > put the number of chars in line 1 to KSTART of tStartData into cPos1 > put the number of chars in line 1 to kSTART + 4 of tStartData into cPos2 > > put the millisecs into t1 > repeat COUNT times > put byte 1 to cPos2 - cPos1 +1 of tt into byte cPos1 to cPos2 of tStartData > end repeat > put the millisecs into t2 > put "bytes took " && t2 - t1 &CR after msg > > put the millisecs into t1 > repeat COUNT times > put char 1 to cPos2 - cPos1 +1 of tt into char cPos1 to cPos2 of tStartData > end repeat > put the millisecs into t2 > put "chars took " && t2 - t1 &CR after msg > > put the millisecs into t1 > repeat COUNT times > put line KSTART to KSTART+4 of tt into line KSTART to KSTART+4 of tStartData > end repeat > put the millisecs into t2 > put "lines took " && t2 - t1 &CR after msg > > end mouseUp > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Wed Sep 10 11:00:58 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 10 Sep 2014 16:00:58 +0100 Subject: Slowdown when putting symbols into image data In-Reply-To: <54105218.3030208@tweedly.net> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> Message-ID: <541067AA.7060008@tweedly.net> On 10/09/2014 14:28, Alex Tweedly wrote: > > > I'll try to enter a bug report and when (if) I succeed, I'll post the > number here. > I give up (again) !! I've filled in every field on the web page, but the QC won't let me submit it until I fill in the "Desktop OS" field, which I can't find - so, yet again, QC has beaten me :-( The docs says there is a drop-down for 'environment' and 'OS' - but they don't show up for me. If anyone from Runrev sees this - please a. make QC easier to use, and b. submit a bug report from my previous email on this thread. -- Alex. From mwieder at ahsoftware.net Wed Sep 10 11:10:26 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 10 Sep 2014 08:10:26 -0700 Subject: Slowdown when putting symbols into image data In-Reply-To: <541067AA.7060008@tweedly.net> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> <541067AA.7060008@tweedly.net> Message-ID: <169674775111.20140910081026@ahsoftware.net> Alex- Wednesday, September 10, 2014, 8:00:58 AM, you wrote: > I give up (again) !! > I've filled in every field on the web page, but the QC won't let me > submit it until I fill in the "Desktop OS" field, which I > can't find - so, yet again, QC has beaten me :-( The docs says there > is a drop-down for 'environment' and 'OS' - but they don't show up for me. It's step 4. After you fill in "I can see this bug in" and you select IDE or whatever from the dropdown box, the OS box appears. And then more boxes when you fill that in. Because bugzilla. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From alex at tweedly.net Wed Sep 10 11:16:57 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 10 Sep 2014 16:16:57 +0100 Subject: Slowdown when putting symbols into image data In-Reply-To: <169674775111.20140910081026@ahsoftware.net> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> <541067AA.7060008@tweedly.net> <169674775111.20140910081026@ahsoftware.net> Message-ID: <54106B69.8070304@tweedly.net> Thanks Mark - but I did fill in "IDE" and no additional drop-down appeared. Maybe Chrome is too 'niche' a browser :-) I changed to "Desktop standalone" and it then appeared. Changed back to IDE" and it's still there .... so I'll try again. OK - thanks indeed. Bug 13400 -- Alex. On 10/09/2014 16:10, Mark Wieder wrote: > Alex- > > Wednesday, September 10, 2014, 8:00:58 AM, you wrote: > >> I give up (again) !! >> I've filled in every field on the web page, but the QC won't let me >> submit it until I fill in the "Desktop OS" field, which I >> can't find - so, yet again, QC has beaten me :-( The docs says there >> is a drop-down for 'environment' and 'OS' - but they don't show up for me. > It's step 4. After you fill in "I can see this bug in" and you select > IDE or whatever from the dropdown box, the OS box appears. And then > more boxes when you fill that in. Because bugzilla. > From toolbook at kestner.de Wed Sep 10 12:21:15 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Sep 2014 18:21:15 +0200 Subject: OT: OS X codesigning best practise? Message-ID: <009e01cfcd13$3fb171a0$bf1454e0$@de> Hello, I am just trying the first time to codesign my app on OS X 10.9, the certificate I bought already. When using the command line codesign utility, it seems that I have to codesign each .bundle and .app, which is included in my app first, before I can codesign my app itself. 1. Is this correct to do all codesignings as single steps, or is there an option to codesign a complete package with all included components in one step? 2. Do codesigning tools like app wrapper do this job in one step, or do I also have to sign all components myself? 3. What about the owners rights? E.g.if my app contains the revxml.bundle or another third party external and I would codesign this rev bundle with my certificate, may I do this? If not, what is the alternative? Thanks for your experience Tiemo From paul at researchware.com Wed Sep 10 12:29:30 2014 From: paul at researchware.com (Paul Dupuis) Date: Wed, 10 Sep 2014 12:29:30 -0400 Subject: OT: OS X codesigning best practise? In-Reply-To: <009e01cfcd13$3fb171a0$bf1454e0$@de> References: <009e01cfcd13$3fb171a0$bf1454e0$@de> Message-ID: <54107C6A.9010507@researchware.com> On 9/10/2014 12:21 PM, Tiemo Hollmann TB wrote: > 1. Is this correct to do all codesignings as single steps, or is there > an option to codesign a complete package with all included components in one > step? I believe that is the -deep option as in: codesign -s -deep .... etc. From klaus at major-k.de Wed Sep 10 12:53:00 2014 From: klaus at major-k.de (Klaus major-k) Date: Wed, 10 Sep 2014 18:53:00 +0200 Subject: OT: OS X codesigning best practise? In-Reply-To: <009e01cfcd13$3fb171a0$bf1454e0$@de> References: <009e01cfcd13$3fb171a0$bf1454e0$@de> Message-ID: <746FAD87-0D19-4CC5-B0EA-BB5A6AD221C0@major-k.de> Hi Tiemo, Am 10.09.2014 um 18:21 schrieb Tiemo Hollmann TB : > Hello, > > I am just trying the first time to codesign my app on OS X 10.9, the > certificate I bought already. > > When using the command line codesign utility, it seems that I have to > codesign each .bundle and .app, which is included in my app first, before I > can codesign my app itself. > ... > > Thanks for your experience most of the command line utilities have a little help file (manual = man). Evoke it in the Terminal with: man name_of_utility So here do: man codesign And see all possible options/parameter. > Tiemo Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From toolbook at kestner.de Wed Sep 10 12:59:12 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Sep 2014 18:59:12 +0200 Subject: AW: OT: OS X codesigning best practise? In-Reply-To: <746FAD87-0D19-4CC5-B0EA-BB5A6AD221C0@major-k.de> References: <009e01cfcd13$3fb171a0$bf1454e0$@de> <746FAD87-0D19-4CC5-B0EA-BB5A6AD221C0@major-k.de> Message-ID: <00a301cfcd18$8cbf9a30$a63ece90$@de> Yep, I've read it, but the --deep option fails for me. It seems to be valid only with -v, or I don't understand it. And the man doesn't tells me, if there are better practice tools on the market. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Klaus major-k > Gesendet: Mittwoch, 10. September 2014 18:53 > An: How to use LiveCode > Betreff: Re: OT: OS X codesigning best practise? > > Hi Tiemo, > > Am 10.09.2014 um 18:21 schrieb Tiemo Hollmann TB : > > > Hello, > > > > I am just trying the first time to codesign my app on OS X 10.9, the > > certificate I bought already. > > > > When using the command line codesign utility, it seems that I have to > > codesign each .bundle and .app, which is included in my app first, > > before I can codesign my app itself. > > ... > > > > Thanks for your experience > > most of the command line utilities have a little help file (manual = man). > Evoke it in the Terminal with: > man name_of_utility > > So here do: > man codesign > > And see all possible options/parameter. > > > Tiemo > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Sep 10 13:01:05 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 10 Sep 2014 10:01:05 -0700 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? In-Reply-To: References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: On Tue, Sep 9, 2014 at 12:40 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > yeah they changed the specs and are even more confusing than the earlier > ones. I love Coda but can't use it without the highlighting. I went back > to Textmate and the plugin that one can get from the RevIgniter site. > Does this only work in conjunction with revIgniter or can it be used for desktop Livecode IDE scripts? The feature list sounds great! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From bvlahos at mac.com Wed Sep 10 13:24:55 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 10 Sep 2014 10:24:55 -0700 Subject: Can LC application receive a shell command with parameters? Message-ID: <9216A300-BD4A-4B75-A767-00C3442EB8B4@mac.com> I want to have a different program pass a parameter (in this case a callerID phone number) to my LC application via a shell command to do a search in and bring up a person?s record. How can I receive it and handle it? Thanks, Bill Vlahos From jacque at hyperactivesw.com Wed Sep 10 13:32:17 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Sep 2014 12:32:17 -0500 Subject: Slowdown when putting symbols into image data In-Reply-To: <54105218.3030208@tweedly.net> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> Message-ID: <54108B21.4030105@hyperactivesw.com> On 9/10/2014, 8:28 AM, Alex Tweedly wrote: > In 6.7 (DP1), the times to copy chars or bytes are equal and very small, > while the number for lines is quite small. > > In 7.0 RC1, the times are all *MUCH* larger - to the point where I'd > say 7.0 is unacceptable. > And in addition, copying bytes takes over twice as long as copying chars > - when if anything it should be the other way round. That's kind of why I thought it was counting, but whatever is causing it, I'm pretty sure it has to do with parsing Unicode and multi-byte codepoints. When you have more than one byte per character, it may not be possible to calculate the exact text position without counting something. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mikedoub at gmail.com Wed Sep 10 13:57:20 2014 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 10 Sep 2014 13:57:20 -0400 Subject: Can LC application receive a shell command with parameters? In-Reply-To: <9216A300-BD4A-4B75-A767-00C3442EB8B4@mac.com> References: <9216A300-BD4A-4B75-A767-00C3442EB8B4@mac.com> Message-ID: <89CFF1BF-C4C8-44CA-9B13-F381339C8318@gmail.com> Look up $ in the dictionary. You can get access to all of the environment variables for command line apps. Is that what you are looking for? -= Mike On Sep 10, 2014, at 1:24 PM, Bill Vlahos wrote: > I want to have a different program pass a parameter (in this case a callerID phone number) to my LC application via a shell command to do a search in and bring up a person?s record. > > How can I receive it and handle it? > > Thanks, > Bill Vlahos > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Sep 10 14:00:09 2014 From: prothero at earthednet.org (William Prothero) Date: Wed, 10 Sep 2014 11:00:09 -0700 Subject: Slowdown when putting symbols into image data In-Reply-To: <54108B21.4030105@hyperactivesw.com> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> <54108B21.4030105@hyperactivesw.com> Message-ID: <4C068AE8-A8C1-4CC1-9EB9-50C9CDF39CA9@earthednet.org> Jacqueline: But?. a byte is a byte is 8 bits, unicode may be 2 bytes per char, or not, right? I don?t see where unicode would come into simple byte addressing. But then, you may be right that somehow unicode stuff has gotten into the mix somehow. Bill On Sep 10, 2014, at 10:32 AM, J. Landman Gay wrote: > On 9/10/2014, 8:28 AM, Alex Tweedly wrote: >> In 6.7 (DP1), the times to copy chars or bytes are equal and very small, >> while the number for lines is quite small. >> >> In 7.0 RC1, the times are all *MUCH* larger - to the point where I'd >> say 7.0 is unacceptable. >> And in addition, copying bytes takes over twice as long as copying chars >> - when if anything it should be the other way round. > > That's kind of why I thought it was counting, but whatever is causing it, I'm pretty sure it has to do with parsing Unicode and multi-byte codepoints. When you have more than one byte per character, it may not be possible to calculate the exact text position without counting something. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ben at runrev.com Wed Sep 10 14:00:52 2014 From: ben at runrev.com (Benjamin Beaumont) Date: Wed, 10 Sep 2014 11:00:52 -0700 Subject: RELEASE: LiveCode 6.6.3 Message-ID: Dear List Members. We are pleased to announce the release of LiveCode 6.6.3. This release was in response to a change made by apple preventing users from uploading their apps to the iOS AppStore. LiveCode 6.6.3 is 6.6.2 with a single fix applied to the iOS engine. http://quality.runrev.com/show_bug.cgi?id=13354 No changes have been made to Mac, Windows, Linux and Android. *Known issues* - On Windows this release displays as 6.6.2 in the title. *Future Releases* This fix will be made available in 6.7 RC2 and 7.0 RC2 which we expect to build later this week. *Getting this release* You can get this release by selecting ?check for updates? from the help menu in LiveCode or download the installers directly at http://downloads.livecode.com/livecode/ Warm regards, The LiveCode Team _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From stephenREVOLUTION2 at barncard.com Wed Sep 10 14:12:56 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 10 Sep 2014 11:12:56 -0700 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? In-Reply-To: References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: On Wed, Sep 10, 2014 at 10:01 AM, Peter Haworth wrote: > Does this only work in conjunction with revIgniter or can it be used for > desktop Livecode IDE scripts? The feature list sounds great! > the settings file need not have anything to do with Rev igniter - Ralf Bitter generously made the settings available to all. one would have to put " References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: Thanks Stephen. I installed the TextMate bundles, created a new document using the iRev bundle, then cut and pasted an LC script into the document. All the Textmate features seem to work except that the text is not colorized for the various language elements. Sounds like this maybe has something to do with the "? Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 10, 2014 at 11:12 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > On Wed, Sep 10, 2014 at 10:01 AM, Peter Haworth wrote: > > > Does this only work in conjunction with revIgniter or can it be used for > > desktop Livecode IDE scripts? The feature list sounds great! > > > > the settings file need not have anything to do with Rev igniter - Ralf > Bitter generously made the settings available to all. > > one would have to put " in the SFTP client to trigger the formatting properly. > > I like it especially as it is happy with dark (light text against black) > themes. > > I love being able to work 'live' on a site. Double click files in Transmit > or Cyberduck, edit, save, refresh browser, test, repeat. If one sets up the > file types in the FTP client, one can edit and save any type file this > way. > > Sublime Text also works with Ralf's file but it's predictive features are > really annoying and I went back to Textmate. (Thanks to Andre Garzia for > his recommendation of Textmate.) > > If had the time to figure out how to make Coda 2 to work for me, I would, > but I find the specs for the new type baffling. Before they 'updated' > their method, I hacked a settings file for Director that almost worked > properly. Support for customizing is half-baked. > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Sep 10 14:54:00 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Sep 2014 13:54:00 -0500 Subject: Slowdown when putting symbols into image data In-Reply-To: <4C068AE8-A8C1-4CC1-9EB9-50C9CDF39CA9@earthednet.org> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> <54108B21.4030105@hyperactivesw.com> <4C068AE8-A8C1-4CC1-9EB9-50C9CDF39CA9@earthednet.org> Message-ID: <54109E48.2040200@hyperactivesw.com> On 9/10/2014, 1:00 PM, William Prothero wrote: > Jacqueline: But?. a byte is a byte is 8 bits, unicode may be 2 bytes > per char, or not, right? I don?t see where unicode would come into > simple byte addressing. But then, you may be right that somehow > unicode stuff has gotten into the mix somehow. I'm not smart enough to know what's going on under the hood, but since Alex was benchmarking strings, and since Unicode is the main change to those in LC 7.0, I can only think they're related somehow. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Wed Sep 10 15:30:34 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 10 Sep 2014 12:30:34 -0700 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? In-Reply-To: References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: On Wed, Sep 10, 2014 at 11:27 AM, Peter Haworth wrote: > the various language elements. Sounds like this maybe has something to do > with the "? don't know if it is recognized in a comment. Also make sure you associate the file types with the editor. online stacks can also be edited this way, use .rev for stacks and associate with the Livecode application. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From alex at tweedly.net Wed Sep 10 18:09:11 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 10 Sep 2014 23:09:11 +0100 Subject: Slowdown when putting symbols into image data In-Reply-To: <54109E48.2040200@hyperactivesw.com> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> <54108B21.4030105@hyperactivesw.com> <4C068AE8-A8C1-4CC1-9EB9-50C9CDF39CA9@earthednet.org> <54109E48.2040200@hyperactivesw.com> Message-ID: <5410CC07.1030807@tweedly.net> On 10/09/2014 19:54, J. Landman Gay wrote: > On 9/10/2014, 1:00 PM, William Prothero wrote: >> Jacqueline: But?. a byte is a byte is 8 bits, unicode may be 2 bytes >> per char, or not, right? I don?t see where unicode would come into >> simple byte addressing. But then, you may be right that somehow >> unicode stuff has gotten into the mix somehow. > > I'm not smart enough to know what's going on under the hood, but since > Alex was benchmarking strings, and since Unicode is the main change to > those in LC 7.0, I can only think they're related somehow. > Thing is, I wasn't trying to benchmark strings, I was trying to benchmark byte operations :-) I thought that by using "byte X to Y of ..." that I was using "just" bytes, not strings - and therefore not Unicode. But Ali has already produced a fix giving significant speed-up (!!) and in his explanatory comment in the bug report he describes how my test code required a type conversion on each assignment (because I was inadvertantly making the variable be a character string to start with). So his fix gives a big improvement - and then (using a simple script change in the test example) he can gain another 40% improvement. I am absolutely blown away by this responsiveness !! Unfortunately, until his fix is included (due to be in the next build), his suggested script change doesn't help - so I'm not able to do any further (useful) testing on this part of performance. It looks like between his code change plus his suggested script change, the performance hit reduces to a mere 7X - still (IMHO) a pretty high number, but hopefully good enough that we can live with the performance impact for now. I'll re-test once RC2 comes out, and in the meantime I think I should play around with some more performance testing of other areas of the code. -- Alex. P.S. Thanks again to Ali - I can hardly believe this level of responsiveness. From jacque at hyperactivesw.com Wed Sep 10 18:27:32 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Sep 2014 17:27:32 -0500 Subject: Slowdown when putting symbols into image data In-Reply-To: <5410CC07.1030807@tweedly.net> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> <54108B21.4030105@hyperactivesw.com> <4C068AE8-A8C1-4CC1-9EB9-50C9CDF39CA9@earthednet.org> <54109E48.2040200@hyperactivesw.com> <5410CC07.1030807@tweedly.net> Message-ID: <5410D054.8070202@hyperactivesw.com> On 9/10/2014, 5:09 PM, Alex Tweedly wrote: > P.S. Thanks again to Ali - I can hardly believe this level of > responsiveness. I met Ali at the conference and I liked him a lot. He's smart and clever and a great addition to the team. And also, apparently, quick to respond. :) I had a similar experience with Fraser, who addressed a bug I mentioned right then and there. The whole team seems intent on making LC the best in its class, and it is clear that none of them are doing it just because it's a job. There's obvious pride in their work and a genuine desire to make us happy. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Wed Sep 10 19:20:21 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Sep 2014 16:20:21 -0700 Subject: Slowdown when putting symbols into image data In-Reply-To: <5410D054.8070202@hyperactivesw.com> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> <54108B21.4030105@hyperactivesw.com> <4C068AE8-A8C1-4CC1-9EB9-50C9CDF39CA9@earthednet.org> <54109E48.2040200@hyperactivesw.com> <5410CC07.1030807@tweedly.net> <5410D054.8070202@hyperactivesw.com> Message-ID: You have to give the RunRev team serious credit for putting up with us unwashed heathen for 4 days, and keeping such a positive outlook. No question too simple or too much of an imposition (at least that I saw). The few I spoke with were very gregarious with their time and answers/comments. Kevin mentioned that in all this time they've only had one person leave, which is a huge departure from the norm of this industry. They seem like a big family. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/10/14 3:27 PM, "J. Landman Gay" wrote: >I had a similar experience with Fraser, who addressed a bug I mentioned >right then and there. The whole team seems intent on making LC the best >in its class, and it is clear that none of them are doing it just >because it's a job. There's obvious pride in their work and a genuine >desire to make us happy. From pete at lcsql.com Wed Sep 10 19:53:36 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 10 Sep 2014 16:53:36 -0700 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? In-Reply-To: References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: I created a simple text file with a .rev extension, then cut and pasted a script into it from LC. Saved the file, then opened it with TextMate. I can tell it's recognized as an LC script because things like com-tab, func-tab,repeat-tab do what they're supposed to do. Also the collapse/expansion of code blocks works fine. But still no colorization. Maybe there's more work involved to get it working with the desktop. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 10, 2014 at 12:30 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > On Wed, Sep 10, 2014 at 11:27 AM, Peter Haworth wrote: > > > the various language elements. Sounds like this maybe has something to > do > > with the "? > > > don't know if it is recognized in a comment. Also make sure you associate > the file types with the editor. > online stacks can also be edited this way, use .rev for stacks and > associate with the Livecode application. > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at harryscollar.com Wed Sep 10 21:04:18 2014 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 11 Sep 2014 11:04:18 +1000 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: References: Message-ID: <5410F512.4090602@harryscollar.com> Hi Works but I still had to apply the manual patch below to sign the app before submission. http://forums.livecode.com/viewtopic.php?f=7&t=21333&p=109203&hilit=profile#p109200 regards alex On 11/09/2014 4:00 am, Benjamin Beaumont wrote: > Dear List Members. > > We are pleased to announce the release of LiveCode 6.6.3. This release was > in response to a change made by apple preventing users from uploading their > apps to the iOS AppStore. LiveCode 6.6.3 is 6.6.2 with a single fix applied > to the iOS engine. > > http://quality.runrev.com/show_bug.cgi?id=13354 > > No changes have been made to Mac, Windows, Linux and Android. > > *Known issues* > - On Windows this release displays as 6.6.2 in the title. > > *Future Releases* > This fix will be made available in 6.7 RC2 and 7.0 RC2 which we expect to > build later this week. > > *Getting this release* > You can get this release by selecting ?check for updates? from the help > menu in LiveCode or download the installers directly at > http://downloads.livecode.com/livecode/ > > Warm regards, > > The LiveCode Team > > > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Wed Sep 10 22:37:09 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Thu, 11 Sep 2014 02:37:09 +0000 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: <5410F512.4090602@harryscollar.com> References: <5410F512.4090602@harryscollar.com> Message-ID: Yeah, me too. I wish I?d thought to do that before trashing all my profiles/certificates/whatever one last time. BTW the problem didn?t just apply to apps going into the app store. It also prevented you building apps for in-house distribution using an iOS Enterprise account. Terry... On 11/09/2014 11:04 am, "Alex Shaw" wrote: >Hi > >Works but I still had to apply the manual patch below to sign the app >before submission. > >http://forums.livecode.com/viewtopic.php?f=7&t=21333&p=109203&hilit=profil >e#p109200 > >regards >alex > >On 11/09/2014 4:00 am, Benjamin Beaumont wrote: >> Dear List Members. >> >> We are pleased to announce the release of LiveCode 6.6.3. This release >>was >> in response to a change made by apple preventing users from uploading >>their >> apps to the iOS AppStore. LiveCode 6.6.3 is 6.6.2 with a single fix >>applied >> to the iOS engine. >> >> http://quality.runrev.com/show_bug.cgi?id=13354 >> >> No changes have been made to Mac, Windows, Linux and Android. >> >> *Known issues* >> - On Windows this release displays as 6.6.2 in the title. >> >> *Future Releases* >> This fix will be made available in 6.7 RC2 and 7.0 RC2 which we expect >>to >> build later this week. >> >> *Getting this release* >> You can get this release by selecting ?check for updates? from the help >> menu in LiveCode or download the installers directly at >> http://downloads.livecode.com/livecode/ >> >> Warm regards, >> >> The LiveCode Team >> >> >> _____________________________________________ >> >> Benjamin Beaumont . RunRev Ltd >> >> LiveCode Product Manager >> mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW >> email : ben at runrev.com >> company : +44(0) 845 219 89 23 >> fax : +44(0) 845 458 8487 >> web : www.runrev.com >> >> LiveCode - Programming made simple >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Wed Sep 10 23:13:55 2014 From: gerry.orkin at gmail.com (Gerry) Date: Thu, 11 Sep 2014 13:13:55 +1000 Subject: ios8 In-Reply-To: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> Message-ID: I just installed the GM release on my iPhone 5. I can install my LC 6.2.2-compiled apps using Xcode 5.1.1. And they run fine (so far). g On 10 Sep 2014, at 4:48 am, Colin Holgate wrote: > I used Xcode 6 to get the app onto my iPad. From prothero at earthednet.org Wed Sep 10 23:49:16 2014 From: prothero at earthednet.org (William Prothero) Date: Wed, 10 Sep 2014 20:49:16 -0700 Subject: Slowdown when putting symbols into image data In-Reply-To: <5410CC07.1030807@tweedly.net> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> <54108B21.4030105@hyperactivesw.com> <4C068AE8-A8C1-4CC1-9EB9-50C9CDF39CA9@earthednet.org> <54109E48.2040200@hyperactivesw.com> <5410CC07.1030807@tweedly.net> Message-ID: <13995B5D-4EC0-48E2-ADC5-87AFF7A89F79@earthednet.org> Alex: In my code, the offending statement is: put byte 1 to tLength of tbrushBinaryData into byte tNewStart * 4 - 3 to tNewStart*4 - 3 + tLength -1 of imgdata -- insert brushimageData into image imageData Is there anything you can see in this line, relevant to the speedup modification you have? Bill > Thing is, I wasn't trying to benchmark strings, I was trying to benchmark byte operations :-) > > I thought that by using "byte X to Y of ..." that I was using "just" bytes, not strings - and therefore not Unicode. > > But Ali has already produced a fix giving significant speed-up (!!) and in his explanatory comment in the bug report he describes how my test code required a type conversion on each assignment (because I was inadvertantly making the variable be a character string to start with). So his fix gives a big improvement - and then (using a simple script change in the test example) he can gain another 40% improvement. > > I am absolutely blown away by this responsiveness !! > > Unfortunately, until his fix is included (due to be in the next build), his suggested script change doesn't help - so I'm not able to do any further (useful) testing on this part of performance. It looks like between his code change plus his suggested script change, the performance hit reduces to a mere 7X - still (IMHO) a pretty high number, but hopefully good enough that we can live with the performance impact for now. > > I'll re-test once RC2 comes out, and in the meantime I think I should play around with some more performance testing of other areas of the code. > > -- Alex. > P.S. Thanks again to Ali - I can hardly believe this level of responsiveness. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Sep 11 01:10:11 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 10 Sep 2014 22:10:11 -0700 Subject: Slowdown when putting symbols into image data In-Reply-To: <54106B69.8070304@tweedly.net> References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> <541067AA.7060008@tweedly.net> <169674775111.20140910081026@ahsoftware.net> <54106B69.8070304@tweedly.net> Message-ID: <128725158991.20140910221011@ahsoftware.net> Alex- Wednesday, September 10, 2014, 8:16:57 AM, you wrote: > Thanks Mark - but I did fill in "IDE" and no additional drop-down > appeared. Maybe Chrome is too 'niche' a browser :-) Dunno. I just tried it in Chrome and it did the ajaxy thing properly. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From bvlahos at mac.com Thu Sep 11 01:23:11 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 10 Sep 2014 22:23:11 -0700 Subject: Can LC application receive a shell command with parameters? In-Reply-To: <89CFF1BF-C4C8-44CA-9B13-F381339C8318@gmail.com> References: <9216A300-BD4A-4B75-A767-00C3442EB8B4@mac.com> <89CFF1BF-C4C8-44CA-9B13-F381339C8318@gmail.com> Message-ID: <81FD56A6-5E00-4B27-A6D3-F833ED664390@mac.com> Mike, I?m not sure. I want to have a running application and then periodically a different application on the computer might send my app a text string. Scenario A different application sends the command pathtomyapp 555-555-5555. My application would have some way of receiving the command and then call a handler in my app to do a search.. I don?t see what my handler would look like in my app. Thanks, Bill Vlahos On Sep 10, 2014, at 10:57 AM, Michael Doub wrote: > Look up $ in the dictionary. You can get access to all of the environment variables for command line apps. Is that what you are looking for? > > -= Mike > > > On Sep 10, 2014, at 1:24 PM, Bill Vlahos wrote: > >> I want to have a different program pass a parameter (in this case a callerID phone number) to my LC application via a shell command to do a search in and bring up a person?s record. >> >> How can I receive it and handle it? >> >> Thanks, >> Bill Vlahos >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Thu Sep 11 02:03:29 2014 From: gerry.orkin at gmail.com (Gerry) Date: Thu, 11 Sep 2014 16:03:29 +1000 Subject: ios8 In-Reply-To: References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> Message-ID: <0BBCD59D-A0FA-4D47-B1AB-B49217726546@gmail.com> I should also mention that I'm running OS X 10.9.4. g On 11 Sep 2014, at 1:13 pm, Gerry wrote: > I just installed the GM release on my iPhone 5. I can install my LC 6.2.2-compiled apps using Xcode 5.1.1. And they run fine (so far). > > g > > > On 10 Sep 2014, at 4:48 am, Colin Holgate wrote: > >> I used Xcode 6 to get the app onto my iPad. From larry at significantplanet.org Thu Sep 11 03:22:31 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 11 Sep 2014 01:22:31 -0600 Subject: copying files in Windows 8 Message-ID: <9303AF9C92DD47CE917297812853E962@userd204a4d61c> I have a little program where I copy some files from one folder to another with revCopyFile myFile,myFolder and also delete myFile The compiled program works fine on XP and Windows 7, but I get strange behavior on Windows 8. Is that perhaps because Windows 8 uses some different type of folder and file management? I am completely mystified. Thanks for any insights... Larry From toolbook at kestner.de Thu Sep 11 04:04:53 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 11 Sep 2014 10:04:53 +0200 Subject: AW: copying files in Windows 8 In-Reply-To: <9303AF9C92DD47CE917297812853E962@userd204a4d61c> References: <9303AF9C92DD47CE917297812853E962@userd204a4d61c> Message-ID: <004601cfcd97$1225b2d0$36711870$@de> Hi Larry, Up to now, I didn't experienced a difference between W7 and W8 related to the file system. Could you specify, what strange behavior you experience? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von larry at significantplanet.org > Gesendet: Donnerstag, 11. September 2014 09:23 > An: use-livecode at lists.runrev.com > Betreff: copying files in Windows 8 > > I have a little program where I copy some files from one folder to another > with revCopyFile myFile,myFolder and also delete myFile The compiled program > works fine on XP and Windows 7, but I get strange behavior on Windows 8. > > Is that perhaps because Windows 8 uses some different type of folder and file > management? > > I am completely mystified. > > Thanks for any insights... > > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Thu Sep 11 05:03:02 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 11 Sep 2014 10:03:02 +0100 Subject: dBLib Message-ID: <20F8E5CB-81CF-463F-8F65-6696BA2F5664@btinternet.com> Thought I?d give this plugin a try: convert tStartDate from short system date to seconds convert tEndDate from short system date to seconds dbResetQuery dbWhere "category", pItemName dbWhere "date >=", tStartDate dbWhere "date <=", tEndDate dbOrderBy ?date" put dbGet(sq(tTableName)) into tTranData tStartDate and tEndDate are in seconds. The SQL generated is SELECT * FROM ?my table' WHERE category = :1 AND date <= :3 ORDER BY date Why is it not including tStartDate? Can anyone help? Thanks Terry From t.heaford at btinternet.com Thu Sep 11 05:26:33 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Thu, 11 Sep 2014 10:26:33 +0100 Subject: dBLib In-Reply-To: <20F8E5CB-81CF-463F-8F65-6696BA2F5664@btinternet.com> References: <20F8E5CB-81CF-463F-8F65-6696BA2F5664@btinternet.com> Message-ID: May have found the answer in the following handler in dbLib. I have commented out an ?if? test that seems to overwrite the contents of the column dbWhere when you try and add another condition. Why the author did this, I am not sure, would anyone care to hazard a guess? Thanks Terry command dbWhere pColumn, pValue, pConcatenationOperator if the number of words in pColumn > 1 then put word 2 of pColumn into tOperator put word 1 of pColumn into pColumn else put "=" into tOperator end if if pValue is "null" then put "IS" into tOperator put "NULL" into pValue end if if pValue is "not null" then put "IS NOT" into tOperator put "NULL" into pValue end if if pConcatenationOperator is empty then put "AND" into pConcatenationOperator end if --if dbA["where columns"][pColumn] is empty then if dbA["where"] is empty then put "WHERE" && pColumn && tOperator && placeholder(pValue) before dbA["where"] else put " " & pConcatenationOperator && pColumn && tOperator && placeholder(pValue) after dbA["where"] end if --else --replace dbA["where columns"][pColumn] with (pColumn && tOperator && placeholder(pValue)) in dbA["where"] --end if set the itemdel to space put item -3 to -1 of dbA["where"] into dbA["where columns"][pColumn] end dbWhere On 11 Sep 2014, at 10:03, Terence Heaford wrote: > Thought I?d give this plugin a try: > > convert tStartDate from short system date to seconds > convert tEndDate from short system date to seconds > > dbResetQuery > > dbWhere "category", pItemName > > dbWhere "date >=", tStartDate > > dbWhere "date <=", tEndDate > > dbOrderBy ?date" > > put dbGet(sq(tTableName)) into tTranData > > tStartDate and tEndDate are in seconds. > > The SQL generated is > > SELECT * FROM ?my table' WHERE category = :1 AND date <= :3 ORDER BY date > > Why is it not including tStartDate? > > Can anyone help? > > Thanks > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rabit at revigniter.com Thu Sep 11 05:34:18 2014 From: rabit at revigniter.com (Ralf Bitter) Date: Thu, 11 Sep 2014 11:34:18 +0200 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? In-Reply-To: References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: Peter, code colorization (as well as code completion) is implemented solely for server related parts of the language because the bundle is meant to be used for working with LiveCode server files. So, if you add " wrote: > I created a simple text file with a .rev extension, then cut and pasted a > script into it from LC. Saved the file, then opened it with TextMate. > > I can tell it's recognized as an LC script because things like com-tab, > func-tab,repeat-tab do what they're supposed to do. Also the > collapse/expansion of code blocks works fine. But still no colorization. > > Maybe there's more work involved to get it working with the desktop. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin From toolbook at kestner.de Thu Sep 11 07:29:45 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 11 Sep 2014 13:29:45 +0200 Subject: AW: OS X codesigning best practise? In-Reply-To: <009e01cfcd13$3fb171a0$bf1454e0$@de> References: <009e01cfcd13$3fb171a0$bf1454e0$@de> Message-ID: <005f01cfcdb3$b0f91e30$12eb5a90$@de> FYI to answer my own questions: 1. the --deep option in codesign seems to be not valid anymore since Mavericks, so if you are using apples codesign tool, you really have to codesign each single component from inside to outside step by step. 2. Yes App Wrapper does it in one step, I will go on with App Wrapper, it's super easy. 3. I have asked Runrev and it is ok with them, if I codesign runrevs bundles included in my app. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Tiemo Hollmann TB > Gesendet: Mittwoch, 10. September 2014 18:21 > An: 'How to use LiveCode' > Betreff: OT: OS X codesigning best practise? > > Hello, > > I am just trying the first time to codesign my app on OS X 10.9, the > certificate I bought already. > > When using the command line codesign utility, it seems that I have to codesign > each .bundle and .app, which is included in my app first, before I can > codesign my app itself. > > 1. Is this correct to do all codesignings as single steps, or is there > an option to codesign a complete package with all included components in one > step? > > 2. Do codesigning tools like app wrapper do this job in one step, or > do I also have to sign all components myself? > > 3. What about the owners rights? E.g.if my app contains the > revxml.bundle or another third party external and I would codesign this rev > bundle with my certificate, may I do this? If not, what is the alternative? > > > > Thanks for your experience > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From fraser.gordon at livecode.com Thu Sep 11 07:30:09 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 11 Sep 2014 12:30:09 +0100 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: References: <5410F512.4090602@harryscollar.com> Message-ID: <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> On 11/09/2014 11:04 am, "Alex Shaw" wrote: > Hi > > Works but I still had to apply the manual patch below to sign the app > before submission. > > http://forums.livecode.com/viewtopic.php?f=7&t=21333&p=109203&hilit=profil > e#p109200 I've uploaded new installers for OSX Community and Commercial for 6.6.3 that include the fixed standalone builder. If you are encountering the error with provisioning profiles, please re-download and re-install 6.6.3. Regards, Fraser From matthias_livecode_150811 at m-r-d.de Thu Sep 11 07:49:24 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 11 Sep 2014 13:49:24 +0200 Subject: OS X codesigning best practise? In-Reply-To: <005f01cfcdb3$b0f91e30$12eb5a90$@de> References: <009e01cfcd13$3fb171a0$bf1454e0$@de> <005f01cfcdb3$b0f91e30$12eb5a90$@de> Message-ID: <139F4732-5025-46DD-A1EE-EAE96D9680F4@m-r-d.de> Tiemo, if you have some time, would you describe step by step how this is done with AppWrapper? That would be very helpful. Regards, Matthias Am 11.09.2014 um 13:29 schrieb Tiemo Hollmann TB : > FYI to answer my own questions: > 1. the --deep option in codesign seems to be not valid anymore since > Mavericks, so if you are using apples codesign tool, you really have to > codesign each single component from inside to outside step by step. > 2. Yes App Wrapper does it in one step, I will go on with App Wrapper, it's > super easy. > 3. I have asked Runrev and it is ok with them, if I codesign runrevs bundles > included in my app. > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von Tiemo Hollmann TB >> Gesendet: Mittwoch, 10. September 2014 18:21 >> An: 'How to use LiveCode' >> Betreff: OT: OS X codesigning best practise? >> >> Hello, >> >> I am just trying the first time to codesign my app on OS X 10.9, the >> certificate I bought already. >> >> When using the command line codesign utility, it seems that I have to > codesign >> each .bundle and .app, which is included in my app first, before I can >> codesign my app itself. >> >> 1. Is this correct to do all codesignings as single steps, or is > there >> an option to codesign a complete package with all included components in > one >> step? >> >> 2. Do codesigning tools like app wrapper do this job in one step, or >> do I also have to sign all components myself? >> >> 3. What about the owners rights? E.g.if my app contains the >> revxml.bundle or another third party external and I would codesign this > rev >> bundle with my certificate, may I do this? If not, what is the > alternative? >> >> >> >> Thanks for your experience >> >> Tiemo >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Sep 11 09:21:12 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 11 Sep 2014 16:21:12 +0300 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> References: <5410F512.4090602@harryscollar.com> <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> Message-ID: <5411A1C8.5090909@gmail.com> The documentation for 6.6.3 states that it will work on Mac OS 10.5.8 PPC: but when I open the DMG file I am presented with an INTEL-only installer. Please, either: Rectify this, or Correct your documentation. Richmond. From fraser.gordon at livecode.com Thu Sep 11 10:13:06 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 11 Sep 2014 15:13:06 +0100 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: <5411A1C8.5090909@gmail.com> References: <5410F512.4090602@harryscollar.com> <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> <5411A1C8.5090909@gmail.com> Message-ID: On 11 Sep 2014, at 14:21, Richmond wrote: > The documentation for 6.6.3 states that it will work > on Mac OS 10.5.8 PPC: but when I open the DMG file > I am presented with an INTEL-only installer. > > Please, either: > > Rectify this, Re-built the installers again and re-uploaded. There's no difference between 6.6.2 and 6.6.3 for PowerPC though - only a fix for iOS app submission and the Xcode for PPC is too old for that. Thanks for letting us know though - we no longer have any working PowerPC machines to test on. Regards, Fraser From th.douez at gmail.com Thu Sep 11 10:30:42 2014 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 11 Sep 2014 16:30:42 +0200 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: References: <5410F512.4090602@harryscollar.com> <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> <5411A1C8.5090909@gmail.com> Message-ID: Hi, MacOSX, LC 6.6.2 Menu Help -> Check for Updates << There is no update >> Is this just me? Thierry PS: I know I can go to runrev site and download it. From rdimola at evergreeninfo.net Thu Sep 11 11:05:34 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 11 Sep 2014 11:05:34 -0400 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: References: <5410F512.4090602@harryscollar.com> <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> <5411A1C8.5090909@gmail.com> Message-ID: <00d101cfcdd1$d6bea130$843be390$@net> Fraser, Windows version of 6.6.3 shows 6.6.2 in the title and the About shows as 6.6.2 Build 4012(same as 6.6.2). I know that the update did not affect the Windows build. Just an FYI. Thanks again for the prompt fix for iOS builds!! Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Fraser Gordon Sent: Thursday, September 11, 2014 10:13 AM To: How to use LiveCode Subject: Re: RELEASE: LiveCode 6.6.3 On 11 Sep 2014, at 14:21, Richmond wrote: > The documentation for 6.6.3 states that it will work on Mac OS 10.5.8 > PPC: but when I open the DMG file I am presented with an INTEL-only > installer. > > Please, either: > > Rectify this, Re-built the installers again and re-uploaded. There's no difference between 6.6.2 and 6.6.3 for PowerPC though - only a fix for iOS app submission and the Xcode for PPC is too old for that. Thanks for letting us know though - we no longer have any working PowerPC machines to test on. Regards, Fraser _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Thu Sep 11 11:03:25 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 11 Sep 2014 08:03:25 -0700 (PDT) Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: References: <5410F512.4090602@harryscollar.com> <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> <5411A1C8.5090909@gmail.com> Message-ID: <1410447805494-4683132.post@n4.nabble.com> Thierry Douez wrote > Is this just me? Nope same here - 6.6.3 is maybe too similar to 6.6.2 to trigger whatever-it-needs-to-be-triggered-in-the-update-engine ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-6-3-tp4683105p4683132.html Sent from the Revolution - User mailing list archive at Nabble.com. From fraser.gordon at livecode.com Thu Sep 11 11:08:59 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 11 Sep 2014 16:08:59 +0100 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: <00d101cfcdd1$d6bea130$843be390$@net> References: <5410F512.4090602@harryscollar.com> <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> <5411A1C8.5090909@gmail.com> <00d101cfcdd1$d6bea130$843be390$@net> Message-ID: On 11 Sep 2014, at 16:05, "Ralph DiMola" wrote: > Fraser, > > Windows version of 6.6.3 shows 6.6.2 in the title and the About shows as > 6.6.2 Build 4012(same as 6.6.2). I know that the update did not affect the > Windows build. Just an FYI. > > Thanks again for the prompt fix for iOS builds!! Yes, we noticed that too. It is only the version number that is wrong - the engine is built from the 6.6.3 sources (as you noted, not that there were any changes for Windows). Given the urgency of the fix for iOS building, we decided to just put up with it (out build process is quite complicated and Windows builds take quite a while to run). I'll prod the appropriate people to look at the auto-updater issue - I know nothing about the server-side stuff myself. Regards, Fraser From harrison at all-auctions.com Thu Sep 11 11:13:52 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 11 Sep 2014 11:13:52 -0400 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: References: <5410F512.4090602@harryscollar.com> <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> <5411A1C8.5090909@gmail.com> Message-ID: Hi Thierry, I had the same problem, so I downloaded it from the email link that was provided. Cheers, Rick On Sep 11, 2014, at 10:30 AM, Thierry Douez wrote: > Hi, > > MacOSX, LC 6.6.2 > > Menu Help -> Check for Updates > > << There is no update >> > > Is this just me? > > Thierry > > > PS: I know I can go to runrev site and download it. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Sep 11 11:24:53 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 11 Sep 2014 18:24:53 +0300 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: <5411A1C8.5090909@gmail.com> References: <5410F512.4090602@harryscollar.com> <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> <5411A1C8.5090909@gmail.com> Message-ID: <5411BEC5.3060008@gmail.com> On 11/09/14 16:21, Richmond wrote: > The documentation for 6.6.3 states that it will work > on Mac OS 10.5.8 PPC: but when I open the DMG file > I am presented with an INTEL-only installer. > > Please, either: > > Rectify this, > > or > > Correct your documentation. > > Richmond. ------------------ So, trying the stable versions of 6.1.3 through 6.6.2 on a G5 (PPC) Mac running 10.5.8: 6.1.3: works, but iconless in dock. 6.5.0: works, but iconless in dock. 6.5.2: works, but iconless in dock. 6.6.1: installer doesn't work. 6.6.2: installer doesn't work. Um! Richmond. From th.douez at gmail.com Thu Sep 11 11:25:03 2014 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 11 Sep 2014 17:25:03 +0200 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: References: <5410F512.4090602@harryscollar.com> <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> <5411A1C8.5090909@gmail.com> Message-ID: > I had the same problem, so I downloaded it from the email link that > was provided. Thanks Rick, Just wanted to point out the confusing " Check for Updates" menu. Regards, Thierry >> MacOSX, LC 6.6.2 >> >> Menu Help -> Check for Updates >> >> << There is no update >> ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From richmondmathewson at gmail.com Thu Sep 11 11:25:23 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 11 Sep 2014 18:25:23 +0300 Subject: RELEASE: LiveCode 6.6.3 In-Reply-To: References: <5410F512.4090602@harryscollar.com> <8189D34E-4C90-4B59-88D7-B7E2E68A2007@livecode.com> <5411A1C8.5090909@gmail.com> Message-ID: <5411BEE3.3050508@gmail.com> On 11/09/14 17:13, Fraser Gordon wrote: > On 11 Sep 2014, at 14:21, Richmond wrote: > >> The documentation for 6.6.3 states that it will work >> on Mac OS 10.5.8 PPC: but when I open the DMG file >> I am presented with an INTEL-only installer. >> >> Please, either: >> >> Rectify this, > Re-built the installers again and re-uploaded. There's no difference between 6.6.2 and 6.6.3 for PowerPC though - only a fix for iOS app submission and the Xcode for PPC is too old for that. Thanks for letting us know though - we no longer have any working PowerPC machines to test on. Tut, tut :) > > Regards, > Fraser > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Thu Sep 11 11:27:42 2014 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 11 Sep 2014 11:27:42 -0400 Subject: Can LC application receive a shell command with parameters? In-Reply-To: <81FD56A6-5E00-4B27-A6D3-F833ED664390@mac.com> References: <9216A300-BD4A-4B75-A767-00C3442EB8B4@mac.com> <89CFF1BF-C4C8-44CA-9B13-F381339C8318@gmail.com> <81FD56A6-5E00-4B27-A6D3-F833ED664390@mac.com> Message-ID: <4F47055D-4F46-47A5-822F-EC5297534B8C@gmail.com> Bill, I think that you are going to have to use sockets to communicate between processes. I would suggest the following: 1) Allow your main app to accept an incoming socket requests. 2) write a small command line app that accepts the input from the command line, then sends that data to your main app via a socket. 3) Who ever is using the shell, calls the cmd line app in 1) with your data. Check out: http://lessons.runrev.com/m/4071/l/12924-how-to-communicate-with-other-applications-using-sockets http://revolution.byu.edu/internet/IntroToSockets.php Hope this helps. Mike On Sep 11, 2014, at 1:23 AM, Bill Vlahos wrote: > Mike, > > I?m not sure. I want to have a running application and then periodically a different application on the computer might send my app a text string. > > Scenario > A different application sends the command pathtomyapp 555-555-5555. > > My application would have some way of receiving the command and then call a handler in my app to do a search.. > > I don?t see what my handler would look like in my app. > > Thanks, > Bill Vlahos > > On Sep 10, 2014, at 10:57 AM, Michael Doub wrote: > >> Look up $ in the dictionary. You can get access to all of the environment variables for command line apps. Is that what you are looking for? >> >> -= Mike >> >> >> On Sep 10, 2014, at 1:24 PM, Bill Vlahos wrote: >> >>> I want to have a different program pass a parameter (in this case a callerID phone number) to my LC application via a shell command to do a search in and bring up a person?s record. >>> >>> How can I receive it and handle it? >>> >>> Thanks, >>> Bill Vlahos >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Thu Sep 11 11:40:34 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 11 Sep 2014 17:40:34 +0200 Subject: AW: OS X codesigning best practise? In-Reply-To: <139F4732-5025-46DD-A1EE-EAE96D9680F4@m-r-d.de> References: <009e01cfcd13$3fb171a0$bf1454e0$@de> <005f01cfcdb3$b0f91e30$12eb5a90$@de> <139F4732-5025-46DD-A1EE-EAE96D9680F4@m-r-d.de> Message-ID: <008e01cfcdd6$bad15490$3073fdb0$@de> Hi Matthias, with App Wrapper it's really easy: 1. Buy a developer codesigning certificate at Apple 2. Start App Wrapper 3. Drag an unsigned app onto App Wrapper 4. Go to TAB "Package" 5. Check the "Codesign" checkbox 6. Choose your developer certificate 7. Don't choose any of the options below 8. Choose "Wrap to" folder and click "Wrap" at topright Beside the codesigning it makes some more "validation and finishing" tasks, which seems to be fine and don't bother me. In my case it also removed the PPC code from my app and from ALL apps and bundles inside my app. I don't know, if you can control that, I didn't needed the PPC code anymore. That?s all Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Matthias Rebbe | M-R-D > Gesendet: Donnerstag, 11. September 2014 13:49 > An: How to use LiveCode > Betreff: Re: OS X codesigning best practise? > > Tiemo, > > if you have some time, would you describe step by step how this is done with > AppWrapper? > That would be very helpful. > > Regards, > > Matthias > > > Am 11.09.2014 um 13:29 schrieb Tiemo Hollmann TB : > > > FYI to answer my own questions: > > 1. the --deep option in codesign seems to be not valid anymore since > > Mavericks, so if you are using apples codesign tool, you really have > > to codesign each single component from inside to outside step by step. > > 2. Yes App Wrapper does it in one step, I will go on with App Wrapper, > > it's super easy. > > 3. I have asked Runrev and it is ok with them, if I codesign runrevs > > bundles included in my app. > > Tiemo > > > > > >> -----Urspr?ngliche Nachricht----- > >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > > Auftrag > >> von Tiemo Hollmann TB > >> Gesendet: Mittwoch, 10. September 2014 18:21 > >> An: 'How to use LiveCode' > >> Betreff: OT: OS X codesigning best practise? > >> > >> Hello, > >> > >> I am just trying the first time to codesign my app on OS X 10.9, the > >> certificate I bought already. > >> > >> When using the command line codesign utility, it seems that I have to > > codesign > >> each .bundle and .app, which is included in my app first, before I > >> can codesign my app itself. > >> > >> 1. Is this correct to do all codesignings as single steps, or is > > there > >> an option to codesign a complete package with all included components > >> in > > one > >> step? > >> > >> 2. Do codesigning tools like app wrapper do this job in one step, or > >> do I also have to sign all components myself? > >> > >> 3. What about the owners rights? E.g.if my app contains the > >> revxml.bundle or another third party external and I would codesign > >> this > > rev > >> bundle with my certificate, may I do this? If not, what is the > > alternative? > >> > >> > >> > >> Thanks for your experience > >> > >> Tiemo > >> > >> > >> > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription > >> preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Sep 11 11:55:23 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 11 Sep 2014 15:55:23 +0000 Subject: Slowdown when putting symbols into image data In-Reply-To: References: <612264E4-5418-4B76-B178-A83CF29B78AA@earthednet.org> <540F507F.7070105@hyperactivesw.com> <540F8A7C.4070908@tweedly.net> <54105218.3030208@tweedly.net> <54108B21.4030105@hyperactivesw.com> <4C068AE8-A8C1-4CC1-9EB9-50C9CDF39CA9@earthednet.org> <54109E48.2040200@hyperactivesw.com> <5410CC07.1030807@tweedly.net> <5410D054.8070202@hyperactivesw.com> Message-ID: So? I guess I should stop waiting for a phone call about my job application? Bob S On Sep 10, 2014, at 16:20 , Scott Rossi > wrote: Kevin mentioned that in all this time they've only had one person leave, which is a huge departure from the norm of this industry. They seem like a big family. Regards, Scott Rossi From pete at lcsql.com Thu Sep 11 12:37:52 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Sep 2014 09:37:52 -0700 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? In-Reply-To: References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: Thanks Ralph, that got it working. It also recognizes "? Home of lcStackBrowser and SQLiteAdmin On Thu, Sep 11, 2014 at 2:34 AM, Ralf Bitter wrote: > > Peter, > > code colorization (as well as code completion) is implemented solely for > server related parts of the language because the bundle is meant to be used > for working with LiveCode server files. > So, if you add " colorization > should work (with restrictions as mentioned above). > > > Ralf > > > On 11.09.2014, at 01:53, Peter Haworth wrote: > > > I created a simple text file with a .rev extension, then cut and pasted a > > script into it from LC. Saved the file, then opened it with TextMate. > > > > I can tell it's recognized as an LC script because things like com-tab, > > func-tab,repeat-tab do what they're supposed to do. Also the > > collapse/expansion of code blocks works fine. But still no colorization. > > > > Maybe there's more work involved to get it working with the desktop. > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Thu Sep 11 13:07:26 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 11 Sep 2014 10:07:26 -0700 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? In-Reply-To: References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: On Thu, Sep 11, 2014 at 9:37 AM, Peter Haworth wrote: > Finding a mechanism to get the Textmate file back into the script editor > seems more challenging. Maybe OSX folder actions and an Apple Script might > be able to signal a plugin somehow. > that's a lot of work to avoid using the built-in editor in the IDE. I was using GLX for a while which has great features and worked directly with Livecode but it had too many bugs to chase down..and I was losing data sometimes. Perhaps it is better now, I haven't tried for a couple of years. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From jiml at netrin.com Thu Sep 11 13:52:51 2014 From: jiml at netrin.com (Jim Lambert) Date: Thu, 11 Sep 2014 10:52:51 -0700 Subject: Reassigning stack names in behavior references In-Reply-To: References: Message-ID: <234FF98C-F847-4BA6-94CC-78444A6F3DB9@netrin.com> Behaviors are very useful. Scott Rossi gave an excellent presentation on them at the recent conference. One thing that sometimes trips me up - I?ll assign a behavior to a bunch of controls then I?ll re-name the stack that contains the original behavior button. Dumb :( because the controls can?t find the original reference button. If you ever find yourself in that situation, here?s a script to rename the referenced stack names in one shot. on updateBehaviorStackNames oldStackName -- If you change the name of the stack that owns a behavior button, then all controls that have that behavior would fail to invoke it. -- Use this handler to change the referenced stack in card controls that have behaviors. -- It will replace the old stackname reference with the new stackname if oldStackName is empty then beep answer error "Please pass old stack name." end if repeat with x = 1 to the number of controls set the cursor to busy put the behavior of control x into cBehavior if cBehavior is empty then next repeat replace oldStackName with the short name of this stack in cBehavior set the behavior of control x to cBehavior end repeat end updateBehaviorStackNames Jim Lambert From cmsheffield at icloud.com Thu Sep 11 13:57:46 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 11 Sep 2014 11:57:46 -0600 Subject: Apple TestFlight beta testing Message-ID: <28E30ABF-06D7-4F3C-BF6F-88769197BC86@icloud.com> So with the fix in LC 6.6.3, I was able to upload an app build to iTunes Connect. I wanted to play around with the new TestFlight functionality. But now when I go into iTunes Connect and try to enable the beta testing, it?s telling me my build ?does not contain the correct beta entitlement?. I follow the link provided to get more info, which takes me to the iTunes Connect Developer Guide, where I can find absolutely nothing about ?beta entitlement?. Has anyone else tried it yet? I?m assuming something in the bundle?s .plist file needs to be added/enabled, but not sure what. Which means something in LC will probably have to be updated. I?m guessing we could manually add what?s necessary to the .plist template before building, but I can?t find any info on it. Just thought I?d ask here to see if anyone?s given it a go yet. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From pete at lcsql.com Thu Sep 11 14:11:42 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 11 Sep 2014 11:11:42 -0700 Subject: Is someone using Coda 2 with syntax highlighting for livecode server scripts? In-Reply-To: References: <06FD12DD-9BFC-4F65-A7A9-FCD4E2C06181@m-r-d.de> Message-ID: Yes, I've pretty much come to that conclusion. I haven't used GLX for a while either, I'll give it another try, I know Mark has put a LOT of work into it. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Sep 11, 2014 at 10:07 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > On Thu, Sep 11, 2014 at 9:37 AM, Peter Haworth wrote: > > > Finding a mechanism to get the Textmate file back into the script editor > > seems more challenging. Maybe OSX folder actions and an Apple Script > might > > be able to signal a plugin somehow. > > > > that's a lot of work to avoid using the built-in editor in the IDE. I was > using GLX for a while which has great features and worked directly with > Livecode but it had too many bugs to chase down..and I was losing data > sometimes. Perhaps it is better now, I haven't tried for a couple of years. > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Thu Sep 11 15:16:55 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 11 Sep 2014 15:16:55 -0400 Subject: ios8 In-Reply-To: <0BBCD59D-A0FA-4D47-B1AB-B49217726546@gmail.com> References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> <0BBCD59D-A0FA-4D47-B1AB-B49217726546@gmail.com> Message-ID: Well, one of my apps, that works find in ios7, crashes at startup on 8. Anybody else run into anything with 8? On Thu, Sep 11, 2014 at 2:03 AM, Gerry wrote: > I should also mention that I'm running OS X 10.9.4. > > g > > > On 11 Sep 2014, at 1:13 pm, Gerry wrote: > > > I just installed the GM release on my iPhone 5. I can install my LC > 6.2.2-compiled apps using Xcode 5.1.1. And they run fine (so far). > > > > g > > > > > > On 10 Sep 2014, at 4:48 am, Colin Holgate wrote: > > > >> I used Xcode 6 to get the app onto my iPad. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Thu Sep 11 15:36:02 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 11 Sep 2014 15:36:02 -0400 Subject: ios8 In-Reply-To: References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> <0BBCD59D-A0FA-4D47-B1AB-B49217726546@gmail.com> Message-ID: I also can't link to the sdk in xc6 On Thu, Sep 11, 2014 at 3:16 PM, Mike Kerner wrote: > Well, one of my apps, that works find in ios7, crashes at startup on 8. > Anybody else run into anything with 8? > > On Thu, Sep 11, 2014 at 2:03 AM, Gerry wrote: > >> I should also mention that I'm running OS X 10.9.4. >> >> g >> >> >> On 11 Sep 2014, at 1:13 pm, Gerry wrote: >> >> > I just installed the GM release on my iPhone 5. I can install my LC >> 6.2.2-compiled apps using Xcode 5.1.1. And they run fine (so far). >> > >> > g >> > >> > >> > On 10 Sep 2014, at 4:48 am, Colin Holgate wrote: >> > >> >> I used Xcode 6 to get the app onto my iPad. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From cmsheffield at icloud.com Thu Sep 11 15:49:14 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 11 Sep 2014 13:49:14 -0600 Subject: ios8 In-Reply-To: References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> <0BBCD59D-A0FA-4D47-B1AB-B49217726546@gmail.com> Message-ID: <2D7531CF-5100-42DB-BE9D-4BD644D5E608@icloud.com> Linking to Xcode 6 will require a LiveCode update I?m afraid. I?m sure the team are working on it and we?ll have something shortly. As for app crashes under iOS 8, I haven?t seen any problems. However, the latest app I?ve been working on is built with LC 6.6.2 (now 6.6.3). We do have one in the app store built with LC 6.5.2, and it seems okay as well. Chris > On Sep 11, 2014, at 1:36 PM, Mike Kerner wrote: > > I also can't link to the sdk in xc6 > > On Thu, Sep 11, 2014 at 3:16 PM, Mike Kerner > > wrote: > >> Well, one of my apps, that works find in ios7, crashes at startup on 8. >> Anybody else run into anything with 8? >> >> On Thu, Sep 11, 2014 at 2:03 AM, Gerry > wrote: >> >>> I should also mention that I'm running OS X 10.9.4. From dunbarx at aol.com Thu Sep 11 16:14:41 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 11 Sep 2014 16:14:41 -0400 Subject: Reassigning stack names in behavior references In-Reply-To: <234FF98C-F847-4BA6-94CC-78444A6F3DB9@netrin.com> References: <234FF98C-F847-4BA6-94CC-78444A6F3DB9@netrin.com> Message-ID: <8D19C1427332EF4-A84-3F499@webmail-m250.sysops.aol.com> Jim. Just the sort of cool sort of tools that make LC so much fun. But you need to be careful in the case where controls may have behavior pathNames that call out to more than one stack. You need to make sure that the behavior does indeed reference the deleted ("oldStackName") before it replaces with the new one. Craig -----Original Message----- From: Jim Lambert To: use-livecode Sent: Thu, Sep 11, 2014 1:53 pm Subject: Reassigning stack names in behavior references Behaviors are very useful. Scott Rossi gave an excellent presentation on them at the recent conference. One thing that sometimes trips me up - I?ll assign a behavior to a bunch of controls then I?ll re-name the stack that contains the original behavior button. Dumb :( because the controls can?t find the original reference button. If you ever find yourself in that situation, here?s a script to rename the referenced stack names in one shot. on updateBehaviorStackNames oldStackName -- If you change the name of the stack that owns a behavior button, then all controls that have that behavior would fail to invoke it. -- Use this handler to change the referenced stack in card controls that have behaviors. -- It will replace the old stackname reference with the new stackname if oldStackName is empty then beep answer error "Please pass old stack name." end if repeat with x = 1 to the number of controls set the cursor to busy put the behavior of control x into cBehavior if cBehavior is empty then next repeat replace oldStackName with the short name of this stack in cBehavior set the behavior of control x to cBehavior end repeat end updateBehaviorStackNames Jim Lambert _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Thu Sep 11 22:53:33 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 12 Sep 2014 10:53:33 +0800 Subject: Apple TestFlight beta testing In-Reply-To: <28E30ABF-06D7-4F3C-BF6F-88769197BC86@icloud.com> References: <28E30ABF-06D7-4F3C-BF6F-88769197BC86@icloud.com> Message-ID: Silly question (I haven't done it myself) but is your app only for iOS 8? I note that Testflight Beta Testing is only for iOS 8 so if your app is built to be iOS 7 compatible maybe that then makes it's 'not entitled' to be Testflight Beta Tested. On Fri, Sep 12, 2014 at 1:57 AM, Chris Sheffield wrote: > So with the fix in LC 6.6.3, I was able to upload an app build to iTunes Connect. I wanted to play around with the new TestFlight functionality. > > But now when I go into iTunes Connect and try to enable the beta testing, it?s telling me my build ?does not contain the correct beta entitlement?. I follow the link provided to get more info, which takes me to the iTunes Connect Developer Guide, where I can find absolutely nothing about ?beta entitlement?. > > Has anyone else tried it yet? I?m assuming something in the bundle?s .plist file needs to be added/enabled, but not sure what. Which means something in LC will probably have to be updated. I?m guessing we could manually add what?s necessary to the .plist template before building, but I can?t find any info on it. > > Just thought I?d ask here to see if anyone?s given it a go yet. > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Sep 11 23:03:10 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 11 Sep 2014 23:03:10 -0400 Subject: Apple TestFlight beta testing In-Reply-To: References: <28E30ABF-06D7-4F3C-BF6F-88769197BC86@icloud.com> Message-ID: TestFlight is not new. I've been using it for years (man, it's hard to believe we've had the ability to write mobile apps for several years, isn't it?). Anyway, I just used it to distribute an ios7 beta to a bunch of users last week. One of my users just emailed me tonight saying that he was able to do the install, so as of a few hours ago, it was still working. On Thu, Sep 11, 2014 at 10:53 PM, Kay C Lan wrote: > Silly question (I haven't done it myself) but is your app only for iOS 8? > > I note that Testflight Beta Testing is only for iOS 8 so if your app > is built to be iOS 7 compatible maybe that then makes it's 'not > entitled' to be Testflight Beta Tested. > > On Fri, Sep 12, 2014 at 1:57 AM, Chris Sheffield > wrote: > > So with the fix in LC 6.6.3, I was able to upload an app build to iTunes > Connect. I wanted to play around with the new TestFlight functionality. > > > > But now when I go into iTunes Connect and try to enable the beta > testing, it?s telling me my build ?does not contain the correct beta > entitlement?. I follow the link provided to get more info, which takes me > to the iTunes Connect Developer Guide, where I can find absolutely nothing > about ?beta entitlement?. > > > > Has anyone else tried it yet? I?m assuming something in the bundle?s > .plist file needs to be added/enabled, but not sure what. Which means > something in LC will probably have to be updated. I?m guessing we could > manually add what?s necessary to the .plist template before building, but I > can?t find any info on it. > > > > Just thought I?d ask here to see if anyone?s given it a go yet. > > > > Thanks, > > Chris > > > > > > -- > > Chris Sheffield > > Read Naturally, Inc. > > www.readnaturally.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From sundown at pacifier.com Thu Sep 11 23:45:42 2014 From: sundown at pacifier.com (JB) Date: Thu, 11 Sep 2014 20:45:42 -0700 Subject: Externals in Objective-C Message-ID: n theory any language that can build shared libraries and allows you to link with the provided glue code could be used. However, in practice, some languages will require extra glue-code in order to provide an environment in which their code can run. For example, to access Objective-C you will need to ensure you set up its memory/exception environment in C wrapper functions before calling any Objective-C code. Does anyone have a copy or example of a C wrapper functions for memory/exception environment? I want to write a external using Objective-C instead of C++. Does anyone have example code of how to write a external for Revolution using Objective-C? It appears that even Swift might be able to be used for writing externals in LiveCode and Revolution. Does anyone have some example code that will allow the writing of externals with objective-C or Swift? John Balgenorth From jiml at netrin.com Fri Sep 12 01:01:03 2014 From: jiml at netrin.com (Jim Lambert) Date: Thu, 11 Sep 2014 22:01:03 -0700 Subject: Reassigning stack names in behavior references In-Reply-To: References: Message-ID: Craig wrote: > You need to make sure that the behavior does indeed reference the deleted ("oldStackName") before it replaces with the new one. Absolutely. JimL From toolbook at kestner.de Fri Sep 12 08:29:04 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 12 Sep 2014 14:29:04 +0200 Subject: Is RGB on Mac something else as RGB on windows? Message-ID: <002901cfce85$24c7f490$6e57ddb0$@de> Hello, I have an application, where I manipulate an image. I exchange a specified RGB color by another value. I developed this app on windows and everything works fine. Now at final testing my function seems to be broken, because the same image (a screenshot taken from a video) seems to have other RGB values on a Mac, so that the exchange doesen't work anymore on a Mac. I tested to create a png with photoshop on Windows with a blue color 100,150,200. Opening this png on my Mac and picking the color it gives me: 83,131,185. Isn't RGB = RGB on different platforms? That the same RGB might display different on different monitors is clear, but a different RGB value? I am just puzzled because I don't know where to start researching, what is the source of my issue. Is it just Windows/Mac or could this RGB value also differ on each monitor? If yes, how could I define, which color is to be exchanged? Any insights, whats going on here welcome Tiemo From ebeugelaar at gmail.com Fri Sep 12 09:39:38 2014 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Fri, 12 Sep 2014 15:39:38 +0200 Subject: iPhone 6 Screens Demystified Message-ID: http://www.paintcodeapp.com/news/iphone-6-screens-demystified From cmsheffield at icloud.com Fri Sep 12 10:25:15 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 12 Sep 2014 08:25:15 -0600 Subject: Apple TestFlight beta testing In-Reply-To: References: <28E30ABF-06D7-4F3C-BF6F-88769197BC86@icloud.com> Message-ID: Kay, That?s not the case here. Turns out I found a reference to this here http://stackoverflow.com/questions/25756669/app-does-not-contain-the-correct-beta-entitlement/25762530#25762530, and it will require that a new entitlement entry be put into the entitlements template for iOS apps. You have to scroll down that page a bit, but there?s a screen shot that shows the key that?s required, "beta-reports-active". It should be fairly easy to manually edit the template if needed. Chris > On Sep 11, 2014, at 8:53 PM, Kay C Lan wrote: > > > > On Fri, Sep 12, 2014 at 1:57 AM, Chris Sheffield wrote: > From lists at mangomultimedia.com Fri Sep 12 10:28:53 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 12 Sep 2014 10:28:53 -0400 Subject: Is RGB on Mac something else as RGB on windows? In-Reply-To: <002901cfce85$24c7f490$6e57ddb0$@de> References: <002901cfce85$24c7f490$6e57ddb0$@de> Message-ID: On Fri, Sep 12, 2014 at 8:29 AM, Tiemo Hollmann TB wrote: > I have an application, where I manipulate an image. I exchange a specified > RGB color by another value. I developed this app on windows and everything > works fine. Now at final testing my function seems to be broken, because > the > same image (a screenshot taken from a video) seems to have other RGB values > on a Mac, so that the exchange doesen't work anymore on a Mac. > > I tested to create a png with photoshop on Windows with a blue color > 100,150,200. Opening this png on my Mac and picking the color it gives me: > 83,131,185. Isn't RGB = RGB on different platforms? That the same RGB might > display different on different monitors is clear, but a different RGB > value? > Perhaps you are seeing the issue described in this bug report? http://quality.runrev.com/show_bug.cgi?id=13208 It doesn't look like LiveCode on OS X handles color profiles properly when loading image files. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From cmsheffield at icloud.com Fri Sep 12 10:30:32 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 12 Sep 2014 08:30:32 -0600 Subject: Apple TestFlight beta testing In-Reply-To: References: <28E30ABF-06D7-4F3C-BF6F-88769197BC86@icloud.com> Message-ID: Mike, You?re right. TestFlight is not new, but Apple?s implementation of it is. I?ve also been using TestFlight for years, and will most likely continue to do so in the ?old? way for as long as possible, since we have to test our apps on a range of devices running various versions of iOS. Apple?s ?new? implementation requires the new TestFlight app to be installed on the device. The app requires iOS 8 to run. So if you have an app build uploaded to iTunes Connect, you can now specify to allow beta testing for that build. You can add the users you want to have access to it, and then those users open the TestFlight app in order to view and download any betas they have access to. It seems like a nice implementation, but it bothers me a bit that beta testing requires the testers to have iOS 8 on their devices. What if we want/need to test our apps on older versions of iOS? Chris > On Sep 11, 2014, at 9:03 PM, Mike Kerner wrote: > > TestFlight is not new. I've been using it for years (man, it's hard to > believe we've had the ability to write mobile apps for several years, isn't > it?). Anyway, I just used it to distribute an ios7 beta to a bunch of > users last week. One of my users just emailed me tonight saying that he > was able to do the install, so as of a few hours ago, it was still working. > > On Thu, Sep 11, 2014 at 10:53 PM, Kay C Lan > wrote: > >> Silly question (I haven't done it myself) but is your app only for iOS 8? >> >> I note that Testflight Beta Testing is only for iOS 8 so if your app >> is built to be iOS 7 compatible maybe that then makes it's 'not >> entitled' to be Testflight Beta Tested. >> >> On Fri, Sep 12, 2014 at 1:57 AM, Chris Sheffield >> wrote: >>> So with the fix in LC 6.6.3, I was able to upload an app build to iTunes >> Connect. I wanted to play around with the new TestFlight functionality. >>> >>> But now when I go into iTunes Connect and try to enable the beta >> testing, it?s telling me my build ?does not contain the correct beta >> entitlement?. I follow the link provided to get more info, which takes me >> to the iTunes Connect Developer Guide, where I can find absolutely nothing >> about ?beta entitlement?. >>> >>> Has anyone else tried it yet? I?m assuming something in the bundle?s >> .plist file needs to be added/enabled, but not sure what. Which means >> something in LC will probably have to be updated. I?m guessing we could >> manually add what?s necessary to the .plist template before building, but I >> can?t find any info on it. >>> >>> Just thought I?d ask here to see if anyone?s given it a go yet. >>> >>> Thanks, >>> Chris >>> >>> >>> -- >>> Chris Sheffield >>> Read Naturally, Inc. >>> www.readnaturally.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From andre at andregarzia.com Fri Sep 12 11:09:33 2014 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 12 Sep 2014 12:09:33 -0300 Subject: dBLib In-Reply-To: References: <20F8E5CB-81CF-463F-8F65-6696BA2F5664@btinternet.com> Message-ID: Terence, The author did this because sometimes he is not that smart. I've spoken to the author and he will do an update changing the behaviour. He explained to me that when the library was built that sounded like a good idea. ;-) On Thu, Sep 11, 2014 at 6:26 AM, Terence Heaford wrote: > May have found the answer in the following handler in dbLib. > > I have commented out an ?if? test that seems to overwrite the contents of > the column dbWhere when you try and add another condition. > > Why the author did this, I am not sure, would anyone care to hazard a > guess? > > Thanks > > Terry > > > command dbWhere pColumn, pValue, pConcatenationOperator > if the number of words in pColumn > 1 then > put word 2 of pColumn into tOperator > put word 1 of pColumn into pColumn > else > put "=" into tOperator > end if > > if pValue is "null" then > put "IS" into tOperator > put "NULL" into pValue > end if > > if pValue is "not null" then > put "IS NOT" into tOperator > put "NULL" into pValue > end if > > if pConcatenationOperator is empty then > put "AND" into pConcatenationOperator > end if > > > > --if dbA["where columns"][pColumn] is empty then > if dbA["where"] is empty then > put "WHERE" && pColumn && tOperator && placeholder(pValue) before > dbA["where"] > else > put " " & pConcatenationOperator && pColumn && tOperator && > placeholder(pValue) after dbA["where"] > end if > --else > --replace dbA["where columns"][pColumn] with (pColumn && tOperator > && placeholder(pValue)) in dbA["where"] > --end if > > set the itemdel to space > put item -3 to -1 of dbA["where"] into dbA["where columns"][pColumn] > end dbWhere > > > > > > On 11 Sep 2014, at 10:03, Terence Heaford > wrote: > > > Thought I?d give this plugin a try: > > > > convert tStartDate from short system date to seconds > > convert tEndDate from short system date to seconds > > > > dbResetQuery > > > > dbWhere "category", pItemName > > > > dbWhere "date >=", tStartDate > > > > dbWhere "date <=", tEndDate > > > > dbOrderBy ?date" > > > > put dbGet(sq(tTableName)) into tTranData > > > > tStartDate and tEndDate are in seconds. > > > > The SQL generated is > > > > SELECT * FROM ?my table' WHERE category = :1 AND date <= :3 ORDER BY > date > > > > Why is it not including tStartDate? > > > > Can anyone help? > > > > Thanks > > > > Terry > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From andre at andregarzia.com Fri Sep 12 11:17:58 2014 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 12 Sep 2014 12:17:58 -0300 Subject: Can LC application receive a shell command with parameters? In-Reply-To: <81FD56A6-5E00-4B27-A6D3-F833ED664390@mac.com> References: <9216A300-BD4A-4B75-A767-00C3442EB8B4@mac.com> <89CFF1BF-C4C8-44CA-9B13-F381339C8318@gmail.com> <81FD56A6-5E00-4B27-A6D3-F833ED664390@mac.com> Message-ID: Bill, This is a shot in the dark but if you're doing that on Mac OS X then I think you may be able to use AppleEvents. I don't know if they are still supported. Cheers andre On Thu, Sep 11, 2014 at 2:23 AM, Bill Vlahos wrote: > Mike, > > I?m not sure. I want to have a running application and then periodically a > different application on the computer might send my app a text string. > > Scenario > A different application sends the command pathtomyapp 555-555-5555. > > My application would have some way of receiving the command and then call > a handler in my app to do a search.. > > I don?t see what my handler would look like in my app. > > Thanks, > Bill Vlahos > > On Sep 10, 2014, at 10:57 AM, Michael Doub wrote: > > > Look up $ in the dictionary. You can get access to all of the > environment variables for command line apps. Is that what you are looking > for? > > > > -= Mike > > > > > > On Sep 10, 2014, at 1:24 PM, Bill Vlahos wrote: > > > >> I want to have a different program pass a parameter (in this case a > callerID phone number) to my LC application via a shell command to do a > search in and bring up a person?s record. > >> > >> How can I receive it and handle it? > >> > >> Thanks, > >> Bill Vlahos > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. From toolbook at kestner.de Fri Sep 12 12:32:08 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 12 Sep 2014 18:32:08 +0200 Subject: AW: Is RGB on Mac something else as RGB on windows? In-Reply-To: References: <002901cfce85$24c7f490$6e57ddb0$@de> Message-ID: <003801cfcea7$1a048d80$4e0da880$@de> Hi Trevor, hmm, might be we are experiencing the same issue. The more I am testing, the more I get confused what happens with the RGB on Mac. Because I never would have thought that there could be an issue related to this between windows and Mac this issue hits me at the latest stage in my development process at the finishing tests close before release. Probably I have to suspend my whole release plan now. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Trevor DeVore > Gesendet: Freitag, 12. September 2014 16:29 > An: How to use LiveCode > Betreff: Re: Is RGB on Mac something else as RGB on windows? > > On Fri, Sep 12, 2014 at 8:29 AM, Tiemo Hollmann TB > wrote: > > > I have an application, where I manipulate an image. I exchange a > > specified RGB color by another value. I developed this app on windows > > and everything works fine. Now at final testing my function seems to > > be broken, because the same image (a screenshot taken from a video) > > seems to have other RGB values on a Mac, so that the exchange doesen't > > work anymore on a Mac. > > > > I tested to create a png with photoshop on Windows with a blue color > > 100,150,200. Opening this png on my Mac and picking the color it gives me: > > 83,131,185. Isn't RGB = RGB on different platforms? That the same RGB > > might display different on different monitors is clear, but a > > different RGB value? > > > > Perhaps you are seeing the issue described in this bug report? > > http://quality.runrev.com/show_bug.cgi?id=13208 > > It doesn't look like LiveCode on OS X handles color profiles properly when > loading image files. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Fri Sep 12 12:50:25 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Fri, 12 Sep 2014 17:50:25 +0100 Subject: dBLib In-Reply-To: References: <20F8E5CB-81CF-463F-8F65-6696BA2F5664@btinternet.com> Message-ID: Thanks, I?m sure the author IS smart enough. ;) Also, tryng to increase your workload. I have been using an existing stack of mine to evaluate dBLib which totals columns like this: put merge("select sum(amountColumn) as totalValue from amountColumn where amountColumn < 0 and date >= [[tStartDate]] and date <= [[tEndDate]]") into tSQL There does not appear to be anyway to do this (sum) in dbLib other than by selecting the records and doing the addition in LC. Is that something that could be added? dbSum ?myColumn? I have found the "select sum? method to be quicker than using the LC method. also, could dbWhere "date >=", tStartDate dbWhere "date <=", tEndDate be implemented by adding to dbLib a dbBetween function? dbBetween ?date?,tStartDate,tEndDate dbBetween ?date?,tNumA,tNumB All the best Terry On 12 Sep 2014, at 16:09, Andre Garzia wrote: > Terence, > > The author did this because sometimes he is not that smart. I've spoken to > the author and he will do an update changing the behaviour. He explained to > me that when the library was built that sounded like a good idea. > > ;-) > > > On Thu, Sep 11, 2014 at 6:26 AM, Terence Heaford > wrote: > >> May have found the answer in the following handler in dbLib. >> >> I have commented out an ?if? test that seems to overwrite the contents of >> the column dbWhere when you try and add another condition. >> >> Why the author did this, I am not sure, would anyone care to hazard a >> guess? >> >> Thanks >> >> Terry >> >> >> command dbWhere pColumn, pValue, pConcatenationOperator >> if the number of words in pColumn > 1 then >> put word 2 of pColumn into tOperator >> put word 1 of pColumn into pColumn >> else >> put "=" into tOperator >> end if >> >> if pValue is "null" then >> put "IS" into tOperator >> put "NULL" into pValue >> end if >> >> if pValue is "not null" then >> put "IS NOT" into tOperator >> put "NULL" into pValue >> end if >> >> if pConcatenationOperator is empty then >> put "AND" into pConcatenationOperator >> end if >> >> >> >> --if dbA["where columns"][pColumn] is empty then >> if dbA["where"] is empty then >> put "WHERE" && pColumn && tOperator && placeholder(pValue) before >> dbA["where"] >> else >> put " " & pConcatenationOperator && pColumn && tOperator && >> placeholder(pValue) after dbA["where"] >> end if >> --else >> --replace dbA["where columns"][pColumn] with (pColumn && tOperator >> && placeholder(pValue)) in dbA["where"] >> --end if >> >> set the itemdel to space >> put item -3 to -1 of dbA["where"] into dbA["where columns"][pColumn] >> end dbWhere >> >> >> >> >> >> On 11 Sep 2014, at 10:03, Terence Heaford >> wrote: >> >>> Thought I?d give this plugin a try: >>> >>> convert tStartDate from short system date to seconds >>> convert tEndDate from short system date to seconds >>> >>> dbResetQuery >>> >>> dbWhere "category", pItemName >>> >>> dbWhere "date >=", tStartDate >>> >>> dbWhere "date <=", tEndDate >>> >>> dbOrderBy ?date" >>> >>> put dbGet(sq(tTableName)) into tTranData >>> >>> tStartDate and tEndDate are in seconds. >>> >>> The SQL generated is >>> >>> SELECT * FROM ?my table' WHERE category = :1 AND date <= :3 ORDER BY >> date >>> >>> Why is it not including tStartDate? >>> >>> Can anyone help? >>> >>> Thanks >>> >>> Terry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Fri Sep 12 13:09:40 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 12 Sep 2014 19:09:40 +0200 Subject: AW: Is RGB on Mac something else as RGB on windows? In-Reply-To: <003801cfcea7$1a048d80$4e0da880$@de> References: <002901cfce85$24c7f490$6e57ddb0$@de> <003801cfcea7$1a048d80$4e0da880$@de> Message-ID: <003c01cfceac$581c9a40$0855cec0$@de> Some more testing: The mousecolor returns the same RGB on Mac and Win. I need this for comparing each pixel of an imageData with this mousecolor. But when looping through the imageData of an image, the charToNum(char x of tImageData) returns a different value on Mac and Win. Up to now, it seems that the Mac value is always 30 less than on Win, same for R,G and B If this keeps constant on further testing, I can manipulate the values on Mac by this constant. But enough for today. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Tiemo Hollmann TB > Gesendet: Freitag, 12. September 2014 18:32 > An: 'How to use LiveCode' > Betreff: AW: Is RGB on Mac something else as RGB on windows? > > Hi Trevor, > > hmm, might be we are experiencing the same issue. The more I am testing, the > more I get confused what happens with the RGB on Mac. > Because I never would have thought that there could be an issue related to > this between windows and Mac this issue hits me at the latest stage in my > development process at the finishing tests close before release. Probably I > have to suspend my whole release plan now. > Tiemo > > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > > von Trevor DeVore > > Gesendet: Freitag, 12. September 2014 16:29 > > An: How to use LiveCode > > Betreff: Re: Is RGB on Mac something else as RGB on windows? > > > > On Fri, Sep 12, 2014 at 8:29 AM, Tiemo Hollmann TB > > > > wrote: > > > > > I have an application, where I manipulate an image. I exchange a > > > specified RGB color by another value. I developed this app on > > > windows and everything works fine. Now at final testing my function > > > seems to be broken, because the same image (a screenshot taken from > > > a video) seems to have other RGB values on a Mac, so that the > > > exchange doesen't work anymore on a Mac. > > > > > > I tested to create a png with photoshop on Windows with a blue color > > > 100,150,200. Opening this png on my Mac and picking the color it > > > gives > me: > > > 83,131,185. Isn't RGB = RGB on different platforms? That the same > > > RGB might display different on different monitors is clear, but a > > > different RGB value? > > > > > > > Perhaps you are seeing the issue described in this bug report? > > > > http://quality.runrev.com/show_bug.cgi?id=13208 > > > > It doesn't look like LiveCode on OS X handles color profiles properly > > when loading image files. > > > > -- > > Trevor DeVore > > ScreenSteps > > www.screensteps.com - www.clarify-it.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription > > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Sep 12 13:28:25 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 12 Sep 2014 10:28:25 -0700 Subject: dBLib In-Reply-To: References: <20F8E5CB-81CF-463F-8F65-6696BA2F5664@btinternet.com> Message-ID: On Fri, Sep 12, 2014 at 9:50 AM, Terence Heaford wrote: > put merge("select sum(amountColumn) as totalValue from amountColumn where > amountColumn < 0 and date >= [[tStartDate]] and date <= [[tEndDate]]") into > tSQL Not sure if dbLib supports it but you could use the BETWEEN operator instead of >= and <= checks on the date. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From jacque at hyperactivesw.com Fri Sep 12 14:05:21 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Sep 2014 13:05:21 -0500 Subject: AW: Is RGB on Mac something else as RGB on windows? In-Reply-To: <003801cfcea7$1a048d80$4e0da880$@de> References: <002901cfce85$24c7f490$6e57ddb0$@de> <003801cfcea7$1a048d80$4e0da880$@de> Message-ID: <541335E1.6040901@hyperactivesw.com> On 9/12/2014, 11:32 AM, Tiemo Hollmann TB wrote: > The more I am testing, the > more I get confused what happens with the RGB on Mac. Does the problem exist if the images are jpg instead of png? Can you change your images to jpg? I've seen the problem with png images, and since I didn't need to match exact RGB, I only needed a visual match, changing the screengamma on a Mac was enough to fix it. I did this: on setScreenGamma if the platform = "macOS" then set the screengamma to 1.7 else set the screengamma to 2.23 end if end setScreenGamma -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Fri Sep 12 14:49:47 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 12 Sep 2014 12:49:47 -0600 Subject: Can LC application receive a shell command with parameters? In-Reply-To: References: <9216A300-BD4A-4B75-A767-00C3442EB8B4@mac.com> <89CFF1BF-C4C8-44CA-9B13-F381339C8318@gmail.com> <81FD56A6-5E00-4B27-A6D3-F833ED664390@mac.com> Message-ID: Another option is to have a text file that is periodically checked by your running app. Poke a command string into the file, when next your app checks the file, it grabs the string and does whatever you need, while clearing out the file. Might want to use a file lock system also so that if 1 app is actively reading or writing to the file, they wait their turn. Another thing I've seen done would be to have a folder with multiple files (perhaps named by seconds?) so that every so often, you check the folder for files, sort the file list by time (if that matters) and process them. Still might need a file lock by the app that sends the command so that the receiving app knows to wait for the file to be completed, but this might work well for a batch processing type of system. (depends on what you're doing of course.) On Fri, Sep 12, 2014 at 9:17 AM, Andre Garzia wrote: > Bill, > > This is a shot in the dark but if you're doing that on Mac OS X then I > think you may be able to use AppleEvents. I don't know if they are still > supported. > > Cheers > andre > > On Thu, Sep 11, 2014 at 2:23 AM, Bill Vlahos wrote: > > > Mike, > > > > I?m not sure. I want to have a running application and then periodically > a > > different application on the computer might send my app a text string. > > > > Scenario > > A different application sends the command pathtomyapp 555-555-5555. > > > > My application would have some way of receiving the command and then call > > a handler in my app to do a search.. > > > > I don?t see what my handler would look like in my app. > > > > Thanks, > > Bill Vlahos > > > > On Sep 10, 2014, at 10:57 AM, Michael Doub wrote: > > > > > Look up $ in the dictionary. You can get access to all of the > > environment variables for command line apps. Is that what you are > looking > > for? > > > > > > -= Mike > > > > > > > > > On Sep 10, 2014, at 1:24 PM, Bill Vlahos wrote: > > > > > >> I want to have a different program pass a parameter (in this case a > > callerID phone number) to my LC application via a shell command to do a > > search in and bring up a person?s record. > > >> > > >> How can I receive it and handle it? > > >> > > >> Thanks, > > >> Bill Vlahos > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > http://www.andregarzia.com -- All We Do Is Code. > http://fon.nu -- minimalist url shortening service. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Fri Sep 12 14:53:32 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 12 Sep 2014 12:53:32 -0600 Subject: Can LC application receive a shell command with parameters? In-Reply-To: References: <9216A300-BD4A-4B75-A767-00C3442EB8B4@mac.com> <89CFF1BF-C4C8-44CA-9B13-F381339C8318@gmail.com> <81FD56A6-5E00-4B27-A6D3-F833ED664390@mac.com> Message-ID: Oh, another option, kinda like a prebuilt sockets stack that should do exactly what you want. It's the httpd stack thats part of revonrockets (I think) by andre. It has a pre-made method where you can call a handler from the stack using a http request. Works great, I used as part of a remote app once. (so I could control my system from my kindle fire) Just add the stack to your application, have it start up at run time and voila. This would also make it so that you can send remote commands from any system on the network. On Fri, Sep 12, 2014 at 12:49 PM, Mike Bonner wrote: > Another option is to have a text file that is periodically checked by your > running app. Poke a command string into the file, when next your app > checks the file, it grabs the string and does whatever you need, while > clearing out the file. Might want to use a file lock system also so that > if 1 app is actively reading or writing to the file, they wait their turn. > Another thing I've seen done would be to have a folder with multiple files > (perhaps named by seconds?) so that every so often, you check the folder > for files, sort the file list by time (if that matters) and process them. > Still might need a file lock by the app that sends the command so that the > receiving app knows to wait for the file to be completed, but this might > work well for a batch processing type of system. (depends on what you're > doing of course.) > > > On Fri, Sep 12, 2014 at 9:17 AM, Andre Garzia > wrote: > >> Bill, >> >> This is a shot in the dark but if you're doing that on Mac OS X then I >> think you may be able to use AppleEvents. I don't know if they are still >> supported. >> >> Cheers >> andre >> >> On Thu, Sep 11, 2014 at 2:23 AM, Bill Vlahos wrote: >> >> > Mike, >> > >> > I?m not sure. I want to have a running application and then >> periodically a >> > different application on the computer might send my app a text string. >> > >> > Scenario >> > A different application sends the command pathtomyapp 555-555-5555. >> > >> > My application would have some way of receiving the command and then >> call >> > a handler in my app to do a search.. >> > >> > I don?t see what my handler would look like in my app. >> > >> > Thanks, >> > Bill Vlahos >> > >> > On Sep 10, 2014, at 10:57 AM, Michael Doub wrote: >> > >> > > Look up $ in the dictionary. You can get access to all of the >> > environment variables for command line apps. Is that what you are >> looking >> > for? >> > > >> > > -= Mike >> > > >> > > >> > > On Sep 10, 2014, at 1:24 PM, Bill Vlahos wrote: >> > > >> > >> I want to have a different program pass a parameter (in this case a >> > callerID phone number) to my LC application via a shell command to do a >> > search in and bring up a person?s record. >> > >> >> > >> How can I receive it and handle it? >> > >> >> > >> Thanks, >> > >> Bill Vlahos >> > >> _______________________________________________ >> > >> use-livecode mailing list >> > >> use-livecode at lists.runrev.com >> > >> Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >> > > >> > > _______________________________________________ >> > > use-livecode mailing list >> > > use-livecode at lists.runrev.com >> > > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> > subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> > >> >> >> >> -- >> http://www.andregarzia.com -- All We Do Is Code. >> http://fon.nu -- minimalist url shortening service. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From pete at lcsql.com Fri Sep 12 15:02:18 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 12 Sep 2014 12:02:18 -0700 Subject: WindowShape Message-ID: Using the windowshape property of a stack for the first time and things aren't working quite as expected. I created a rounded rectangle graphic and then exported a snapshot of it to an image. When the stack is opened, I set the windowshape to the id of the image. I see the outline of the card but none of the controls on it are visible. I suspect this is something to do with the "1-bit transparency mask" and "full alpha mask" described in the windowshape dictionary entry. The only masks I know about are the Lone Ranger's and the ones you see on Halloween so I'd be grateful if some kind graphics person could enlighten me as to what I need to do to get this working :-) Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From bonnmike at gmail.com Fri Sep 12 15:10:41 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 12 Sep 2014 13:10:41 -0600 Subject: WindowShape In-Reply-To: References: Message-ID: Easiest fix is to set the rounded rec to opaque before making the image. On Fri, Sep 12, 2014 at 1:02 PM, Peter Haworth wrote: > Using the windowshape property of a stack for the first time and things > aren't working quite as expected. > > I created a rounded rectangle graphic and then exported a snapshot of it to > an image. When the stack is opened, I set the windowshape to the id of the > image. > > I see the outline of the card but none of the controls on it are visible. > I suspect this is something to do with the "1-bit transparency mask" and > "full alpha mask" described in the windowshape dictionary entry. > > The only masks I know about are the Lone Ranger's and the ones you see on > Halloween so I'd be grateful if some kind graphics person could enlighten > me as to what I need to do to get this working :-) > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Fri Sep 12 15:15:52 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Sep 2014 12:15:52 -0700 Subject: WindowShape In-Reply-To: References: Message-ID: Hi Pete: If you were to position the snapshot image at the topLeft of your stack, would the controls you can't see fall within the rect of the image? Am asking because it doesn't matter where the image resides on a card, the mask is always drawn from the topLeft of the stack. So the controls would have to be positioned within the rect: 0,0,width of your image, height of your image. (Also, your image needs to be opaque or have some opacity to be seen, but I'm sure you know this.) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/12/14 12:02 PM, "Peter Haworth" wrote: >Using the windowshape property of a stack for the first time and things >aren't working quite as expected. > >I created a rounded rectangle graphic and then exported a snapshot of it >to >an image. When the stack is opened, I set the windowshape to the id of >the >image. > >I see the outline of the card but none of the controls on it are visible. > I suspect this is something to do with the "1-bit transparency mask" and >"full alpha mask" described in the windowshape dictionary entry. > >The only masks I know about are the Lone Ranger's and the ones you see on >Halloween so I'd be grateful if some kind graphics person could enlighten >me as to what I need to do to get this working :-) > >Pete >lcSQL Software >Home of lcStackBrowser and >SQLiteAdmin >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Fri Sep 12 15:11:47 2014 From: sundown at pacifier.com (JB) Date: Fri, 12 Sep 2014 12:11:47 -0700 Subject: Externals in Objective-C In-Reply-To: References: Message-ID: <63429475-02CC-44AF-8BEE-A36E62DC02B7@pacifier.com> For anyone who is interested in writing objective-c externals in LiveCode and Revolution here is a link to some code that might work. I am still pretty new to c++ and objective-c and have not tried it yet. If you get it working please post some code. c++ wrapper for objective-c link; http://stackoverflow.com/questions/7132755/wrapping-objective-c-in-objective-c-c John Balgenorth On Sep 11, 2014, at 8:45 PM, JB wrote: > n theory any language that can build shared libraries and allows you to link with the provided glue code > could be used. However, in practice, some languages will require extra glue-code in order to provide an > environment in which their code can run. For example, to access Objective-C you will need to ensure you > set up its memory/exception environment in C wrapper functions before calling any Objective-C code. > > Does anyone have a copy or example of a C wrapper functions for memory/exception environment? > > I want to write a external using Objective-C instead of C++. Does anyone have example code of how > to write a external for Revolution using Objective-C? It appears that even Swift might be able to be > used for writing externals in LiveCode and Revolution. Does anyone have some example code that > will allow the writing of externals with objective-C or Swift? > > John Balgenorth > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Sep 12 15:47:23 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 12 Sep 2014 12:47:23 -0700 Subject: WindowShape In-Reply-To: References: Message-ID: Hi Mike and Scott. Recreated the graphic and set its opaque to true before exporting it and that fixed the problem. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Sep 12, 2014 at 12:15 PM, Scott Rossi wrote: > Hi Pete: > > If you were to position the snapshot image at the topLeft of your stack, > would the controls you can't see fall within the rect of the image? Am > asking because it doesn't matter where the image resides on a card, the > mask is always drawn from the topLeft of the stack. So the controls would > have to be positioned within the rect: 0,0,width of your image, height of > your image. > > (Also, your image needs to be opaque or have some opacity to be seen, but > I'm sure you know this.) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 9/12/14 12:02 PM, "Peter Haworth" wrote: > > >Using the windowshape property of a stack for the first time and things > >aren't working quite as expected. > > > >I created a rounded rectangle graphic and then exported a snapshot of it > >to > >an image. When the stack is opened, I set the windowshape to the id of > >the > >image. > > > >I see the outline of the card but none of the controls on it are visible. > > I suspect this is something to do with the "1-bit transparency mask" and > >"full alpha mask" described in the windowshape dictionary entry. > > > >The only masks I know about are the Lone Ranger's and the ones you see on > >Halloween so I'd be grateful if some kind graphics person could enlighten > >me as to what I need to do to get this working :-) > > > >Pete > >lcSQL Software > >Home of lcStackBrowser and > >SQLiteAdmin > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Fri Sep 12 15:52:19 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 12 Sep 2014 15:52:19 -0400 Subject: ios8 In-Reply-To: <2D7531CF-5100-42DB-BE9D-4BD644D5E608@icloud.com> References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> <0BBCD59D-A0FA-4D47-B1AB-B49217726546@gmail.com> <2D7531CF-5100-42DB-BE9D-4BD644D5E608@icloud.com> Message-ID: Well, unfortunately, I can't even get to the preOpenStack handler. This baby crashes even before that. On Thu, Sep 11, 2014 at 3:49 PM, Chris Sheffield wrote: > Linking to Xcode 6 will require a LiveCode update I?m afraid. I?m sure the > team are working on it and we?ll have something shortly. > > As for app crashes under iOS 8, I haven?t seen any problems. However, the > latest app I?ve been working on is built with LC 6.6.2 (now 6.6.3). We do > have one in the app store built with LC 6.5.2, and it seems okay as well. > > Chris > > > On Sep 11, 2014, at 1:36 PM, Mike Kerner > wrote: > > > > I also can't link to the sdk in xc6 > > > > On Thu, Sep 11, 2014 at 3:16 PM, Mike Kerner > > > wrote: > > > >> Well, one of my apps, that works find in ios7, crashes at startup on 8. > >> Anybody else run into anything with 8? > >> > >> On Thu, Sep 11, 2014 at 2:03 AM, Gerry gerry.orkin at gmail.com>> wrote: > >> > >>> I should also mention that I'm running OS X 10.9.4. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dave at applicationinsight.com Fri Sep 12 15:53:27 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 12 Sep 2014 12:53:27 -0700 (PDT) Subject: WindowShape In-Reply-To: References: Message-ID: <1410551607491-4683175.post@n4.nabble.com> The other thing to watch out for is scaleFactor - when this is not 1 the window shape can change to a bad overall shape as well as artefacts inside the window - at least it used to, I made a bug report on this several months ago and as far as I know it isn't fixed ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/WindowShape-tp4683169p4683175.html Sent from the Revolution - User mailing list archive at Nabble.com. From cmsheffield at icloud.com Fri Sep 12 15:59:18 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 12 Sep 2014 13:59:18 -0600 Subject: ios8 In-Reply-To: References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> <0BBCD59D-A0FA-4D47-B1AB-B49217726546@gmail.com> <2D7531CF-5100-42DB-BE9D-4BD644D5E608@icloud.com> Message-ID: <2BB4251E-B1F4-44A4-BE51-533FC0F834AD@icloud.com> Are you using any externals with your app? Usually when I?ve seen immediate crashes like that it?s due to an incompatible external. > On Sep 12, 2014, at 1:52 PM, Mike Kerner wrote: > > Well, unfortunately, I can't even get to the preOpenStack handler. This > baby crashes even before that. > > On Thu, Sep 11, 2014 at 3:49 PM, Chris Sheffield > wrote: > >> Linking to Xcode 6 will require a LiveCode update I?m afraid. I?m sure the >> team are working on it and we?ll have something shortly. >> >> As for app crashes under iOS 8, I haven?t seen any problems. However, the >> latest app I?ve been working on is built with LC 6.6.2 (now 6.6.3). We do >> have one in the app store built with LC 6.5.2, and it seems okay as well. >> >> Chris >> >>> On Sep 11, 2014, at 1:36 PM, Mike Kerner >> wrote: >>> >>> I also can't link to the sdk in xc6 >>> >>> On Thu, Sep 11, 2014 at 3:16 PM, Mike Kerner > > >>> wrote: >>> >>>> Well, one of my apps, that works find in ios7, crashes at startup on 8. >>>> Anybody else run into anything with 8? >>>> >>>> On Thu, Sep 11, 2014 at 2:03 AM, Gerry > gerry.orkin at gmail.com>> wrote: >>>> >>>>> I should also mention that I'm running OS X 10.9.4. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Sep 12 16:00:37 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 12 Sep 2014 16:00:37 -0400 Subject: ios8 In-Reply-To: <2BB4251E-B1F4-44A4-BE51-533FC0F834AD@icloud.com> References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> <0BBCD59D-A0FA-4D47-B1AB-B49217726546@gmail.com> <2D7531CF-5100-42DB-BE9D-4BD644D5E608@icloud.com> <2BB4251E-B1F4-44A4-BE51-533FC0F834AD@icloud.com> Message-ID: I removed the externals. It still dies. On Fri, Sep 12, 2014 at 3:59 PM, Chris Sheffield wrote: > Are you using any externals with your app? Usually when I?ve seen > immediate crashes like that it?s due to an incompatible external. > > > > On Sep 12, 2014, at 1:52 PM, Mike Kerner > wrote: > > > > Well, unfortunately, I can't even get to the preOpenStack handler. This > > baby crashes even before that. > > > > On Thu, Sep 11, 2014 at 3:49 PM, Chris Sheffield > > > wrote: > > > >> Linking to Xcode 6 will require a LiveCode update I?m afraid. I?m sure > the > >> team are working on it and we?ll have something shortly. > >> > >> As for app crashes under iOS 8, I haven?t seen any problems. However, > the > >> latest app I?ve been working on is built with LC 6.6.2 (now 6.6.3). We > do > >> have one in the app store built with LC 6.5.2, and it seems okay as > well. > >> > >> Chris > >> > >>> On Sep 11, 2014, at 1:36 PM, Mike Kerner > >> wrote: > >>> > >>> I also can't link to the sdk in xc6 > >>> > >>> On Thu, Sep 11, 2014 at 3:16 PM, Mike Kerner < > MikeKerner at roadrunner.com > >> > > >>> wrote: > >>> > >>>> Well, one of my apps, that works find in ios7, crashes at startup on > 8. > >>>> Anybody else run into anything with 8? > >>>> > >>>> On Thu, Sep 11, 2014 at 2:03 AM, Gerry >> gerry.orkin at gmail.com>> wrote: > >>>> > >>>>> I should also mention that I'm running OS X 10.9.4. > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dave at applicationinsight.com Fri Sep 12 16:09:42 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 12 Sep 2014 13:09:42 -0700 (PDT) Subject: dBLib In-Reply-To: References: <20F8E5CB-81CF-463F-8F65-6696BA2F5664@btinternet.com> Message-ID: <1410552582222-4683178.post@n4.nabble.com> I've used dbLib with a Firebird db to pull in data from a table where the date field used a "yyyy-mm-dd" format, and as long as I made sure to follow this format there was no problem: dbWhere "CREATEDATE >", tDate --other statements building the SELECT statement put dbGet("ITEM") into myArray The way dbLib works is that you can build a select statement with multiple 'dbWhere' statements so you could do something like: dbWhere "CREATEDATE >", tDate1 dbWhere "CREATEDATE <", tDate2 --other statements building the SELECT statement put dbGet("ITEM") into myArray Kind regards Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/dBLib-tp4683123p4683178.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Fri Sep 12 17:05:18 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Sep 2014 14:05:18 -0700 Subject: WindowShape In-Reply-To: References: Message-ID: Unlike the Lone Ranger's mask, you can animate the window's mask, just for fun. I got inspired since I haven't done one of these in a while. Execute the following your message box: go url "http://www.tactilemedia.com/download/animated_mask.livecode" Once the window loads, look for the teeny checkbox at the top of the window to start the animation. IMPORTANT: The window mask contains regions of 100% transparency, so if you click in any of these regions, you will click through the window and onto your desktop. Use the "handles" provided around the outer edges of the window to drag it around your desktop. Have a fun masked Friday. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design >> >> >> >> On 9/12/14 12:02 PM, "Peter Haworth" wrote: >> >> >> >The only masks I know about are the Lone Ranger's and the ones you see >>on >> >Halloween so I'd be grateful if some kind graphics person could >>enlighten >> >me as to what I need to do to get this working :-) >> From scott at tactilemedia.com Fri Sep 12 17:12:02 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Sep 2014 14:12:02 -0700 Subject: WindowShape In-Reply-To: References: Message-ID: I should mention, if you're on a Mac, you can set the shadow property of the window to false and the window will look cleaner (and flatter). Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/12/14 2:05 PM, "Scott Rossi" wrote: >I got inspired since I haven't done one of these in a while. Execute the >following your message box: >go url "http://www.tactilemedia.com/download/animated_mask.livecode" From prothero at earthednet.org Fri Sep 12 17:41:47 2014 From: prothero at earthednet.org (William Prothero) Date: Fri, 12 Sep 2014 14:41:47 -0700 Subject: Is RGB on Mac something else as RGB on windows? In-Reply-To: <003c01cfceac$581c9a40$0855cec0$@de> References: <002901cfce85$24c7f490$6e57ddb0$@de> <003801cfcea7$1a048d80$4e0da880$@de> <003c01cfceac$581c9a40$0855cec0$@de> Message-ID: <99C0C9C6-E032-4264-B8A2-83C7D4C9831A@earthednet.org> Tiemo: I wonder if this has something to do with the fact that byte operations rather than charToNum operations are supported now, and unicode gets involved in charToNum operations. Bill On Sep 12, 2014, at 10:09 AM, Tiemo Hollmann TB wrote: > Some more testing: > The mousecolor returns the same RGB on Mac and Win. I need this for > comparing each pixel of an imageData with this mousecolor. > But when looping through the imageData of an image, the charToNum(char x of > tImageData) returns a different value on Mac and Win. > Up to now, it seems that the Mac value is always 30 less than on Win, same > for R,G and B > If this keeps constant on further testing, I can manipulate the values on > Mac by this constant. But enough for today. > Tiemo > > > > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von Tiemo Hollmann TB >> Gesendet: Freitag, 12. September 2014 18:32 >> An: 'How to use LiveCode' >> Betreff: AW: Is RGB on Mac something else as RGB on windows? >> >> Hi Trevor, >> >> hmm, might be we are experiencing the same issue. The more I am testing, > the >> more I get confused what happens with the RGB on Mac. >> Because I never would have thought that there could be an issue related to >> this between windows and Mac this issue hits me at the latest stage in my >> development process at the finishing tests close before release. Probably > I >> have to suspend my whole release plan now. >> Tiemo >> >> >>> -----Urspr?ngliche Nachricht----- >>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >> Auftrag >>> von Trevor DeVore >>> Gesendet: Freitag, 12. September 2014 16:29 >>> An: How to use LiveCode >>> Betreff: Re: Is RGB on Mac something else as RGB on windows? >>> >>> On Fri, Sep 12, 2014 at 8:29 AM, Tiemo Hollmann TB >>> >>> wrote: >>> >>>> I have an application, where I manipulate an image. I exchange a >>>> specified RGB color by another value. I developed this app on >>>> windows and everything works fine. Now at final testing my function >>>> seems to be broken, because the same image (a screenshot taken from >>>> a video) seems to have other RGB values on a Mac, so that the >>>> exchange doesen't work anymore on a Mac. >>>> >>>> I tested to create a png with photoshop on Windows with a blue color >>>> 100,150,200. Opening this png on my Mac and picking the color it >>>> gives >> me: >>>> 83,131,185. Isn't RGB = RGB on different platforms? That the same >>>> RGB might display different on different monitors is clear, but a >>>> different RGB value? >>>> >>> >>> Perhaps you are seeing the issue described in this bug report? >>> >>> http://quality.runrev.com/show_bug.cgi?id=13208 >>> >>> It doesn't look like LiveCode on OS X handles color profiles properly >>> when loading image files. >>> >>> -- >>> Trevor DeVore >>> ScreenSteps >>> www.screensteps.com - www.clarify-it.com >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription >>> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Sep 12 18:29:05 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Sep 2014 17:29:05 -0500 Subject: WindowShape In-Reply-To: References: Message-ID: <541373B1.1000008@hyperactivesw.com> On 9/12/2014, 4:05 PM, Scott Rossi wrote: > Unlike the Lone Ranger's mask, you can animate the window's mask, just for > fun. > > I got inspired since I haven't done one of these in a while. Execute the > following your message box: > go url "http://www.tactilemedia.com/download/animated_mask.livecode" > > Once the window loads, look for the teeny checkbox at the top of the > window to start the animation. > > IMPORTANT: The window mask contains regions of 100% transparency, so if > you click in any of these regions, you will click through the window and > onto your desktop. Use the "handles" provided around the outer edges of > the window to drag it around your desktop. > > Have a fun masked Friday. Your stuff is so cool. Works great on 6.6.2, my eyes glazed over and I started to get hypnotized. I could hear your soothing voice murmuring, "you feel sleeeeepy...you want to give me your bank account numbers..." Fortunately I was able to disengage and decided to try it on LC 7.0, where it does nothing. My meager fortune has been retained, but you should probably tell RR about the failure anyway. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Fri Sep 12 18:49:26 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Sep 2014 15:49:26 -0700 Subject: WindowShape In-Reply-To: <541373B1.1000008@hyperactivesw.com> References: <541373B1.1000008@hyperactivesw.com> Message-ID: Hmm. I just tested in RC1 and the animation seems to work fine, but dragging the window around the desktop is still screwed up (from past bug report). Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/12/14 3:29 PM, "J. Landman Gay" wrote: >On 9/12/2014, 4:05 PM, Scott Rossi wrote: >> Unlike the Lone Ranger's mask, you can animate the window's mask, just >>for >> fun. >> >> I got inspired since I haven't done one of these in a while. Execute >>the >> following your message box: >> go url "http://www.tactilemedia.com/download/animated_mask.livecode" >> >> Once the window loads, look for the teeny checkbox at the top of the >> window to start the animation. >> >> IMPORTANT: The window mask contains regions of 100% transparency, so if >> you click in any of these regions, you will click through the window and >> onto your desktop. Use the "handles" provided around the outer edges of >> the window to drag it around your desktop. >> >> Have a fun masked Friday. > > >Your stuff is so cool. Works great on 6.6.2, my eyes glazed over and I >started to get hypnotized. I could hear your soothing voice murmuring, >"you feel sleeeeepy...you want to give me your bank account numbers..." > >Fortunately I was able to disengage and decided to try it on LC 7.0, >where it does nothing. My meager fortune has been retained, but you >should probably tell RR about the failure anyway. > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Sep 12 18:54:58 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Sep 2014 17:54:58 -0500 Subject: WindowShape In-Reply-To: References: <541373B1.1000008@hyperactivesw.com> Message-ID: <541379C2.5040501@hyperactivesw.com> Odd. I tried it twice and the animation never ran. The windowshape showed up okay, though as you said, the window wouldn't drag. When I clicked the checkbox it got a checkmark but nothing happened. On 9/12/2014, 5:49 PM, Scott Rossi wrote: > Hmm. I just tested in RC1 and the animation seems to work fine, but > dragging the window around the desktop is still screwed up (from past bug > report). > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 9/12/14 3:29 PM, "J. Landman Gay" wrote: > >> On 9/12/2014, 4:05 PM, Scott Rossi wrote: >>> Unlike the Lone Ranger's mask, you can animate the window's mask, just >>> for >>> fun. >>> >>> I got inspired since I haven't done one of these in a while. Execute >>> the >>> following your message box: >>> go url "http://www.tactilemedia.com/download/animated_mask.livecode" >>> >>> Once the window loads, look for the teeny checkbox at the top of the >>> window to start the animation. >>> >>> IMPORTANT: The window mask contains regions of 100% transparency, so if >>> you click in any of these regions, you will click through the window and >>> onto your desktop. Use the "handles" provided around the outer edges of >>> the window to drag it around your desktop. >>> >>> Have a fun masked Friday. >> >> >> Your stuff is so cool. Works great on 6.6.2, my eyes glazed over and I >> started to get hypnotized. I could hear your soothing voice murmuring, >> "you feel sleeeeepy...you want to give me your bank account numbers..." >> >> Fortunately I was able to disengage and decided to try it on LC 7.0, >> where it does nothing. My meager fortune has been retained, but you >> should probably tell RR about the failure anyway. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Fri Sep 12 18:55:37 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Fri, 12 Sep 2014 15:55:37 -0700 Subject: WindowShape In-Reply-To: References: <541373B1.1000008@hyperactivesw.com> Message-ID: <7F92384D-15AE-47C5-8069-0348A8348887@mac.com> Works fine for me in LC 7.0(rc1) on OS X 10.8.5 - I can drag it around too. It's a really cool idea, thanks for sharing. Paul On 2014-09-12, at 3:49 PM, Scott Rossi wrote: > Hmm. I just tested in RC1 and the animation seems to work fine, but > dragging the window around the desktop is still screwed up (from past bug > report). > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 9/12/14 3:29 PM, "J. Landman Gay" wrote: > >> On 9/12/2014, 4:05 PM, Scott Rossi wrote: >>> Unlike the Lone Ranger's mask, you can animate the window's mask, just >>> for >>> fun. >>> >>> I got inspired since I haven't done one of these in a while. Execute >>> the >>> following your message box: >>> go url "http://www.tactilemedia.com/download/animated_mask.livecode" >>> >>> Once the window loads, look for the teeny checkbox at the top of the >>> window to start the animation. >>> >>> IMPORTANT: The window mask contains regions of 100% transparency, so if >>> you click in any of these regions, you will click through the window and >>> onto your desktop. Use the "handles" provided around the outer edges of >>> the window to drag it around your desktop. >>> >>> Have a fun masked Friday. >> >> >> Your stuff is so cool. Works great on 6.6.2, my eyes glazed over and I >> started to get hypnotized. I could hear your soothing voice murmuring, >> "you feel sleeeeepy...you want to give me your bank account numbers..." >> >> Fortunately I was able to disengage and decided to try it on LC 7.0, >> where it does nothing. My meager fortune has been retained, but you >> should probably tell RR about the failure anyway. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Fri Sep 12 19:03:48 2014 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 12 Sep 2014 23:03:48 +0000 Subject: WindowShape In-Reply-To: <7F92384D-15AE-47C5-8069-0348A8348887@mac.com> References: <541373B1.1000008@hyperactivesw.com> <7F92384D-15AE-47C5-8069-0348A8348887@mac.com> Message-ID: <20B50A07-F27F-4CFA-8127-665043786107@byu.edu> Works for me, too, on 7.0 RC 1 on Mavericks. Devin On Sep 12, 2014, at 4:55 PM, Paul Hibbert wrote: > Works fine for me in LC 7.0(rc1) on OS X 10.8.5 - I can drag it around too. > > It's a really cool idea, thanks for sharing. > > Paul > > > On 2014-09-12, at 3:49 PM, Scott Rossi wrote: > >> Hmm. I just tested in RC1 and the animation seems to work fine, but >> dragging the window around the desktop is still screwed up (from past bug >> report). >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 9/12/14 3:29 PM, "J. Landman Gay" wrote: >> >>> On 9/12/2014, 4:05 PM, Scott Rossi wrote: >>>> Unlike the Lone Ranger's mask, you can animate the window's mask, just >>>> for >>>> fun. >>>> >>>> I got inspired since I haven't done one of these in a while. Execute >>>> the >>>> following your message box: >>>> go url "http://www.tactilemedia.com/download/animated_mask.livecode" >>>> >>>> Once the window loads, look for the teeny checkbox at the top of the >>>> window to start the animation. >>>> >>>> IMPORTANT: The window mask contains regions of 100% transparency, so if >>>> you click in any of these regions, you will click through the window and >>>> onto your desktop. Use the "handles" provided around the outer edges of >>>> the window to drag it around your desktop. >>>> >>>> Have a fun masked Friday. >>> >>> >>> Your stuff is so cool. Works great on 6.6.2, my eyes glazed over and I >>> started to get hypnotized. I could hear your soothing voice murmuring, >>> "you feel sleeeeepy...you want to give me your bank account numbers..." >>> >>> Fortunately I was able to disengage and decided to try it on LC 7.0, >>> where it does nothing. My meager fortune has been retained, but you >>> should probably tell RR about the failure anyway. >>> Devin Asay Office of Digital Humanities Brigham Young University From jacque at hyperactivesw.com Fri Sep 12 19:06:00 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Sep 2014 18:06:00 -0500 Subject: WindowShape In-Reply-To: <7F92384D-15AE-47C5-8069-0348A8348887@mac.com> References: <541373B1.1000008@hyperactivesw.com> <7F92384D-15AE-47C5-8069-0348A8348887@mac.com> Message-ID: <54137C58.4020600@hyperactivesw.com> On 9/12/2014, 5:55 PM, Paul Hibbert wrote: > Works fine for me in LC 7.0(rc1) on OS X 10.8.5 - I can drag it around too. I'm at a loss then. I'm using 7.0 rc 1 like you are. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Fri Sep 12 19:09:12 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Sep 2014 16:09:12 -0700 Subject: WindowShape In-Reply-To: <541379C2.5040501@hyperactivesw.com> References: <541373B1.1000008@hyperactivesw.com> <541379C2.5040501@hyperactivesw.com> Message-ID: After letting the thing run for about a minute, the window disappeared on its own (and eventually LC crashed, though not sure that's related). Off to the bug report page. . . Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/12/14 3:54 PM, "J. Landman Gay" wrote: >Odd. I tried it twice and the animation never ran. The windowshape >showed up okay, though as you said, the window wouldn't drag. When I >clicked the checkbox it got a checkmark but nothing happened. > >On 9/12/2014, 5:49 PM, Scott Rossi wrote: >> Hmm. I just tested in RC1 and the animation seems to work fine, but >> dragging the window around the desktop is still screwed up (from past >>bug >> report). >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 9/12/14 3:29 PM, "J. Landman Gay" wrote: >> >>> On 9/12/2014, 4:05 PM, Scott Rossi wrote: >>>> Unlike the Lone Ranger's mask, you can animate the window's mask, just >>>> for >>>> fun. >>>> >>>> I got inspired since I haven't done one of these in a while. Execute >>>> the >>>> following your message box: >>>> go url "http://www.tactilemedia.com/download/animated_mask.livecode" >>>> >>>> Once the window loads, look for the teeny checkbox at the top of the >>>> window to start the animation. >>>> >>>> IMPORTANT: The window mask contains regions of 100% transparency, so >>>>if >>>> you click in any of these regions, you will click through the window >>>>and >>>> onto your desktop. Use the "handles" provided around the outer edges >>>>of >>>> the window to drag it around your desktop. >>>> >>>> Have a fun masked Friday. >>> >>> >>> Your stuff is so cool. Works great on 6.6.2, my eyes glazed over and I >>> started to get hypnotized. I could hear your soothing voice murmuring, >>> "you feel sleeeeepy...you want to give me your bank account numbers..." >>> >>> Fortunately I was able to disengage and decided to try it on LC 7.0, >>> where it does nothing. My meager fortune has been retained, but you >>> should probably tell RR about the failure anyway. >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > >-- >Jacqueline Landman Gay | jacque at hyperactivesw.com >HyperActive Software | http://www.hyperactivesw.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Sep 12 19:35:19 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Sep 2014 18:35:19 -0500 Subject: WindowShape In-Reply-To: References: <541373B1.1000008@hyperactivesw.com> <541379C2.5040501@hyperactivesw.com> Message-ID: <54138337.7090709@hyperactivesw.com> On 9/12/2014, 6:09 PM, Scott Rossi wrote: > After letting the thing run for about a minute, the window disappeared on > its own (and eventually LC crashed, though not sure that's related). Well, this is embarrassing. I tried it again, it still didn't work. Then I noticed I had messages turned off. You have permission to laugh and point. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Fri Sep 12 19:38:34 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Fri, 12 Sep 2014 16:38:34 -0700 Subject: WindowShape In-Reply-To: References: <541373B1.1000008@hyperactivesw.com> <541379C2.5040501@hyperactivesw.com> Message-ID: Crashed here too. So I opened the Activity Monitor, launched LC again, opened the stack and activated the animation, then watched the memory usage just grow and grow until it stopped at 3.39GB, then eventually it crashed. Paul On 2014-09-12, at 4:09 PM, Scott Rossi wrote: > After letting the thing run for about a minute, the window disappeared on > its own (and eventually LC crashed, though not sure that's related). > > Off to the bug report page. . . > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 9/12/14 3:54 PM, "J. Landman Gay" wrote: > >> Odd. I tried it twice and the animation never ran. The windowshape >> showed up okay, though as you said, the window wouldn't drag. When I >> clicked the checkbox it got a checkmark but nothing happened. >> >> On 9/12/2014, 5:49 PM, Scott Rossi wrote: >>> Hmm. I just tested in RC1 and the animation seems to work fine, but >>> dragging the window around the desktop is still screwed up (from past >>> bug >>> report). >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 9/12/14 3:29 PM, "J. Landman Gay" wrote: >>> >>>> On 9/12/2014, 4:05 PM, Scott Rossi wrote: >>>>> Unlike the Lone Ranger's mask, you can animate the window's mask, just >>>>> for >>>>> fun. >>>>> >>>>> I got inspired since I haven't done one of these in a while. Execute >>>>> the >>>>> following your message box: >>>>> go url "http://www.tactilemedia.com/download/animated_mask.livecode" >>>>> >>>>> Once the window loads, look for the teeny checkbox at the top of the >>>>> window to start the animation. >>>>> >>>>> IMPORTANT: The window mask contains regions of 100% transparency, so >>>>> if >>>>> you click in any of these regions, you will click through the window >>>>> and >>>>> onto your desktop. Use the "handles" provided around the outer edges >>>>> of >>>>> the window to drag it around your desktop. >>>>> >>>>> Have a fun masked Friday. >>>> >>>> >>>> Your stuff is so cool. Works great on 6.6.2, my eyes glazed over and I >>>> started to get hypnotized. I could hear your soothing voice murmuring, >>>> "you feel sleeeeepy...you want to give me your bank account numbers..." >>>> >>>> Fortunately I was able to disengage and decided to try it on LC 7.0, >>>> where it does nothing. My meager fortune has been retained, but you >>>> should probably tell RR about the failure anyway. >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Fri Sep 12 19:56:47 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 12 Sep 2014 17:56:47 -0600 Subject: player question Message-ID: <30D8F2B3192042109D042BFFEBED1CE1@userd204a4d61c> I have the following lines of code below: I put a number such as 10 into field myStart and then execute the code. The player still starts playing at the very beginning of the song. ????? TIA Larry put field myStart * the timeScale of player myPlayer into tStart set the startTime of player myPlayer to tStart start player myPlayer From scott at tactilemedia.com Fri Sep 12 20:06:41 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Sep 2014 17:06:41 -0700 Subject: WindowShape In-Reply-To: <54138337.7090709@hyperactivesw.com> References: <541373B1.1000008@hyperactivesw.com> <541379C2.5040501@hyperactivesw.com> <54138337.7090709@hyperactivesw.com> Message-ID: On 9/12/14 4:35 PM, "J. Landman Gay" wrote: >Well, this is embarrassing. I tried it again, it still didn't work. Then >I noticed I had messages turned off. > >You have permission to laugh and point. Like we need permission. :-) Filed a bug report already. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From paulhibbert at mac.com Fri Sep 12 20:53:53 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Fri, 12 Sep 2014 17:53:53 -0700 Subject: player question In-Reply-To: <30D8F2B3192042109D042BFFEBED1CE1@userd204a4d61c> References: <30D8F2B3192042109D042BFFEBED1CE1@userd204a4d61c> Message-ID: <0D22F7F3-FAF1-4664-8860-EE98C24EEEFC@mac.com> Try adding the line: set the playSelection of player myPlayer to true Paul On 2014-09-12, at 4:56 PM, wrote: > I have the following lines of code below: > I put a number such as 10 into field myStart and then execute the code. > The player still starts playing at the very beginning of the song. > ????? > TIA > Larry > > put field myStart * the timeScale of player myPlayer into tStart > > set the startTime of player myPlayer to tStart > > start player myPlayer > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Fri Sep 12 21:18:29 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 13 Sep 2014 09:18:29 +0800 Subject: Apple TestFlight beta testing In-Reply-To: References: <28E30ABF-06D7-4F3C-BF6F-88769197BC86@icloud.com> Message-ID: On Fri, Sep 12, 2014 at 10:30 PM, Chris Sheffield wrote: >but it bothers me a bit that beta testing requires the testers to have iOS 8 on their devices. What if we want/need to test our apps on older >versions of iOS? But isn't the iOS 8 requirement so the up coming '1,000 Beta Testers' can be implemented? Just another way to 'persuade' uptake of a new iOS. From ambassador at fourthworld.com Fri Sep 12 21:37:31 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 12 Sep 2014 18:37:31 -0700 Subject: No WAV playback on Win in v6.6.2? Message-ID: <54139FDB.7060209@fourthworld.com> I could have sworn I'd been able to play WAV files in Windows (no QuickTime installed) within a LiveCode player object, but today I'm having no luck. Am I imagining things? LC seems to do well with MP3, but it would be very convenient for this project if I could use WAV. Am I missing something? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From scott at tactilemedia.com Fri Sep 12 21:44:33 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 12 Sep 2014 18:44:33 -0700 Subject: No WAV playback on Win in v6.6.2? In-Reply-To: <54139FDB.7060209@fourthworld.com> References: <54139FDB.7060209@fourthworld.com> Message-ID: <7322FB67-C392-45B3-AF7C-A3D95B04FD05@tactilemedia.com> You can play imported WAVs, but I don't recall being able to play external files without QT behind the player. Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Sep 12, 2014, at 6:37 PM, Richard Gaskin wrote: > > I could have sworn I'd been able to play WAV files in Windows (no QuickTime installed) within a LiveCode player object, but today I'm having no luck. > > Am I imagining things? > > LC seems to do well with MP3, but it would be very convenient for this project if I could use WAV. > > Am I missing something? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Fri Sep 12 21:50:51 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 12 Sep 2014 21:50:51 -0400 Subject: No WAV playback on Win in v6.6.2? In-Reply-To: <7322FB67-C392-45B3-AF7C-A3D95B04FD05@tactilemedia.com> References: <54139FDB.7060209@fourthworld.com> <7322FB67-C392-45B3-AF7C-A3D95B04FD05@tactilemedia.com> Message-ID: I think that should get changed, especially since most recommendations are to use references for images. Why not also reference sounds, and have the engine import behind the scenes if it must. ~Roger On Sep 12, 2014 9:44 PM, "Scott Rossi" wrote: > You can play imported WAVs, but I don't recall being able to play external > files without QT behind the player. > > Regards, > > Scott Rossi > Creative Director > Tactile Media UX/UI Design > > > On Sep 12, 2014, at 6:37 PM, Richard Gaskin > wrote: > > > > I could have sworn I'd been able to play WAV files in Windows (no > QuickTime installed) within a LiveCode player object, but today I'm having > no luck. > > > > Am I imagining things? > > > > LC seems to do well with MP3, but it would be very convenient for this > project if I could use WAV. > > > > Am I missing something? > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at harryscollar.com Fri Sep 12 22:09:00 2014 From: alex at harryscollar.com (Alex Shaw) Date: Sat, 13 Sep 2014 12:09:00 +1000 Subject: No WAV playback on Win in v6.6.2? In-Reply-To: <54139FDB.7060209@fourthworld.com> References: <54139FDB.7060209@fourthworld.com> Message-ID: <5413A73C.9020009@harryscollar.com> Hi Richard If you just need basic playback try ffplay. https://www.ffmpeg.org/ffplay.html regards alex On 13/09/2014 11:37 am, Richard Gaskin wrote: > I could have sworn I'd been able to play WAV files in Windows (no > QuickTime installed) within a LiveCode player object, but today I'm > having no luck. > > Am I imagining things? > > LC seems to do well with MP3, but it would be very convenient for this > project if I could use WAV. > > Am I missing something? > From larry at significantplanet.org Fri Sep 12 22:54:00 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 12 Sep 2014 20:54:00 -0600 Subject: player question References: <30D8F2B3192042109D042BFFEBED1CE1@userd204a4d61c> <0D22F7F3-FAF1-4664-8860-EE98C24EEEFC@mac.com> Message-ID: <917EA97726DC4A71ABA2199BA349CCF4@userd204a4d61c> Thanks Paul! That was all that was needed. Larry ----- Original Message ----- From: "Paul Hibbert" To: "How to use LiveCode" Sent: Friday, September 12, 2014 6:53 PM Subject: Re: player question > Try adding the line: > > set the playSelection of player myPlayer to true > > Paul > > > On 2014-09-12, at 4:56 PM, wrote: > >> I have the following lines of code below: >> I put a number such as 10 into field myStart and then execute the code. >> The player still starts playing at the very beginning of the song. >> ????? >> TIA >> Larry >> >> put field myStart * the timeScale of player myPlayer into tStart >> >> set the startTime of player myPlayer to tStart >> >> start player myPlayer >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Fri Sep 12 22:57:23 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 12 Sep 2014 20:57:23 -0600 Subject: No WAV playback on Win in v6.6.2? References: <54139FDB.7060209@fourthworld.com> Message-ID: <1D3414950FA24EDB84F61B4D823D09A9@userd204a4d61c> Hello Richard, I had a problem once with playing .wav Turns out that I had the wrong "flavor" of .wav I had to convert my wav files from 32 bit to 16 bit. Apparently LC doesn't handle wav files above 16 bit. Anyway, that was my experience. Good luck! Larry ----- Original Message ----- From: "Richard Gaskin" To: "How to use LiveCode" Sent: Friday, September 12, 2014 7:37 PM Subject: No WAV playback on Win in v6.6.2? >I could have sworn I'd been able to play WAV files in Windows (no QuickTime >installed) within a LiveCode player object, but today I'm having no luck. > > Am I imagining things? > > LC seems to do well with MP3, but it would be very convenient for this > project if I could use WAV. > > Am I missing something? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Fri Sep 12 23:27:08 2014 From: brahma at hindu.org (Brahmanathswami) Date: Fri, 12 Sep 2014 17:27:08 -1000 Subject: Download and Run Stacks - Can Do On Mobile? Message-ID: <5413B98C.4050004@hindu.org> I remember being "blown away" years ago in the late 90's when Scott Raney had a little demo of go stack url "http://somedomain.com/somestack.mc" and it downloaded and ran the stack. I later created a little desktop "CPU/Index" type app/splash screen engine. and users could download and run modules I put on our web server. It was a bit too far ahead of it's time and went nowhere (circa 1999-2000) But everyone was rushing to the browser to do everything Now I'm sitting here with Adobe's Creative Cloud app, and many others like "iTunes" itself, DropBox, COPY etc all the same thing: thin client on your desktop, talks to remote servers, now called"the cloud" So all the naysayers who said people would not download and install apps were wrong (to some extent... the trust factor is still an issue for broad deployment) Istill deploy some tools that way. So now, 13 years later, others on the team here are saying "Oh... look, Adobe is doing it now like you've been doing it all along..." All you can do is smile.... But, can we do this on Mobile? can the app on your iPhone download and run stacks? I think not... What about Android? Probably not also... security constraints.... Swasti Astu, Be Well! Brahmanathaswami From stephenREVOLUTION2 at barncard.com Sat Sep 13 01:33:34 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 12 Sep 2014 22:33:34 -0700 Subject: No WAV playback on Win in v6.6.2? In-Reply-To: <1D3414950FA24EDB84F61B4D823D09A9@userd204a4d61c> References: <54139FDB.7060209@fourthworld.com> <1D3414950FA24EDB84F61B4D823D09A9@userd204a4d61c> Message-ID: On Fri, Sep 12, 2014 at 7:57 PM, wrote: > Apparently LC doesn't handle wav files above 16 bit. Still. after all these years, only good for bleeps and blops. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From larry at significantplanet.org Sat Sep 13 01:54:47 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 12 Sep 2014 23:54:47 -0600 Subject: url question Message-ID: <7F701D1A5E794E1C81EFAED41428FD20@userd204a4d61c> Hello, I use the following: launch url myUrl and LC opens a browser tab in my default browser - cool. My question is this: Is there any way to close that tab when I want to? TIA Larry From ambassador at fourthworld.com Sat Sep 13 02:41:31 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 12 Sep 2014 23:41:31 -0700 Subject: Download and Run Stacks - Can Do On Mobile? In-Reply-To: <5413B98C.4050004@hindu.org> References: <5413B98C.4050004@hindu.org> Message-ID: <5413E71B.8020208@fourthworld.com> Brahmanathswami wrote: > I remember being "blown away" years ago in the late 90's when Scott > Raney had a little demo of > > go stack url "http://somedomain.com/somestack.mc" > > and it downloaded and ran the stack. ... > But, can we do this on Mobile? can the app on your iPhone download > and run stacks? I think not... What about Android? Probably not > also... security constraints.... For the last several months a majority of the projects I manage are client-server apps that rely on downloaded stacks, so the server's not just deploying data, but the code and UI too. Tons of fun for all - clients love seeing new features roll out without every having to install anything new. This type of distribution is technically sound on all platforms, and allowed on all but one: iOS' SDK license explicitly forbids apps that download executable code. Apple may change their mind in the future, but for now this is something we can enjoy on all other devices on the planet, but we must make our iOS customers wait for a larger, more complicated complete install. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From admin at FlexibleLearning.com Sat Sep 13 03:10:06 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 13 Sep 2014 08:10:06 +0100 Subject: Garbage collection in 7.0 (was Re: WindowShape) Message-ID: <000b01cfcf21$bf392f20$3dab8d60$@FlexibleLearning.com> Could be related to Bug #13126 and inadequate garbage collection in DP8. The issue has been confirmed but not yet resolved. Hugh Senior FLCo From: Paul Hibbert Crashed here too. So I opened the Activity Monitor, launched LC again, opened the stack and activated the animation, then watched the memory usage just grow and grow until it stopped at 3.39GB, then eventually it crashed. Paul From dave at applicationinsight.com Sat Sep 13 04:23:47 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sat, 13 Sep 2014 01:23:47 -0700 (PDT) Subject: No WAV playback on Win in v6.6.2? In-Reply-To: References: <54139FDB.7060209@fourthworld.com> <1D3414950FA24EDB84F61B4D823D09A9@userd204a4d61c> Message-ID: <1410596627258-4683206.post@n4.nabble.com> FYI 6.6.2 plays .wmv fine without QuickTime on Windows. Use "set the dontUseQT to true" in preOpenStack and then "play videoclip tPathToFile" to kick it off I have no idea if it possible to convert a .wav to a .wmv (obviously without any visuals) - but if it was possible you could then play the 'video' on a hidden substack and hear the audio ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/No-WAV-playback-on-Win-in-v6-6-2-tp4683195p4683206.html Sent from the Revolution - User mailing list archive at Nabble.com. From walter.h.brown at gmail.com Sat Sep 13 10:48:27 2014 From: walter.h.brown at gmail.com (Walt Brown) Date: Sat, 13 Sep 2014 16:48:27 +0200 Subject: Download and Run Stacks - Can Do On Mobile? In-Reply-To: <5413E71B.8020208@fourthworld.com> References: <5413B98C.4050004@hindu.org> <5413E71B.8020208@fourthworld.com> Message-ID: Check out Novocard. It says it is HC like, and allows keeping and sharing stacks in the cloud, and runs on iOS. Walt On Saturday, September 13, 2014, Richard Gaskin wrote: > Brahmanathswami wrote: > > > I remember being "blown away" years ago in the late 90's when Scott > > Raney had a little demo of > > > > go stack url "http://somedomain.com/somestack.mc" > > > > and it downloaded and ran the stack. > ... > > But, can we do this on Mobile? can the app on your iPhone download > > and run stacks? I think not... What about Android? Probably not > > also... security constraints.... > > For the last several months a majority of the projects I manage are > client-server apps that rely on downloaded stacks, so the server's not just > deploying data, but the code and UI too. Tons of fun for all - clients > love seeing new features roll out without every having to install anything > new. > > This type of distribution is technically sound on all platforms, and > allowed on all but one: iOS' SDK license explicitly forbids apps that > download executable code. > > Apple may change their mind in the future, but for now this is something > we can enjoy on all other devices on the planet, but we must make our iOS > customers wait for a larger, more complicated complete install. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Sep 13 11:56:51 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Sep 2014 08:56:51 -0700 Subject: Download and Run Stacks - Can Do On Mobile? In-Reply-To: References: Message-ID: <54146943.1010808@fourthworld.com> Walt Brown wrote: > Check out Novocard. It says it is HC like, and allows keeping and sharing > stacks in the cloud, and runs on iOS. Interesting. Their web site says: "Share your stacks with friends via email and Dropbox." So either Apple has changed their earlier prohibition against apps that run executable code downloaded from sources outside their app store, or Apple's review process slipped up and let this in by mistake. Anyone here seen a change to the iOS SDK terms? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Sat Sep 13 12:08:07 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Sep 2014 09:08:07 -0700 Subject: No WAV playback on Win in v6.6.2? In-Reply-To: <5413A73C.9020009@harryscollar.com> References: <5413A73C.9020009@harryscollar.com> Message-ID: <54146BE7.5040803@fourthworld.com> Alex Shaw wrote: > If you just need basic playback try ffplay. > > https://www.ffmpeg.org/ffplay.html Thanks, but one of the reasons we chose LiveCode for this project was its built-in multimedia support. :( Looks like Dave Kilroy has the magic key: > FYI 6.6.2 plays .wmv fine without QuickTime on Windows. Use "set the > dontUseQT to true" in preOpenStack and then "play videoclip tPathToFile" to > kick it off Thanks! Confirmed on Mac and Win: if you ignore the player object and use the audioClip syntax, WAV files play fine on both Mac and Win. Doesn't work on Linux, but for this project that's not a deal-breaker. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From henshaw at me.com Sat Sep 13 12:14:34 2014 From: henshaw at me.com (Andrew Henshaw) Date: Sat, 13 Sep 2014 17:14:34 +0100 Subject: Printing on Windows In-Reply-To: References: <28E30ABF-06D7-4F3C-BF6F-88769197BC86@icloud.com> Message-ID: Before I submit this as a bug, does anyone else have print issues with Windows from LIvecode 6.6.2 onwards? The issue I have is that a text box, formatted as a table prints correctly on a Mac or Linux system, but on Windows it prints as a grey or black box for the whole size of the text box, obliterating the contents and using up a lot of ink. Ive also installed a print to PDF driver and get the same problem (but save ink!). If I compile with 6.6.1 it works fine across all platforms, but anything later including LC7 prints a solid grey or black box instead of the field. Im working on a sample stack now so I can submit that as a bug if needed, but just wondering before I do (and waste any of the team at RRs time) if this is something anyone has seen before and is a bug or if its something I?m doing wrong. Andy From charles at buchwald.ca Sat Sep 13 12:19:46 2014 From: charles at buchwald.ca (Charles E Buchwald) Date: Sat, 13 Sep 2014 11:19:46 -0500 Subject: Download and Run Stacks - Can Do On Mobile? In-Reply-To: <5413E71B.8020208@fourthworld.com> References: <5413B98C.4050004@hindu.org> <5413E71B.8020208@fourthworld.com> Message-ID: <2A97096C-0056-4918-ADBD-62F6599E460F@buchwald.ca> I've been working on a system that is basically a magazine reader. My iOS "player" contains all the code. It downloads a ZIP archive with an XML file that contains all the content, plus the media assets. If I need to add functionality of any kind, I'll update the iOS player, even if it's only interactivity that I plan on using in the future. This isn't quite as flexible as the kind of arrangement that Richard is talking about here, but it's still pretty clean and versatile. Of course it works on other platforms, too. - Charles On 13 Sep 2014, at 1:41 AM, Richard Gaskin wrote: > Brahmanathswami wrote: > > > I remember being "blown away" years ago in the late 90's when Scott > > Raney had a little demo of > > > > go stack url "http://somedomain.com/somestack.mc" > > > > and it downloaded and ran the stack. > ... > > But, can we do this on Mobile? can the app on your iPhone download > > and run stacks? I think not... What about Android? Probably not > > also... security constraints.... > > For the last several months a majority of the projects I manage are client-server apps that rely on downloaded stacks, so the server's not just deploying data, but the code and UI too. Tons of fun for all - clients love seeing new features roll out without every having to install anything new. > > This type of distribution is technically sound on all platforms, and allowed on all but one: iOS' SDK license explicitly forbids apps that download executable code. > > Apple may change their mind in the future, but for now this is something we can enjoy on all other devices on the planet, but we must make our iOS customers wait for a larger, more complicated complete install. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Mac OSX 10.9.4, LC 6.6.2 Commercial LC Developer Tools: http://buchwald.ca Email Notice: http://wp.me/P3aT4d-33 From ambassador at fourthworld.com Sat Sep 13 13:07:06 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Sep 2014 10:07:06 -0700 Subject: Download and Run Stacks - Can Do On Mobile? In-Reply-To: <2A97096C-0056-4918-ADBD-62F6599E460F@buchwald.ca> References: <2A97096C-0056-4918-ADBD-62F6599E460F@buchwald.ca> Message-ID: <541479BA.8010205@fourthworld.com> Charles E Buchwald wrote: > I've been working on a system that is basically a magazine reader. My > iOS "player" contains all the code. It downloads a ZIP archive with > an XML file that contains all the content, plus the media assets. > > If I need to add functionality of any kind, I'll update the iOS > player, even if it's only interactivity that I plan on using in the > future. > > This isn't quite as flexible as the kind of arrangement that Richard > is talking about here, but it's still pretty clean and versatile. Of > course it works on other platforms, too. AFAIK*, it should be allowable to even use stack files as content containers, provided they include no executable code. This is a odd area though, since it's possible to set up a system of behaviors in which one could submit an app with one set of functionality, and later download behavior-driven stack files that include no code but completely alter the functionality of the software. I haven't read Apple's iOS SDK license since way back when they backpedaled on the earlier provenance clause in SDK 4.0 (section 3.3.1). It would be helpful if any of you who have read the current terms could comment on the state of Apple's policies with regard to code and content downloaded within the app outside of Apple's app store. If they still prohibit sharing executable code, it would seem only a matter of time before they discover that's what Novocard does, and ban it from their app stores as they have with other apps they'd previously approved. But if they continue to allow Novocard after policy review, that should mean we have the same privileges, opening the door to delivering some pretty exciting apps with the same ease and flexibility we enjoy on all other platforms. * Disclaimer required by the State of California: "I am not an attorney. If you need the services of an attorney you should consult a professional licensed to practice law in your area." -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From roger.e.eller at sealedair.com Sat Sep 13 13:10:08 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 13 Sep 2014 13:10:08 -0400 Subject: Printing on Windows In-Reply-To: References: <28E30ABF-06D7-4F3C-BF6F-88769197BC86@icloud.com> Message-ID: I read somewhere recently that RunRev would rather have a bug reported and it turn out not to be, than to have it remain undiagnosed. Based on your description, it sounds like a bug. I'd say report it. Sent from my Android tablet On Sep 13, 2014 12:14 PM, "Andrew Henshaw" wrote: > Before I submit this as a bug, does anyone else have print issues with > Windows from LIvecode 6.6.2 onwards? > > The issue I have is that a text box, formatted as a table prints > correctly on a Mac or Linux system, but on Windows it prints as a grey or > black box for the whole size of the text box, obliterating the contents > and using up a lot of ink. Ive also installed a print to PDF driver and > get the same problem (but save ink!). > > If I compile with 6.6.1 it works fine across all platforms, but anything > later including LC7 prints a solid grey or black box instead of the field. > > Im working on a sample stack now so I can submit that as a bug if needed, > but just wondering before I do (and waste any of the team at RRs time) if > this is something anyone has seen before and is a bug or if its something > I?m doing wrong. > > Andy > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From henshaw at me.com Sat Sep 13 13:30:48 2014 From: henshaw at me.com (Andrew Henshaw) Date: Sat, 13 Sep 2014 18:30:48 +0100 Subject: Printing on Windows In-Reply-To: References: <28E30ABF-06D7-4F3C-BF6F-88769197BC86@icloud.com> Message-ID: <7C69E596-093F-49EF-AD11-102565B1718D@me.com> Thanks Roger, Ive refined it some more now and it looks like a bug. It only happens if you try to print a field with vertical lines set to on, on a windows computer. > On 13 Sep 2014, at 18:10, Roger Eller wrote: > > I read somewhere recently that RunRev would rather have a bug reported and > it turn out not to be, than to have it remain undiagnosed. Based on your > description, it sounds like a bug. I'd say report it. > > Sent from my Android tablet > On Sep 13, 2014 12:14 PM, "Andrew Henshaw" wrote: > >> Before I submit this as a bug, does anyone else have print issues with >> Windows from LIvecode 6.6.2 onwards? >> >> The issue I have is that a text box, formatted as a table prints >> correctly on a Mac or Linux system, but on Windows it prints as a grey or >> black box for the whole size of the text box, obliterating the contents >> and using up a lot of ink. Ive also installed a print to PDF driver and >> get the same problem (but save ink!). >> >> If I compile with 6.6.1 it works fine across all platforms, but anything >> later including LC7 prints a solid grey or black box instead of the field. >> >> Im working on a sample stack now so I can submit that as a bug if needed, >> but just wondering before I do (and waste any of the team at RRs time) if >> this is something anyone has seen before and is a bug or if its something >> I?m doing wrong. >> >> Andy >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From henshaw at me.com Sat Sep 13 13:34:08 2014 From: henshaw at me.com (Andrew Henshaw) Date: Sat, 13 Sep 2014 18:34:08 +0100 Subject: Retina output on a Mac In-Reply-To: References: <28E30ABF-06D7-4F3C-BF6F-88769197BC86@icloud.com> Message-ID: <21F45A40-893D-4E9D-908F-A6A985E2FBCD@me.com> Apart from compiling with 6.6.2+, is there anything else I need to set to enable retina output on a mac? I dont have retina on my mac, so I used air display and my iPad to test the retina output and that just worked, when I dragged the window onto the iPad retina display is just redrew ans became super sharp. I ask because I have a user that says one of my apps is not displaying as retina, and has sent me a screen shot where everything looks scaled. Ive changed all the graphics in the app so they are read from a folder, and there are both standard and retina versions of the images in the folder. Is there anything else ive overlooked? From larry at significantplanet.org Sat Sep 13 13:49:58 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sat, 13 Sep 2014 11:49:58 -0600 Subject: closing a browser tab? Message-ID: Hello, I use the following: launch url myUrl and LC opens a browser tab in my default browser - cool. My question is this: Is there any way to close that tab when I want to? TIA Larry From charles at buchwald.ca Sat Sep 13 14:05:31 2014 From: charles at buchwald.ca (Charles E Buchwald) Date: Sat, 13 Sep 2014 13:05:31 -0500 Subject: Download and Run Stacks - Can Do On Mobile? In-Reply-To: <541479BA.8010205@fourthworld.com> References: <2A97096C-0056-4918-ADBD-62F6599E460F@buchwald.ca> <541479BA.8010205@fourthworld.com> Message-ID: <6B72CE79-A3D4-49F4-A00F-C2598D6D0F7C@buchwald.ca> I seriously considered using stack files. It would make a lot of things easier than writing and reading XML in ZIP files. But I couldn't risk having to rewrite everything if the use of stack files was rejected by Apple. Even with my system of transferring XML, these illegal workarounds would be possible. I could code functionality that does not show up in any way in the submission to Apple, and then trigger it with what's in the XML content later. I don't see how Apple can catch every possibility, even if they review the scripts. As my father says, "Locks are for honest people." - Charles On 13 Sep 2014, at 12:07 PM, Richard Gaskin wrote: > AFAIK*, it should be allowable to even use stack files as content containers, provided they include no executable code. > > This is a odd area though, since it's possible to set up a system of behaviors in which one could submit an app with one set of functionality, and later download behavior-driven stack files that include no code but completely alter the functionality of the software. -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Mac OSX 10.9.4, LC 6.6.2 Commercial LC Developer Tools: http://buchwald.ca Email Notice: http://wp.me/P3aT4d-33 From pete at lcsql.com Sat Sep 13 14:15:48 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 13 Sep 2014 11:15:48 -0700 Subject: Tab control background color Message-ID: It seems that if you set the background color of a tab control, it is somehow blended with the standard grey background (this is on OSX). Is there a way round this without having to design my own tab control? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From dochawk at gmail.com Sat Sep 13 15:54:43 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 13 Sep 2014 12:54:43 -0700 Subject: stack "Unt!itled 1" ? Message-ID: I am seeing the message box opened with stack "Unt!itled 1" as my project opens; this has been a few weeks, I think (I just noticed the ! the other day). Of course, if I try trap for it, it doesn't happen . . . there are various things, such as an actual "put" to the message box that seem to stop it. It appears that the output of the message box is field 1 of cd 1 of stack "Message box" So, cleverly, I try to use that--but answer field 1 of cd 1 of stack "Message box" empties the field before proceeding! (I can answer field 2 to get the command without a problem.) Can anyone suggest what is going on, or how to find it? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sat Sep 13 16:31:46 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 13 Sep 2014 13:31:46 -0700 Subject: stack "Unt!itled 1" ? In-Reply-To: References: Message-ID: Sounds like you have a stray "put" with no target. Go into the script editor Find window, click "More", select Stack File in the "Look In" menu, click the Find Options and select "Regular Expression" in the Search method options, then type this in the FInd field: (?im)^(?!--)\s*put\s((?!(into|after|before|\\)).)*$ It will list any lines in your stack file that contain "put" and don't have Into, after, or before. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Sep 13, 2014 at 12:54 PM, Dr. Hawkins wrote: > I am seeing the message box opened with > > stack "Unt!itled 1" > > as my project opens; this has been a few weeks, I think (I just noticed > the ! the other day). > > Of course, if I try trap for it, it doesn't happen . . . there are various > things, such as an actual "put" to the message box that seem to stop it. > > It appears that the output of the message box is field 1 of cd 1 of stack > "Message box" > > So, cleverly, I try to use that--but > > answer field 1 of cd 1 of stack "Message box" > > empties the field before proceeding! > > (I can answer field 2 to get the command without a problem.) > > Can anyone suggest what is going on, or how to find it? > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skiplondon at gmail.com Sat Sep 13 16:46:44 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Sat, 13 Sep 2014 16:46:44 -0400 Subject: stack "Unt!itled 1" ? In-Reply-To: References: Message-ID: <51333B79-76FF-4C78-BCF9-E9C5C11EE784@gmail.com> Pete, you are a regex Jedi master. SKIP > On Sep 13, 2014, at 4:31 PM, Peter Haworth wrote: > > Sounds like you have a stray "put" with no target. > > Go into the script editor Find window, click "More", select Stack File in > the "Look In" menu, click the Find Options and select "Regular Expression" > in the Search method options, then type this in the FInd field: > > (?im)^(?!--)\s*put\s((?!(into|after|before|\\)).)*$ > > It will list any lines in your stack file that contain "put" and don't have > Into, after, or before. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > >> On Sat, Sep 13, 2014 at 12:54 PM, Dr. Hawkins wrote: >> >> I am seeing the message box opened with >> >> stack "Unt!itled 1" >> >> as my project opens; this has been a few weeks, I think (I just noticed >> the ! the other day). >> >> Of course, if I try trap for it, it doesn't happen . . . there are various >> things, such as an actual "put" to the message box that seem to stop it. >> >> It appears that the output of the message box is field 1 of cd 1 of stack >> "Message box" >> >> So, cleverly, I try to use that--but >> >> answer field 1 of cd 1 of stack "Message box" >> >> empties the field before proceeding! >> >> (I can answer field 2 to get the command without a problem.) >> >> Can anyone suggest what is going on, or how to find it? >> -- >> Dr. Richard E. Hawkins, Esq. >> (702) 508-8462 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Sat Sep 13 18:14:28 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Sun, 14 Sep 2014 00:14:28 +0200 Subject: OS X codesigning best practise? In-Reply-To: <008e01cfcdd6$bad15490$3073fdb0$@de> References: <009e01cfcd13$3fb171a0$bf1454e0$@de> <005f01cfcdb3$b0f91e30$12eb5a90$@de> <139F4732-5025-46DD-A1EE-EAE96D9680F4@m-r-d.de> <008e01cfcdd6$bad15490$3073fdb0$@de> Message-ID: <7D5B4890-0BBD-4D2B-8AC0-B51A98874AEE@m-r-d.de> Tiemo. Thank you for your explanation. Tried it and it went through without problems. App Wrappe at least tells me, that it was successful. But is there a way to check the bundle, if it is really signed? Regards, Matthias Am 11.09.2014 um 17:40 schrieb Tiemo Hollmann TB : > Hi Matthias, > with App Wrapper it's really easy: > 1. Buy a developer codesigning certificate at Apple > 2. Start App Wrapper > 3. Drag an unsigned app onto App Wrapper > 4. Go to TAB "Package" > 5. Check the "Codesign" checkbox > 6. Choose your developer certificate > 7. Don't choose any of the options below > 8. Choose "Wrap to" folder and click "Wrap" at topright > > Beside the codesigning it makes some more "validation and finishing" tasks, > which seems to be fine and don't bother me. > > In my case it also removed the PPC code from my app and from ALL apps and > bundles inside my app. I don't know, if you can control that, I didn't > needed the PPC code anymore. > > That?s all > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von Matthias Rebbe | M-R-D >> Gesendet: Donnerstag, 11. September 2014 13:49 >> An: How to use LiveCode >> Betreff: Re: OS X codesigning best practise? >> >> Tiemo, >> >> if you have some time, would you describe step by step how this is done > with >> AppWrapper? >> That would be very helpful. >> >> Regards, >> >> Matthias >> >> >> Am 11.09.2014 um 13:29 schrieb Tiemo Hollmann TB : >> >>> FYI to answer my own questions: >>> 1. the --deep option in codesign seems to be not valid anymore since >>> Mavericks, so if you are using apples codesign tool, you really have >>> to codesign each single component from inside to outside step by step. >>> 2. Yes App Wrapper does it in one step, I will go on with App Wrapper, >>> it's super easy. >>> 3. I have asked Runrev and it is ok with them, if I codesign runrevs >>> bundles included in my app. >>> Tiemo >>> >>> >>>> -----Urspr?ngliche Nachricht----- >>>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im >>> Auftrag >>>> von Tiemo Hollmann TB >>>> Gesendet: Mittwoch, 10. September 2014 18:21 >>>> An: 'How to use LiveCode' >>>> Betreff: OT: OS X codesigning best practise? >>>> >>>> Hello, >>>> >>>> I am just trying the first time to codesign my app on OS X 10.9, the >>>> certificate I bought already. >>>> >>>> When using the command line codesign utility, it seems that I have to >>> codesign >>>> each .bundle and .app, which is included in my app first, before I >>>> can codesign my app itself. >>>> >>>> 1. Is this correct to do all codesignings as single steps, or is >>> there >>>> an option to codesign a complete package with all included components >>>> in >>> one >>>> step? >>>> >>>> 2. Do codesigning tools like app wrapper do this job in one step, > or >>>> do I also have to sign all components myself? >>>> >>>> 3. What about the owners rights? E.g.if my app contains the >>>> revxml.bundle or another third party external and I would codesign >>>> this >>> rev >>>> bundle with my certificate, may I do this? If not, what is the >>> alternative? >>>> >>>> >>>> >>>> Thanks for your experience >>>> >>>> Tiemo >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription >>>> preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your > subscription >> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sat Sep 13 18:28:55 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 13 Sep 2014 15:28:55 -0700 Subject: stack "Unt!itled 1" ? In-Reply-To: References: Message-ID: On Sat, Sep 13, 2014 at 1:31 PM, Peter Haworth wrote: > Sounds like you have a stray "put" with no target. > > Go into the script editor Find window, click "More", select Stack File in > the "Look In" menu, click the Find Options and select "Regular Expression" > in the Search method options, then type this in the FInd field: > > (?im)^(?!--)\s*put\s((?!(into|after|before|\\)).)*$ > > It will list any lines in your stack file that contain "put" and don't have > Into, after, or before. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > I've been looking for this one for years. I even asked Jerry Daniels once, and go no reply. I think he probably left it up to me to find out for myself as an exercise! He was too polite to say "DUH" *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From pete at lcsql.com Sat Sep 13 18:38:16 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 13 Sep 2014 15:38:16 -0700 Subject: stack "Unt!itled 1" ? In-Reply-To: <51333B79-76FF-4C78-BCF9-E9C5C11EE784@gmail.com> References: <51333B79-76FF-4C78-BCF9-E9C5C11EE784@gmail.com> Message-ID: I think Thierry holds that title, I'm just one of his students! I made one change to the regex because it wouldnt have recognized anything other the comments that start with "--". This version will recognize any of the valid single line comment indicators. Haven't figured out how to handle block comments in a regex yet, but I'm betting Thierry will chime in! (?im)^(?!--|#|//)\s*put\s((?!(into|after|before|\\)).)*$ Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Sep 13, 2014 at 1:46 PM, Skip Kimpel wrote: > Pete, you are a regex Jedi master. > > SKIP > > > On Sep 13, 2014, at 4:31 PM, Peter Haworth wrote: > > > > Sounds like you have a stray "put" with no target. > > > > Go into the script editor Find window, click "More", select Stack File in > > the "Look In" menu, click the Find Options and select "Regular > Expression" > > in the Search method options, then type this in the FInd field: > > > > (?im)^(?!--)\s*put\s((?!(into|after|before|\\)).)*$ > > > > It will list any lines in your stack file that contain "put" and don't > have > > Into, after, or before. > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > > >> On Sat, Sep 13, 2014 at 12:54 PM, Dr. Hawkins > wrote: > >> > >> I am seeing the message box opened with > >> > >> stack "Unt!itled 1" > >> > >> as my project opens; this has been a few weeks, I think (I just noticed > >> the ! the other day). > >> > >> Of course, if I try trap for it, it doesn't happen . . . there are > various > >> things, such as an actual "put" to the message box that seem to stop it. > >> > >> It appears that the output of the message box is field 1 of cd 1 of > stack > >> "Message box" > >> > >> So, cleverly, I try to use that--but > >> > >> answer field 1 of cd 1 of stack "Message box" > >> > >> empties the field before proceeding! > >> > >> (I can answer field 2 to get the command without a problem.) > >> > >> Can anyone suggest what is going on, or how to find it? > >> -- > >> Dr. Richard E. Hawkins, Esq. > >> (702) 508-8462 > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Sat Sep 13 20:55:09 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 14 Sep 2014 00:55:09 +0000 Subject: Scripting Cut/Copy/Paste in custom menus Message-ID: Hi all. As many know, creating a custom menu set on OS X (not sure about Windows) will typically add the File and Edit menus to your customer menu set. This has the net effect of *disabling* cut/copy/paste/clear. I can live with that, because I have scripted the necessary menus to mimic the behaviors of those actions, but I am finding some quirks. First, if I cut or paste something in a field then tab out, closeField is not triggered. I assumed this was because the field was not getting selectionChanged, so I sent selectionChanged to the focusedObject after the cut/copy operations. Still, closeField does not get sent when I tab out of it. closeField DOES get sent if I simply edit the field then tab out. So what gets sent to the engine exactly that lets it know that the contents of a field have changed, so that tabbing out generates the proper closeField message? I suppose I could use textChanged to work around it, but frankly I would have to go through all my scripts which send a closeField to this object, and I?d rather not mess with what is already working. Bob S From bobsneidar at iotecdigital.com Sat Sep 13 21:01:33 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Sun, 14 Sep 2014 01:01:33 +0000 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: References: Message-ID: <0B5272E9-C76B-42B9-9780-AC61450D90DD@iotecdigital.com> I read from the Dictionary under closeField: "The closeField message is not sent when a handler changes the field's contents using the put command.? May I submit that it ought to? An edited field is an edited field, and when it loses focus, if the contents are not what they were when it was opened, closeField *ought* to be sent! At any rate, I do not think there is a message I can send the the field to let it know the contents have changed. I am probably going to have to recode for textChanged. Bob S On Sep 13, 2014, at 17:55 , Bob Sneidar wrote: > Hi all. > > As many know, creating a custom menu set on OS X (not sure about Windows) will typically add the File and Edit menus to your customer menu set. This has the net effect of *disabling* cut/copy/paste/clear. I can live with that, because I have scripted the necessary menus to mimic the behaviors of those actions, but I am finding some quirks. > > First, if I cut or paste something in a field then tab out, closeField is not triggered. I assumed this was because the field was not getting selectionChanged, so I sent selectionChanged to the focusedObject after the cut/copy operations. Still, closeField does not get sent when I tab out of it. closeField DOES get sent if I simply edit the field then tab out. > > So what gets sent to the engine exactly that lets it know that the contents of a field have changed, so that tabbing out generates the proper closeField message? > > I suppose I could use textChanged to work around it, but frankly I would have to go through all my scripts which send a closeField to this object, and I?d rather not mess with what is already working. > > Bob S From lan.kc.macmail at gmail.com Sat Sep 13 21:28:21 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 14 Sep 2014 09:28:21 +0800 Subject: url question In-Reply-To: <7F701D1A5E794E1C81EFAED41428FD20@userd204a4d61c> References: <7F701D1A5E794E1C81EFAED41428FD20@userd204a4d61c> Message-ID: If you are on OS X and Safari you can 'do statementList as applescript' tell application "Safari" repeat with t in tabs of windows tell t if name starts with "google.com" then close end tell end repeat end tell Other browsers YMMV On Sat, Sep 13, 2014 at 1:54 PM, wrote: > Hello, > > I use the following: > > launch url myUrl > > and LC opens a browser tab in my default browser - cool. > > My question is this: > > Is there any way to close that tab when I want to? > > TIA > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Sep 13 21:29:25 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 13 Sep 2014 18:29:25 -0700 Subject: stack "Unt!itled 1" ? In-Reply-To: References: Message-ID: On Sat, Sep 13, 2014 at 1:31 PM, Peter Haworth wrote: > (?im)^(?!--)\s*put\s((?!(into|after|before|\\)).)*$ > Wow. And there was a time I could have read that without putting serious time into it. There are a *lot* of those left . . . I switched to my own logging partly to be able to catch things spewing to message. What concerns me is that "Unt!itled" is not something that I would ever have typed. For that matter, it would take multiple flukes to create it--an open box, getting focus, deselecting the text, and moving to that position, followed by me happening to hit shift-1 without realizing what I was doing . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From brahma at hindu.org Sat Sep 13 22:04:53 2014 From: brahma at hindu.org (Brahmanathswami) Date: Sat, 13 Sep 2014 16:04:53 -1000 Subject: Writing ID3 Tags to files Message-ID: <5414F7C5.8060504@hindu.org> If you open any [*.aif, *.mp3,] file in iTunes, you go to the " info" tab and enter ID3 tags (artist, album, track, genre, year, etc) then when you switch to a different song you can see in the finder that the file is updated as the ID3 tags were written and saved transparently. Modification date changes today when you just added the info. In Audacity or Audition you can enter these on save (audacity) or as metadata which is saved on save (audition) I would like to be able to write these from inside LiveCode, using scripts I would trigger changes in the Track Title, album, artist and genre etc, while traversing directories/repositories filled with these *.mp3 files. I have so 1000 plus files to add ID3 tags to and I'm not looking forward to doing that by hand! Since this is an in house production app, I'm opening to using LiveCode to drive externals like a) applescript b) shell commands that drive some low-level nix tool? Before I dive into further R & D I thought I would ask here. Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com From lan.kc.macmail at gmail.com Sat Sep 13 22:45:21 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 14 Sep 2014 10:45:21 +0800 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: <0B5272E9-C76B-42B9-9780-AC61450D90DD@iotecdigital.com> References: <0B5272E9-C76B-42B9-9780-AC61450D90DD@iotecdigital.com> Message-ID: Your suggestion, if it didn't break many stacks, would certainly slow them down. I mainly work with a Stack, a single card with anywhere between 10s to over a 100 fields, and a database. Going Next or Previous record populates those fields by using 'put' statements. Currently, even with 100+ fields it all happens in a blink of the eye. The user is then left to check the data, and if any are wrong those individual fields are changed, the closeField message is sent, which normally goes through some convoluted data verification process which includes not only checking the format of the data but also checking the MAX, MIN and UNIQUE entries in the database. Once all that is done the record is updated and everything is sweet. With what you are suggesting, every time I go Previous or Next the closeField message would be triggered 100+ times which is just a complete waste of time. The current logic of not triggering a closeField message has been with us since the birth of HyperCard. Frankly I wouldn't be surprised if you don't already have 1000s of situations across all your own stacks that already rely on this behaviour; the initial opening of your stack with all the fields prepopulated with data immediately comes to mind. >From memory I handled your situation by setting a custom property in each field if data was pasted into it and then 'on exitField' testing to see if data had been pasted in: In the Edit Menu Script something like this: ... case "Copy" set the clipboardData["Text"] to the selectedText of the focusedObject break case "Paste" put clipboardData["text"] into the focusedObject set the cFldModByPaste of the focusedObject to true break ... and then in every fld script * something like this: on closeField --do what you need to here end closeField on exitField if (the cFldModByPaste of me = true) then --content change by paste so do closefield set the cFldModByPaste of me to false send closeField to me else --content hasn't been pasted in or changed end if end exitField * if groups of flds do exactly the same thing then you can save time by placing these scripts in a button and using behaviors. HTH On Sun, Sep 14, 2014 at 9:01 AM, Bob Sneidar wrote: > I read from the Dictionary under closeField: "The closeField message is not sent when a handler changes the field's contents using the put command.? > > May I submit that it ought to? An edited field is an edited field, and when it loses focus, if the contents are not what they were when it was opened, closeField *ought* to be sent! > > At any rate, I do not think there is a message I can send the the field to let it know the contents have changed. I am probably going to have to recode for textChanged. > > Bob S > > > On Sep 13, 2014, at 17:55 , Bob Sneidar wrote: > >> Hi all. >> >> As many know, creating a custom menu set on OS X (not sure about Windows) will typically add the File and Edit menus to your customer menu set. This has the net effect of *disabling* cut/copy/paste/clear. I can live with that, because I have scripted the necessary menus to mimic the behaviors of those actions, but I am finding some quirks. >> >> First, if I cut or paste something in a field then tab out, closeField is not triggered. I assumed this was because the field was not getting selectionChanged, so I sent selectionChanged to the focusedObject after the cut/copy operations. Still, closeField does not get sent when I tab out of it. closeField DOES get sent if I simply edit the field then tab out. >> >> So what gets sent to the engine exactly that lets it know that the contents of a field have changed, so that tabbing out generates the proper closeField message? >> >> I suppose I could use textChanged to work around it, but frankly I would have to go through all my scripts which send a closeField to this object, and I?d rather not mess with what is already working. >> >> Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sat Sep 13 23:26:45 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Sep 2014 22:26:45 -0500 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: References: Message-ID: <54150AF5.7040309@hyperactivesw.com> On 9/13/2014, 7:55 PM, Bob Sneidar wrote: > As many know, creating a custom menu set on OS X (not sure about > Windows) will typically add the File and Edit menus to your customer > menu set. This has the net effect of*disabling* > cut/copy/paste/clear. Not really. Did you use Menu Builder to set up the menu, and then click "Auto-script"? That inserts a menuPick handler with a switch statement all set up and ready to go, but without any specific commands. You have to add those yourself. If you don't, you have an empty menuPick that effectively blocks menu selections and keyboard shortcuts. Also make sure you set the menubar of the stack to the name of the menu group. I've not had any problems with menus as long as I do all that. If you have access to the RevLive conference videos, I covered a lot of this in my talk on menus. > So what gets sent to the engine exactly that lets it know that the > contents of a field have changed, so that tabbing out generates the > proper closeField message? I agree with Kay that we don't want the engine sending closefields for us when scripts alter a field, and that's what textChanged is supposed to help with. But in this case I'd probably write the instructions into a separate handler, and then call that from the script that did the text alterations, and also from a closefield handler. That way either method will do the same thing. For example: on closeField doStuff end closeField And in some other handler somewhere: put "xyz" into fld 1 doStuff -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Sep 13 23:33:51 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Sep 2014 22:33:51 -0500 Subject: Writing ID3 Tags to files In-Reply-To: <5414F7C5.8060504@hindu.org> References: <5414F7C5.8060504@hindu.org> Message-ID: <54150C9F.5020807@hyperactivesw.com> On 9/13/2014, 9:04 PM, Brahmanathswami wrote: > I would like to be able to write these from inside LiveCode, using > scripts I would trigger changes in the Track Title, album, artist and > genre etc, while traversing directories/repositories filled with these > *.mp3 files. I have so 1000 plus files to add ID3 tags to and I'm not > looking forward to doing that by hand! Before we lost Mark Smith, he had written an ID3 library. It's old now but it may still be useful. That, and his other work, is preserved here: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Sun Sep 14 02:22:17 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 13 Sep 2014 23:22:17 -0700 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: References: Message-ID: <6BEE175F-9A23-49C4-836C-AF56483D3740@mac.com> Bob, Cut, copy, paste & clear are available as commands in LC, so maybe simplifying your Edit menu a little may help, for example? --The following menuPick handler was generated by the Menu Builder (& simplified a little). on menuPick pWhich switch pWhich case "Preferences" --Insert script for Preferences menu item here break default do pWhich end switch end menuPick ?It works for what you are describing as far as I can see, although it's not perfect. Tested in LC 5.5.5 + 6.6.2 & 7.0(rc1) on Mac OS X 10.9.3 Cutting, or pasting within a field then tabbing out does trigger a closeField message, but "Copy" doesn't, possibly because the field didn't change even though the field still closed on tab, it does trigger an exitField. However, "Clear" doesn't trigger a closeField message for some odd reason, but it does trigger an exitField, that seems a little inconsistent to me, because the contents of the field did change before exiting in much the same way that "cut" changes the field, I realise the "Cleared" text doesn't go onto the clipboard, but the effect on the field is the same. So as far as I can see, "Clear" is the only case you would need to add a script for the lack of "closeField". If anybody else sees the inconsistency with the "Clear" command as a bug, I would be happy to make a sample stack and report it, I'd just like to be sure I'm seeing it right before I do. Paul On Sep 13, 2014, at 5:55 PM, Bob Sneidar wrote: > First, if I cut or paste something in a field then tab out, closeField is not triggered. From t.heaford at btinternet.com Sun Sep 14 03:50:34 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 14 Sep 2014 08:50:34 +0100 Subject: Download and Run Stacks - Can Do On Mobile? In-Reply-To: <54146943.1010808@fourthworld.com> References: <54146943.1010808@fourthworld.com> Message-ID: <66D0E423-1741-473C-B9E7-690FEFC006A7@btinternet.com> I don?t have much interest in mobile development but I did download another app for my iPad that I believe works in the same way. It was called techBasic http://www.byteworks.us/Byte_Works/techBASIC.html I believe Apple are OK with this sort of thing as long as all the files (stacks) are contained within the main app and do not have access to other parts of the iPad environment. All the best Terry On 13 Sep 2014, at 16:56, Richard Gaskin wrote: > Interesting. Their web site says: > > "Share your stacks with friends via email and Dropbox." > > So either Apple has changed their earlier prohibition against apps that run executable code downloaded from sources outside their app store, or Apple's review process slipped up and let this in by mistake. > > Anyone here seen a change to the iOS SDK terms? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From t.heaford at btinternet.com Sun Sep 14 05:39:52 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 14 Sep 2014 10:39:52 +0100 Subject: LC 7 vs LC 6.7 Message-ID: <4251326F-900A-4388-9F03-22E2E2F454BF@btinternet.com> I did post a while ago regarding the scrolling speed in a DataGrid of LC 6.7 having improved and that is definitely the case. I thought I?d try the latest version 7 and noticed that the scrolling is far slower. I suspect that is because of the Unicode in 7? Are there plans afoot to generally improve the performance (speed) of LC 7 before it is released and can someone advise me of the future plans of version 6.7 upwards vs version 7? Is development of version 6 going to stall/stop when version 7 is released? Thanks Terry From dave at applicationinsight.com Sun Sep 14 05:58:45 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Sun, 14 Sep 2014 02:58:45 -0700 (PDT) Subject: No WAV playback on Win in v6.6.2? In-Reply-To: <54146BE7.5040803@fourthworld.com> References: <54139FDB.7060209@fourthworld.com> <5413A73C.9020009@harryscollar.com> <54146BE7.5040803@fourthworld.com> Message-ID: <1410688725954-4683236.post@n4.nabble.com> Richard - happy to have provided nudge in the right direction but it sounds like you were in possession of the magic key all all along! ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/No-WAV-playback-on-Win-in-v6-6-2-tp4683195p4683236.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sun Sep 14 06:31:57 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 14 Sep 2014 13:31:57 +0300 Subject: LC 7 vs LC 6.7 In-Reply-To: <4251326F-900A-4388-9F03-22E2E2F454BF@btinternet.com> References: <4251326F-900A-4388-9F03-22E2E2F454BF@btinternet.com> Message-ID: <54156E9D.8000806@gmail.com> On 14/09/14 12:39, Terence Heaford wrote: > I did post a while ago regarding the scrolling speed in a DataGrid of LC 6.7 having improved and that is definitely the case. > > I thought I?d try the latest version 7 and noticed that the scrolling is far slower. > > I suspect that is because of the Unicode in 7? I don't think that makes much sense: surely the scrolling speed has nothing to do with Unicode? Richmond. > > Are there plans afoot to generally improve the performance (speed) of LC 7 before it is released and can someone advise me of the future plans of version 6.7 upwards vs version 7? > > Is development of version 6 going to stall/stop when version 7 is released? > > > Thanks > > Terry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Sun Sep 14 07:19:46 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 14 Sep 2014 12:19:46 +0100 Subject: LC 7 vs LC 6.7 In-Reply-To: <54156E9D.8000806@gmail.com> References: <4251326F-900A-4388-9F03-22E2E2F454BF@btinternet.com> <54156E9D.8000806@gmail.com> Message-ID: Maybe it?s because a DataGrid is made up of fields and as the the scrollbar of a data grid is used the fields of the data grid are refreshed with the text contained within the properties of the data grid. Perhaps there is a better explanation as to why 7 is different than 6.7, that?s why I am asking? :) All the best Terry On 14 Sep 2014, at 11:31, Richmond wrote: > I don't think that makes much sense: surely the scrolling speed has nothing to do with Unicode? From richmondmathewson at gmail.com Sun Sep 14 10:17:35 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 14 Sep 2014 17:17:35 +0300 Subject: LC 7 vs LC 6.7 In-Reply-To: References: <4251326F-900A-4388-9F03-22E2E2F454BF@btinternet.com> <54156E9D.8000806@gmail.com> Message-ID: <5415A37F.70107@gmail.com> On 14/09/14 14:19, Terence Heaford wrote: > Maybe it?s because a DataGrid is made up of fields and as the the scrollbar of a data grid is used the fields of the data grid are refreshed with the text contained within the properties of the data grid. > > Perhaps there is a better explanation as to why 7 is different than 6.7, that?s why I am asking? > > :) > > All the best > > Terry > > On 14 Sep 2014, at 11:31, Richmond wrote: > >> I don't think that makes much sense: surely the scrolling speed has nothing to do with Unicode? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode I would suppose the 'trick' is to make a stack with a scrollbar and run it under 6.7 and 7.0. However, I wonder how you would go about timing the scrollbar speed so as not to only have a subjective impression. Richmond. From dochawk at gmail.com Sun Sep 14 10:45:05 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 14 Sep 2014 07:45:05 -0700 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: <54150AF5.7040309@hyperactivesw.com> References: <54150AF5.7040309@hyperactivesw.com> Message-ID: On Sat, Sep 13, 2014 at 8:26 PM, J. Landman Gay wrote: > on closeField > doStuff > end closeField > > And in some other handler somewhere: > > put "xyz" into fld 1 > doStuff > or even -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Sep 14 10:46:04 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 14 Sep 2014 07:46:04 -0700 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: References: <54150AF5.7040309@hyperactivesw.com> Message-ID: Let'st try that again . . . On Sun, Sep 14, 2014 at 7:45 AM, Dr. Hawkins wrote: > > > On Sat, Sep 13, 2014 at 8:26 PM, J. Landman Gay > wrote: > >> on closeField >> doStuff >> end closeField >> >> And in some other handler somewhere: >> >> put "xyz" into fld 1 >> doStuff >> > > or even > Ore even -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From t.heaford at btinternet.com Sun Sep 14 11:59:35 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Sun, 14 Sep 2014 16:59:35 +0100 Subject: LC 7 vs LC 6.7 In-Reply-To: <5415A37F.70107@gmail.com> References: <4251326F-900A-4388-9F03-22E2E2F454BF@btinternet.com> <54156E9D.8000806@gmail.com> <5415A37F.70107@gmail.com> Message-ID: My method is quite simple in OSX. I have the time display in the menubar with seconds. I load the data grid with the same data approx. 2000 rows with 8 columns. I then wait for the seconds to reach zero. Then I scroll. and when the scroller gets to the end I note the seconds elapsed. And this simple method shows 6.7 is faster that 7 by approx. 15-20% All the best Terry On 14 Sep 2014, at 15:17, Richmond wrote: > I would suppose the 'trick' is to make a stack with a scrollbar and run it under 6.7 and 7.0. > > However, I wonder how you would go about timing the scrollbar speed so as not to only > have a subjective impression. From B.Cornaz at gmx.net Sun Sep 14 14:11:51 2014 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Sun, 14 Sep 2014 20:11:51 +0200 Subject: Loading clips into a player Message-ID: <203134EC-56BB-4005-A0D5-E0D6F0084849@gmx.net> How can I load an already imported audio- or video clip into a player. The Clip is already in the stack. I want to have the audio- and video clips residing in my stack, but through a popUp menu being able to load them into a player. set the filename of player "Player 1" to myClipName - this does not work. It only works if myClipName is a file path to the wanted file on disc. Not if the file is inside my stack. There is no info on this anywhere in the LC user guide (5.1). Thanks, Beat From richmondmathewson at gmail.com Sun Sep 14 14:50:03 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 14 Sep 2014 21:50:03 +0300 Subject: Loading clips into a player In-Reply-To: <203134EC-56BB-4005-A0D5-E0D6F0084849@gmx.net> References: <203134EC-56BB-4005-A0D5-E0D6F0084849@gmx.net> Message-ID: <5415E35B.2050402@gmail.com> On 14/09/14 21:11, Beat Cornaz wrote: > How can I load an already imported audio- or video clip into a player. The Clip is already in the stack. > I want to have the audio- and video clips residing in my stack, but through a popUp menu being able to load them into a player. > > set the filename of player "Player 1" to myClipName - this does not work. > It only works if myClipName is a file path to the wanted file on disc. Not if the file is inside my stack. > > There is no info on this anywhere in the LC user guide (5.1). > > Thanks, Beat > > So, you have imported your audioClip / videoClip into your stacks. play audioClip "myJazz.aiff" play videoClip "myNonsense.mov" Richmond. From MikeKerner at roadrunner.com Sun Sep 14 19:50:13 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 14 Sep 2014 19:50:13 -0400 Subject: Download and Run Stacks - Can Do On Mobile? In-Reply-To: <66D0E423-1741-473C-B9E7-690FEFC006A7@btinternet.com> References: <54146943.1010808@fourthworld.com> <66D0E423-1741-473C-B9E7-690FEFC006A7@btinternet.com> Message-ID: For non app store apps, there's no reason why you can't do this. You can certainly make ample use of "do" statements in standlones on ios, too. I have been surprised at what I have been able to accomplish with do's in ios apps. It is a GREAT aid in debugging, for example. On Sun, Sep 14, 2014 at 3:50 AM, Terence Heaford wrote: > I don?t have much interest in mobile development but I did download > another app for my iPad that I believe works in the same way. > > It was called techBasic > http://www.byteworks.us/Byte_Works/techBASIC.html > > I believe Apple are OK with this sort of thing as long as all the files > (stacks) are contained within the main app and do not have access to other > parts of the iPad environment. > > All the best > > Terry > > > On 13 Sep 2014, at 16:56, Richard Gaskin > wrote: > > > Interesting. Their web site says: > > > > "Share your stacks with friends via email and Dropbox." > > > > So either Apple has changed their earlier prohibition against apps that > run executable code downloaded from sources outside their app store, or > Apple's review process slipped up and let this in by mistake. > > > > Anyone here seen a change to the iOS SDK terms? > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rdimola at evergreeninfo.net Sun Sep 14 20:59:18 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Sun, 14 Sep 2014 20:59:18 -0400 Subject: ios8 In-Reply-To: <2D7531CF-5100-42DB-BE9D-4BD644D5E608@icloud.com> References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> <0BBCD59D-A0FA-4D47-B1AB-B49217726546@gmail.com> <2D7531CF-5100-42DB-BE9D-4BD644D5E608@icloud.com> Message-ID: <01bf01cfd080$478d5630$d6a80290$@net> I do an OTA update for my iOS app. After I put iOS 8 on my iPad 2 I seem to be having a caching problem. The OTA gets it's state by doing a: Put url (mydom.on-rev.com/folder/updatestatus.txt) into myVar The old data is getting loaded. I changed the filename in the app and got a 404. I copied the file on the server to the changed file name and the correct data was loaded. I even deleted the file on the server and I still received the cached file????? Any ideas? Other than this my apps seem to work fine in iOS 8 using Xcode 5.1.1 Thanks Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From lan.kc.macmail at gmail.com Sun Sep 14 22:41:35 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 15 Sep 2014 10:41:35 +0800 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: <6BEE175F-9A23-49C4-836C-AF56483D3740@mac.com> References: <6BEE175F-9A23-49C4-836C-AF56483D3740@mac.com> Message-ID: On Sun, Sep 14, 2014 at 2:22 PM, Paul Hibbert wrote: > > Tested in LC 5.5.5 + 6.6.2 & 7.0(rc1) on Mac OS X 10.9.3 > > Cutting, or pasting within a field then tabbing out does trigger a closeField message, but "Copy" doesn't, possibly because the field didn't change even though the field still closed on tab, it does trigger an exitField. > Test this - and it's been this way ever since I can remember - Rev 1.1.1. What Bob is complaining about is, Create a New stack, 2 fields, in the second field put: on closeFiield beep end closeField. Type a couple of chars into the first field. Use the IDE built in Copy and Paste commands. Copy a different char from the first field and Paste into the 2nd. Then press Tab. LC will Beep as expected. Now use the Menu Builder to create an OS X Menu for you, tick the box to Set as stack Menu Bar, have it auto build the script for you, and then open if for Edit and fill it as you would for Copy, Paste, and Clear. It should look something like this: --The following menuPick handler was generated by the Menu Builder. on menuPick pWhich --breakpoint switch pWhich case "Cut" --Insert script for Cut menu item here break case "Copy" set the clipboardData["Text"] to the selectedText of the focusedObject break case "Paste" put clipboardData["text"] into the focusedObject break case "Clear" put empty into the focusedObject break case "Preferences" --Insert script for Preferences menu item here break end switch end menuPick Do exactly the same as you did before. After you Paste and Tab or Clear and Tab LC will NOT Beep. Jacque mentions the textChange message but this is a message not a property and frankly I have a problem with using a message or Jacques solution (although it might be prefectly fine for what you are doing) because it means LC will go ahead and do things BEFORE you've asked it to do so. i.e in the above example I can get LC to beep but it's BEFORE I've tabbed out. To me, in the first instance, using the IDE Copy, Paste, and Clear I'm assuming an inbuilt property is being set so LC knows the field is dirty and so correctly triggers the closeField message on Tab - unfortunately I have no idea what that property is so I can't use it. So I use a simple workaround of creating my own Custom Property to do the same thing - the big difference though is I have to test my dirty custom prop in an exitField message. --The following menuPick handler was generated by the Menu Builder. on menuPick pWhich --breakpoint switch pWhich case "Cut" --Insert script for Cut menu item here break case "Copy" set the clipboardData["Text"] to the selectedText of the focusedObject break case "Paste" put clipboardData["text"] into the focusedObject set the cIsFldDirty of the focusedObject to true --***** break case "Clear" put empty into the focusedObject set the cIsFldDirty of the focusedObject to true --***** break case "Preferences" --Insert script for Preferences menu item here break end switch end menuPick Place in any effected fields you want to check>: on closeField --do what you need to here beep end closeField on exitField if (the cIsFldDirty of me = true) then --***** --content change by paste/clear so do closefield set the cIsFldDirty of me to false --***** send closeField to me else --content hasn't changed --probably don't need to do anything end if end exitField If you do not have to do this in Win or Linux, then maybe it's a BUG for OS X but as I say it's work this way for as long as I can remember. From capellan2000 at gmail.com Sun Sep 14 23:38:13 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 14 Sep 2014 20:38:13 -0700 (PDT) Subject: New XAMPP security concept Message-ID: <1410752293332-4683248.post@n4.nabble.com> Hi All, Today, I installed LiveCode server in a XAMPP directory in Windows, following the clear instructions provided by Simon in this webpage: http://activethought.net/setting-liveco ... ver-xampp/ and the helpful reference of this LiveCode Guide: http://livecode.com/developers/guides/server/ After undoing many of my own mistakes, like: 1- Forgetting to make a backup of a configuration file before editing... :roll: 2- Avoiding copy and paste from a webpage into a configuration file, because html format does not preserve exactly the code... :oops: 3- Check many times all provided instructions to make sure that Directory modified is the correct one... :? After fixing all my mistakes, still I found an error 403 when I tried to run my first hello.lc code from the browser. Checking Apache Error log, I found this: AH01797: client denied by server configuration According to Apache documentation, my LiveCode folder inside xampp was denied permission to execute... :( After checking all configuration files used by Apache, I found this inside the file httpd-xampp.conf: Order deny,allow Deny from all Allow from ::1 127.0.0.0/8 \ fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \ fe80::/10 169.254.0.0/16 ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var and just decided to add the livecode folder to the list: Order deny,allow Deny from all Allow from ::1 127.0.0.0/8 \ fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \ fe80::/10 169.254.0.0/16 ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var Now, all my livecode files execute correctly in the web browser, but I want to know if this modification opens a security risk in a Livecode server. Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/New-XAMPP-security-concept-tp4683248.html Sent from the Revolution - User mailing list archive at Nabble.com. From dbalagna_dev at busyhat.com Sun Sep 14 23:42:04 2014 From: dbalagna_dev at busyhat.com (Dennis Balagna) Date: Mon, 15 Sep 2014 03:42:04 +0000 Subject: [linux] Unity Integration Message-ID: <7433e67f8415bda788e2d36b4372a3c0@www.busyhat.com> Is it possible in LiveCode to integrate a menu in the application titlebar and the Unity panel in Ubuntu like most programs do? Also how do I make the Unity panel show the name of my standalone instead of "LiveCode (version)"? The Unity launcher also shows the LiveCode icon for my standalone? That one I suppose I might fix with a .desktop file. Is this possible to fix at this point? From lan.kc.macmail at gmail.com Mon Sep 15 00:13:50 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 15 Sep 2014 12:13:50 +0800 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: <6BEE175F-9A23-49C4-836C-AF56483D3740@mac.com> References: <6BEE175F-9A23-49C4-836C-AF56483D3740@mac.com> Message-ID: On Sun, Sep 14, 2014 at 2:22 PM, Paul Hibbert wrote: > > Cut, copy, paste & clear are available as commands in LC, so maybe simplifying your Edit menu a little may help, for example? > OK, now I see what you are saying, if you build your Menu Bar script using the basic Cut, Copy, Paste, and Clear commands like this: on menuPick pWhich switch pWhich case "Cut" cut break case "Copy" copy break case "Paste" paste break case "Clear" clear break case "Preferences" --Insert script for Preferences menu item here break end switch end menuPick Then you get exactly the same behaviour as using the IDE menu except for 'clear'. That does seem a bug. I have used the clipboardData for so long that I'd forgotten the basics. I've found the ability to check what type of data is stored in the clipboardData array and test against the target to determine if the data can be pasted there, or if there are several types of data that can be pasted (text vs html vs rtf vs unicode) allow the option to choose, is just super powerful. I can't remember the last time I used the standard paste command. Sorry for any confusion caused. From jacque at hyperactivesw.com Mon Sep 15 00:15:01 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Sep 2014 23:15:01 -0500 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: References: <6BEE175F-9A23-49C4-836C-AF56483D3740@mac.com> Message-ID: <541667C5.6000507@hyperactivesw.com> On 9/14/2014, 9:41 PM, Kay C Lan wrote: > Now use the Menu Builder to create an OS X Menu for you, tick the box > to Set as stack Menu Bar, have it auto build the script for you, and > then open if for Edit and fill it as you would for Copy, Paste, and > Clear. It should look something like this: > > --The following menuPick handler was generated by the Menu Builder. > on menuPick pWhich > --breakpoint > switch pWhich > case "Cut" > --Insert script for Cut menu item here > break > case "Copy" > set the clipboardData["Text"] to the selectedText of the focusedObject > break > case "Paste" > put clipboardData["text"] into the focusedObject > break > case "Clear" > put empty into the focusedObject > break > case "Preferences" > --Insert script for Preferences menu item here > break > end switch > end menuPick > > Do exactly the same as you did before. After you Paste and Tab or > Clear and Tab LC will NOT Beep. I think the magic message you're looking for is just to use the standard LC commands that are available. When I create a menu like this it works as expected: --The following menuPick handler was generated by the Menu Builder. on menuPick pWhich switch pWhich case "Cut" cut break case "Copy" copy break case "Paste" paste break case "Clear" clear break case "Preferences" --Insert script for Preferences menu item here break end switch end menuPick -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Mon Sep 15 00:19:40 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 15 Sep 2014 12:19:40 +0800 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: <541667C5.6000507@hyperactivesw.com> References: <6BEE175F-9A23-49C4-836C-AF56483D3740@mac.com> <541667C5.6000507@hyperactivesw.com> Message-ID: Except Paul is right, on OS X the clear command in a custom built menu does not invoke a closeField message which it does if using the IDE's clear command. This does seem to be a bug. On Mon, Sep 15, 2014 at 12:15 PM, J. Landman Gay wrote: > On 9/14/2014, 9:41 PM, Kay C Lan wrote: >> >> Now use the Menu Builder to create an OS X Menu for you, tick the box >> to Set as stack Menu Bar, have it auto build the script for you, and >> then open if for Edit and fill it as you would for Copy, Paste, and >> Clear. It should look something like this: >> >> --The following menuPick handler was generated by the Menu Builder. >> on menuPick pWhich >> --breakpoint >> switch pWhich >> case "Cut" >> --Insert script for Cut menu item here >> break >> case "Copy" >> set the clipboardData["Text"] to the selectedText of the >> focusedObject >> break >> case "Paste" >> put clipboardData["text"] into the focusedObject >> break >> case "Clear" >> put empty into the focusedObject >> break >> case "Preferences" >> --Insert script for Preferences menu item here >> break >> end switch >> end menuPick >> >> Do exactly the same as you did before. After you Paste and Tab or >> Clear and Tab LC will NOT Beep. > > > I think the magic message you're looking for is just to use the standard LC > commands that are available. When I create a menu like this it works as > expected: > > --The following menuPick handler was generated by the Menu Builder. > on menuPick pWhich > switch pWhich > case "Cut" > cut > break > case "Copy" > copy > break > case "Paste" > paste > break > case "Clear" > clear > break > case "Preferences" > --Insert script for Preferences menu item here > break > end switch > end menuPick > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Sep 15 00:46:46 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Sep 2014 23:46:46 -0500 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: References: <6BEE175F-9A23-49C4-836C-AF56483D3740@mac.com> <541667C5.6000507@hyperactivesw.com> Message-ID: <54166F36.8050907@hyperactivesw.com> On 9/14/2014, 11:19 PM, Kay C Lan wrote: > Except Paul is right, on OS X the clear command in a custom built menu > does not invoke a closeField message which it does if using the IDE's > clear command. This does seem to be a bug. I never use "clear" so I had to look it up. Clear is a synonym of "delete" and only works on objects ("delete this cd", "delete img 1".) So that explains why it doesn't work in fields. I tried scripting a text deletion, but then we're back where we started -- scripted text changes don't trigger a closefield. So in the case of "clear", your first solution is probably workable. I guess that explains why I always remove "Clear" from my menus. It's become so habitual, I'd forgotten why. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 15 00:49:04 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Sep 2014 23:49:04 -0500 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: References: <6BEE175F-9A23-49C4-836C-AF56483D3740@mac.com> <541667C5.6000507@hyperactivesw.com> Message-ID: <54166FC0.3020907@hyperactivesw.com> On 9/14/2014, 11:19 PM, Kay C Lan wrote: > Except Paul is right, on OS X the clear command in a custom built menu > does not invoke a closeField message which it does if using the IDE's > clear command. Forgot to mention: the IDE uses the "delete" command in it's Clear menu item script, but only applies it for objects. It scripts the deletion of text in fields, and that too fails to provide a closefield message. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Mon Sep 15 00:52:48 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sun, 14 Sep 2014 21:52:48 -0700 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: References: <6BEE175F-9A23-49C4-836C-AF56483D3740@mac.com> <541667C5.6000507@hyperactivesw.com> Message-ID: <632D0C4A-D4BC-4799-900B-9FB310B84573@mac.com> And you are correct Kay, in checking the target against the clipboard, after a busy day photographing dolphins I came back and tried another test. My original suggestion was too simple in that if the clipboardData contained an image it would paste the image over the top of everything on the card even though the target was a text field. My apologies for any confusion, I should have checked a few more options before posting instead of focussing too much on testing with text. Paul On Sep 14, 2014, at 9:19 PM, Kay C Lan wrote: > Except Paul is right, on OS X the clear command in a custom built menu > does not invoke a closeField message which it does if using the IDE's > clear command. This does seem to be a bug. > > On Mon, Sep 15, 2014 at 12:15 PM, J. Landman Gay > wrote: >> On 9/14/2014, 9:41 PM, Kay C Lan wrote: >>> >>> Now use the Menu Builder to create an OS X Menu for you, tick the box >>> to Set as stack Menu Bar, have it auto build the script for you, and >>> then open if for Edit and fill it as you would for Copy, Paste, and >>> Clear. It should look something like this: >>> >>> --The following menuPick handler was generated by the Menu Builder. >>> on menuPick pWhich >>> --breakpoint >>> switch pWhich >>> case "Cut" >>> --Insert script for Cut menu item here >>> break >>> case "Copy" >>> set the clipboardData["Text"] to the selectedText of the >>> focusedObject >>> break >>> case "Paste" >>> put clipboardData["text"] into the focusedObject >>> break >>> case "Clear" >>> put empty into the focusedObject >>> break >>> case "Preferences" >>> --Insert script for Preferences menu item here >>> break >>> end switch >>> end menuPick >>> >>> Do exactly the same as you did before. After you Paste and Tab or >>> Clear and Tab LC will NOT Beep. >> >> >> I think the magic message you're looking for is just to use the standard LC >> commands that are available. When I create a menu like this it works as >> expected: >> >> --The following menuPick handler was generated by the Menu Builder. >> on menuPick pWhich >> switch pWhich >> case "Cut" >> cut >> break >> case "Copy" >> copy >> break >> case "Paste" >> paste >> break >> case "Clear" >> clear >> break >> case "Preferences" >> --Insert script for Preferences menu item here >> break >> end switch >> end menuPick >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Sep 15 01:05:15 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Sep 2014 00:05:15 -0500 Subject: Tab control background color In-Reply-To: References: Message-ID: <5416738B.3090406@hyperactivesw.com> On 9/13/2014, 1:15 PM, Peter Haworth wrote: > It seems that if you set the background color of a tab control, it is > somehow blended with the standard grey background (this is on OSX). > > Is there a way round this without having to design my own tab control? I'm not seeing any blending, but the fill color doesn't start until just under the tabs. That is, the whole rectangle isn't filled, only the lower part. I don't think there's a way around that. It used to be that the whole thing was filled right to the corners, which weren't rounded, so the fill color made little corners above the round-rect borders at the top right and top left of the button. I guess the fix was to fill only the area below the tabs. I hadn't looked at it in a long time, ever since I decided that you couldn't sucessfully color tab buttons. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Sep 15 02:03:21 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 14 Sep 2014 23:03:21 -0700 Subject: New XAMPP security concept In-Reply-To: <1410752293332-4683248.post@n4.nabble.com> References: <1410752293332-4683248.post@n4.nabble.com> Message-ID: <91073942704.20140914230321@ahsoftware.net> Alejandro- Sunday, September 14, 2014, 8:38:13 PM, you wrote: > Now, all my livecode files execute correctly in the web browser, but I want > to know > if this modification opens a security risk in a Livecode server. > Thanks in advance! That looks pretty safe - the domain list is still all local. Of course, it probably depends on what you put into the livecode folder. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From toolbook at kestner.de Mon Sep 15 02:22:03 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Sep 2014 08:22:03 +0200 Subject: AW: OS X codesigning best practise? In-Reply-To: <7D5B4890-0BBD-4D2B-8AC0-B51A98874AEE@m-r-d.de> References: <009e01cfcd13$3fb171a0$bf1454e0$@de> <005f01cfcdb3$b0f91e30$12eb5a90$@de> <139F4732-5025-46DD-A1EE-EAE96D9680F4@m-r-d.de> <008e01cfcdd6$bad15490$3073fdb0$@de> <7D5B4890-0BBD-4D2B-8AC0-B51A98874AEE@m-r-d.de> Message-ID: <002701cfd0ad$5e57b680$1b072380$@de> Terminal: codesign -v Path/to/app > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Matthias Rebbe | M-R-D > Gesendet: Sonntag, 14. September 2014 00:14 > An: How to use LiveCode > Betreff: Re: OS X codesigning best practise? > > Tiemo. > > Thank you for your explanation. Tried it and it went through without problems. > > App Wrappe at least tells me, that it was successful. But is there a way to > check the bundle, if it is really signed? > > Regards, > > Matthias > > Am 11.09.2014 um 17:40 schrieb Tiemo Hollmann TB : > > > Hi Matthias, > > with App Wrapper it's really easy: > > 1. Buy a developer codesigning certificate at Apple 2. Start App > > Wrapper 3. Drag an unsigned app onto App Wrapper 4. Go to TAB > > "Package" > > 5. Check the "Codesign" checkbox > > 6. Choose your developer certificate > > 7. Don't choose any of the options below 8. Choose "Wrap to" folder > > and click "Wrap" at topright > > > > Beside the codesigning it makes some more "validation and finishing" > > tasks, which seems to be fine and don't bother me. > > > > In my case it also removed the PPC code from my app and from ALL apps > > and bundles inside my app. I don't know, if you can control that, I > > didn't needed the PPC code anymore. > > > > That?s all > > Tiemo > > > > > >> -----Urspr?ngliche Nachricht----- > >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > > Auftrag > >> von Matthias Rebbe | M-R-D > >> Gesendet: Donnerstag, 11. September 2014 13:49 > >> An: How to use LiveCode > >> Betreff: Re: OS X codesigning best practise? > >> > >> Tiemo, > >> > >> if you have some time, would you describe step by step how this is > >> done > > with > >> AppWrapper? > >> That would be very helpful. > >> > >> Regards, > >> > >> Matthias > >> > >> > >> Am 11.09.2014 um 13:29 schrieb Tiemo Hollmann TB : > >> > >>> FYI to answer my own questions: > >>> 1. the --deep option in codesign seems to be not valid anymore since > >>> Mavericks, so if you are using apples codesign tool, you really have > >>> to codesign each single component from inside to outside step by step. > >>> 2. Yes App Wrapper does it in one step, I will go on with App > >>> Wrapper, it's super easy. > >>> 3. I have asked Runrev and it is ok with them, if I codesign runrevs > >>> bundles included in my app. > >>> Tiemo > >>> > >>> > >>>> -----Urspr?ngliche Nachricht----- > >>>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > >>> Auftrag > >>>> von Tiemo Hollmann TB > >>>> Gesendet: Mittwoch, 10. September 2014 18:21 > >>>> An: 'How to use LiveCode' > >>>> Betreff: OT: OS X codesigning best practise? > >>>> > >>>> Hello, > >>>> > >>>> I am just trying the first time to codesign my app on OS X 10.9, > >>>> the certificate I bought already. > >>>> > >>>> When using the command line codesign utility, it seems that I have > >>>> to > >>> codesign > >>>> each .bundle and .app, which is included in my app first, before I > >>>> can codesign my app itself. > >>>> > >>>> 1. Is this correct to do all codesignings as single steps, or is > >>> there > >>>> an option to codesign a complete package with all included > >>>> components in > >>> one > >>>> step? > >>>> > >>>> 2. Do codesigning tools like app wrapper do this job in one step, > > or > >>>> do I also have to sign all components myself? > >>>> > >>>> 3. What about the owners rights? E.g.if my app contains the > >>>> revxml.bundle or another third party external and I would codesign > >>>> this > >>> rev > >>>> bundle with my certificate, may I do this? If not, what is the > >>> alternative? > >>>> > >>>> > >>>> > >>>> Thanks for your experience > >>>> > >>>> Tiemo > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription > >>>> preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > > subscription > >> preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription > >> preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Mon Sep 15 02:26:12 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Sep 2014 08:26:12 +0200 Subject: AW: Is RGB on Mac something else as RGB on windows? In-Reply-To: <99C0C9C6-E032-4264-B8A2-83C7D4C9831A@earthednet.org> References: <002901cfce85$24c7f490$6e57ddb0$@de> <003801cfcea7$1a048d80$4e0da880$@de> <003c01cfceac$581c9a40$0855cec0$@de> <99C0C9C6-E032-4264-B8A2-83C7D4C9831A@earthednet.org> Message-ID: <002801cfd0ad$f2b68040$d82380c0$@de> Bill, I have no idea, but doesn't the unicode handling change come with 6.7? I am on LC 6.5.2 Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von William Prothero > Gesendet: Freitag, 12. September 2014 23:42 > An: Use-livecode Use-livecode > Betreff: Re: Is RGB on Mac something else as RGB on windows? > > Tiemo: > I wonder if this has something to do with the fact that byte operations rather > than charToNum operations are supported now, and unicode gets involved in > charToNum operations. > Bill > > On Sep 12, 2014, at 10:09 AM, Tiemo Hollmann TB wrote: > > > Some more testing: > > The mousecolor returns the same RGB on Mac and Win. I need this for > > comparing each pixel of an imageData with this mousecolor. > > But when looping through the imageData of an image, the charToNum(char > > x of > > tImageData) returns a different value on Mac and Win. > > Up to now, it seems that the Mac value is always 30 less than on Win, > > same for R,G and B If this keeps constant on further testing, I can > > manipulate the values on Mac by this constant. But enough for today. > > Tiemo > > > > > > > > > >> -----Urspr?ngliche Nachricht----- > >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > > Auftrag > >> von Tiemo Hollmann TB > >> Gesendet: Freitag, 12. September 2014 18:32 > >> An: 'How to use LiveCode' > >> Betreff: AW: Is RGB on Mac something else as RGB on windows? > >> > >> Hi Trevor, > >> > >> hmm, might be we are experiencing the same issue. The more I am > >> testing, > > the > >> more I get confused what happens with the RGB on Mac. > >> Because I never would have thought that there could be an issue > >> related to this between windows and Mac this issue hits me at the > >> latest stage in my development process at the finishing tests close > >> before release. Probably > > I > >> have to suspend my whole release plan now. > >> Tiemo > >> > >> > >>> -----Urspr?ngliche Nachricht----- > >>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > >> Auftrag > >>> von Trevor DeVore > >>> Gesendet: Freitag, 12. September 2014 16:29 > >>> An: How to use LiveCode > >>> Betreff: Re: Is RGB on Mac something else as RGB on windows? > >>> > >>> On Fri, Sep 12, 2014 at 8:29 AM, Tiemo Hollmann TB > >>> > >>> wrote: > >>> > >>>> I have an application, where I manipulate an image. I exchange a > >>>> specified RGB color by another value. I developed this app on > >>>> windows and everything works fine. Now at final testing my function > >>>> seems to be broken, because the same image (a screenshot taken from > >>>> a video) seems to have other RGB values on a Mac, so that the > >>>> exchange doesen't work anymore on a Mac. > >>>> > >>>> I tested to create a png with photoshop on Windows with a blue > >>>> color 100,150,200. Opening this png on my Mac and picking the color > >>>> it gives > >> me: > >>>> 83,131,185. Isn't RGB = RGB on different platforms? That the same > >>>> RGB might display different on different monitors is clear, but a > >>>> different RGB value? > >>>> > >>> > >>> Perhaps you are seeing the issue described in this bug report? > >>> > >>> http://quality.runrev.com/show_bug.cgi?id=13208 > >>> > >>> It doesn't look like LiveCode on OS X handles color profiles > >>> properly when loading image files. > >>> > >>> -- > >>> Trevor DeVore > >>> ScreenSteps > >>> www.screensteps.com - www.clarify-it.com > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription > >>> preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription > >> preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Mon Sep 15 02:26:27 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 15 Sep 2014 07:26:27 +0100 Subject: Tab control background color In-Reply-To: <5416738B.3090406@hyperactivesw.com> References: <5416738B.3090406@hyperactivesw.com> Message-ID: <785D558B-E237-42AA-9924-5C0E5F0E09B3@btinternet.com> OSX LiveCoders are still awaiting emulated/otherwise tabs that look like proper OSX Tabs. Selected tabs should have white text on dark grey NOT black text an dark grey. This has been reported but to date ignored? All the best Terry On 15 Sep 2014, at 06:05, J. Landman Gay wrote: > I'm not seeing any blending, but the fill color doesn't start until just under the tabs. That is, the whole rectangle isn't filled, only the lower part. > > I don't think there's a way around that. It used to be that the whole thing was filled right to the corners, which weren't rounded, so the fill color made little corners above the round-rect borders at the top right and top left of the button. I guess the fix was to fill only the area below the tabs. I hadn't looked at it in a long time, ever since I decided that you couldn't sucessfully color tab buttons. From t.heaford at btinternet.com Mon Sep 15 02:41:07 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 15 Sep 2014 07:41:07 +0100 Subject: Tab control background color In-Reply-To: <785D558B-E237-42AA-9924-5C0E5F0E09B3@btinternet.com> References: <5416738B.3090406@hyperactivesw.com> <785D558B-E237-42AA-9924-5C0E5F0E09B3@btinternet.com> Message-ID: bug report http://quality.runrev.com/show_bug.cgi?id=11912 All the best Terry On 15 Sep 2014, at 07:26, Terence Heaford wrote: > OSX LiveCoders are still awaiting emulated/otherwise tabs that look like proper OSX Tabs. > > Selected tabs should have white text on dark grey NOT black text an dark grey. > > This has been reported but to date ignored? > > All the best > > Terry > > > > On 15 Sep 2014, at 06:05, J. Landman Gay wrote: > >> I'm not seeing any blending, but the fill color doesn't start until just under the tabs. That is, the whole rectangle isn't filled, only the lower part. >> >> I don't think there's a way around that. It used to be that the whole thing was filled right to the corners, which weren't rounded, so the fill color made little corners above the round-rect borders at the top right and top left of the button. I guess the fix was to fill only the area below the tabs. I hadn't looked at it in a long time, ever since I decided that you couldn't sucessfully color tab buttons. > From toolbook at kestner.de Mon Sep 15 03:19:01 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Sep 2014 09:19:01 +0200 Subject: AW: AW: Is RGB on Mac something else as RGB on windows? In-Reply-To: <541335E1.6040901@hyperactivesw.com> References: <002901cfce85$24c7f490$6e57ddb0$@de> <003801cfcea7$1a048d80$4e0da880$@de> <541335E1.6040901@hyperactivesw.com> Message-ID: <002901cfd0b5$53c65ac0$fb531040$@de> Hi Jaccque, in my case the result of a jpg and png screenshot is the same. On Mac I always have to add 30 to the charToNum(char x of tImageData) to get the same result as on Windows. I hope this really is a "constant" and not depending of any system or monitor settings, what could hit me on different customer machines. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von J. Landman Gay > Gesendet: Freitag, 12. September 2014 20:05 > An: How to use LiveCode > Betreff: Re: AW: Is RGB on Mac something else as RGB on windows? > > On 9/12/2014, 11:32 AM, Tiemo Hollmann TB wrote: > > The more I am testing, the > > more I get confused what happens with the RGB on Mac. > > Does the problem exist if the images are jpg instead of png? Can you change > your images to jpg? I've seen the problem with png images, and since I didn't > need to match exact RGB, I only needed a visual match, changing the > screengamma on a Mac was enough to fix it. I did this: > > on setScreenGamma > if the platform = "macOS" then > set the screengamma to 1.7 > else > set the screengamma to 2.23 > end if > end setScreenGamma > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hello at simonsmith.co Mon Sep 15 03:22:10 2014 From: hello at simonsmith.co (Simon Smith) Date: Mon, 15 Sep 2014 09:22:10 +0200 Subject: New XAMPP security concept In-Reply-To: <91073942704.20140914230321@ahsoftware.net> References: <1410752293332-4683248.post@n4.nabble.com> <91073942704.20140914230321@ahsoftware.net> Message-ID: Hi Alejandro You server will be fine, only your localhost will have access to the specified files paths, everything else is blocked. Simon On Mon, Sep 15, 2014 at 8:03 AM, Mark Wieder wrote: > Alejandro- > > Sunday, September 14, 2014, 8:38:13 PM, you wrote: > > > Now, all my livecode files execute correctly in the web browser, but I > want > > to know > > if this modification opens a security risk in a Livecode server. > > > Thanks in advance! > > That looks pretty safe - the domain list is still all local. Of > course, it probably depends on what you put into the livecode folder. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 From toolbook at kestner.de Mon Sep 15 04:38:48 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Sep 2014 10:38:48 +0200 Subject: need some RGB bug tester Message-ID: <003001cfd0c0$79590890$6c0b19b0$@de> Hi, I am looking for some guys, who could verify my different RGB results on Win / Mac. Please create a stack and put the following script into a button and save the stack: on mouseUp create img "foo" set the filename of img "foo" to "foo.png" put the imageData of img "foo" into tImageData put chartonum(char 8442 of tImageData) & comma & chartonum(char 8443 of tImageData) & comma & chartonum(char 8444 of tImageData) -- a pixel some somewhere in the middle end mouseUp Please download the following test picture: www.kestner.de/material/foo.png and put it into the same folder as your test stack. Its just a blue. Running the script with LC 6.5.2 on my Windows 7 machine it outputs the following RGB: 99,150,200. Same done on my Mac OS X 10.9 it results: 82,130,188. In this example the difference is only about 20 on each RGB value. On other tests I had constant 30. Can you verify this? Do you get different results with different LC versions? Thanks for any tests Tiemo From bernd.niggemann at uni-wh.de Mon Sep 15 05:27:24 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Mon, 15 Sep 2014 02:27:24 -0700 (PDT) Subject: need some RGB bug tester In-Reply-To: <003001cfd0c0$79590890$6c0b19b0$@de> References: <003001cfd0c0$79590890$6c0b19b0$@de> Message-ID: <1410773244241-4683265.post@n4.nabble.com> Hi Tiemo, tested with LC7.0RC1 on MacOSX10.6.8 and have the same RGB triplet you got on your mac: 82,130,188 I used put byteToNum(char 8442 of tImageData) & comma & byteToNum(char 8443 of tImageData) & comma & byteToNum(char 8444 of tImageData) charToNum is deprecated in 7.0 for binary data. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/need-some-RGB-bug-tester-tp4683264p4683265.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Mon Sep 15 05:33:44 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 15 Sep 2014 17:33:44 +0800 Subject: Scripting Cut/Copy/Paste in custom menus In-Reply-To: <54166FC0.3020907@hyperactivesw.com> References: <6BEE175F-9A23-49C4-836C-AF56483D3740@mac.com> <541667C5.6000507@hyperactivesw.com> <54166FC0.3020907@hyperactivesw.com> Message-ID: On Mon, Sep 15, 2014 at 12:49 PM, J. Landman Gay wrote: >> > Forgot to mention: the IDE uses the "delete" command in it's Clear menu item > script, but only applies it for objects. It scripts the deletion of text in > fields, and that too fails to provide a closefield message. > I'm sure I checked that and it was different in the IDE but when I check it again you are right. Submitted a suggestion for a Dictionary amendment. Bug 13440 ... The Dictionary entry for closeField AND delete should also include these two other exceptions of when closeField will not be triggered: i.e. The closeField message is not sent when a field's content is changed by: * using the put command * using the delete command, or it's synonym; clear * using the IDE's Clear Text menu item From effendi at wanadoo.fr Mon Sep 15 06:02:38 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Mon, 15 Sep 2014 12:02:38 +0200 Subject: Loading clips into a player Message-ID: Hi from Beautiful Brittany, Beat, Although it is your choice to include the videos in the stack, it all depends on how many, and their sizes. Your stack could get ?rather? large, and you have to recompile and save for each addition. I put my video clips in an external sub-folder that my stack can find. The stack is never modified, because it reads the file list of the sub- folder and you just click on the line of the required clip from the list. Just add the new videos to the sub-folder, and the clip is automatically available. I use F1 and F2 function keys to get in and out of full-screen mode. I use this stack to contain my favourite clips from YouTube. Great Fun !! I can mail you a copy of my stack if you want it. PC and Mac compatible. Best Regards -Francis From matthias_livecode_150811 at m-r-d.de Mon Sep 15 07:29:17 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 15 Sep 2014 13:29:17 +0200 Subject: need some RGB bug tester In-Reply-To: <003001cfd0c0$79590890$6c0b19b0$@de> References: <003001cfd0c0$79590890$6c0b19b0$@de> Message-ID: <87CFB32A-23E8-4E78-BEFB-EE6BF6C1C331@m-r-d.de> Tiemo, don?t know if this is of some help for you, but if i open the image in an browser and compare it to the one in the LC stack on Mac then i can see that the color of the image in LC is not the same as the color of the image in the browser. The LC one seems darker. If i use the loupe of the Color selection dialog on Mac and select the image in Browser i can see values similar to the ones you can see on Windows. Doing the same with the LC image i can see values similar to the ones LC is reporting back. So LC is seems to "change" the image in some way on Mac OS X. Regards, Matthias Am 15.09.2014 um 10:38 schrieb Tiemo Hollmann TB : > Hi, > > I am looking for some guys, who could verify my different RGB results on Win > / Mac. > > Please create a stack and put the following script into a button and save > the stack: > > on mouseUp > > create img "foo" > > set the filename of img "foo" to "foo.png" > > put the imageData of img "foo" into tImageData > > put chartonum(char 8442 of tImageData) & comma & chartonum(char 8443 of > tImageData) & comma & chartonum(char 8444 of tImageData) -- a pixel some > somewhere in the middle > > end mouseUp > > Please download the following test picture: www.kestner.de/material/foo.png > and put it into the same folder as your test stack. Its just a blue. > > Running the script with LC 6.5.2 on my Windows 7 machine it outputs the > following RGB: 99,150,200. Same done on my Mac OS X 10.9 it results: > 82,130,188. > > In this example the difference is only about 20 on each RGB value. On other > tests I had constant 30. Can you verify this? Do you get different results > with different LC versions? > > Thanks for any tests > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Mon Sep 15 07:45:02 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Mon, 15 Sep 2014 04:45:02 -0700 (PDT) Subject: need some RGB bug tester In-Reply-To: <87CFB32A-23E8-4E78-BEFB-EE6BF6C1C331@m-r-d.de> References: <003001cfd0c0$79590890$6c0b19b0$@de> <87CFB32A-23E8-4E78-BEFB-EE6BF6C1C331@m-r-d.de> Message-ID: <1410781502736-4683269.post@n4.nabble.com> Hi Tiemo On Windows 7 I get 99,150,200 with LC 6.6.2 and LC 7.0.0(rc1) - and on Mavericks I get 82,130,188 with LC 6.6.3 and LC 7.0.0(rc1) - please note both tests with LC 7.0.0 used bytetonum instead of chartonum So it increasingly looks like it is OS related issue... Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/need-some-RGB-bug-tester-tp4683264p4683269.html Sent from the Revolution - User mailing list archive at Nabble.com. From B.Cornaz at gmx.net Mon Sep 15 08:13:34 2014 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Mon, 15 Sep 2014 14:13:34 +0200 Subject: Loading clips into a player Message-ID: <1C308E3B-BCE2-45BD-961D-FCCBA173CCE3@gmx.net> on Sun, 14 Sep 2014 Richmond wrote : > So, you have imported your audioClip / videoClip into your stacks. > play audioClip "myJazz.aiff" Thanks for your reply, Richmond. The thing is that I want to have the clip inside a visible player. In that way I have more control over how to play the clip. E.g. visibly nudging back a bit, changing the play speed, seeing at what time the clip is so I can mark it, etc. So I need to load the clip into a player, but not from disc, but from inside my stack. So my question is still open. Anyone? Thanks, Beat From matthias_livecode_150811 at m-r-d.de Mon Sep 15 08:21:41 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 15 Sep 2014 14:21:41 +0200 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available Message-ID: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> Hi, the last days i tried to create a syntax highlighting and autocomplete file for Ultraedit for Mac. Maybe it is working under Windows, too. Did not had the time yet to try. I am pretty sure that the file is not 100% perfect, but at least i have added all commands, constants, keywords, properties and so on and colorizing, auto indent and unindent are working. Code folding seems to work also. As i am working in LC editor with the custard yellow background, i adjusted the highlighting colors to correspond with that background color. But it is very easy to adjust the colors for each type (property, keyword and so on.). You can do this directly in UltraEdit. I have uploaded the file in case some one is interested in it. https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 Regards, Matthias From klaus at major-k.de Mon Sep 15 08:34:38 2014 From: klaus at major-k.de (Klaus major-k) Date: Mon, 15 Sep 2014 14:34:38 +0200 Subject: Loading clips into a player In-Reply-To: <1C308E3B-BCE2-45BD-961D-FCCBA173CCE3@gmx.net> References: <1C308E3B-BCE2-45BD-961D-FCCBA173CCE3@gmx.net> Message-ID: Hi Beat, Am 15.09.2014 um 14:13 schrieb Beat Cornaz : > on Sun, 14 Sep 2014 Richmond wrote : >> So, you have imported your audioClip / videoClip into your stacks. >> play audioClip "myJazz.aiff" > > Thanks for your reply, Richmond. The thing is that I want to have the clip inside a visible player. In that way I have more control over how to play the clip. E.g. visibly nudging back a bit, changing the play speed, seeing at what time the clip is so I can mark it, etc. So I need to load the clip into a player, but not from disc, but from inside my stack. > > So my question is still open. Anyone? You can't put internal sounds/videos into a player object!*** If you need to, you MUST keep the files outside of the stack. *** You cannot even export or save-to-file any of the internal sounds/videos! :-/ > Thanks, Beat Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From coiin at verizon.net Mon Sep 15 08:58:29 2014 From: coiin at verizon.net (Colin Holgate) Date: Mon, 15 Sep 2014 08:58:29 -0400 Subject: Loading clips into a player In-Reply-To: References: <1C308E3B-BCE2-45BD-961D-FCCBA173CCE3@gmx.net> Message-ID: What is your use case where you need to have videos inside a stack? If you?re wanting to give someone a single file that has all the needed media, can you do a standalone instead? With those you can copy the media files in to the app in the Copy Files section of the standalone settings, and then load the media into a player this way: set the filename of player 1 to specialfolderpath("engine") & ?/videoname.mp4" From m.schonewille at economy-x-talk.com Mon Sep 15 09:24:39 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 15 Sep 2014 15:24:39 +0200 Subject: LiveCode-bijeenkomst in Utrecht Message-ID: <5416E897.3010400@economy-x-talk.com> Hallo allemaal, Ter herinnering nog even een berichtje over de LiveCode-bijeenkomst van aanstaaande zaterdag. Het belooft een interessante middag te worden met 2 korte presentaties en een aantal leuke dingen om te verloten. We geven onder andere een licentie voor HyperStudio weg, een exemplaar van mijn boek, een licentie voor Installer Maker, een licentie voor ChartsEngine, en zoals altijd een e-book van TidBITS. Bovendien biedt RunRev alle deelnemers een korting op de Indie-licentie aan; zo verdien je meteen re reiskosten (ruimschoots) terug. **Als je hieraan mee wilt doen, laat het me dan even weten. Dan zorg ik er voor dat je op de hoogte wordt gebracht van de locatie en tijd.** Het was eigenlijk de bedoeling een zaaltje te huren, maar we denken toch dat de groep hier op dit moment nog te klein voor is. Mochten zich nu plotseling toch nog 3 of 4 deelnemers extra aanmelden, dan gaan we alsnog kijken wat er in dit opzicht mogelijk is. ---- This is a reminder about the LiveCode meeting, this Saturday. We expect to have an interesting day with 2 short presentations and several prizes for the raffle. We're giving away a license for HyperStudio, a license for Installer Maker and one for ChartsEngine. We'll also give away a copy of my book and as always an e-book from TidBITS's Take Control series. On top of all, RunRev offers all participants a discount on the Indie license, which is more than enough to earn back your travelling expenses. **If you want to participate, let me know and I'll make sure that you'll be informed about the time and location of the meeting.** There was the plan to rent a room, but the number of participants seems to be too small for this. If 3 or 4 additional people decide to register for the event, we'll try to arrange something quickly. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From capellan2000 at gmail.com Mon Sep 15 09:59:56 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 15 Sep 2014 06:59:56 -0700 (PDT) Subject: New XAMPP security concept In-Reply-To: References: <1410752293332-4683248.post@n4.nabble.com> <91073942704.20140914230321@ahsoftware.net> Message-ID: <1410789596819-4683275.post@n4.nabble.com> Simon Smith-2 wrote > You server will be fine, only your localhost will have access to the > specified files paths, everything else is blocked. This is real good news! :D Mark Wieder wrote > That looks pretty safe - the domain list is still all local. Of > course, it probably depends on what you put into the livecode folder. Inside the livecode folder there is only the file (livecode engine) and the two folders from the Livecode community server ZIP file downloaded from RunRev website. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/New-XAMPP-security-concept-tp4683248p4683275.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Mon Sep 15 10:03:15 2014 From: coiin at verizon.net (Colin Holgate) Date: Mon, 15 Sep 2014 10:03:15 -0400 Subject: [OT-ish] funny search result Message-ID: I was searching for something LiveCode related, and as can happen sometimes I was taken to a page which had an excerpt from a book. I did a local Find on that page and couldn?t find the thing I was searching for. I had a momentary thought about ?wouldn?t it be nice to see more from this book?, then I noticed it was MY book! From skip at magicgate.com Mon Sep 15 10:34:57 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 15 Sep 2014 10:34:57 -0400 Subject: [OT-ish] funny search result In-Reply-To: References: Message-ID: Too funny! It is good to know that your book is the "go-to" book, even for you. SKIP On Mon, Sep 15, 2014 at 10:03 AM, Colin Holgate wrote: > I was searching for something LiveCode related, and as can happen > sometimes I was taken to a page which had an excerpt from a book. I did a > local Find on that page and couldn?t find the thing I was searching for. I > had a momentary thought about ?wouldn?t it be nice to see more from this > book?, then I noticed it was MY book! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Mon Sep 15 10:56:07 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 15 Sep 2014 07:56:07 -0700 (PDT) Subject: [OT-ish] funny search result In-Reply-To: References: Message-ID: <1410792967134-4683278.post@n4.nabble.com> Colin Holgate-2 wrote > I was searching for something LiveCode related, and > as can happen sometimes I was taken to a page which > had an excerpt from a book. I did a local Find on that > page and couldn?t find the thing I was searching for. > I had a momentary thought about ?wouldn?t it be nice > to see more from this book?, then I noticed it was MY book! This means that you are so busy, that your mind simply "hide" from yourself anything that does not requires immediate attention. When did you take your most recent vacation? :D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-ish-funny-search-result-tp4683276p4683278.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Mon Sep 15 11:33:22 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 15 Sep 2014 08:33:22 -0700 (PDT) Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> Message-ID: <1410795202643-4683279.post@n4.nabble.com> Matthias Rebbe | M-R-D wrote > The last days i tried to create a syntax highlighting and autocomplete > file > for Ultraedit for Mac. Maybe it is working under Windows, too. > Did not had the time yet to try. > > I am pretty sure that the file is not 100% perfect, but at least > i have added all commands, constants, keywords, properties > and so on and colorizing, auto indent and unindent are working. > Code folding seems to work also. > > As i am working in LC editor with the custard yellow background, > i adjusted the highlighting colors to correspond with that background > color. > But it is very easy to adjust the colors for each type (property, keyword > and so on.). > You can do this directly in UltraEdit. > > I have uploaded the file in case some one is interested in it. > https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 Really Nice! Many Thanks for sharing this configuration file. I opened the file and noticed this: Colors = 4194432 This color notation is Hexadecimal, Octal or Binary? By the way, Did you know of a configuration file for NotePad Plus? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-syntaxhighligthing-and-autocomplete-for-Ultraedit-available-tp4683271p4683279.html Sent from the Revolution - User mailing list archive at Nabble.com. From matthias_livecode_150811 at m-r-d.de Mon Sep 15 11:53:42 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 15 Sep 2014 17:53:42 +0200 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: <1410795202643-4683279.post@n4.nabble.com> References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> <1410795202643-4683279.post@n4.nabble.com> Message-ID: Am 15.09.2014 um 17:33 schrieb Alejandro Tejada : > > Really Nice! Many Thanks for sharing this configuration file. > I opened the file and noticed this: Colors = 4194432 > > This color notation is Hexadecimal, Octal or Binary? > I really don?t know. After creating and modifying the file, I adjusted the colors under Preferences->Editor display->Syntax highlighting > By the way, Did you know of a configuration file for > NotePad Plus? > No, I am sorry. > Thanks in advance! > > Al > Regards, Matthias > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-syntaxhighligthing-and-autocomplete-for-Ultraedit-available-tp4683271p4683279.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Mon Sep 15 12:01:04 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Sep 2014 18:01:04 +0200 Subject: AW: need some RGB bug tester In-Reply-To: <1410781502736-4683269.post@n4.nabble.com> References: <003001cfd0c0$79590890$6c0b19b0$@de> <87CFB32A-23E8-4E78-BEFB-EE6BF6C1C331@m-r-d.de> <1410781502736-4683269.post@n4.nabble.com> Message-ID: <008401cfd0fe$4178f370$c46ada50$@de> Thanks for testing, it gave me some confidence in the difference. Some more tests, I found that there are some images which show this difference and others, which show exactly the same value on Win/Mac. So it must be something dependent of the image. In my test case a JPG without embedded color profile showed the same values and another JPG with embedded sRGB color profil showed the different values. I don't know if this is related to the issue or if my results showed just by accident. The profile theory wouldn't explain my original issue, where I take a screenshot of the same video in LC and take the color of that screenshot. In that case the profile or non profile of the screenahot should be the same on Win / Mac. For my issue I will go on with adding + 30 to the Mac RGB values to get a comparable value as on Win, though the difference is in 98% of the cases 30 +/- 3 and in a few cases more than that. It's not a nice workaround but hopefully close enough for me. If anybody has more insight, every hint is welcome. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Dave Kilroy > Gesendet: Montag, 15. September 2014 13:45 > An: use-revolution at lists.runrev.com > Betreff: Re: need some RGB bug tester > > Hi Tiemo > > On Windows 7 I get 99,150,200 with LC 6.6.2 and LC 7.0.0(rc1) - and on > Mavericks I get 82,130,188 with LC 6.6.3 and LC 7.0.0(rc1) - please note both > tests with LC 7.0.0 used bytetonum instead of chartonum > > So it increasingly looks like it is OS related issue... > > Dave > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon > them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime- > revolution.278305.n4.nabble.com/need-some-RGB-bug-tester- > tp4683264p4683269.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Sep 15 12:26:26 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 15 Sep 2014 09:26:26 -0700 Subject: Loading clips into a player In-Reply-To: <1C308E3B-BCE2-45BD-961D-FCCBA173CCE3@gmx.net> References: <1C308E3B-BCE2-45BD-961D-FCCBA173CCE3@gmx.net> Message-ID: You will have to come up with your own player controls to do this, buttons that execute the various commands for playing a clip. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Sep 15, 2014 at 5:13 AM, Beat Cornaz wrote: > on Sun, 14 Sep 2014 Richmond wrote : > > > So, you have imported your audioClip / videoClip into your stacks. > > > play audioClip "myJazz.aiff" > > Thanks for your reply, Richmond. The thing is that I want to have the clip > inside a visible player. In that way I have more control over how to play > the clip. E.g. visibly nudging back a bit, changing the play speed, seeing > at what time the clip is so I can mark it, etc. So I need to load the clip > into a player, but not from disc, but from inside my stack. > > > So my question is still open. Anyone? > > Thanks, Beat > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Mon Sep 15 12:28:41 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 15 Sep 2014 19:28:41 +0300 Subject: Loading clips into a player In-Reply-To: References: <1C308E3B-BCE2-45BD-961D-FCCBA173CCE3@gmx.net> Message-ID: <541713B9.30100@gmail.com> http://www.youtube.com/watch?v=OhgLOv0YSeo From pete at lcsql.com Mon Sep 15 12:42:01 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 15 Sep 2014 09:42:01 -0700 Subject: Tab control background color In-Reply-To: <5416738B.3090406@hyperactivesw.com> References: <5416738B.3090406@hyperactivesw.com> Message-ID: Hi Jacque, I missed the fact that the color didn't start until under the tabs. Definitely seeing the blending though. It's only noticeable if you pick a light color, harder to see if you use a dark color. Try putting a field next to the tab control and setting both the backgrounds to Alice Blue, I think you'll see what I mean. Maybe "blending" isn't the right word. What I mean is that the chosen color appears darker than it should, presumably because it's somehow mixed in with the the normal grey background of the tab. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Sep 14, 2014 at 10:05 PM, J. Landman Gay wrote: > On 9/13/2014, 1:15 PM, Peter Haworth wrote: > >> It seems that if you set the background color of a tab control, it is >> somehow blended with the standard grey background (this is on OSX). >> >> Is there a way round this without having to design my own tab control? >> > > I'm not seeing any blending, but the fill color doesn't start until just > under the tabs. That is, the whole rectangle isn't filled, only the lower > part. > > I don't think there's a way around that. It used to be that the whole > thing was filled right to the corners, which weren't rounded, so the fill > color made little corners above the round-rect borders at the top right and > top left of the button. I guess the fix was to fill only the area below the > tabs. I hadn't looked at it in a long time, ever since I decided that you > couldn't sucessfully color tab buttons. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Sep 15 12:43:47 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 15 Sep 2014 09:43:47 -0700 Subject: Tab control background color In-Reply-To: <785D558B-E237-42AA-9924-5C0E5F0E09B3@btinternet.com> References: <5416738B.3090406@hyperactivesw.com> <785D558B-E237-42AA-9924-5C0E5F0E09B3@btinternet.com> Message-ID: Yeah, noticed that too. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Sep 14, 2014 at 11:26 PM, Terence Heaford wrote: > OSX LiveCoders are still awaiting emulated/otherwise tabs that look like > proper OSX Tabs. > > Selected tabs should have white text on dark grey NOT black text an dark > grey. > > This has been reported but to date ignored? > > All the best > > Terry > > > > On 15 Sep 2014, at 06:05, J. Landman Gay wrote: > > > I'm not seeing any blending, but the fill color doesn't start until just > under the tabs. That is, the whole rectangle isn't filled, only the lower > part. > > > > I don't think there's a way around that. It used to be that the whole > thing was filled right to the corners, which weren't rounded, so the fill > color made little corners above the round-rect borders at the top right and > top left of the button. I guess the fix was to fill only the area below the > tabs. I hadn't looked at it in a long time, ever since I decided that you > couldn't sucessfully color tab buttons. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Sep 15 12:45:38 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Sep 2014 11:45:38 -0500 Subject: need some RGB bug tester In-Reply-To: <87CFB32A-23E8-4E78-BEFB-EE6BF6C1C331@m-r-d.de> References: <003001cfd0c0$79590890$6c0b19b0$@de> <87CFB32A-23E8-4E78-BEFB-EE6BF6C1C331@m-r-d.de> Message-ID: <7b91a6ac-1a14-4850-a02a-6e4525a78b5c@email.android.com> This is due to the different screen gamma settings on Mac. It affects the appearance but doesn't change the actual bitmap data. The screen gamma can be set by the. user, and the default setting on Mac is different from the default on Windows. I had thought it was the gamma setting that was causing the problem but now I think Bernd is right and byteToChar is the answer. On September 15, 2014 6:29:17 AM CDT, Matthias Rebbe | M-R-D wrote: >If i use the loupe of the Color selection dialog on Mac and select the >image in Browser i can see values similar to the ones you can see on >Windows. Doing the same with the LC image i can see values similar to >the ones LC is reporting back. >So LC is seems to "change" the image in some way on Mac OS X -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From toolbook at kestner.de Mon Sep 15 13:01:42 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Sep 2014 19:01:42 +0200 Subject: AW: need some RGB bug tester In-Reply-To: <7b91a6ac-1a14-4850-a02a-6e4525a78b5c@email.android.com> References: <003001cfd0c0$79590890$6c0b19b0$@de> <87CFB32A-23E8-4E78-BEFB-EE6BF6C1C331@m-r-d.de> <7b91a6ac-1a14-4850-a02a-6e4525a78b5c@email.android.com> Message-ID: <008501cfd106$ba7c48f0$2f74dad0$@de> The screengamma does only affect PNGs, but my issue appears the same with JPGs and setting the screengamma depending on the platform didn't changed my results. Bernd and Dave got the same results with LC 7 and byteToNum as me on LC 6.5.5 and charToNum. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von J. Landman Gay > Gesendet: Montag, 15. September 2014 18:46 > An: How to use LiveCode > Betreff: Re: need some RGB bug tester > > This is due to the different screen gamma settings on Mac. It affects the > appearance but doesn't change the actual bitmap data. The screen gamma can be > set by the. user, and the default setting on Mac is different from the default > on Windows. > > I had thought it was the gamma setting that was causing the problem but now I > think Bernd is right and byteToChar is the answer. > > On September 15, 2014 6:29:17 AM CDT, Matthias Rebbe | M-R-D > wrote: > > >If i use the loupe of the Color selection dialog on Mac and select the > >image in Browser i can see values similar to the ones you can see on > >Windows. Doing the same with the LC image i can see values similar to > >the ones LC is reporting back. > >So LC is seems to "change" the image in some way on Mac OS X > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Sep 15 13:03:10 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 15 Sep 2014 10:03:10 -0700 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> Message-ID: On Mon, Sep 15, 2014 at 5:21 AM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > I have uploaded the file in case some one is interested in it. > > https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 > Thanks for this Matthias. How do I install the file into UltraEdit on OSX? Is it a Theme? The UE Help for themes shows a menu structure that is totally different than what I see on my Mac. Thanks Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From larry at significantplanet.org Mon Sep 15 13:07:27 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 15 Sep 2014 11:07:27 -0600 Subject: browser app? Message-ID: <54B4BBF488604B8FA52F6B099F06EFEA@userd204a4d61c> Hello, I came across this article: http://newsletters.livecode.com/february/issue149/newsletter4.php It describes a browser app for mobile phones. Does anyone know if the app could be adapted for a Windows desktop environment? Thanks for the help! Larry From ambassador at fourthworld.com Mon Sep 15 13:30:47 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 15 Sep 2014 10:30:47 -0700 Subject: browser app? In-Reply-To: <54B4BBF488604B8FA52F6B099F06EFEA@userd204a4d61c> References: <54B4BBF488604B8FA52F6B099F06EFEA@userd204a4d61c> Message-ID: <54172247.1000907@fourthworld.com> Larry wrote: > I came across this article: > http://newsletters.livecode.com/february/issue149/newsletter4.php > > It describes a browser app for mobile phones. > Does anyone know if the app could be adapted for a Windows desktop > environment? That article describes the revBrowser control for mobile. The desktop version has been available longer (for Mac and Win), and the LiveCode IDE install includes a demo showing how to use it: Click "Resources" in the toolbar, then in the Resource Center window click Tutorials -> Internet -> Browser Sampler -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From matthias_livecode_150811 at m-r-d.de Mon Sep 15 13:31:55 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 15 Sep 2014 19:31:55 +0200 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> Message-ID: <0D459124-9DB6-4C71-A507-9D575523F2C9@m-r-d.de> Hi Peter, go to ~/Library/Application Support/UltraEdit and copy the file into the folder "wordfiles". Btw.: i just uploaded an updated version of the file. Regards, Matthias Am 15.09.2014 um 19:03 schrieb Peter Haworth : > On Mon, Sep 15, 2014 at 5:21 AM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > >> I have uploaded the file in case some one is interested in it. >> >> https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 >> > > Thanks for this Matthias. How do I install the file into UltraEdit on OSX? > Is it a Theme? The UE Help for themes shows a menu structure that is > totally different than what I see on my Mac. > > Thanks > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Mon Sep 15 13:35:49 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Mon, 15 Sep 2014 19:35:49 +0200 Subject: need some RGB bug tester In-Reply-To: <7b91a6ac-1a14-4850-a02a-6e4525a78b5c@email.android.com> References: <003001cfd0c0$79590890$6c0b19b0$@de> <87CFB32A-23E8-4E78-BEFB-EE6BF6C1C331@m-r-d.de> <7b91a6ac-1a14-4850-a02a-6e4525a78b5c@email.android.com> Message-ID: I tested only on Mac and can see a difference when opening the image in Safari on Mac and in LC on Mac. The image in LC is definitely a little bit darker than the one in Safari on Mac. And the loupe tool of the color select dialog on mac shows different values when selecting the color of the image in the browser and in LC. Matthias Am 15.09.2014 um 18:45 schrieb J. Landman Gay : > This is due to the different screen gamma settings on Mac. It affects the appearance but doesn't change the actual bitmap data. The screen gamma can be set by the. user, and the default setting on Mac is different from the default on Windows. > > I had thought it was the gamma setting that was causing the problem but now I think Bernd is right and byteToChar is the answer. > > On September 15, 2014 6:29:17 AM CDT, Matthias Rebbe | M-R-D wrote: > >> If i use the loupe of the Color selection dialog on Mac and select the >> image in Browser i can see values similar to the ones you can see on >> Windows. Doing the same with the LC image i can see values similar to >> the ones LC is reporting back. >> So LC is seems to "change" the image in some way on Mac OS X > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Sep 15 13:38:11 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Sep 2014 12:38:11 -0500 Subject: [OT-ish] funny search result In-Reply-To: References: Message-ID: <55f27d89-33fd-472a-b9f1-45b402904b65@email.android.com> That's funny. The same thing happened to me recently. I found the answer to my question in the list archives and I'd written it. Apparently once something is written down our brain discards it. On September 15, 2014 9:03:15 AM CDT, Colin Holgate wrote: >I was searching for something LiveCode related, and as can happen >sometimes I was taken to a page which had an excerpt from a book. I did >a local Find on that page and couldn?t find the thing I was searching >for. I had a momentary thought about ?wouldn?t it be nice to see more >from this book?, then I noticed it was MY book! >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Sep 15 13:41:08 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Sep 2014 12:41:08 -0500 Subject: Tab control background color In-Reply-To: References: <5416738B.3090406@hyperactivesw.com> Message-ID: I see. So my original conclusion stands - - you can't color a tab button. :( On September 15, 2014 11:42:01 AM CDT, Peter Haworth wrote: >Hi Jacque, >I missed the fact that the color didn't start until under the tabs. > >Definitely seeing the blending though. It's only noticeable if you >pick a >light color, harder to see if you use a dark color. Try putting a >field >next to the tab control and setting both the backgrounds to Alice Blue, >I >think you'll see what I mean. > >Maybe "blending" isn't the right word. What I mean is that the chosen >color appears darker than it should, presumably because it's somehow >mixed >in with the the normal grey background of the tab. > >Pete >lcSQL Software >Home of lcStackBrowser and >SQLiteAdmin > >On Sun, Sep 14, 2014 at 10:05 PM, J. Landman Gay > >wrote: > >> On 9/13/2014, 1:15 PM, Peter Haworth wrote: >> >>> It seems that if you set the background color of a tab control, it >is >>> somehow blended with the standard grey background (this is on OSX). >>> >>> Is there a way round this without having to design my own tab >control? >>> >> >> I'm not seeing any blending, but the fill color doesn't start until >just >> under the tabs. That is, the whole rectangle isn't filled, only the >lower >> part. >> >> I don't think there's a way around that. It used to be that the whole >> thing was filled right to the corners, which weren't rounded, so the >fill >> color made little corners above the round-rect borders at the top >right and >> top left of the button. I guess the fix was to fill only the area >below the >> tabs. I hadn't looked at it in a long time, ever since I decided that >you >> couldn't sucessfully color tab buttons. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From larry at significantplanet.org Mon Sep 15 14:21:02 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 15 Sep 2014 12:21:02 -0600 Subject: browser app? References: <54B4BBF488604B8FA52F6B099F06EFEA@userd204a4d61c> <54172247.1000907@fourthworld.com> Message-ID: Thanks Richard!! ----- Original Message ----- From: "Richard Gaskin" To: Sent: Monday, September 15, 2014 11:30 AM Subject: Re: browser app? > Larry wrote: > > > I came across this article: > > http://newsletters.livecode.com/february/issue149/newsletter4.php > > > > It describes a browser app for mobile phones. > > Does anyone know if the app could be adapted for a Windows desktop > > environment? > > That article describes the revBrowser control for mobile. The desktop > version has been available longer (for Mac and Win), and the LiveCode IDE > install includes a demo showing how to use it: Click "Resources" in the > toolbar, then in the Resource Center window click Tutorials -> Internet -> > Browser Sampler > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Mon Sep 15 14:37:29 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 15 Sep 2014 19:37:29 +0100 Subject: need some RGB bug tester In-Reply-To: References: <003001cfd0c0$79590890$6c0b19b0$@de> <87CFB32A-23E8-4E78-BEFB-EE6BF6C1C331@m-r-d.de> <7b91a6ac-1a14-4850-a02a-6e4525a78b5c@email.android.com> Message-ID: Hi, I am not well up on colour but have dabbled with NSColor in Cocoa. There are numerous methods for creating an NSColor: Creating an NSColor Object from Component Values + colorWithCalibratedHue:saturation:brightness:alpha: + colorWithCalibratedRed:green:blue:alpha: + colorWithCalibratedWhite:alpha: + colorWithCatalogName:colorName: + colorWithDeviceCyan:magenta:yellow:black:alpha: + colorWithDeviceHue:saturation:brightness:alpha: + colorWithDeviceRed:green:blue:alpha: + colorWithDeviceWhite:alpha: + colorWithCIColor: + colorWithColorSpace:components:count: + colorWithSRGBRed:green:blue:alpha: + colorWithGenericGamma22White:alpha: + colorWithHue:saturation:brightness:alpha: + colorWithRed:green:blue:alpha: + colorWithWhite:alpha: Could it be that LiveCode is using the incorrect method of determining/obtaining the colour. If you wish to read up on NSColor follow this link: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSColor_Class/Reference/Reference.html All the best and good luck. Terry On 15 Sep 2014, at 18:35, Matthias Rebbe | M-R-D wrote: > I tested only on Mac and can see a difference when opening the image in Safari on Mac and in LC on Mac. The image in LC is definitely a little bit darker than the one in Safari on Mac. > > And the loupe tool of the color select dialog on mac shows different values when selecting the color of the image in the browser and in LC. > > Matthias > > Am 15.09.2014 um 18:45 schrieb J. Landman Gay : > >> This is due to the different screen gamma settings on Mac. It affects the appearance but doesn't change the actual bitmap data. The screen gamma can be set by the. user, and the default setting on Mac is different from the default on Windows. >> >> I had thought it was the gamma setting that was causing the problem but now I think Bernd is right and byteToChar is the answer. >> >> On September 15, 2014 6:29:17 AM CDT, Matthias Rebbe | M-R-D wrote: >> >>> If i use the loupe of the Color selection dialog on Mac and select the >>> image in Browser i can see values similar to the ones you can see on >>> Windows. Doing the same with the LC image i can see values similar to >>> the ones LC is reporting back. >>> So LC is seems to "change" the image in some way on Mac OS X >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Mon Sep 15 14:41:22 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 15 Sep 2014 19:41:22 +0100 Subject: need some RGB bug tester In-Reply-To: References: <003001cfd0c0$79590890$6c0b19b0$@de> <87CFB32A-23E8-4E78-BEFB-EE6BF6C1C331@m-r-d.de> <7b91a6ac-1a14-4850-a02a-6e4525a78b5c@email.android.com> Message-ID: <617B95A5-3EB8-43F2-B51C-97A45F68DC33@btinternet.com> Also you may wish to read this which also may help: Introduction to Color Programming Topics for Cocoa https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/DrawColor/DrawColor.html#//apple_ref/doc/uid/10000082i All the best Terry On 15 Sep 2014, at 19:37, Terence Heaford wrote: > Hi, > > I am not well up on colour but have dabbled with NSColor in Cocoa. > > There are numerous methods for creating an NSColor: > > Creating an NSColor Object from Component Values > + colorWithCalibratedHue:saturation:brightness:alpha: > + colorWithCalibratedRed:green:blue:alpha: > + colorWithCalibratedWhite:alpha: > + colorWithCatalogName:colorName: > + colorWithDeviceCyan:magenta:yellow:black:alpha: > + colorWithDeviceHue:saturation:brightness:alpha: > + colorWithDeviceRed:green:blue:alpha: > + colorWithDeviceWhite:alpha: > + colorWithCIColor: > + colorWithColorSpace:components:count: > + colorWithSRGBRed:green:blue:alpha: > + colorWithGenericGamma22White:alpha: > + colorWithHue:saturation:brightness:alpha: > + colorWithRed:green:blue:alpha: > + colorWithWhite:alpha: > > Could it be that LiveCode is using the incorrect method of determining/obtaining the colour. > > If you wish to read up on NSColor follow this link: > > https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSColor_Class/Reference/Reference.html > > All the best > > and good luck. > > Terry From jacque at hyperactivesw.com Mon Sep 15 15:18:34 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Sep 2014 14:18:34 -0500 Subject: Loading clips into a player In-Reply-To: <1C308E3B-BCE2-45BD-961D-FCCBA173CCE3@gmx.net> References: <1C308E3B-BCE2-45BD-961D-FCCBA173CCE3@gmx.net> Message-ID: <54173B8A.7050004@hyperactivesw.com> On 9/15/2014, 7:13 AM, Beat Cornaz wrote: > I want to have the clip inside a visible player. In that way I have > more control over how to play the clip. E.g. visibly nudging back a > bit, changing the play speed, seeing at what time the clip is so I > can mark it, etc. So I need to load the clip into a player, but not > from disc, but from inside my stack. There's no way to play an embedded video in a player object, but there is a way to work around it. Delete the imported videos from your stack and then load them into custom properties instead. You can store binary data in custom properties this way: set the cThisMovie of this stack to url ("binfile:" & path/to/file) When you are ready to play a video, write it to the temp folder. You can get a unique temporary file name using the tempName function. Then set the player filename to that: put tempname() into tFilePath put the cThisMovie of this stack into url ("binfile:" & tFilePath) set the filename of player 1 to tFilePath The temp folder content is deleted automatically by the OS during routine maintenance, but if you want to remove the file yourself immediately after playback you can: if there is a file tFilePath then delete file tFilePath -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Mon Sep 15 14:51:18 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 15 Sep 2014 11:51:18 -0700 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: <0D459124-9DB6-4C71-A507-9D575523F2C9@m-r-d.de> References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> <0D459124-9DB6-4C71-A507-9D575523F2C9@m-r-d.de> Message-ID: Nice, thanks Matthias. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Sep 15, 2014 at 10:31 AM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > Hi Peter, > > go to ~/Library/Application Support/UltraEdit > > and copy the file into the folder "wordfiles". > > Btw.: i just uploaded an updated version of the file. > > Regards, > > Matthias > > > Am 15.09.2014 um 19:03 schrieb Peter Haworth : > > > On Mon, Sep 15, 2014 at 5:21 AM, Matthias Rebbe | M-R-D < > > matthias_livecode_150811 at m-r-d.de> wrote: > > > >> I have uploaded the file in case some one is interested in it. > >> > >> https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 > >> > > > > Thanks for this Matthias. How do I install the file into UltraEdit on > OSX? > > Is it a Theme? The UE Help for themes shows a menu structure that is > > totally different than what I see on my Mac. > > > > Thanks > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From B.Cornaz at gmx.net Mon Sep 15 15:59:09 2014 From: B.Cornaz at gmx.net (Beat Cornaz) Date: Mon, 15 Sep 2014 21:59:09 +0200 Subject: Loading clips into a player Message-ID: Thanks for all suggestions. I'll go with solution which was offered by Francis. Nice link, Richmond. I've always been a fan of the Bonzo Dog Band and Vivian Stanshall, but I did't know this one. :-) Cheers , Beat From lan.kc.macmail at gmail.com Mon Sep 15 21:17:43 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 16 Sep 2014 09:17:43 +0800 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> Message-ID: As a matter of interest, how did you extract all the keywords grouped by their category? On Mon, Sep 15, 2014 at 8:21 PM, Matthias Rebbe | M-R-D wrote: > Hi, > > the last days i tried to create a syntax highlighting and autocomplete file for Ultraedit for Mac. > Maybe it is working under Windows, too. Did not had the time yet to try. > > I am pretty sure that the file is not 100% perfect, but at least i have added all commands, constants, keywords, properties and so on and > colorizing, auto indent and unindent are working. Code folding seems to work also. > > As i am working in LC editor with the custard yellow background, i adjusted the highlighting colors to correspond with that background color. > But it is very easy to adjust the colors for each type (property, keyword and so on.). You can do this directly in UltraEdit. > > I have uploaded the file in case some one is interested in it. > > https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 > > > Regards, > > Matthias > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Sep 15 21:26:23 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 15 Sep 2014 18:26:23 -0700 Subject: Loading clips into a player In-Reply-To: References: Message-ID: <201143723766.20140915182623@ahsoftware.net> Beat- Monday, September 15, 2014, 12:59:09 PM, you wrote: > Nice link, Richmond. I've always been a fan of the Bonzo Dog Band > and Vivian Stanshall, but I did't know this one. :-) There are some wonderful Viv Stanshall post-Bonzos clips on youtube, including, of course, the absolutely outrageous Rawlinson End series. An acquired taste, no doubt, but well worth the effort. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From matthias_livecode_150811 at m-r-d.de Tue Sep 16 02:26:54 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 16 Sep 2014 08:26:54 +0200 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> Message-ID: <2F9C92CE-4FF4-4B8D-BA60-E19EF59E5C33@m-r-d.de> Hi, i used Bjoernke?s BvG Docu Plugin. After opening it, i took care that all entries were displayed. Then i used the following script in the message box to get the desired type of words into the clipboard. for the type "property" for example put fld "list" of cd "docu" of stack "BVG docu 2" into tList filter tList with "*property" replace Tab&"property" with "" in tList put tList --just to get a visual result set the clipboarddata["text"] to tList I am pretty sure that there are better ways to do it, but for me it was the quickest. Regards, Matthias > As a matter of interest, how did you extract all the keywords grouped > by their category? > > On Mon, Sep 15, 2014 at 8:21 PM, Matthias Rebbe | M-R-D > wrote: >> Hi, >> >> the last days i tried to create a syntax highlighting and autocomplete file for Ultraedit for Mac. >> Maybe it is working under Windows, too. Did not had the time yet to try. >> >> I am pretty sure that the file is not 100% perfect, but at least i have added all commands, constants, keywords, properties and so on and >> colorizing, auto indent and unindent are working. Code folding seems to work also. >> >> As i am working in LC editor with the custard yellow background, i adjusted the highlighting colors to correspond with that background color. >> But it is very easy to adjust the colors for each type (property, keyword and so on.). You can do this directly in UltraEdit. >> >> I have uploaded the file in case some one is interested in it. >> >> https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 >> >> >> Regards, >> >> Matthias >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hello at simonsmith.co Tue Sep 16 02:38:50 2014 From: hello at simonsmith.co (Simon Smith) Date: Tue, 16 Sep 2014 08:38:50 +0200 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: <1410795202643-4683279.post@n4.nabble.com> References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> <1410795202643-4683279.post@n4.nabble.com> Message-ID: You can use SublimeText on the PC - the TextMate bundle from http://revigniter.com/accessory works perfectly. (With sublime text 3 drop the unzipped folder into the AppData\Local\Sublime Text 3\Cache\ - worked for me on Windows 8. I also renamed revIgniterTMbundles1.3 to livecode) On Mon, Sep 15, 2014 at 5:33 PM, Alejandro Tejada wrote: > Matthias Rebbe | M-R-D wrote > > The last days i tried to create a syntax highlighting and autocomplete > > file > > for Ultraedit for Mac. Maybe it is working under Windows, too. > > Did not had the time yet to try. > > > > I am pretty sure that the file is not 100% perfect, but at least > > i have added all commands, constants, keywords, properties > > and so on and colorizing, auto indent and unindent are working. > > Code folding seems to work also. > > > > As i am working in LC editor with the custard yellow background, > > i adjusted the highlighting colors to correspond with that background > > color. > > But it is very easy to adjust the colors for each type (property, keyword > > and so on.). > > You can do this directly in UltraEdit. > > > > I have uploaded the file in case some one is interested in it. > > https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 > > Really Nice! Many Thanks for sharing this configuration file. > I opened the file and noticed this: Colors = 4194432 > > This color notation is Hexadecimal, Octal or Binary? > > By the way, Did you know of a configuration file for > NotePad Plus? > > Thanks in advance! > > Al > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/LiveCode-syntaxhighligthing-and-autocomplete-for-Ultraedit-available-tp4683271p4683279.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 From capellan2000 at gmail.com Tue Sep 16 03:28:44 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 16 Sep 2014 00:28:44 -0700 (PDT) Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> <1410795202643-4683279.post@n4.nabble.com> Message-ID: <1410852524100-4683305.post@n4.nabble.com> Many Thanks. Should be included in Ken Ray's list: http://www.sonsothunder.com/devres/livecode/downloads/stsMLXEditor.htm#Plugins Al Simon Smith-2 wrote > You can use SublimeText on the PC - the TextMate bundle from > http://revigniter.com/accessory works perfectly. (With sublime text 3 drop > the unzipped folder into the AppData\Local\Sublime Text 3\Cache\ - worked > for me on Windows 8. I also renamed revIgniterTMbundles1.3 to livecode) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-syntaxhighligthing-and-autocomplete-for-Ultraedit-available-tp4683271p4683305.html Sent from the Revolution - User mailing list archive at Nabble.com. From skiplondon at gmail.com Tue Sep 16 05:29:23 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Tue, 16 Sep 2014 05:29:23 -0400 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> <1410795202643-4683279.post@n4.nabble.com> Message-ID: <97A0C7A0-71A8-4A66-9DA2-E739C3B609FA@gmail.com> Anybody create a solution for the iPad? Would love to continue to code when I don't have my laptop handy... SKIP > On Sep 16, 2014, at 2:38 AM, Simon Smith wrote: > > You can use SublimeText on the PC - the TextMate bundle from > http://revigniter.com/accessory works perfectly. (With sublime text 3 drop > the unzipped folder into the AppData\Local\Sublime Text 3\Cache\ - worked > for me on Windows 8. I also renamed revIgniterTMbundles1.3 to livecode) > > On Mon, Sep 15, 2014 at 5:33 PM, Alejandro Tejada > wrote: > >> Matthias Rebbe | M-R-D wrote >>> The last days i tried to create a syntax highlighting and autocomplete >>> file >>> for Ultraedit for Mac. Maybe it is working under Windows, too. >>> Did not had the time yet to try. >>> >>> I am pretty sure that the file is not 100% perfect, but at least >>> i have added all commands, constants, keywords, properties >>> and so on and colorizing, auto indent and unindent are working. >>> Code folding seems to work also. >>> >>> As i am working in LC editor with the custard yellow background, >>> i adjusted the highlighting colors to correspond with that background >>> color. >>> But it is very easy to adjust the colors for each type (property, keyword >>> and so on.). >>> You can do this directly in UltraEdit. >>> >>> I have uploaded the file in case some one is interested in it. >>> https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 >> >> Really Nice! Many Thanks for sharing this configuration file. >> I opened the file and noticed this: Colors = 4194432 >> >> This color notation is Hexadecimal, Octal or Binary? >> >> By the way, Did you know of a configuration file for >> NotePad Plus? >> >> Thanks in advance! >> >> Al >> >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/LiveCode-syntaxhighligthing-and-autocomplete-for-Ultraedit-available-tp4683271p4683279.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > > *Simon Smith* > *seo, online marketing, web development* > > w. http://www.simonsmith.co > m. +27 83 306 7862 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Sep 16 05:53:16 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 16 Sep 2014 11:53:16 +0200 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: <97A0C7A0-71A8-4A66-9DA2-E739C3B609FA@gmail.com> References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> <1410795202643-4683279.post@n4.nabble.com> <97A0C7A0-71A8-4A66-9DA2-E739C3B609FA@gmail.com> Message-ID: <45615320-52A9-45B5-BCE0-FFA434EB7C36@m-r-d.de> Hi, for iPad there is an Editor called Textastic, which uses TextMate bundles for syntax highlighting. https://itunes.apple.com/en/app/textastic-code-editor-fur/id383577124?mt=8 http://www.textasticapp.com/v5/manual/lessons/How_can_I_add_my_own_syntax_definitions__themes_and_templates.html Regards, Matthias Am 16.09.2014 um 11:29 schrieb Skip Kimpel : > Anybody create a solution for the iPad? Would love to continue to code when I don't have my laptop handy... > > SKIP > >> On Sep 16, 2014, at 2:38 AM, Simon Smith wrote: >> >> You can use SublimeText on the PC - the TextMate bundle from >> http://revigniter.com/accessory works perfectly. (With sublime text 3 drop >> the unzipped folder into the AppData\Local\Sublime Text 3\Cache\ - worked >> for me on Windows 8. I also renamed revIgniterTMbundles1.3 to livecode) >> >> On Mon, Sep 15, 2014 at 5:33 PM, Alejandro Tejada >> wrote: >> >>> Matthias Rebbe | M-R-D wrote >>>> The last days i tried to create a syntax highlighting and autocomplete >>>> file >>>> for Ultraedit for Mac. Maybe it is working under Windows, too. >>>> Did not had the time yet to try. >>>> >>>> I am pretty sure that the file is not 100% perfect, but at least >>>> i have added all commands, constants, keywords, properties >>>> and so on and colorizing, auto indent and unindent are working. >>>> Code folding seems to work also. >>>> >>>> As i am working in LC editor with the custard yellow background, >>>> i adjusted the highlighting colors to correspond with that background >>>> color. >>>> But it is very easy to adjust the colors for each type (property, keyword >>>> and so on.). >>>> You can do this directly in UltraEdit. >>>> >>>> I have uploaded the file in case some one is interested in it. >>>> https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 >>> >>> Really Nice! Many Thanks for sharing this configuration file. >>> I opened the file and noticed this: Colors = 4194432 >>> >>> This color notation is Hexadecimal, Octal or Binary? >>> >>> By the way, Did you know of a configuration file for >>> NotePad Plus? >>> >>> Thanks in advance! >>> >>> Al >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://runtime-revolution.278305.n4.nabble.com/LiveCode-syntaxhighligthing-and-autocomplete-for-Ultraedit-available-tp4683271p4683279.html >>> Sent from the Revolution - User mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> -- >> >> *Simon Smith* >> *seo, online marketing, web development* >> >> w. http://www.simonsmith.co >> m. +27 83 306 7862 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From frans at knowlegistics.com Tue Sep 16 06:58:30 2014 From: frans at knowlegistics.com (Frans Schoffelen) Date: Tue, 16 Sep 2014 12:58:30 +0200 Subject: LC 7.1 rc1 : anti-aliasing not sticking on Mac OS X version... In-Reply-To: References: Message-ID: Hi , We are working on a stack that has a lot of small vector graphics in it. It is only a 7 card stack so nothing big. At a certain point we set the Scale of the stack to 2 to be able to better work on details and saw that NONE of the little grc ovals were anti-aliased. So we wrote a small script to set the property to true, saved the stack and thought we?d be done. But alas every time we reopen the stack ( started in Livecode 7 Rc1 and only opened in same version) the anti-aliasing is gone. Also in the property inspectors.. The anti-Alisasing DOES work in the simulator which is a bit frustrating because if we open the stack in the MAC version the property palettes all show it turned of. We built a small Test-Stack with a set of grc ovals , set them to anti-aliased, and behold : there it works. Comes back as saved. We haven?t actively used profiles so we are really wondering what the difference between the two stacks could be. Has anyone encountered this problem? Would be a bit of a drag to have to rebuild. Regards Frans Schoffelen Knowlegistics.com From mark.rauterkus at gmail.com Tue Sep 16 09:09:30 2014 From: mark.rauterkus at gmail.com (Mark Rauterkus) Date: Tue, 16 Sep 2014 09:09:30 -0400 Subject: Looking for open source LiveCode app(s) for a friend doing MEDITATION Message-ID: Hi, A local friend in Pittsburgh, PA, wants an app for meditation. Rather than re-invent the wheel, I was wondering if anyone has anything they've already done and would be willing to share? His biz plan concepts, raw startup, are with a focus on the local city / region. Hope to hear from you if you want to play together, either on the list or directly. Peace! Mark Rauterkus Mark.Rauterkus at gmail.com PPS Summer Dreamers' Swim and Water Polo Camp Head Coach Pittsburgh Combined Water Polo Team http://Rauterkus.blogspot.com http://FixPA.wikia.com http://CLOH.wikia.com 412 298 3432 = cell From m.schonewille at economy-x-talk.com Tue Sep 16 09:16:57 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 16 Sep 2014 15:16:57 +0200 Subject: Looking for open source LiveCode app(s) for a friend doing MEDITATION In-Reply-To: References: Message-ID: <54183849.80303@economy-x-talk.com> Hi Mark, You might want to write a little more about the requirements of the app. E.g. should it play meditative music from local musicians? Should it provide information about local toko's? What about health monitoring? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/16/2014 15:09, Mark Rauterkus wrote: > Hi, > > A local friend in Pittsburgh, PA, wants an app for meditation. Rather than > re-invent the wheel, I was wondering if anyone has anything they've already > done and would be willing to share? > > His biz plan concepts, raw startup, are with a focus on the local city / > region. > > Hope to hear from you if you want to play together, either on the list or > directly. > > Peace! > From bodine at bodinetraininggames.com Tue Sep 16 15:46:25 2014 From: bodine at bodinetraininggames.com (tbodine) Date: Tue, 16 Sep 2014 12:46:25 -0700 (PDT) Subject: AW: OS X codesigning best practise? In-Reply-To: <002701cfd0ad$5e57b680$1b072380$@de> References: <009e01cfcd13$3fb171a0$bf1454e0$@de> <005f01cfcdb3$b0f91e30$12eb5a90$@de> <139F4732-5025-46DD-A1EE-EAE96D9680F4@m-r-d.de> <008e01cfcdd6$bad15490$3073fdb0$@de> <7D5B4890-0BBD-4D2B-8AC0-B51A98874AEE@m-r-d.de> <002701cfd0ad$5e57b680$1b072380$@de> Message-ID: <1410896785795-4683311.post@n4.nabble.com> >From Apple Developer news email received Sept. 16, 2014: Beginning November 1, 2014, apps submitted to the Mac App Store must be signed with signatures created with OS X Mavericks 10.9 or later (v2 signatures). Apps without v2 signatures will be automatically rejected on upload. If you build code with an older version of OS X, use OS X Mavericks 10.9 or later to sign your app and create v2 signatures using the codesign tool. Structure your bundle according to the signature evaluation requirements for OS X Mavericks 10.9 or later. Considerations include: * Signed code should only be placed in directories where the system expects to find signed code. * Resources should not be located in directories where the system expects to find signed code. * The --resource-rules flag and ResourceRules.plist are not supported. Make sure your current and upcoming releases work properly by testing on OS X Mavericks 10.9.5 and OS X Yosemite 10.10 Developer Preview 5 or later. Apps signed with v2 signatures will work on older versions of OS X. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-OS-X-codesigning-best-practise-tp4683096p4683311.html Sent from the Revolution - User mailing list archive at Nabble.com. From songe at agate.plala.or.jp Tue Sep 16 16:25:18 2014 From: songe at agate.plala.or.jp (Jonathan Scott) Date: Wed, 17 Sep 2014 05:25:18 +0900 Subject: PDF Files - Is there a way to read them in LiveCode? Message-ID: <65007D2A-9066-4EB1-855B-E6771EDE3956@agate.plala.or.jp> Hi, I have some PDF files that I'd like to create a search stack for. I looked on the net and found a way to display them in LiveCode, but is there actually a way to read the OCR text that's in each file? If not, there should be. Thanks in advance. From capellan2000 at gmail.com Tue Sep 16 16:49:11 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 16 Sep 2014 13:49:11 -0700 (PDT) Subject: Missing dragData["image"] Message-ID: <1410900551947-4683313.post@n4.nabble.com> Hi All, Chilton Webb posted a question on Facebook: "Hi, I'm trying to drag an image off a webpage into a livecode object. Currently, I'm using dragdata["image"], and it returns empty. Other options return the url the image points to, but none of them return a url to the image itself. In a Cocoa app, I can confirm that there is image data there, in the drop event, the form of NSTIFFPboardType. How do I get at that data, from inside LiveCode? Is it likely to also fail in the same way, on Windows?" After some tests, the problem appear to be that Livecode does not recognize the dragData of an image. When did LiveCode's dragData recognize the dropped data as image? To test this, paste this script in a field and 1) drag an image from a webpage... 2) drag an image from a folder... on dragDrop put the keys of the dragdata -- look at the message box if the dragData["text"] is not empty then put the dragdata["text"] into tVar if char -4 to -1 of tVar is among the items of ".jpg,.png,.gif" then create img set the filename of it to tVar end if end if pass dragDrop end dragDrop a) Dragging an image from a webpage, Livecode dragData results are: Unicode, Text b) Dragging a JPG image from the Pictures folder results are: Files, Text When did LiveCode dragData recognize the dropped data as image? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Tue Sep 16 18:09:36 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 16 Sep 2014 15:09:36 -0700 (PDT) Subject: Missing dragData["image"] In-Reply-To: <1410900551947-4683313.post@n4.nabble.com> References: <1410900551947-4683313.post@n4.nabble.com> Message-ID: <1410905376335-4683314.post@n4.nabble.com> The missing dragData["image"] looks like a bug, because in 2007 it worked fine. Read this post by Ken Ray in this thread: http://runtime-revolution.278305.n4.nabble.com/re-trying-to-get-image-functionality-as-in-RB-td315321.html -------------------------------------------------- Wayne Durden asked: Is there a way to get an image from a browser into an image on a card by drag an drop? Ken Ray answer: Sure... here's a way, assuming you already have an image object on the card and you're dropping onto it (this is the script of the image object): on dragEnter set the acceptDrop to true pass dragEnter end dragEnter on dragDrop if the dragData["image"] is not empty then put the dragData["image"] into me else beep end if end dragDrop For more info on D-n-D, see this tip: http://www.sonsothunder.com/devres/revolution/tips/mous002.htm ------------------------------------------------ -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683314.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Tue Sep 16 18:16:42 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 16 Sep 2014 15:16:42 -0700 (PDT) Subject: PDF Files - Is there a way to read them in LiveCode? In-Reply-To: <65007D2A-9066-4EB1-855B-E6771EDE3956@agate.plala.or.jp> References: <65007D2A-9066-4EB1-855B-E6771EDE3956@agate.plala.or.jp> Message-ID: <1410905802754-4683315.post@n4.nabble.com> Read the OCR text? Do you mean copy the text of each PDF in a LiveCode text field? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/PDF-Files-Is-there-a-way-to-read-them-in-LiveCode-tp4683312p4683315.html Sent from the Revolution - User mailing list archive at Nabble.com. From ray at linkit.com Tue Sep 16 19:18:26 2014 From: ray at linkit.com (Ray) Date: Tue, 16 Sep 2014 20:18:26 -0300 Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: <1410900551947-4683313.post@n4.nabble.com> References: <1410900551947-4683313.post@n4.nabble.com> Message-ID: <5418C542.7060905@LinkIt.Com> Greetings, I've got an image of a beach ball, about 100 pixels in both width and height. If I use a repeat loop to cycle through setting the angle of the image from a value of 360 down to 0 it spins, as intended, but it also 'pulses' toward me and away from me, twelve times I believe for each 360 degrees. It seems like for the first 15 degrees of change the image gets smaller. Then for the next 15 degrees it gets bigger again and repeats this. There's no change in the bounding rectangle. Does anybody know the math formula or any other way to compensate for this so I can eliminate the unwanted pulsing? Many thanks! Ray Horsley LinkIt! Software From capellan2000 at gmail.com Tue Sep 16 19:50:00 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 16 Sep 2014 16:50:00 -0700 (PDT) Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: <5418C542.7060905@LinkIt.Com> References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> Message-ID: <1410911400566-4683317.post@n4.nabble.com> Hi Ray, Set the angle of your image only to these values: 0 90 180 270 This worked fine with a rotating Soccer Ball... :) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683317.html Sent from the Revolution - User mailing list archive at Nabble.com. From ray at linkit.com Tue Sep 16 19:55:25 2014 From: ray at linkit.com (Ray) Date: Tue, 16 Sep 2014 20:55:25 -0300 Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: <1410911400566-4683317.post@n4.nabble.com> References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> Message-ID: <5418CDED.5090808@LinkIt.Com> Al, Thanks, but I was kind of hoping to get a more realistic spinning ball by using a larger variety of angles. Are you sure there's no other way around this? And by the way, why do you think the ball is shrinking and growing inside the bounding rectangle? Thanks, Ray On 9/16/2014 8:50 PM, Alejandro Tejada wrote: > Hi Ray, > > Set the angle of your image only to these values: > > 0 > 90 > 180 > 270 > > This worked fine with a rotating Soccer Ball... :) > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683317.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From iowahengst at mac.com Tue Sep 16 20:16:23 2014 From: iowahengst at mac.com (Randy Hengst) Date: Tue, 16 Sep 2014 19:16:23 -0500 Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: <5418CDED.5090808@LinkIt.Com> References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> <5418CDED.5090808@LinkIt.Com> Message-ID: I don't know how to totally get rid of the wobble ? it seems like there is always a bit one one? but I've seen the pulsing effect when rotating an image with lockLoc set to true. On Sep 16, 2014, at 6:55 PM, Ray wrote: > Al, > > Thanks, but I was kind of hoping to get a more realistic spinning ball by using a larger variety of angles. Are you sure there's no other way around this? > > And by the way, why do you think the ball is shrinking and growing inside the bounding rectangle? > > Thanks, > > Ray > > On 9/16/2014 8:50 PM, Alejandro Tejada wrote: >> Hi Ray, >> >> Set the angle of your image only to these values: >> >> 0 >> 90 >> 180 >> 270 >> >> This worked fine with a rotating Soccer Ball... :) >> >> Al >> >> >> >> -- >> View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683317.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Tue Sep 16 20:44:03 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 17 Sep 2014 00:44:03 +0000 Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> <5418CDED.5090808@LinkIt.Com> Message-ID: I think if you set the lockLoc of the image to false it should behave as expected. Otherwise you could create a series of images and iteratively set the icon of a button to animate it. Terry... On 17/09/2014 10:16 am, "Randy Hengst" wrote: >I don't know how to totally get rid of the wobble ? it seems like there >is always a bit one one? but I've seen the pulsing effect when rotating >an image with lockLoc set to true. > >On Sep 16, 2014, at 6:55 PM, Ray wrote: > >> Al, >> >> Thanks, but I was kind of hoping to get a more realistic spinning ball >>by using a larger variety of angles. Are you sure there's no other way >>around this? >> >> And by the way, why do you think the ball is shrinking and growing >>inside the bounding rectangle? >> >> Thanks, >> >> Ray >> >> On 9/16/2014 8:50 PM, Alejandro Tejada wrote: >>> Hi Ray, >>> >>> Set the angle of your image only to these values: >>> >>> 0 >>> 90 >>> 180 >>> 270 >>> >>> This worked fine with a rotating Soccer Ball... :) >>> >>> Al >>> >>> >>> >>> -- >>> View this message in context: >>>http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp >>>4683313p4683317.html >>> Sent from the Revolution - User mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>>subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Tue Sep 16 20:49:48 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 16 Sep 2014 17:49:48 -0700 (PDT) Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> <5418CDED.5090808@LinkIt.Com> Message-ID: <1410914988126-4683321.post@n4.nabble.com> Randy Hengst wrote > I don't know how to totally get rid of the wobble ? > it seems like there is always a bit one one? > but I've seen the pulsing effect when > rotating an image with lockLoc set to true. Yes, lockLoc produces this effect in a rotating image. :( Check if this handler posted by Jim Hurley could help in your project: On Jan 08, 2012, jim hurley posted The script below will allow you to rotate an image about any predefined point. Create a button. Create an image. Place the button at any point relative to the image. (Perhaps use a grab me in a mousedown handler.) Click the button. The image will rotate about the center of the button. (For your application you would replace the center of rotation with the center of mass.) on mouseUp set the angle of img 1 to 0 put the loc of me into myLoc --Set the coor of the rotation Pt put item 1 of myLoc into x0 put item 2 of myLoc into y0 --Get the loc of the image put the loc of img 1 into tLoc put item 1 of tLoc into xC put item 2 of tLoc into yC --Get the distance between the roation pt and the image center put sqrt ( (xC - x0 )^2 + (yC - y0)^2 ) into L --Get the angle of the line from the rotation center to the image center put atan2(yC-y0, xC-x0) *180/pi into phi0 put 0 into tAngle repeat 360 times lock screen set the angle of img 1 to -tAngle put phi0 + tAngle into phi set the loc of img 1 to (x0 + L * cos(phi*pi/180)), (y0 + L * sin(phi*pi/180)) unlock screen add 1 to tAngle wait 10 millisec --or whatever end repeat end mouseUp on mouseDown grab me --So that you can relocate the rotation center. end mouseDown >From this thread: http://runtime-revolution.278305.n4.nabble.com/Rotate-around-Center-of-Mass-td4273701.html -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683321.html Sent from the Revolution - User mailing list archive at Nabble.com. From fzcharles0214 at hotmail.com Tue Sep 16 21:27:54 2014 From: fzcharles0214 at hotmail.com (Frantz Charles) Date: Tue, 16 Sep 2014 21:27:54 -0400 Subject: accessing database table on iPad Message-ID: To all, I need your expertise help to solve this issue I encounter in the app I am creating. Here is the problem:I create a SQLite database with 2 tables containing data. The database is saved in the same folder than the app. I can access with ease the database and read the records from my desktop. But when I test the app with the emulator or with my iPad, even though a database id is returned - proof that the database is open - I got the following error: revdberr, Database Error: No such table Histoire" . Here are my codes.Here are the codes to open the database:# Open the databaseput "/users/frantzcharles/Documents/All About LiveCode/Cric-Crac/CricCracDB.sqlite" into thePathput "/CricCracDB.sqlite" into theMobilePathif the environment = "mobile" then if there is not a file (specialFolderPath("Documents") & theMobilePath) then put (specialFolderPath("engine") & theMobilePath) into sPath put url ("binfile:" & sPath) into dPath put dPath into url ("binfile:" & (specialFolderPath("Documents") & theMobilePath)) end if put (specialFolderPath("Documents") & "/CricCracDB.sqlite") into tDBPath put revOpenDatabase("sqlite", tDBPath ,,,,,,) into tConIDelse ## this is not mobile put revOpenDatabase("sqlite", thePath ,,,,,,) into tConIDend ifHere are the codes to access the tableput "Select Hist_Question from Histoire where Hist_Id = " & tNextQ into tSQL put revdb_querylist(,,g_ConID, tSQL) into tList I am missing something. Which I can not put my finger on. Can any of you help me? Thanks a lot Frantz From ray at linkit.com Tue Sep 16 21:40:06 2014 From: ray at linkit.com (Ray) Date: Tue, 16 Sep 2014 22:40:06 -0300 Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: <1410914988126-4683321.post@n4.nabble.com> References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> <5418CDED.5090808@LinkIt.Com> <1410914988126-4683321.post@n4.nabble.com> Message-ID: <5418E676.7030309@LinkIt.Com> Fantastic! Setting LockLoc to false did the trick. I wonder why lockLoc set to false creates this pulsing effect (the image is actually getting smaller and returning to its original size) in the first place. Anyway, problem solved. And Alejandro, many thanks for sharing the code which I think I may have some use for in another way. Many thanks! Ray Horsley LinkIt! Software On 9/16/2014 9:49 PM, Alejandro Tejada wrote: > Randy Hengst wrote >> I don't know how to totally get rid of the wobble ? >> it seems like there is always a bit one one? >> but I've seen the pulsing effect when >> rotating an image with lockLoc set to true. > Yes, lockLoc produces this effect in > a rotating image. :( > > Check if this handler posted by Jim Hurley > could help in your project: > > On Jan 08, 2012, jim hurley posted > The script below will allow you to rotate an image about any predefined > point. > > Create a button. > Create an image. > Place the button at any point relative to the image. (Perhaps use a grab me > in a mousedown handler.) > Click the button. > The image will rotate about the center of the button. > (For your application you would replace the center of rotation with the > center of mass.) > > > on mouseUp > set the angle of img 1 to 0 > put the loc of me into myLoc > > --Set the coor of the rotation Pt > put item 1 of myLoc into x0 > put item 2 of myLoc into y0 > > --Get the loc of the image > put the loc of img 1 into tLoc > put item 1 of tLoc into xC > put item 2 of tLoc into yC > > --Get the distance between the roation pt and the image center > put sqrt ( (xC - x0 )^2 + (yC - y0)^2 ) into L > > --Get the angle of the line from the rotation center to the image center > put atan2(yC-y0, xC-x0) *180/pi into phi0 > > put 0 into tAngle > > repeat 360 times > lock screen > set the angle of img 1 to -tAngle > put phi0 + tAngle into phi > set the loc of img 1 to (x0 + L * cos(phi*pi/180)), (y0 + L * > sin(phi*pi/180)) > unlock screen > > add 1 to tAngle > wait 10 millisec --or whatever > end repeat > end mouseUp > > on mouseDown > grab me --So that you can relocate the rotation center. > end mouseDown > > From this thread: > http://runtime-revolution.278305.n4.nabble.com/Rotate-around-Center-of-Mass-td4273701.html > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683321.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From terry.judd at unimelb.edu.au Tue Sep 16 21:58:04 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 17 Sep 2014 01:58:04 +0000 Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: <5418E676.7030309@LinkIt.Com> References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> <5418CDED.5090808@LinkIt.Com> <1410914988126-4683321.post@n4.nabble.com> <5418E676.7030309@LinkIt.Com> Message-ID: On 17/09/2014 11:40 am, "Ray" wrote: >Fantastic! Setting LockLoc to false did the trick. I wonder why >lockLoc set to false creates this pulsing effect (the image is actually >getting smaller and returning to its original size) in the first place. With the image selected, try setting different angles using the property inspector and you?ll see that the rect of the image changes (grows) quite a bit. If you constrain the rect by setting its lockLoc to true then you are actually reducing the image?s size when the angle isn?t 0 or 180 degrees (or 90 or 270 if it?s of equal width and height). Terry? > >Anyway, problem solved. > >And Alejandro, many thanks for sharing the code which I think I may have >some use for in another way. > >Many thanks! > >Ray Horsley >LinkIt! Software > >On 9/16/2014 9:49 PM, Alejandro Tejada wrote: >> Randy Hengst wrote >>> I don't know how to totally get rid of the wobble ? >>> it seems like there is always a bit one one? >>> but I've seen the pulsing effect when >>> rotating an image with lockLoc set to true. >> Yes, lockLoc produces this effect in >> a rotating image. :( >> >> Check if this handler posted by Jim Hurley >> could help in your project: >> >> On Jan 08, 2012, jim hurley posted >> The script below will allow you to rotate an image about any predefined >> point. >> >> Create a button. >> Create an image. >> Place the button at any point relative to the image. (Perhaps use a >>grab me >> in a mousedown handler.) >> Click the button. >> The image will rotate about the center of the button. >> (For your application you would replace the center of rotation with the >> center of mass.) >> >> >> on mouseUp >> set the angle of img 1 to 0 >> put the loc of me into myLoc >> >> --Set the coor of the rotation Pt >> put item 1 of myLoc into x0 >> put item 2 of myLoc into y0 >> >> --Get the loc of the image >> put the loc of img 1 into tLoc >> put item 1 of tLoc into xC >> put item 2 of tLoc into yC >> >> --Get the distance between the roation pt and the image center >> put sqrt ( (xC - x0 )^2 + (yC - y0)^2 ) into L >> >> --Get the angle of the line from the rotation center to the image >>center >> put atan2(yC-y0, xC-x0) *180/pi into phi0 >> >> put 0 into tAngle >> >> repeat 360 times >> lock screen >> set the angle of img 1 to -tAngle >> put phi0 + tAngle into phi >> set the loc of img 1 to (x0 + L * cos(phi*pi/180)), (y0 + L * >> sin(phi*pi/180)) >> unlock screen >> >> add 1 to tAngle >> wait 10 millisec --or whatever >> end repeat >> end mouseUp >> >> on mouseDown >> grab me --So that you can relocate the rotation center. >> end mouseDown >> >> From this thread: >> >>http://runtime-revolution.278305.n4.nabble.com/Rotate-around-Center-of-Ma >>ss-td4273701.html >> >> >> >> >> -- >> View this message in context: >>http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4 >>683313p4683321.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Sep 16 22:20:18 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 16 Sep 2014 22:20:18 -0400 Subject: accessing database table on iPad In-Reply-To: References: Message-ID: <003e01cfd21d$ed0d7380$c7285a80$@net> Frantz, Let's see if we get to the bottom of this. First: If the db does not exist SQLite will create a blank one. This is the good news! You know that your DB code is working. You can always check if your "real" db is open by making sure one or more of your tables is returned by the revDatabaseTableNames(databaseID) function. Make sure you have the DB in the "copy files" pane of the standalone settings. If so the check "the result" after the file copy. Also this would be faster if the file is large. put url ("binfile:" & sPath) into url ("binfile:" & (specialFolderPath("Documents") & theMobilePath)) Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Frantz Charles Sent: Tuesday, September 16, 2014 9:28 PM To: use-livecode at lists.runrev.com Subject: accessing database table on iPad To all, I need your expertise help to solve this issue I encounter in the app I am creating. Here is the problem:I create a SQLite database with 2 tables containing data. The database is saved in the same folder than the app. I can access with ease the database and read the records from my desktop. But when I test the app with the emulator or with my iPad, even though a database id is returned - proof that the database is open - I got the following error: revdberr, Database Error: No such table Histoire" . Here are my codes.Here are the codes to open the database: # Open the database put "/users/frantzcharles/Documents/All About LiveCode/Cric-Crac/CricCracDB.sqlite" into thePath put "/CricCracDB.sqlite" into theMobilePath if the environment = "mobile" then if there is not a file (specialFolderPath("Documents") & theMobilePath) then put (specialFolderPath("engine") & theMobilePath) into sPath put url ("binfile:" & sPath) into dPath put dPath into url ("binfile:" & (specialFolderPath("Documents") & theMobilePath)) end if put (specialFolderPath("Documents") & "/CricCracDB.sqlite") into tDBPath put revOpenDatabase("sqlite", tDBPath ,,,,,,) into tConID else ## this is not mobile put revOpenDatabase("sqlite", thePath ,,,,,,) into tConID end if Here are the codes to access the table put "Select Hist_Question from Histoire where Hist_Id = " & tNextQ into tSQL put revdb_querylist(,,g_ConID, tSQL) into tList I am missing something. Which I can not put my finger on. Can any of you help me? Thanks a lot Frantz _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From skiplondon at gmail.com Tue Sep 16 22:32:48 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Tue, 16 Sep 2014 22:32:48 -0400 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: <45615320-52A9-45B5-BCE0-FFA434EB7C36@m-r-d.de> References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> <1410795202643-4683279.post@n4.nabble.com> <97A0C7A0-71A8-4A66-9DA2-E739C3B609FA@gmail.com> <45615320-52A9-45B5-BCE0-FFA434EB7C36@m-r-d.de> Message-ID: <04814754-8E85-44DF-9979-7677B075A02D@gmail.com> Thanks Matthias, In theory this shoul work... Does anybody actually have this successfully running on an iPad with Textastic? I get LiveCode to show up as an option in syntax definition but it is not doing anything to format the text. Just curious..... SKIP > On Sep 16, 2014, at 5:53 AM, Matthias Rebbe | M-R-D wrote: > > Hi, > for iPad there is an Editor called Textastic, which uses TextMate bundles for syntax highlighting. > https://itunes.apple.com/en/app/textastic-code-editor-fur/id383577124?mt=8 > > http://www.textasticapp.com/v5/manual/lessons/How_can_I_add_my_own_syntax_definitions__themes_and_templates.html > > Regards, > > Matthias > > >> Am 16.09.2014 um 11:29 schrieb Skip Kimpel : >> >> Anybody create a solution for the iPad? Would love to continue to code when I don't have my laptop handy... >> >> SKIP >> >>> On Sep 16, 2014, at 2:38 AM, Simon Smith wrote: >>> >>> You can use SublimeText on the PC - the TextMate bundle from >>> http://revigniter.com/accessory works perfectly. (With sublime text 3 drop >>> the unzipped folder into the AppData\Local\Sublime Text 3\Cache\ - worked >>> for me on Windows 8. I also renamed revIgniterTMbundles1.3 to livecode) >>> >>> On Mon, Sep 15, 2014 at 5:33 PM, Alejandro Tejada >>> wrote: >>> >>>> Matthias Rebbe | M-R-D wrote >>>>> The last days i tried to create a syntax highlighting and autocomplete >>>>> file >>>>> for Ultraedit for Mac. Maybe it is working under Windows, too. >>>>> Did not had the time yet to try. >>>>> >>>>> I am pretty sure that the file is not 100% perfect, but at least >>>>> i have added all commands, constants, keywords, properties >>>>> and so on and colorizing, auto indent and unindent are working. >>>>> Code folding seems to work also. >>>>> >>>>> As i am working in LC editor with the custard yellow background, >>>>> i adjusted the highlighting colors to correspond with that background >>>>> color. >>>>> But it is very easy to adjust the colors for each type (property, keyword >>>>> and so on.). >>>>> You can do this directly in UltraEdit. >>>>> >>>>> I have uploaded the file in case some one is interested in it. >>>>> https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 >>>> >>>> Really Nice! Many Thanks for sharing this configuration file. >>>> I opened the file and noticed this: Colors = 4194432 >>>> >>>> This color notation is Hexadecimal, Octal or Binary? >>>> >>>> By the way, Did you know of a configuration file for >>>> NotePad Plus? >>>> >>>> Thanks in advance! >>>> >>>> Al >>>> >>>> >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://runtime-revolution.278305.n4.nabble.com/LiveCode-syntaxhighligthing-and-autocomplete-for-Ultraedit-available-tp4683271p4683279.html >>>> Sent from the Revolution - User mailing list archive at Nabble.com. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> -- >>> >>> *Simon Smith* >>> *seo, online marketing, web development* >>> >>> w. http://www.simonsmith.co >>> m. +27 83 306 7862 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skiplondon at gmail.com Tue Sep 16 22:50:15 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Tue, 16 Sep 2014 22:50:15 -0400 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: <04814754-8E85-44DF-9979-7677B075A02D@gmail.com> References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> <1410795202643-4683279.post@n4.nabble.com> <97A0C7A0-71A8-4A66-9DA2-E739C3B609FA@gmail.com> <45615320-52A9-45B5-BCE0-FFA434EB7C36@m-r-d.de> <04814754-8E85-44DF-9979-7677B075A02D@gmail.com> Message-ID: Interestingly enough, LiveCode actually appears natively without installing the irev tmBundles. However, choosing that OR the installed irev option still do not do anything. SKIP > On Sep 16, 2014, at 10:32 PM, Skip Kimpel wrote: > > Thanks Matthias, > > In theory this shoul work... Does anybody actually have this successfully running on an iPad with Textastic? I get LiveCode to show up as an option in syntax definition but it is not doing anything to format the text. > > Just curious..... > > SKIP > > >> On Sep 16, 2014, at 5:53 AM, Matthias Rebbe | M-R-D wrote: >> >> Hi, >> for iPad there is an Editor called Textastic, which uses TextMate bundles for syntax highlighting. >> https://itunes.apple.com/en/app/textastic-code-editor-fur/id383577124?mt=8 >> >> http://www.textasticapp.com/v5/manual/lessons/How_can_I_add_my_own_syntax_definitions__themes_and_templates.html >> >> Regards, >> >> Matthias >> >> >>> Am 16.09.2014 um 11:29 schrieb Skip Kimpel : >>> >>> Anybody create a solution for the iPad? Would love to continue to code when I don't have my laptop handy... >>> >>> SKIP >>> >>>> On Sep 16, 2014, at 2:38 AM, Simon Smith wrote: >>>> >>>> You can use SublimeText on the PC - the TextMate bundle from >>>> http://revigniter.com/accessory works perfectly. (With sublime text 3 drop >>>> the unzipped folder into the AppData\Local\Sublime Text 3\Cache\ - worked >>>> for me on Windows 8. I also renamed revIgniterTMbundles1.3 to livecode) >>>> >>>> On Mon, Sep 15, 2014 at 5:33 PM, Alejandro Tejada >>>> wrote: >>>> >>>>> Matthias Rebbe | M-R-D wrote >>>>>> The last days i tried to create a syntax highlighting and autocomplete >>>>>> file >>>>>> for Ultraedit for Mac. Maybe it is working under Windows, too. >>>>>> Did not had the time yet to try. >>>>>> >>>>>> I am pretty sure that the file is not 100% perfect, but at least >>>>>> i have added all commands, constants, keywords, properties >>>>>> and so on and colorizing, auto indent and unindent are working. >>>>>> Code folding seems to work also. >>>>>> >>>>>> As i am working in LC editor with the custard yellow background, >>>>>> i adjusted the highlighting colors to correspond with that background >>>>>> color. >>>>>> But it is very easy to adjust the colors for each type (property, keyword >>>>>> and so on.). >>>>>> You can do this directly in UltraEdit. >>>>>> >>>>>> I have uploaded the file in case some one is interested in it. >>>>>> https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 >>>>> >>>>> Really Nice! Many Thanks for sharing this configuration file. >>>>> I opened the file and noticed this: Colors = 4194432 >>>>> >>>>> This color notation is Hexadecimal, Octal or Binary? >>>>> >>>>> By the way, Did you know of a configuration file for >>>>> NotePad Plus? >>>>> >>>>> Thanks in advance! >>>>> >>>>> Al >>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> View this message in context: >>>>> http://runtime-revolution.278305.n4.nabble.com/LiveCode-syntaxhighligthing-and-autocomplete-for-Ultraedit-available-tp4683271p4683279.html >>>>> Sent from the Revolution - User mailing list archive at Nabble.com. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> >>>> -- >>>> >>>> *Simon Smith* >>>> *seo, online marketing, web development* >>>> >>>> w. http://www.simonsmith.co >>>> m. +27 83 306 7862 >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Tue Sep 16 22:53:32 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 16 Sep 2014 19:53:32 -0700 (PDT) Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: <5418E676.7030309@LinkIt.Com> References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> <5418CDED.5090808@LinkIt.Com> <1410914988126-4683321.post@n4.nabble.com> <5418E676.7030309@LinkIt.Com> Message-ID: <1410922412131-4683328.post@n4.nabble.com> Ray Horsley-2 wrote > Fantastic! Setting LockLoc to false did the trick. I wonder why > lockLoc set to false creates this pulsing effect (the image is actually > getting smaller and returning to its original size) in the first place. > > Anyway, problem solved. > > And Alejandro, many thanks for sharing the code which I think I may have > some use for in another way. > > Many thanks! Many Thanks to Jim Hurley, who always share his expertise with us in this mail list. :) By the way, after rotating an image 360 degrees there is a very small movement away from the origin of rotation. Possibly, that is a result of rounding errors. Check if this could be a problem for your project... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683328.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Tue Sep 16 23:48:05 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 16 Sep 2014 20:48:05 -0700 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: <04814754-8E85-44DF-9979-7677B075A02D@gmail.com> References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> <1410795202643-4683279.post@n4.nabble.com> <97A0C7A0-71A8-4A66-9DA2-E739C3B609FA@gmail.com> <45615320-52A9-45B5-BCE0-FFA434EB7C36@m-r-d.de> <04814754-8E85-44DF-9979-7677B075A02D@gmail.com> Message-ID: Hi Skip, If you're using the revigniter bundle, the files have to have ? wrote: > Thanks Matthias, > > In theory this shoul work... Does anybody actually have this successfully > running on an iPad with Textastic? I get LiveCode to show up as an > option in syntax definition but it is not doing anything to format the text. > > Just curious..... > > SKIP > > > > On Sep 16, 2014, at 5:53 AM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > > > > Hi, > > for iPad there is an Editor called Textastic, which uses TextMate > bundles for syntax highlighting. > > > https://itunes.apple.com/en/app/textastic-code-editor-fur/id383577124?mt=8 > > > > > http://www.textasticapp.com/v5/manual/lessons/How_can_I_add_my_own_syntax_definitions__themes_and_templates.html > > > > Regards, > > > > Matthias > > > > > >> Am 16.09.2014 um 11:29 schrieb Skip Kimpel : > >> > >> Anybody create a solution for the iPad? Would love to continue to code > when I don't have my laptop handy... > >> > >> SKIP > >> > >>> On Sep 16, 2014, at 2:38 AM, Simon Smith wrote: > >>> > >>> You can use SublimeText on the PC - the TextMate bundle from > >>> http://revigniter.com/accessory works perfectly. (With sublime text 3 > drop > >>> the unzipped folder into the AppData\Local\Sublime Text 3\Cache\ - > worked > >>> for me on Windows 8. I also renamed revIgniterTMbundles1.3 to livecode) > >>> > >>> On Mon, Sep 15, 2014 at 5:33 PM, Alejandro Tejada < > capellan2000 at gmail.com> > >>> wrote: > >>> > >>>> Matthias Rebbe | M-R-D wrote > >>>>> The last days i tried to create a syntax highlighting and > autocomplete > >>>>> file > >>>>> for Ultraedit for Mac. Maybe it is working under Windows, too. > >>>>> Did not had the time yet to try. > >>>>> > >>>>> I am pretty sure that the file is not 100% perfect, but at least > >>>>> i have added all commands, constants, keywords, properties > >>>>> and so on and colorizing, auto indent and unindent are working. > >>>>> Code folding seems to work also. > >>>>> > >>>>> As i am working in LC editor with the custard yellow background, > >>>>> i adjusted the highlighting colors to correspond with that background > >>>>> color. > >>>>> But it is very easy to adjust the colors for each type (property, > keyword > >>>>> and so on.). > >>>>> You can do this directly in UltraEdit. > >>>>> > >>>>> I have uploaded the file in case some one is interested in it. > >>>>> https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 > >>>> > >>>> Really Nice! Many Thanks for sharing this configuration file. > >>>> I opened the file and noticed this: Colors = 4194432 > >>>> > >>>> This color notation is Hexadecimal, Octal or Binary? > >>>> > >>>> By the way, Did you know of a configuration file for > >>>> NotePad Plus? > >>>> > >>>> Thanks in advance! > >>>> > >>>> Al > >>>> > >>>> > >>>> > >>>> > >>>> -- > >>>> View this message in context: > >>>> > http://runtime-revolution.278305.n4.nabble.com/LiveCode-syntaxhighligthing-and-autocomplete-for-Ultraedit-available-tp4683271p4683279.html > >>>> Sent from the Revolution - User mailing list archive at Nabble.com. > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >>> > >>> -- > >>> > >>> *Simon Smith* > >>> *seo, online marketing, web development* > >>> > >>> w. http://www.simonsmith.co > >>> m. +27 83 306 7862 > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Tue Sep 16 23:54:39 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 16 Sep 2014 20:54:39 -0700 Subject: accessing database table on iPad In-Reply-To: References: Message-ID: Sounds like the path to your db is wrong. LC happily creates an empty file for you which is not even formatted as an sqlite db! I've always thought that was flat out wrong. I would check that your db file exists before calling revdatabaseopen with the exists() function. Pete lcSQL Software On Sep 16, 2014 6:27 PM, "Frantz Charles" wrote: > To all, > I need your expertise help to solve this issue I encounter in the app I am > creating. Here is the problem:I create a SQLite database with 2 tables > containing data. The database is saved in the same folder than the app. I > can access with ease the database and read the records from my desktop. But > when I test the app with the emulator or with my iPad, even though a > database id is returned - proof that the database is open - I got the > following error: revdberr, Database Error: No such table Histoire" . Here > are my codes.Here are the codes to open the database:# Open the databaseput > "/users/frantzcharles/Documents/All About > LiveCode/Cric-Crac/CricCracDB.sqlite" into thePathput "/CricCracDB.sqlite" > into theMobilePathif the environment = "mobile" then if there is not a > file (specialFolderPath("Documents") & theMobilePath) then put > (specialFolderPath("engine") & theMobilePath) into sPath put url > ("binfile:" & sPath) into dPath put dPath into url ("binfile:" & > (specialFolderPath("Documents") & theMobilePath)) end if put > (specialFolderPath("Documents") & "/CricCracDB.sqlite") into tDBPath put > revOpenDatabase("sqlite", tDBPath ,,,,,,) into tConIDelse ## this is not > mobile put revOpenDatabase("sqlite", thePath ,,,,,,) into tConIDend ifHere > are the codes to access the tableput "Select Hist_Question from Histoire > where Hist_Id = " & tNextQ into tSQL put revdb_querylist(,,g_ConID, tSQL) > into tList > I am missing something. Which I can not put my finger on. Can any of you > help me? Thanks a lot > Frantz > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Wed Sep 17 00:25:22 2014 From: sundown at pacifier.com (JB) Date: Tue, 16 Sep 2014 21:25:22 -0700 Subject: Listing & Filtering files Message-ID: <69DD3B7D-5256-4955-A4D2-1472A5F9393D@pacifier.com> You want some of the best ways to list and filter files? Here it is from the experts with a stack download to help. http://lessons.runrev.com/s/lessons/m/4071/l/16635-file-and-folders-part-1 John Balgenorth From sundown at pacifier.com Wed Sep 17 00:30:09 2014 From: sundown at pacifier.com (JB) Date: Tue, 16 Sep 2014 21:30:09 -0700 Subject: Listing & Filtering files In-Reply-To: <69DD3B7D-5256-4955-A4D2-1472A5F9393D@pacifier.com> References: <69DD3B7D-5256-4955-A4D2-1472A5F9393D@pacifier.com> Message-ID: It says this is PART 1. Does anyone know where Part 2 is? John Balgenorth On Sep 16, 2014, at 9:25 PM, JB wrote: > You want some of the best ways to list and filter files? > Here it is from the experts with a stack download to help. > > http://lessons.runrev.com/s/lessons/m/4071/l/16635-file-and-folders-part-1 > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paulhibbert at mac.com Wed Sep 17 00:54:56 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 16 Sep 2014 21:54:56 -0700 Subject: Listing & Filtering files In-Reply-To: References: <69DD3B7D-5256-4955-A4D2-1472A5F9393D@pacifier.com> Message-ID: http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 The link is in the top right corner of part 1. :-) Paul On Sep 16, 2014, at 9:30 PM, JB wrote: > It says this is PART 1. > > Does anyone know where Part 2 is? > > John Balgenorth > > > > On Sep 16, 2014, at 9:25 PM, JB wrote: > >> You want some of the best ways to list and filter files? >> Here it is from the experts with a stack download to help. >> >> http://lessons.runrev.com/s/lessons/m/4071/l/16635-file-and-folders-part-1 >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Wed Sep 17 00:59:07 2014 From: sundown at pacifier.com (JB) Date: Tue, 16 Sep 2014 21:59:07 -0700 Subject: Listing & Filtering files In-Reply-To: References: <69DD3B7D-5256-4955-A4D2-1472A5F9393D@pacifier.com> Message-ID: <5F410428-50AE-4612-ACA0-33651A850454@pacifier.com> Thanks for the info on the link for part 2. I am color blind on reds and greens and after you pointing it out I see it. Before that it kind of disappears and makes it easy to miss. John Balgenorth On Sep 16, 2014, at 9:54 PM, Paul Hibbert wrote: > http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 > > The link is in the top right corner of part 1. :-) > > Paul > > On Sep 16, 2014, at 9:30 PM, JB wrote: > >> It says this is PART 1. >> >> Does anyone know where Part 2 is? >> >> John Balgenorth >> >> >> >> On Sep 16, 2014, at 9:25 PM, JB wrote: >> >>> You want some of the best ways to list and filter files? >>> Here it is from the experts with a stack download to help. >>> >>> http://lessons.runrev.com/s/lessons/m/4071/l/16635-file-and-folders-part-1 >>> >>> John Balgenorth >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dave at applicationinsight.com Wed Sep 17 04:40:33 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 17 Sep 2014 01:40:33 -0700 (PDT) Subject: accessing database table on iPad In-Reply-To: References: Message-ID: <1410943233942-4683335.post@n4.nabble.com> Frantz You are putting the result from revOpenDatabase() into tConID, but later on with revdb_querylist() you are using g_ConID - does g_ConID hold the same value as tConID? Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/accessing-database-table-on-iPad-tp4683322p4683335.html Sent from the Revolution - User mailing list archive at Nabble.com. From skiplondon at gmail.com Wed Sep 17 05:19:25 2014 From: skiplondon at gmail.com (Skip Kimpel) Date: Wed, 17 Sep 2014 05:19:25 -0400 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> <1410795202643-4683279.post@n4.nabble.com> <97A0C7A0-71A8-4A66-9DA2-E739C3B609FA@gmail.com> <45615320-52A9-45B5-BCE0-FFA434EB7C36@m-r-d.de> <04814754-8E85-44DF-9979-7677B075A02D@gmail.com> Message-ID: <8709CECA-E3FB-4436-8460-C8D8AE7B5162@gmail.com> Hmmm. Tried adding that in the beginning but still the same result. SKIP > On Sep 16, 2014, at 11:48 PM, Peter Haworth wrote: > > Hi Skip, > If you're using the revigniter bundle, the files have to have ? start. It can be in --comment line. > > Pete > lcSQL Software >> On Sep 16, 2014 7:32 PM, "Skip Kimpel" wrote: >> >> Thanks Matthias, >> >> In theory this shoul work... Does anybody actually have this successfully >> running on an iPad with Textastic? I get LiveCode to show up as an >> option in syntax definition but it is not doing anything to format the text. >> >> Just curious..... >> >> SKIP >> >> >>> On Sep 16, 2014, at 5:53 AM, Matthias Rebbe | M-R-D < >> matthias_livecode_150811 at m-r-d.de> wrote: >>> >>> Hi, >>> for iPad there is an Editor called Textastic, which uses TextMate >> bundles for syntax highlighting. >>> >> https://itunes.apple.com/en/app/textastic-code-editor-fur/id383577124?mt=8 >>> >>> >> http://www.textasticapp.com/v5/manual/lessons/How_can_I_add_my_own_syntax_definitions__themes_and_templates.html >>> >>> Regards, >>> >>> Matthias >>> >>> >>>> Am 16.09.2014 um 11:29 schrieb Skip Kimpel : >>>> >>>> Anybody create a solution for the iPad? Would love to continue to code >> when I don't have my laptop handy... >>>> >>>> SKIP >>>> >>>>> On Sep 16, 2014, at 2:38 AM, Simon Smith wrote: >>>>> >>>>> You can use SublimeText on the PC - the TextMate bundle from >>>>> http://revigniter.com/accessory works perfectly. (With sublime text 3 >> drop >>>>> the unzipped folder into the AppData\Local\Sublime Text 3\Cache\ - >> worked >>>>> for me on Windows 8. I also renamed revIgniterTMbundles1.3 to livecode) >>>>> >>>>> On Mon, Sep 15, 2014 at 5:33 PM, Alejandro Tejada < >> capellan2000 at gmail.com> >>>>> wrote: >>>>> >>>>>> Matthias Rebbe | M-R-D wrote >>>>>>> The last days i tried to create a syntax highlighting and >> autocomplete >>>>>>> file >>>>>>> for Ultraedit for Mac. Maybe it is working under Windows, too. >>>>>>> Did not had the time yet to try. >>>>>>> >>>>>>> I am pretty sure that the file is not 100% perfect, but at least >>>>>>> i have added all commands, constants, keywords, properties >>>>>>> and so on and colorizing, auto indent and unindent are working. >>>>>>> Code folding seems to work also. >>>>>>> >>>>>>> As i am working in LC editor with the custard yellow background, >>>>>>> i adjusted the highlighting colors to correspond with that background >>>>>>> color. >>>>>>> But it is very easy to adjust the colors for each type (property, >> keyword >>>>>>> and so on.). >>>>>>> You can do this directly in UltraEdit. >>>>>>> >>>>>>> I have uploaded the file in case some one is interested in it. >>>>>>> https://dl.dropbox.com/s/27ohn9yzxwrt863/index.html?dl=0 >>>>>> >>>>>> Really Nice! Many Thanks for sharing this configuration file. >>>>>> I opened the file and noticed this: Colors = 4194432 >>>>>> >>>>>> This color notation is Hexadecimal, Octal or Binary? >>>>>> >>>>>> By the way, Did you know of a configuration file for >>>>>> NotePad Plus? >>>>>> >>>>>> Thanks in advance! >>>>>> >>>>>> Al >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> View this message in context: >>>>>> >> http://runtime-revolution.278305.n4.nabble.com/LiveCode-syntaxhighligthing-and-autocomplete-for-Ultraedit-available-tp4683271p4683279.html >>>>>> Sent from the Revolution - User mailing list archive at Nabble.com. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> *Simon Smith* >>>>> *seo, online marketing, web development* >>>>> >>>>> w. http://www.simonsmith.co >>>>> m. +27 83 306 7862 >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bernd.niggemann at uni-wh.de Wed Sep 17 08:22:36 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 17 Sep 2014 05:22:36 -0700 (PDT) Subject: [ANN] Scrolling images Message-ID: <1410956556100-4683337.post@n4.nabble.com> image thumbnails scrolling vertically endlessly. ------------------ http://www.berndniggemann.on-rev.com/scrollingimages/scrollingImages_0_1_0_centralLoop.livecode ------------------ watch out for linebreaks in url scroll can be triggered with mouse by pressing and dragging, works also on mobile with touch. Feedback wellcome Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Scrolling-images-tp4683337.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Wed Sep 17 08:28:10 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 17 Sep 2014 05:28:10 -0700 (PDT) Subject: [ANN] modified Table Field 0_2_9 Message-ID: <1410956890526-4683338.post@n4.nabble.com> here a version of modifiedTableField that makes use of the new LC7 RC1 feature of text aligning columnar data. You can now right align a column. Columns can be hidden. Works with 6.13 up, best with 6.6.2. Obviously columnar text alignment needs LC7. ------------------------------------ http://www.berndniggemann.on-rev.com/modTableField/modTableField_0_2_9New.livecode ------------------------------------ watch for linebreaks in url Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-9-tp4683338.html Sent from the Revolution - User mailing list archive at Nabble.com. From ray at linkit.com Wed Sep 17 09:30:02 2014 From: ray at linkit.com (Ray) Date: Wed, 17 Sep 2014 10:30:02 -0300 Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> <5418CDED.5090808@LinkIt.Com> <1410914988126-4683321.post@n4.nabble.com> <5418E676.7030309@LinkIt.Com> Message-ID: <54198CDA.6080708@LinkIt.Com> Terry - thanks for shedding light on this. It's actually starting to make sense now. On 9/16/2014 10:58 PM, Terry Judd wrote: > > On 17/09/2014 11:40 am, "Ray" wrote: > >> Fantastic! Setting LockLoc to false did the trick. I wonder why >> lockLoc set to false creates this pulsing effect (the image is actually >> getting smaller and returning to its original size) in the first place. > With the image selected, try setting different angles using the property > inspector and you?ll see that the rect of the image changes (grows) quite > a bit. If you constrain the rect by setting its lockLoc to true then you > are actually reducing the image?s size when the angle isn?t 0 or 180 > degrees (or 90 or 270 if it?s of equal width and height). > > Terry? > >> Anyway, problem solved. >> >> And Alejandro, many thanks for sharing the code which I think I may have >> some use for in another way. >> >> Many thanks! >> >> Ray Horsley >> LinkIt! Software >> >> On 9/16/2014 9:49 PM, Alejandro Tejada wrote: >>> Randy Hengst wrote >>>> I don't know how to totally get rid of the wobble ? >>>> it seems like there is always a bit one one? >>>> but I've seen the pulsing effect when >>>> rotating an image with lockLoc set to true. >>> Yes, lockLoc produces this effect in >>> a rotating image. :( >>> >>> Check if this handler posted by Jim Hurley >>> could help in your project: >>> >>> On Jan 08, 2012, jim hurley posted >>> The script below will allow you to rotate an image about any predefined >>> point. >>> >>> Create a button. >>> Create an image. >>> Place the button at any point relative to the image. (Perhaps use a >>> grab me >>> in a mousedown handler.) >>> Click the button. >>> The image will rotate about the center of the button. >>> (For your application you would replace the center of rotation with the >>> center of mass.) >>> >>> >>> on mouseUp >>> set the angle of img 1 to 0 >>> put the loc of me into myLoc >>> >>> --Set the coor of the rotation Pt >>> put item 1 of myLoc into x0 >>> put item 2 of myLoc into y0 >>> >>> --Get the loc of the image >>> put the loc of img 1 into tLoc >>> put item 1 of tLoc into xC >>> put item 2 of tLoc into yC >>> >>> --Get the distance between the roation pt and the image center >>> put sqrt ( (xC - x0 )^2 + (yC - y0)^2 ) into L >>> >>> --Get the angle of the line from the rotation center to the image >>> center >>> put atan2(yC-y0, xC-x0) *180/pi into phi0 >>> >>> put 0 into tAngle >>> >>> repeat 360 times >>> lock screen >>> set the angle of img 1 to -tAngle >>> put phi0 + tAngle into phi >>> set the loc of img 1 to (x0 + L * cos(phi*pi/180)), (y0 + L * >>> sin(phi*pi/180)) >>> unlock screen >>> >>> add 1 to tAngle >>> wait 10 millisec --or whatever >>> end repeat >>> end mouseUp >>> >>> on mouseDown >>> grab me --So that you can relocate the rotation center. >>> end mouseDown >>> >>> From this thread: >>> >>> http://runtime-revolution.278305.n4.nabble.com/Rotate-around-Center-of-Ma >>> ss-td4273701.html >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4 >>> 683313p4683321.html >>> Sent from the Revolution - User mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Sep 17 10:24:35 2014 From: ray at linkit.com (Ray) Date: Wed, 17 Sep 2014 11:24:35 -0300 Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: <1410914988126-4683321.post@n4.nabble.com> References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> <5418CDED.5090808@LinkIt.Com> <1410914988126-4683321.post@n4.nabble.com> Message-ID: <541999A3.1070600@LinkIt.Com> Alejandro, Between you and Terry I've eliminated the unwanted pulsing as long as the image's size doesn't change. However, there's a conflict in that setting the lockLoc to false which also (for some reason) disallows the changing of the image's size. So, if I want my spinning beach ball to also 'come out at you' like starting the spin at 10% of it's original width and height and ending up at 100%, then I've still got problems. My temporary solution is to simply stick with either 0, 90, 180, or 270 for the angles I set but it makes for a rough looking spin. Do you think Jim Hurley's solution, below, holds the promise of resolving the issue of rotating and changing size simultaneously? Thanks, Ray Horsley LinkIt! Software On 9/16/2014 9:49 PM, Alejandro Tejada wrote: > Randy Hengst wrote >> I don't know how to totally get rid of the wobble ? >> it seems like there is always a bit one one? >> but I've seen the pulsing effect when >> rotating an image with lockLoc set to true. > Yes, lockLoc produces this effect in > a rotating image. :( > > Check if this handler posted by Jim Hurley > could help in your project: > > On Jan 08, 2012, jim hurley posted > The script below will allow you to rotate an image about any predefined > point. > > Create a button. > Create an image. > Place the button at any point relative to the image. (Perhaps use a grab me > in a mousedown handler.) > Click the button. > The image will rotate about the center of the button. > (For your application you would replace the center of rotation with the > center of mass.) > > > on mouseUp > set the angle of img 1 to 0 > put the loc of me into myLoc > > --Set the coor of the rotation Pt > put item 1 of myLoc into x0 > put item 2 of myLoc into y0 > > --Get the loc of the image > put the loc of img 1 into tLoc > put item 1 of tLoc into xC > put item 2 of tLoc into yC > > --Get the distance between the roation pt and the image center > put sqrt ( (xC - x0 )^2 + (yC - y0)^2 ) into L > > --Get the angle of the line from the rotation center to the image center > put atan2(yC-y0, xC-x0) *180/pi into phi0 > > put 0 into tAngle > > repeat 360 times > lock screen > set the angle of img 1 to -tAngle > put phi0 + tAngle into phi > set the loc of img 1 to (x0 + L * cos(phi*pi/180)), (y0 + L * > sin(phi*pi/180)) > unlock screen > > add 1 to tAngle > wait 10 millisec --or whatever > end repeat > end mouseUp > > on mouseDown > grab me --So that you can relocate the rotation center. > end mouseDown > > From this thread: > http://runtime-revolution.278305.n4.nabble.com/Rotate-around-Center-of-Mass-td4273701.html > > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683321.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Wed Sep 17 11:23:33 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 17 Sep 2014 15:23:33 +0000 Subject: [ANN] modified Table Field 0_2_9 In-Reply-To: <1410956890526-4683338.post@n4.nabble.com> References: <1410956890526-4683338.post@n4.nabble.com> Message-ID: <0032CCB6-F2F1-4BCE-96F1-5F765C65F5D1@byu.edu> On Sep 17, 2014, at 6:28 AM, BNig wrote: > here a version of modifiedTableField that makes use of the new LC7 RC1 > feature of text aligning columnar data. You can now right align a column. > > Columns can be hidden. > > Works with 6.13 up, best with 6.6.2. Obviously columnar text alignment needs > LC7. > > ------------------------------------ > http://www.berndniggemann.on-rev.com/modTableField/modTableField_0_2_9New.livecode > ------------------------------------ > watch for linebreaks in url This is superb, Bernd! Most of my datagrid use is for tabular data, and this does almost everything needed for tabular data. Thanks for this. Devin Devin Asay Office of Digital Humanities Brigham Young University From capellan2000 at gmail.com Wed Sep 17 12:09:12 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 17 Sep 2014 09:09:12 -0700 (PDT) Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: <541999A3.1070600@LinkIt.Com> References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> <5418CDED.5090808@LinkIt.Com> <1410914988126-4683321.post@n4.nabble.com> <541999A3.1070600@LinkIt.Com> Message-ID: <1410970152346-4683342.post@n4.nabble.com> Ray Horsley-2 wrote > Do you think Jim Hurley's solution, below, holds the promise of > resolving the issue of rotating and changing size simultaneously? I think that the answer is no. But I would like to be proven wrong! :) Every time that an image rotate, it's size changes... No way to avoid that. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683342.html Sent from the Revolution - User mailing list archive at Nabble.com. From ray at linkit.com Wed Sep 17 12:11:09 2014 From: ray at linkit.com (Ray) Date: Wed, 17 Sep 2014 13:11:09 -0300 Subject: Unwanted 'Pulsing' when Changing an Image's Angle In-Reply-To: <1410970152346-4683342.post@n4.nabble.com> References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> <5418CDED.5090808@LinkIt.Com> <1410914988126-4683321.post@n4.nabble.com> <541999A3.1070600@LinkIt.Com> <1410970152346-4683342.post@n4.nabble.com> Message-ID: <5419B29D.5030703@LinkIt.Com> Al, I'll experiment with it some and let you know if this is possible. Thanks, Ray On 9/17/2014 1:09 PM, Alejandro Tejada wrote: > Ray Horsley-2 wrote >> Do you think Jim Hurley's solution, below, holds the promise of >> resolving the issue of rotating and changing size simultaneously? > I think that the answer is no. > But I would like to be proven wrong! :) > > Every time that an image rotate, it's size changes... > No way to avoid that. > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Missing-dragData-image-tp4683313p4683342.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnpatten at me.com Wed Sep 17 12:26:31 2014 From: johnpatten at me.com (JOHN PATTEN) Date: Wed, 17 Sep 2014 09:26:31 -0700 Subject: Tab Panel Highlights Not Appearing Correctly? Message-ID: Hi All, I think i must be using the Tab Panel object incorrectly. The tabs do not highlight correctly when clicked on. Tab Panel consists of: ?Info, Create Account, Preferences, Minimize,? four panels. Here?s the script I have in my Tab Panel object: on mouseUp get the selectedText of me if it is "Minimize" then put the the text of button "TabObject" into tTabs put "Maximize" into line 4 of tTabs set the text of button "TabObject" to tTabs set the height of current window to bottom of btn "tabObject" else if it is "Maximize" then put the the text of button "TabObject" into tTabs put "Minimize" into line 4 of tTabs set the text of button "TabObject" to tTabs set the height of current window to 450 set the loc of current window to the screenLoc else go card it end if end if end mouseUp The script does what it is supposed to, but the highlight does not follow the mouse click. Any suggestions? Thank you! From paulhibbert at mac.com Wed Sep 17 12:35:07 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 17 Sep 2014 09:35:07 -0700 Subject: Listing & Filtering files In-Reply-To: <5F410428-50AE-4612-ACA0-33651A850454@pacifier.com> References: <69DD3B7D-5256-4955-A4D2-1472A5F9393D@pacifier.com> <5F410428-50AE-4612-ACA0-33651A850454@pacifier.com> Message-ID: <4DAE1DCC-B955-41F3-8388-89535C71BBCB@mac.com> John, It maybe useful for you to inform RR that their site is difficult for you to navigate successfully, I'm sure you're not the only one who struggles with the light colours, but your personal experience should help them make informed decisions in future. I know there were several complaints about the light green text on the LC site when they first started using them, and they did darken the green slightly. I think it was Richard Gaskin that pointed out that light green is not a good choice for people with colour blindness. I know it is possible to use a local css file to change the link colours, so I tried this wondering if it may help, but it seems that because of the way the LC lessons are formatted, the css changes don't have any effect on this site, at least in Safari. You can use Firefox however, and it does allow you to change the link colours in preferences, not too sure about IE though. HTH Paul On Sep 16, 2014, at 9:59 PM, JB wrote: > Thanks for the info on the link for part 2. > I am color blind on reds and greens and > after you pointing it out I see it. Before > that it kind of disappears and makes it > easy to miss. > > John Balgenorth > > > On Sep 16, 2014, at 9:54 PM, Paul Hibbert wrote: > >> http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 >> >> The link is in the top right corner of part 1. :-) >> >> Paul >> >> On Sep 16, 2014, at 9:30 PM, JB wrote: >> >>> It says this is PART 1. >>> >>> Does anyone know where Part 2 is? >>> >>> John Balgenorth >>> >>> >>> >>> On Sep 16, 2014, at 9:25 PM, JB wrote: >>> >>>> You want some of the best ways to list and filter files? >>>> Here it is from the experts with a stack download to help. >>>> >>>> http://lessons.runrev.com/s/lessons/m/4071/l/16635-file-and-folders-part-1 >>>> >>>> John Balgenorth >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bernd.niggemann at uni-wh.de Wed Sep 17 13:01:43 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 17 Sep 2014 10:01:43 -0700 (PDT) Subject: [ANN] modified Table Field 0_2_9 In-Reply-To: <0032CCB6-F2F1-4BCE-96F1-5F765C65F5D1@byu.edu> References: <1410956890526-4683338.post@n4.nabble.com> <0032CCB6-F2F1-4BCE-96F1-5F765C65F5D1@byu.edu> Message-ID: <1410973303270-4683346.post@n4.nabble.com> Hi Devin, thank you for your kind words. If you have a feature request I am open to add functionality to modTableField (on or off list) Colorization is in the works, currently LC7RC1 removes colorization when sorting, will be fixed in 7.0RC2. Kind regards Bernd Devin Asay wrote > On Sep 17, 2014, at 6:28 AM, BNig < > bernd.niggemann@ > > wrote: > >> here a version of modifiedTableField that makes use of the new LC7 RC1 >> feature of text aligning columnar data. You can now right align a column. >> >> Columns can be hidden. >> >> Works with 6.13 up, best with 6.6.2. Obviously columnar text alignment >> needs >> LC7. >> >> ------------------------------------ >> http://www.berndniggemann.on-rev.com/modTableField/modTableField_0_2_9New.livecode >> ------------------------------------ >> watch for linebreaks in url > > This is superb, Bernd! Most of my datagrid use is for tabular data, and > this does almost everything needed for tabular data. Thanks for this. > > Devin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-9-tp4683338p4683346.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Wed Sep 17 13:01:36 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 17 Sep 2014 10:01:36 -0700 Subject: [ANN] modified Table Field 0_2_9 In-Reply-To: <1410956890526-4683338.post@n4.nabble.com> References: <1410956890526-4683338.post@n4.nabble.com> Message-ID: +1 from me. This is a great middle ground between the standard LC table and the datagrid. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 17, 2014 at 5:28 AM, BNig wrote: > here a version of modifiedTableField that makes use of the new LC7 RC1 > feature of text aligning columnar data. You can now right align a column. > > Columns can be hidden. > > Works with 6.13 up, best with 6.6.2. Obviously columnar text alignment > needs > LC7. > > ------------------------------------ > > http://www.berndniggemann.on-rev.com/modTableField/modTableField_0_2_9New.livecode > ------------------------------------ > watch for linebreaks in url > > Kind regards > Bernd > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-9-tp4683338.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Wed Sep 17 13:07:30 2014 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 17 Sep 2014 17:07:30 +0000 Subject: [ANN] modified Table Field 0_2_9 In-Reply-To: <1410973303270-4683346.post@n4.nabble.com> References: <1410956890526-4683338.post@n4.nabble.com> <0032CCB6-F2F1-4BCE-96F1-5F765C65F5D1@byu.edu> <1410973303270-4683346.post@n4.nabble.com> Message-ID: <4874BB8D-138A-4221-9E37-0CF83BBF5372@byu.edu> On Sep 17, 2014, at 11:01 AM, BNig wrote: > Hi Devin, > thank you for your kind words. > If you have a feature request I am open to add functionality to > modTableField (on or off list) One feature of dataGrids which I didn?t notice in your table field: the ability to hide columns. Is that something you have in mind? Or perhaps it already does it, but I just didn?t notice. Devin Devin Asay Office of Digital Humanities Brigham Young University From bernd.niggemann at uni-wh.de Wed Sep 17 13:15:09 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 17 Sep 2014 10:15:09 -0700 (PDT) Subject: [ANN] modified Table Field 0_2_9 In-Reply-To: <4874BB8D-138A-4221-9E37-0CF83BBF5372@byu.edu> References: <1410956890526-4683338.post@n4.nabble.com> <0032CCB6-F2F1-4BCE-96F1-5F765C65F5D1@byu.edu> <1410973303270-4683346.post@n4.nabble.com> <4874BB8D-138A-4221-9E37-0CF83BBF5372@byu.edu> Message-ID: <1410974109897-4683349.post@n4.nabble.com> Devin, there is a button in the red rectangle "setWidthOfOneColumn" it sets currently the width of column 3 to 0. That hides the column. Alternatively you can drag a vertical divider all the way to the left and it will set the column width to 0. Kind regards Bernd Devin Asay wrote > One feature of dataGrids which I didn?t notice in your table field: the > ability to hide columns. Is that something you have in mind? Or perhaps it > already does it, but I just didn?t notice. > > Devin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-9-tp4683338p4683349.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Wed Sep 17 13:44:52 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 17 Sep 2014 10:44:52 -0700 Subject: Tab Panel Highlights Not Appearing Correctly? In-Reply-To: References: Message-ID: I think by resetting the text of the tab, it loses the info on which tab was clicked. I would save off the tab number that was clicked (I think that's the menuhistory for tabbed buttons but not sure) then reset it after you set the text. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 17, 2014 at 9:26 AM, JOHN PATTEN wrote: > Hi All, > > I think i must be using the Tab Panel object incorrectly. The tabs do not > highlight correctly when clicked on. > > Tab Panel consists of: ?Info, Create Account, Preferences, Minimize,? four > panels. > > Here?s the script I have in my Tab Panel object: > > on mouseUp > get the selectedText of me > if it is "Minimize" then > put the the text of button "TabObject" into tTabs > put "Maximize" into line 4 of tTabs > set the text of button "TabObject" to tTabs > set the height of current window to bottom of btn "tabObject" > else > if it is "Maximize" then > put the the text of button "TabObject" into tTabs > put "Minimize" into line 4 of tTabs > set the text of button "TabObject" to tTabs > set the height of current window to 450 > set the loc of current window to the screenLoc > else > go card it > end if > end if > end mouseUp > > The script does what it is supposed to, but the highlight does not follow > the mouse click. > > Any suggestions? > > Thank you! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Sep 17 13:47:24 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 17 Sep 2014 10:47:24 -0700 Subject: accessing database table on iPad In-Reply-To: <1410943233942-4683335.post@n4.nabble.com> References: <1410943233942-4683335.post@n4.nabble.com> Message-ID: Good catch, missed that. I think, though, that if you specify an invalid connection id, you get a runtime script error rather than the database error he's getting back. That's another thing that really should be changed so it returns an error in the connection id instead of a run time error. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 17, 2014 at 1:40 AM, Dave Kilroy wrote: > Frantz > > You are putting the result from revOpenDatabase() into tConID, but later on > with revdb_querylist() you are using g_ConID - does g_ConID hold the same > value as tConID? > > Dave > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/accessing-database-table-on-iPad-tp4683322p4683335.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Wed Sep 17 14:23:38 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 17 Sep 2014 20:23:38 +0200 Subject: Coda 2 Syntax highlighting for LC now working Message-ID: Hi, i created from scratch a Coda 2 mode file for LiveCode. It just supports the LC command. No HTML syntax highlighiting. What is working so far: Auto complete Syntax highlighting for commands, control structures, functions, keywords, messages, objects and properties and comment blocks What is not working: syntax highlighting for single comment Auto ident Code folding I included a little readme with information about what color settings have to be changed in Coda 2 color settings for the different type of LC words. This mode file does not require the start tag References: Message-ID: After this and the highlighting for ultraedit, I might just have to figure out how to make a package for sublime text that does this. In the past, for small scripts, I have just done without. Hmmm. On Wed, Sep 17, 2014 at 1:23 PM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > Hi, > > i created from scratch a Coda 2 mode file for LiveCode. It just supports > the LC command. No HTML syntax highlighiting. > > What is working so far: > Auto complete > Syntax highlighting for commands, control structures, functions, > keywords, messages, objects and properties and comment blocks > > What is not working: > syntax highlighting for single comment > Auto ident > Code folding > > I included a little readme with information about what color settings have > to be changed in Coda 2 color settings for the different type of LC words. > > > This mode file does not require the start tag you can use it not just for livecode server scripts, but also for normal LC > scripts. > You can find the file here > > https://dl.dropbox.com/s/yt43ptt6itf10uh/index.html?dl=0 > > - Download and unzip it > - Double click the mode file to install it. > > Have fun, or maybe not. ;) > > Regards > > Matthias > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From matthias_livecode_150811 at m-r-d.de Wed Sep 17 15:56:10 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 17 Sep 2014 21:56:10 +0200 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: References: Message-ID: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> Am 17.09.2014 um 21:27 schrieb Andrew Kluthe : > After this and the highlighting for ultraedit, I might just have to figure > out how to make a package for sublime text that does this. > > In the past, for small scripts, I have just done without. > > Hmmm. > Don?t count on me. ;) > On Wed, Sep 17, 2014 at 1:23 PM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > >> Hi, >> >> i created from scratch a Coda 2 mode file for LiveCode. It just supports >> the LC command. No HTML syntax highlighiting. >> >> What is working so far: >> Auto complete >> Syntax highlighting for commands, control structures, functions, >> keywords, messages, objects and properties and comment blocks >> >> What is not working: >> syntax highlighting for single comment >> Auto ident >> Code folding >> >> I included a little readme with information about what color settings have >> to be changed in Coda 2 color settings for the different type of LC words. >> >> >> This mode file does not require the start tag > you can use it not just for livecode server scripts, but also for normal LC >> scripts. >> You can find the file here >> >> https://dl.dropbox.com/s/yt43ptt6itf10uh/index.html?dl=0 >> >> - Download and unzip it >> - Double click the mode file to install it. >> >> Have fun, or maybe not. ;) >> >> Regards >> >> Matthias >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Sep 17 16:17:32 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 17 Sep 2014 13:17:32 -0700 (PDT) Subject: New XAMPP security concept In-Reply-To: <1410789596819-4683275.post@n4.nabble.com> References: <1410752293332-4683248.post@n4.nabble.com> <91073942704.20140914230321@ahsoftware.net> <1410789596819-4683275.post@n4.nabble.com> Message-ID: <1410985052918-4683355.post@n4.nabble.com> Today, I installed XAMPP in Lubuntu Linux 13.10 http://downloads.sourceforge.net/project/xampp/XAMPP%20Linux/1.8.2/xampp-linux-1.8.2-6-installer.run and following exactly the same steps as in Windows now I have Livecode Server working in Lubuntu Linux! :D Of course, file locations are different and it's necessary to set manually all permissions for copied files, but apart from this everything worked exactly like in Windows. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/New-XAMPP-security-concept-tp4683248p4683355.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Wed Sep 17 16:22:52 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 17 Sep 2014 16:22:52 -0400 Subject: New XAMPP security concept In-Reply-To: <1410985052918-4683355.post@n4.nabble.com> References: <1410752293332-4683248.post@n4.nabble.com> <91073942704.20140914230321@ahsoftware.net> <1410789596819-4683275.post@n4.nabble.com> <1410985052918-4683355.post@n4.nabble.com> Message-ID: I have only done a Windows install in IIS, not Apache. I am assuming you also used Apache in Windows. Correct? ~Roger On Wed, Sep 17, 2014 at 4:17 PM, Alejandro Tejada wrote: > Today, I installed XAMPP in Lubuntu Linux 13.10 > > http://downloads.sourceforge.net/project/xampp/XAMPP%20Linux/1.8.2/xampp-linux-1.8.2-6-installer.run > > and following exactly the same steps as in Windows > now I have Livecode Server working in Lubuntu Linux! :D > > Of course, file locations are different and it's necessary to set > manually all permissions for copied files, but apart from this > everything worked exactly like in Windows. > > Al > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/New-XAMPP-security-concept-tp4683248p4683355.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Wed Sep 17 16:22:52 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 17 Sep 2014 16:22:52 -0400 Subject: New XAMPP security concept In-Reply-To: <1410985052918-4683355.post@n4.nabble.com> References: <1410752293332-4683248.post@n4.nabble.com> <91073942704.20140914230321@ahsoftware.net> <1410789596819-4683275.post@n4.nabble.com> <1410985052918-4683355.post@n4.nabble.com> Message-ID: I have only done a Windows install in IIS, not Apache. I am assuming you also used Apache in Windows. Correct? ~Roger On Wed, Sep 17, 2014 at 4:17 PM, Alejandro Tejada wrote: > Today, I installed XAMPP in Lubuntu Linux 13.10 > > http://downloads.sourceforge.net/project/xampp/XAMPP%20Linux/1.8.2/xampp-linux-1.8.2-6-installer.run > > and following exactly the same steps as in Windows > now I have Livecode Server working in Lubuntu Linux! :D > > Of course, file locations are different and it's necessary to set > manually all permissions for copied files, but apart from this > everything worked exactly like in Windows. > > Al > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/New-XAMPP-security-concept-tp4683248p4683355.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Wed Sep 17 16:45:42 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 17 Sep 2014 13:45:42 -0700 (PDT) Subject: New XAMPP security concept In-Reply-To: References: <1410752293332-4683248.post@n4.nabble.com> <91073942704.20140914230321@ahsoftware.net> <1410789596819-4683275.post@n4.nabble.com> <1410985052918-4683355.post@n4.nabble.com> Message-ID: <1410986742960-4683357.post@n4.nabble.com> Yes, I installed XAMPP in Windows and Lubuntu Linux. Following the same steps in both platforms (with the differences of file locations and setting permissions) I could install Livecode Server in both platforms. :) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/New-XAMPP-security-concept-tp4683248p4683357.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Sep 17 17:20:14 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 18 Sep 2014 00:20:14 +0300 Subject: HyperCard Basics Message-ID: <5419FB0E.8080005@gmail.com> Having what my wife, all too accurately, terms "A crawl through your sh*t" [meaning digging through my self-reproducing piles of computer components, converters, second-hand hard drives and so on] I came upon [buried very deep indeed] a little book called 'HyperCard Basics'. How that booklet managed to get from Carbondale, Illinois, via Saudi Arabia, The UAE and Scotland to Bulgaria escapes me. So; opened the thing for the first time since about 1994 and started reading: Sorting Cards The Sort by Name command in the Utilities menu lets you arrange cards alphabetically by either first or last name. ---------------------------------------------------------- I wonder how one does that in Livecode? ---------------------------------------------------------- Searching for text 1. Choose Find from the Go menu. ---------------------------------------------------------- I wonder how one does that in Livecode? ---------------------------------------------------------- The Recent command AS you go from card to card and stack to stack, HyperCard automatically keeps a record of where you've been. The Recent command in the Go menu shows (in miniature) the card you have looked at, up to the last 42. ---------------------------------------------------------- I wonder how one does that in Livecode? Certainly View/Recent does not do that. ---------------------------------------------------------- Quite fin reading that. Richmond. From dunbarx at aol.com Wed Sep 17 17:50:02 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 17 Sep 2014 17:50:02 -0400 Subject: HyperCard Basics In-Reply-To: <5419FB0E.8080005@gmail.com> References: <5419FB0E.8080005@gmail.com> Message-ID: <8D1A0D8780A185D-18B4-417C@webmail-va122.sysops.aol.com> Richmond. -- Both HC and LC allow sorting cards with a sortKey: sort cds by word 2 of the short name of this cd -- It is true that there is no "go" menu, and you have to script your own find. What has replaced it, with cmd-F, is the find and replace gadget. Much more flexible and powerful, if less quaint. -- There is a "recent" keyword in LC, but what HC really had was a super thumbNail dialog that showed all recent cards. Old fashioned but cool. LC seems to have diminished that functionality. Craig -----Original Message----- From: Richmond To: How to use LiveCode Sent: Wed, Sep 17, 2014 5:21 pm Subject: HyperCard Basics Having what my wife, all too accurately, terms "A crawl through your sh*t" [meaning digging through my self-reproducing piles of computer components, converters, second-hand hard drives and so on] I came upon [buried very deep indeed] a little book called 'HyperCard Basics'. How that booklet managed to get from Carbondale, Illinois, via Saudi Arabia, The UAE and Scotland to Bulgaria escapes me. So; opened the thing for the first time since about 1994 and started reading: Sorting Cards The Sort by Name command in the Utilities menu lets you arrange cards alphabetically by either first or last name. ---------------------------------------------------------- I wonder how one does that in Livecode? ---------------------------------------------------------- Searching for text 1. Choose Find from the Go menu. ---------------------------------------------------------- I wonder how one does that in Livecode? ---------------------------------------------------------- The Recent command AS you go from card to card and stack to stack, HyperCard automatically keeps a record of where you've been. The Recent command in the Go menu shows (in miniature) the card you have looked at, up to the last 42. ---------------------------------------------------------- I wonder how one does that in Livecode? Certainly View/Recent does not do that. ---------------------------------------------------------- Quite fin reading that. Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Sep 17 18:01:14 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 17 Sep 2014 15:01:14 -0700 Subject: HyperCard Basics In-Reply-To: <5419FB0E.8080005@gmail.com> References: <5419FB0E.8080005@gmail.com> Message-ID: <541A04AA.2010101@fourthworld.com> Richmond wrote: > Sorting Cards > > The Sort by Name command in the Utilities menu lets you arrange cards > alphabetically by either > first or last name. > ---------------------------------------------------------- > I wonder how one does that in Livecode? > ---------------------------------------------------------- See the sort command in the Dictionary. > Searching for text > > 1. Choose Find from the Go menu. > ---------------------------------------------------------- > I wonder how one does that in Livecode? > ---------------------------------------------------------- See the Find item in the Edit menu. > The Recent command > > AS you go from card to card and stack to stack, HyperCard > automatically keeps a record of where you've been. The Recent > command in the Go menu shows (in miniature) the card you > have looked at, up to the last 42. > > ---------------------------------------------------------- > I wonder how one does that in Livecode? > > Certainly View/Recent does not do that. > ---------------------------------------------------------- LiveCode maintains a list of recent cards; if you need thumbnails of those you can create a dialog that uses the import snapshot command to populate it from the recentCards. LiveCode is not HyperCard, nor it is SuperCard, nor OMO, nor Gain. Attempting to use materials written for other programs to learn LiveCode will likely be more frustrating that just using the materials written for LiveCode. That said, it might be a fun exercise to build HyperCard in LiveCode, smaller object model, B&W graphics, limit groups, and all. FWIW, some time ago I wrote an article titled "The True Power of HyperCard", which includes a list of some of the differences: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Wed Sep 17 19:16:57 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Sep 2014 18:16:57 -0500 Subject: Tab Panel Highlights Not Appearing Correctly? In-Reply-To: References: Message-ID: <541A1669.1040508@hyperactivesw.com> On Wed, Sep 17, 2014 at 9:26 AM, JOHN PATTEN wrote: >> I think i must be using the Tab Panel object incorrectly. The tabs do not >> highlight correctly when clicked on. On 9/17/2014, 12:44 PM, Peter Haworth wrote: > I think by resetting the text of the tab, it loses the info on which tab > was clicked. I would save off the tab number that was clicked (I think > that's the menuhistory for tabbed buttons but not sure) then reset it after > you set the text. The menupick message includes the previous tab as a parameter, so one solution for John might be to change the mouseUp handler to a menuPick and track things that way. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Sep 17 19:18:36 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 17 Sep 2014 18:18:36 -0500 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> References: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> Message-ID: <541A16CC.2030604@hyperactivesw.com> On 9/17/2014, 2:56 PM, Matthias Rebbe | M-R-D wrote: > Am 17.09.2014 um 21:27 schrieb Andrew Kluthe: > >> >After this and the highlighting for ultraedit, I might just have to figure >> >out how to make a package for sublime text that does this. >> > >> >In the past, for small scripts, I have just done without. >> > >> >Hmmm. >> > > Don?t count on me. ;) > > We used to have one for BBEdit and I really miss that. So someone should put that on the list too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From palcibiades-first at yahoo.co.uk Wed Sep 17 19:20:37 2014 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 17 Sep 2014 16:20:37 -0700 (PDT) Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: <541A16CC.2030604@hyperactivesw.com> References: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> <541A16CC.2030604@hyperactivesw.com> Message-ID: <1410996037594-4683363.post@n4.nabble.com> If only someone would do a plug-in for Geany. I know, dream on.... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Coda-2-Syntax-highlighting-for-LC-now-working-tp4683352p4683363.html Sent from the Revolution - User mailing list archive at Nabble.com. From palcibiades-first at yahoo.co.uk Wed Sep 17 19:43:41 2014 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Wed, 17 Sep 2014 16:43:41 -0700 (PDT) Subject: HyperCard Basics In-Reply-To: <541A04AA.2010101@fourthworld.com> References: <5419FB0E.8080005@gmail.com> <541A04AA.2010101@fourthworld.com> Message-ID: <1410997421488-4683364.post@n4.nabble.com> Richard, thank you so much for that link to a wise, amusing and charming article. Yes, you are right. The charm of it was youth. Which we only realise when we look back on it as you did there. It is the experience some of us will have had - of returning home after a long absence to a place whose memories we had carried with us and taken for granted. But when we got there again, everything seemed so extraordinarily small. Surely this is not how it was. Yes, that is really how Hypercard was. This is how Conrad puts it: "...our weary eyes looking still, looking always, looking anxiously for something out of life, that while it is expected is already gone?has passed unseen, in a sigh, in a flash?together with the youth, with the strength, with the romance of illusions." Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/HyperCard-Basics-tp4683358p4683364.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Wed Sep 17 20:03:15 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 17 Sep 2014 17:03:15 -0700 (PDT) Subject: HyperCard Basics In-Reply-To: <1410997421488-4683364.post@n4.nabble.com> References: <5419FB0E.8080005@gmail.com> <541A04AA.2010101@fourthworld.com> <1410997421488-4683364.post@n4.nabble.com> Message-ID: <1410998595760-4683365.post@n4.nabble.com> Interesting enough, LiveCode had more power than all XTalk software created before... but there are just a few of us who actually knows how to use fully all this power. Some years ago, I ask in this mail list: Where are the new Livecode learners? Why they do not participate more in this mail list? This question still remains valid. It's more easy to create a stack with many cards, than a website... If I had a classrom of Livecode learners their first project would be a Mail List Reader (download, store, bookmark and display all messages from this mail list) Their second project would be an interactive and internet connected magazine (a stack) about their favorite topic: (sports, fashion, TV, games, etc.) Their third project would be a version of the game Checkers... etc, etc. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/HyperCard-Basics-tp4683358p4683365.html Sent from the Revolution - User mailing list archive at Nabble.com. From jiml at netrin.com Wed Sep 17 20:13:25 2014 From: jiml at netrin.com (Jim Lambert) Date: Wed, 17 Sep 2014 17:13:25 -0700 Subject: [ANN] Scrolling images In-Reply-To: References: Message-ID: Bernd, Nice! Viele Danke. Jim Lambert From dochawk at gmail.com Wed Sep 17 21:02:17 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 17 Sep 2014 18:02:17 -0700 Subject: share in-memory SQLite db with other apps Message-ID: I'm assuming that the answer is, "of course not!", but is it possible to share an in-memory SQLite db with other applications (particularly, LibreOffice)? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From MikeKerner at roadrunner.com Wed Sep 17 21:40:21 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 17 Sep 2014 21:40:21 -0400 Subject: ios8 In-Reply-To: <01bf01cfd080$478d5630$d6a80290$@net> References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> <0BBCD59D-A0FA-4D47-B1AB-B49217726546@gmail.com> <2D7531CF-5100-42DB-BE9D-4BD644D5E608@icloud.com> <01bf01cfd080$478d5630$d6a80290$@net> Message-ID: I think we might have a common thread: my bug is 13446. Riccardo reported 13474 - in his, he has push enabled, and gets the same crash as me. I have push enabled in mine. On Sun, Sep 14, 2014 at 8:59 PM, Ralph DiMola wrote: > I do an OTA update for my iOS app. After I put iOS 8 on my iPad 2 I seem > to be having a caching problem. The OTA gets it's state by doing a: > > Put url (mydom.on-rev.com/folder/updatestatus.txt) into myVar > > The old data is getting loaded. I changed the filename in the app and got > a 404. I copied the file on the server to the changed file name and the > correct data was loaded. I even deleted the file on the server and I still > received the cached file????? > > Any ideas? > > Other than this my apps seem to work fine in iOS 8 using Xcode 5.1.1 > > Thanks > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pete at lcsql.com Wed Sep 17 21:51:07 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 17 Sep 2014 18:51:07 -0700 Subject: share in-memory SQLite db with other apps In-Reply-To: References: Message-ID: Don't think that's possible since the memory used in your application's memory space. There is a shared cache setting but I think that only applies to multiple sqlite dbs open in the same application and it needs to use the URI file format which LC doesn't fully support yet. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 17, 2014 at 6:02 PM, Dr. Hawkins wrote: > I'm assuming that the answer is, "of course not!", but is it possible to > share an in-memory SQLite db with other applications (particularly, > LibreOffice)? > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alain_farmer at yahoo.com Wed Sep 17 22:12:57 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Wed, 17 Sep 2014 19:12:57 -0700 Subject: HyperCard Basics In-Reply-To: <1410998595760-4683365.post@n4.nabble.com> References: <5419FB0E.8080005@gmail.com> <541A04AA.2010101@fourthworld.com> <1410997421488-4683364.post@n4.nabble.com> <1410998595760-4683365.post@n4.nabble.com> Message-ID: <1411006377.18669.YahooMailNeo@web126101.mail.ne1.yahoo.com> Is it time for an upgrade of FreeGUI to LiveCode ? ;-) On Wednesday, September 17, 2014 8:03 PM, Alejandro Tejada wrote: Interesting enough, LiveCode had more power than all XTalk software created before... but there are just a few of us who actually knows how to use fully all this power. Some years ago, I ask in this mail list: Where are the new Livecode learners? Why they do not participate more in this mail list? This question still remains valid. It's more easy to create a stack with many cards, than a website... If I had a classrom of Livecode learners their first project would be a Mail List Reader (download, store, bookmark and display all messages from this mail list) Their second project would be an interactive and internet connected magazine (a stack) about their favorite topic: (sports, fashion, TV, games, etc.) Their third project would be a version of the game Checkers... etc, etc. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/HyperCard-Basics-tp4683358p4683365.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From alain_farmer at yahoo.com Wed Sep 17 22:12:57 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Wed, 17 Sep 2014 19:12:57 -0700 Subject: HyperCard Basics In-Reply-To: <1410998595760-4683365.post@n4.nabble.com> References: <5419FB0E.8080005@gmail.com> <541A04AA.2010101@fourthworld.com> <1410997421488-4683364.post@n4.nabble.com> <1410998595760-4683365.post@n4.nabble.com> Message-ID: <1411006377.18669.YahooMailNeo@web126101.mail.ne1.yahoo.com> Is it time for an upgrade of FreeGUI to LiveCode ? ;-) On Wednesday, September 17, 2014 8:03 PM, Alejandro Tejada wrote: Interesting enough, LiveCode had more power than all XTalk software created before... but there are just a few of us who actually knows how to use fully all this power. Some years ago, I ask in this mail list: Where are the new Livecode learners? Why they do not participate more in this mail list? This question still remains valid. It's more easy to create a stack with many cards, than a website... If I had a classrom of Livecode learners their first project would be a Mail List Reader (download, store, bookmark and display all messages from this mail list) Their second project would be an interactive and internet connected magazine (a stack) about their favorite topic: (sports, fashion, TV, games, etc.) Their third project would be a version of the game Checkers... etc, etc. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/HyperCard-Basics-tp4683358p4683365.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From alex at harryscollar.com Wed Sep 17 22:50:17 2014 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 18 Sep 2014 12:50:17 +1000 Subject: iOS 8 & XCode 6 In-Reply-To: References: Message-ID: <541A4869.2030701@harryscollar.com> Hi Does anyone know when we can expect LC to work with XCode 6? Updated my development iPad to iOS8 for testing a few things and of course now XCode 5.1.1 doesn't like it. regards alex From admin at FlexibleLearning.com Wed Sep 17 23:14:03 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Thu, 18 Sep 2014 04:14:03 +0100 Subject: [ANN] modified Table Field 0_2_9 Message-ID: <001001cfd2ee$99bc2f10$cd348d30$@FlexibleLearning.com> Link does not work here... I see the text of your stack displayed in my browser. Maybe you can upload a zip file, so it downloads as expected? Hugh Senior FLCo BNig wrote... here a version of modifiedTableField that makes use of the new LC7 RC1 feature of text aligning columnar data. You can now right align a column. Columns can be hidden. Works with 6.13 up, best with 6.6.2. Obviously columnar text alignment needs LC7. ------------------------------------ http://www.berndniggemann.on-rev.com/modTableField/modTableField_0_2_9New.li vecode ------------------------------------ watch for linebreaks in url Kind regards Bernd From capellan2000 at gmail.com Wed Sep 17 23:26:19 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 17 Sep 2014 20:26:19 -0700 (PDT) Subject: HyperCard Basics In-Reply-To: <1411006377.18669.YahooMailNeo@web126101.mail.ne1.yahoo.com> References: <5419FB0E.8080005@gmail.com> <541A04AA.2010101@fourthworld.com> <1410997421488-4683364.post@n4.nabble.com> <1410998595760-4683365.post@n4.nabble.com> <1411006377.18669.YahooMailNeo@web126101.mail.ne1.yahoo.com> Message-ID: <1411010779792-4683373.post@n4.nabble.com> Alain Farmer wrote > Is it time for an upgrade of FreeGUI to LiveCode ? ;-) Actually, I have show LiveCode to many people and their answer is: I will use LiveCode if it works and looks like the software that I already use... (I understand that they mean that LiveCode should have the interface and keyboard shortcults used by Office Suites) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/HyperCard-Basics-tp4683358p4683373.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Wed Sep 17 23:34:34 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 17 Sep 2014 20:34:34 -0700 (PDT) Subject: [ANN] Scrolling images In-Reply-To: <1410956556100-4683337.post@n4.nabble.com> References: <1410956556100-4683337.post@n4.nabble.com> Message-ID: <1411011274345-4683374.post@n4.nabble.com> Wonderful! :D Excellent work, Bernd. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Scrolling-images-tp4683337p4683374.html Sent from the Revolution - User mailing list archive at Nabble.com. From sundown at pacifier.com Wed Sep 17 23:31:39 2014 From: sundown at pacifier.com (JB) Date: Wed, 17 Sep 2014 20:31:39 -0700 Subject: Listing & Filtering files In-Reply-To: <4DAE1DCC-B955-41F3-8388-89535C71BBCB@mac.com> References: <69DD3B7D-5256-4955-A4D2-1472A5F9393D@pacifier.com> <5F410428-50AE-4612-ACA0-33651A850454@pacifier.com> <4DAE1DCC-B955-41F3-8388-89535C71BBCB@mac.com> Message-ID: <88819306-34C1-4D93-B402-C38CF1516D64@pacifier.com> Thanks for the advice and info. Since Richard Gaskin already pointed out the problem and even told them it is color blindness related I won?t bother them. What is more important is the release of Swift and how they are working it into the ability to program externals for LiveCode. Hopefully they take the time to make the externals people build work on the earlier versions too. This would profit LiveCode and anyone who sells or uses them. Keeping the door open for RR users is good business. John Balgenorth On Sep 17, 2014, at 9:35 AM, Paul Hibbert wrote: > John, > > It maybe useful for you to inform RR that their site is difficult for you to navigate successfully, I'm sure you're not the only one who struggles with the light colours, but your personal experience should help them make informed decisions in future. > > I know there were several complaints about the light green text on the LC site when they first started using them, and they did darken the green slightly. I think it was Richard Gaskin that pointed out that light green is not a good choice for people with colour blindness. > > I know it is possible to use a local css file to change the link colours, so I tried this wondering if it may help, but it seems that because of the way the LC lessons are formatted, the css changes don't have any effect on this site, at least in Safari. You can use Firefox however, and it does allow you to change the link colours in preferences, not too sure about IE though. > > HTH > > Paul > > On Sep 16, 2014, at 9:59 PM, JB wrote: > >> Thanks for the info on the link for part 2. >> I am color blind on reds and greens and >> after you pointing it out I see it. Before >> that it kind of disappears and makes it >> easy to miss. >> >> John Balgenorth >> >> >> On Sep 16, 2014, at 9:54 PM, Paul Hibbert wrote: >> >>> http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 >>> >>> The link is in the top right corner of part 1. :-) >>> >>> Paul >>> >>> On Sep 16, 2014, at 9:30 PM, JB wrote: >>> >>>> It says this is PART 1. >>>> >>>> Does anyone know where Part 2 is? >>>> >>>> John Balgenorth >>>> >>>> >>>> >>>> On Sep 16, 2014, at 9:25 PM, JB wrote: >>>> >>>>> You want some of the best ways to list and filter files? >>>>> Here it is from the experts with a stack download to help. >>>>> >>>>> http://lessons.runrev.com/s/lessons/m/4071/l/16635-file-and-folders-part-1 >>>>> >>>>> John Balgenorth >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Wed Sep 17 23:40:23 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 17 Sep 2014 23:40:23 -0400 Subject: ios8 In-Reply-To: References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> <0BBCD59D-A0FA-4D47-B1AB-B49217726546@gmail.com> <2D7531CF-5100-42DB-BE9D-4BD644D5E608@icloud.com> <01bf01cfd080$478d5630$d6a80290$@net> Message-ID: CONFIRMED: Disabling push stops the crash. On Wed, Sep 17, 2014 at 9:40 PM, Mike Kerner wrote: > I think we might have a common thread: my bug is 13446. Riccardo > reported 13474 - in his, he has push enabled, and gets the same crash as > me. I have push enabled in mine. > > On Sun, Sep 14, 2014 at 8:59 PM, Ralph DiMola > wrote: > >> I do an OTA update for my iOS app. After I put iOS 8 on my iPad 2 I seem >> to be having a caching problem. The OTA gets it's state by doing a: >> >> Put url (mydom.on-rev.com/folder/updatestatus.txt) into myVar >> >> The old data is getting loaded. I changed the filename in the app and >> got a 404. I copied the file on the server to the changed file name and >> the correct data was loaded. I even deleted the file on the server and I >> still received the cached file????? >> >> Any ideas? >> >> Other than this my apps seem to work fine in iOS 8 using Xcode 5.1.1 >> >> Thanks >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pete at lcsql.com Thu Sep 18 00:29:57 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 17 Sep 2014 21:29:57 -0700 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: <1410996037594-4683363.post@n4.nabble.com> References: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> <541A16CC.2030604@hyperactivesw.com> <1410996037594-4683363.post@n4.nabble.com> Message-ID: If only RunRev would come up with a script editor that had code folding, auto-complete, etc, we wouldn;t need to be messing with these other editors. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 17, 2014 at 4:20 PM, Peter Alcibiades < palcibiades-first at yahoo.co.uk> wrote: > If only someone would do a plug-in for Geany. I know, dream on.... > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Coda-2-Syntax-highlighting-for-LC-now-working-tp4683352p4683363.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alain_farmer at yahoo.com Thu Sep 18 00:42:08 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Wed, 17 Sep 2014 21:42:08 -0700 Subject: HyperCard Basics In-Reply-To: <1411010779792-4683373.post@n4.nabble.com> References: <5419FB0E.8080005@gmail.com> <541A04AA.2010101@fourthworld.com> <1410997421488-4683364.post@n4.nabble.com> <1410998595760-4683365.post@n4.nabble.com> <1411006377.18669.YahooMailNeo@web126101.mail.ne1.yahoo.com> <1411010779792-4683373.post@n4.nabble.com> Message-ID: <1411015328.21604.YahooMailNeo@web126105.mail.ne1.yahoo.com> No, n-o-t microsoft-office! No-ooooo! ;-) HyperCard had LOTS of keyboard shortcuts. Recent-cards was a cool feature, but I didn't use it much. It would be easy to recreate it with LiveCode. Only the thumbnails were missing in the MetaCard version (aka FreeGUI). OTOH i don't think there is much-interest in this; not enough to warrant a recode. Nice chatting with you, Al. On Wednesday, September 17, 2014 11:26 PM, Alejandro Tejada wrote: Alain Farmer wrote > Is it time for an upgrade of FreeGUI to LiveCode ? ;-) Actually, I have show LiveCode to many people and their answer is: I will use LiveCode if it works and looks like the software that I already use... (I understand that they mean that LiveCode should have the interface and keyboard shortcults used by Office Suites) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/HyperCard-Basics-tp4683358p4683373.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bernd.niggemann at uni-wh.de Thu Sep 18 00:59:59 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 17 Sep 2014 21:59:59 -0700 (PDT) Subject: [ANN] modified Table Field 0_2_9 In-Reply-To: <001001cfd2ee$99bc2f10$cd348d30$@FlexibleLearning.com> References: <001001cfd2ee$99bc2f10$cd348d30$@FlexibleLearning.com> Message-ID: <1411016399711-4683379.post@n4.nabble.com> Here is a zipped version of modTableField ----------------------------------------- http://www.berndniggemann.on-rev.com/modTableField/modTableField_0_2_9New.livecode.zip ----------------------------------------- watch for linebreaks FlexibleLearning.com wrote > Link does not work here... I see the text of your stack displayed in my > browser. > > Maybe you can upload a zip file, so it downloads as expected? > > Hugh Senior > FLCo -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-9-tp4683372p4683379.html Sent from the Revolution - User mailing list archive at Nabble.com. From alex at harryscollar.com Thu Sep 18 01:01:01 2014 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 18 Sep 2014 15:01:01 +1000 Subject: ios8 In-Reply-To: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> References: <66267155-9933-4FA4-A731-10DB8E5D50DF@verizon.net> Message-ID: <541A670D.3050001@harryscollar.com> Hi Colin Was that with LC 6.6.2 or pre-release 6.7 or 7.0? regards alex On 10/09/2014 4:48 am, Colin Holgate wrote: > I used Xcode 6 to get the app onto my iPad. > > > On Sep 9, 2014, at 2:41 PM, Mike Kerner wrote: > >> Compiling from LC? The last time I read, we couldn't use the latest XC, >> yet. >> >> On Tue, Sep 9, 2014 at 2:30 PM, Colin Holgate wrote: >> >>> I was working on apps last week, and it went ok. That?s on my iOS 8 iPad >>> Air. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Thu Sep 18 01:03:28 2014 From: sundown at pacifier.com (JB) Date: Wed, 17 Sep 2014 22:03:28 -0700 Subject: Progress Bar Message-ID: <8F8BC9D3-9484-4B32-8BB6-EB19D7E233A8@pacifier.com> How do I set the end value of a progress bar by code instead of the inspector? John Balgenorth From mwieder at ahsoftware.net Thu Sep 18 01:14:59 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 17 Sep 2014 22:14:59 -0700 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: References: Message-ID: <781330235676.20140917221459@ahsoftware.net> Andrew- Wednesday, September 17, 2014, 12:27:32 PM, you wrote: > After this and the highlighting for ultraedit, I might just have to figure > out how to make a package for sublime text that does this. Please do. I'd love to be able to use Sublime as an external editor. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From bernd.niggemann at uni-wh.de Thu Sep 18 01:16:19 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 17 Sep 2014 22:16:19 -0700 (PDT) Subject: [ANN] Scrolling images In-Reply-To: <1411011274345-4683374.post@n4.nabble.com> References: <1410956556100-4683337.post@n4.nabble.com> <1411011274345-4683374.post@n4.nabble.com> Message-ID: <1411017379828-4683382.post@n4.nabble.com> Jim, Alejandro, thank you. what made me post this is not only the nice "moving images" but also how to optimize animating multiple objects at the same time. You might want to have a look of the "great loop" in the card script, where the three objects register/unregister to get their trigger within a lock screen, somehow akin a game loop on the fly. And the use of snapshot to take the burden off Livecode to render complex graphics with gradients. here is a zipped version in case there are problems downloading the unzipped version ------------------------------------------------ http://www.berndniggemann.on-rev.com/scrollingimages/scrollingImages_0_1_0_centralLoop.livecode.zip ------------------------------------------------ watch for line breaks Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-Scrolling-images-tp4683337p4683382.html Sent from the Revolution - User mailing list archive at Nabble.com. From bernd.niggemann at uni-wh.de Thu Sep 18 01:20:00 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Wed, 17 Sep 2014 22:20:00 -0700 (PDT) Subject: [ANN] modified Table Field 0_2_9 In-Reply-To: <1410974109897-4683349.post@n4.nabble.com> References: <1410956890526-4683338.post@n4.nabble.com> <0032CCB6-F2F1-4BCE-96F1-5F765C65F5D1@byu.edu> <1410973303270-4683346.post@n4.nabble.com> <4874BB8D-138A-4221-9E37-0CF83BBF5372@byu.edu> <1410974109897-4683349.post@n4.nabble.com> Message-ID: <1411017600750-4683384.post@n4.nabble.com> here is a zipped version of modTableField in case there are problems of downloading the unzipped .livecode file -------------------------------------------- http://www.berndniggemann.on-rev.com/modTableField/modTableField_0_2_9New.livecode.zip -------------------------------------------- watch for linebreaks Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-modified-Table-Field-0-2-9-tp4683338p4683384.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Thu Sep 18 01:16:46 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 17 Sep 2014 22:16:46 -0700 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: References: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> <541A16CC.2030604@hyperactivesw.com> <1410996037594-4683363.post@n4.nabble.com> Message-ID: <1361330342956.20140917221646@ahsoftware.net> Pete- Wednesday, September 17, 2014, 9:29:57 PM, you wrote: > If only RunRev would come up with a script editor that had code folding, > auto-complete, etc, we wouldn;t need to be messing with these other editors. I doubt it. Everyone wants something different out of a script editor. Having hooks to allow for external editors would let everyone use what they're used to, whether it's Coda or vim or whatever. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From gerry.orkin at gmail.com Thu Sep 18 01:38:05 2014 From: gerry.orkin at gmail.com (Gerry) Date: Thu, 18 Sep 2014 15:38:05 +1000 Subject: iOS 8 & XCode 6 In-Reply-To: <541A4869.2030701@harryscollar.com> References: <541A4869.2030701@harryscollar.com> Message-ID: I've upgraded both my iPhone and iPad to iOS 8 and that version of xCode works fine for me - I can install apps on both devices.. g On 18 Sep 2014, at 12:50 pm, Alex Shaw wrote: > Hi > > Does anyone know when we can expect LC to work with XCode 6? > > Updated my development iPad to iOS8 for testing a few things and of course now XCode 5.1.1 doesn't like it. > > regards > alex > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Thu Sep 18 01:38:48 2014 From: sundown at pacifier.com (JB) Date: Wed, 17 Sep 2014 22:38:48 -0700 Subject: Progress Bar In-Reply-To: <8F8BC9D3-9484-4B32-8BB6-EB19D7E233A8@pacifier.com> References: <8F8BC9D3-9484-4B32-8BB6-EB19D7E233A8@pacifier.com> Message-ID: <8524C74F-D1C7-4BB0-9F56-9B9D772CCC5C@pacifier.com> It does not really matter. I realize the best way is to set the end value at 100 and use the percent value of how much has been processed since there are limits on how large the end value number can even be. John Balgenorth On Sep 17, 2014, at 10:03 PM, JB wrote: > How do I set the end value of a progress > bar by code instead of the inspector? > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at harryscollar.com Thu Sep 18 01:45:54 2014 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 18 Sep 2014 15:45:54 +1000 Subject: iOS 8 & XCode 6 In-Reply-To: References: <541A4869.2030701@harryscollar.com> Message-ID: <541A7192.7070100@harryscollar.com> Thanks Gerry. Will update xcode now. regards alex On 18/09/2014 3:38 pm, Gerry wrote: > I've upgraded both my iPhone and iPad to iOS 8 and that version of xCode works fine for me - I can install apps on both devices.. > > g > > > On 18 Sep 2014, at 12:50 pm, Alex Shaw wrote: > >> Hi >> >> Does anyone know when we can expect LC to work with XCode 6? >> >> Updated my development iPad to iOS8 for testing a few things and of course now XCode 5.1.1 doesn't like it. >> >> regards >> alex >> From lan.kc.macmail at gmail.com Thu Sep 18 02:11:47 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 18 Sep 2014 14:11:47 +0800 Subject: PDF Files - Is there a way to read them in LiveCode? In-Reply-To: <65007D2A-9066-4EB1-855B-E6771EDE3956@agate.plala.or.jp> References: <65007D2A-9066-4EB1-855B-E6771EDE3956@agate.plala.or.jp> Message-ID: OCR is the last thing you want to use. Far too many errors. If you are on Mac you can use Applescript to open, Select All and Copy and this will result in 100% of the text being available, no OCR errors. Unfortunately, depending on your document the output might not exactly match the input. This will be particularly true pages pages containing multi-column data or there are tables of data. It's easy enough to test, open the pdf in question, Select All, Copy and then Paste into TextEdit. You'll be left with 3 possibilities: 1) You are extremely lucky and your pdfs are very basic and the text output is a 100% match. LC solution very easy. 2) 90% of the document is fine but a couple of tables don't match. Your pdfs are standardised and these tables (or multi columns) appear in the same place. Will be possible to parse the data and use LC to correct the formatting. Development time will be considerably longer. 3) Your pdfs are random and there are tables and multi columns all over the place resulting in output that is anywhere between 1% to 10% accurate. Forget it, it will be almost impossible to reconstruct the jumble of text back to the original layout. HTH On Wed, Sep 17, 2014 at 4:25 AM, Jonathan Scott wrote: > Hi, > I have some PDF files that I'd like to create a search stack for. I looked on the net and found a way to display them in LiveCode, but is there actually a way to read the OCR text that's in each file? If not, there should be. > Thanks in advance. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paulhibbert at mac.com Thu Sep 18 02:22:53 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 17 Sep 2014 23:22:53 -0700 Subject: Progress Bar In-Reply-To: <8F8BC9D3-9484-4B32-8BB6-EB19D7E233A8@pacifier.com> References: <8F8BC9D3-9484-4B32-8BB6-EB19D7E233A8@pacifier.com> Message-ID: <480BDA2C-7569-47B6-B27D-39A3175169FD@mac.com> You almost wrote it in your email! set the endValue of Scrollbar "myProgressScrollbar" to myValue If you look at the very first item in the LiveCode Preferences, you'll see that you can change the "Property Labels" to show the "Name of the LiveCode Property" instead of the "Description of the option". This helps a lot when looking for property names, they are all right there in the inspector, but it's an easy step to overlook. HTH Paul On Sep 17, 2014, at 10:03 PM, JB wrote: > How do I set the end value of a progress > bar by code instead of the inspector? > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Thu Sep 18 02:23:27 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Thu, 18 Sep 2014 14:23:27 +0800 Subject: LiveCode syntaxhighligthing and autocomplete for Ultraedit available In-Reply-To: <2F9C92CE-4FF4-4B8D-BA60-E19EF59E5C33@m-r-d.de> References: <9521B0C3-A67B-4233-8DEC-0B50D4A8EF36@m-r-d.de> <2F9C92CE-4FF4-4B8D-BA60-E19EF59E5C33@m-r-d.de> Message-ID: On Tue, Sep 16, 2014 at 2:26 PM, Matthias Rebbe | M-R-D wrote: > > i used Bjoernke?s BvG Docu Plugin. > That's what I thought. So it also lacks reference to all the undocumented keywords - which the Script Editor does correctly colour. Always living in hope that some new command will come out that automatically lists EVERY single keyword; and just to show I'm greedy, some meta data like Type and Syntax. From sundown at pacifier.com Thu Sep 18 02:30:57 2014 From: sundown at pacifier.com (JB) Date: Wed, 17 Sep 2014 23:30:57 -0700 Subject: Progress Bar In-Reply-To: <480BDA2C-7569-47B6-B27D-39A3175169FD@mac.com> References: <8F8BC9D3-9484-4B32-8BB6-EB19D7E233A8@pacifier.com> <480BDA2C-7569-47B6-B27D-39A3175169FD@mac.com> Message-ID: <21D2CDE7-E073-4155-926C-45A903C8A5A2@pacifier.com> Thank you for that information! John Balgenorth On Sep 17, 2014, at 11:22 PM, Paul Hibbert wrote: > You almost wrote it in your email! > > set the endValue of Scrollbar "myProgressScrollbar" to myValue > > If you look at the very first item in the LiveCode Preferences, you'll see that you can change the "Property Labels" to show the "Name of the LiveCode Property" instead of the "Description of the option". > > This helps a lot when looking for property names, they are all right there in the inspector, but it's an easy step to overlook. > > HTH > > Paul > > On Sep 17, 2014, at 10:03 PM, JB wrote: > >> How do I set the end value of a progress >> bar by code instead of the inspector? >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Sep 18 03:03:58 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 18 Sep 2014 10:03:58 +0300 Subject: HyperCard Basics In-Reply-To: <1411015328.21604.YahooMailNeo@web126105.mail.ne1.yahoo.com> References: <5419FB0E.8080005@gmail.com> <541A04AA.2010101@fourthworld.com> <1410997421488-4683364.post@n4.nabble.com> <1410998595760-4683365.post@n4.nabble.com> <1411006377.18669.YahooMailNeo@web126101.mail.ne1.yahoo.com> <1411010779792-4683373.post@n4.nabble.com> <1411015328.21604.YahooMailNeo@web126105.mail.ne1.yahoo.com> Message-ID: <541A83DE.1080309@gmail.com> On 18/09/14 07:42, Alain Farmer wrote: > No, n-o-t microsoft-office! No-ooooo! ;-) > HyperCard had LOTS of keyboard shortcuts. > Recent-cards was a cool feature, but I didn't use it much. I never use it: I just thought, on reading 'HyperCard Basics' it might be fun to stir the pot. Although a Recent Cards feature with a load of thumbnails might be, indeed, a cool feature. AND, various interesting responses have been posted . . . > It would be easy to recreate it with LiveCode. > Only the thumbnails were missing in the MetaCard version (aka FreeGUI). > OTOH i don't think there is much-interest in this; not enough to warrant a recode. > Nice chatting with you, Al. > I'll second that about Microsoft Office. Perhaps . . . if I can find the time, I'll make a merry little list of all the keyboard shortcuts. I use a Nostromo Gamepad as a way to quickly navigate around and do all sorts of repetitive tasks whilst I am programming: obviously that would not be possible without all the keyboard shortcuts Livecode possesses. "works and looks like the software that I already use" Is so subjective it shouldn't be bothered with. ----------------------------------------------------------- Why does this make me think of lazy slobs who are not prepared to make an effort to learn a bit? Similar comments: "I couldn't change from Windows to Linux because I would have to learn how to do everything all over again." "LibreOffice is just not Microsoft Office." - you're dead right it's not: that is one of its greatest strengths. "I cannot give up disposable diapers and move to proper underpants because that would mean I would have to learn how to clean my bottom." . . . whoops, perhaps I should slap myself on the wrist (or bottom) for that one. ---------------------------------------------------------- Let's see what software I use: Word-processing: Appleworks 6 [either on my G5 or the Windows version via WINE on Linux] E-mail: Thunderbird and TenFourBird [Mac PPC version of Thunderbird] Graphics: GIMP [This, I believe stands for 'GIMP Is More than Photoshop' . . . :) ] Right: anyone for making Livecode look like Appleworks? . . . LOL --------------------------------------------------------- Slapping antiquated Hypercard-like interfaces on Livecode is also fairly daft as that restricts access to the vast amount of things one can do with Livecode which Hypercard never dreamt about. Richmond [back in the hood with a vengeance]. From gerry.orkin at gmail.com Thu Sep 18 03:32:11 2014 From: gerry.orkin at gmail.com (Gerry) Date: Thu, 18 Sep 2014 17:32:11 +1000 Subject: iOS 8 & XCode 6 In-Reply-To: <541A7192.7070100@harryscollar.com> References: <541A4869.2030701@harryscollar.com> <541A7192.7070100@harryscollar.com> Message-ID: I meant that XCode 5.1.1 works for me! g On 18 Sep 2014, at 3:45 pm, Alex Shaw wrote: > Thanks Gerry. > > Will update xcode now. From alex at harryscollar.com Thu Sep 18 04:13:13 2014 From: alex at harryscollar.com (Alex Shaw) Date: Thu, 18 Sep 2014 18:13:13 +1000 Subject: iOS 8 & XCode 6 In-Reply-To: References: <541A4869.2030701@harryscollar.com> <541A7192.7070100@harryscollar.com> Message-ID: <541A9419.2090609@harryscollar.com> Can confirm that so far LC6.6.3 works with xcode 6.0.1 but haven't tried submitting anything to the app store yet. regards alex On 18/09/2014 5:32 pm, Gerry wrote: > I meant that XCode 5.1.1 works for me! > > g > > On 18 Sep 2014, at 3:45 pm, Alex Shaw wrote: > >> Thanks Gerry. >> >> Will update xcode now. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From drdada at gmail.com Thu Sep 18 04:52:35 2014 From: drdada at gmail.com (Jonathan Cooper) Date: Thu, 18 Sep 2014 18:52:35 +1000 Subject: HyperCard Basics In-Reply-To: References: Message-ID: <225E4DC5-C524-487E-8DF6-F8997E49EEA1@gmail.com> I loved the simplicity of HyperCard's cmd-F "Find", so I created my own in LiveCode: on commandKeyDown whichKey switch whichKey case "e" global prevFindString ask "Find:" with prevFindString find it if the result <> "" then beep put it into prevFindString break case "g" global prevFindString find prevFindString default pass commandKeyDown end switch end commandKeyDown Now, when I want to find some text in the current stack, I press cmd-E, start typing, press enter. To find subsequent occurrences, I press cmd-G. I tried scripting the message-box, to make it work just like HyperCard, but I couldn't get it to work for some reason. Can't remember why ? it was a long time ago (when LiveCode was still called "Revolution"). Jonathan Jonathan Cooper www.doctordada.com On 18/09/2014, at 9:18 AM, use-livecode-request at lists.runrev.com wrote: > -- It is true that there is no "go" menu, and you have to script your own find. What has replaced it, with cmd-F, is the find and replace gadget. Much more flexible and powerful, if less quaint. From th.douez at gmail.com Thu Sep 18 05:20:09 2014 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 18 Sep 2014 11:20:09 +0200 Subject: iOS 8 & XCode 6 In-Reply-To: <541A9419.2090609@harryscollar.com> References: <541A4869.2030701@harryscollar.com> <541A7192.7070100@harryscollar.com> <541A9419.2090609@harryscollar.com> Message-ID: Here are few links for those interested to have Xcode 5 and 6 along side... http://stackoverflow.com/questions/24042820/how-can-i-install-xcode-6-along-side-xcode-5 http://stackoverflow.com/questions/24005297/can-xcode-6-and-xcode-5-coexist-on-the-same-computer http://stackoverflow.com/questions/24038286/is-it-possible-to-install-ios6-sdk-on-xcode-6-beta Seems the problem is with the simulator... Thanks Alex for the link :) Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From sundown at pacifier.com Thu Sep 18 05:28:18 2014 From: sundown at pacifier.com (JB) Date: Thu, 18 Sep 2014 02:28:18 -0700 Subject: LiveCode Commercial License Message-ID: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> I was not awary LiveCode updated their commercial license. My question is they say you are billed annually which is like was done for Revoluton Enterprise. Then they say you can cancel anytime and you are never charged royalties. That was my problem with LiveCode is if I remember correctly when they went to LiveCode they charged royalties. So, if I have a commercial license I can sell as many copies of my program royalty free forever? In other words what if I cancel my annual license, am I still allowed to sell copies of the program I made with the commercial license royalty free forever or is there a catch somewhere that then forces me to stop selling the program or pay some royalties? John Balgenorth From richmondmathewson at gmail.com Thu Sep 18 05:35:39 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 18 Sep 2014 12:35:39 +0300 Subject: HyperCard Basics In-Reply-To: <225E4DC5-C524-487E-8DF6-F8997E49EEA1@gmail.com> References: <225E4DC5-C524-487E-8DF6-F8997E49EEA1@gmail.com> Message-ID: <541AA76B.5050506@gmail.com> On 18/09/14 11:52, Jonathan Cooper wrote: > I loved the simplicity of HyperCard's cmd-F "Find", so I created my own in LiveCode: > > on commandKeyDown whichKey > switch whichKey > case "e" > global prevFindString > ask "Find:" with prevFindString > find it > if the result <> "" then beep > put it into prevFindString > break > case "g" > global prevFindString > find prevFindString > default > pass commandKeyDown > end switch > end commandKeyDown > > Now, when I want to find some text in the current stack, I press cmd-E, start typing, press enter. To find subsequent occurrences, I press cmd-G. > > I tried scripting the message-box, to make it work just like HyperCard, but I couldn't get it to work for some reason. Can't remember why ? it was a long time ago (when LiveCode was still called "Revolution"). That's marvellous, and goes to prove how extensible the Livecode interface is. Richmond. > > Jonathan > > Jonathan Cooper > www.doctordada.com > > On 18/09/2014, at 9:18 AM, use-livecode-request at lists.runrev.com wrote: > >> -- It is true that there is no "go" menu, and you have to script your own find. What has replaced it, with cmd-F, is the find and replace gadget. Much more flexible and powerful, if less quaint. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Thu Sep 18 05:51:00 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 18 Sep 2014 11:51:00 +0200 Subject: AW: LiveCode Commercial License In-Reply-To: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> References: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> Message-ID: <002601cfd326$0e1467b0$2a3d3710$@de> As far, as I understand it, you may go on selling your program royaltiy free if you don't renew your license. If I am wrong please correct me. What has changed, compared to old licenses is, that you can't use your LiceCode development IDE anymore, when your license has expiered. Old licences from runrev 2.x, 3.x, 4.x (I don't know exactly, when it changed) work forever. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von JB > Gesendet: Donnerstag, 18. September 2014 11:28 > An: How to use LiveCode > Betreff: LiveCode Commercial License > > I was not awary LiveCode updated their commercial license. > My question is they say you are billed annually which is like was done for > Revoluton Enterprise. Then they say you can cancel anytime and you are never > charged royalties. That was my problem with LiveCode is if I remember > correctly when they went to LiveCode they charged royalties. > > So, if I have a commercial license I can sell as many copies of my program > royalty free forever? In other words what if I cancel my annual license, am I > still allowed to sell copies of the program I made with the commercial license > royalty free forever or is there a catch somewhere that then forces me to stop > selling the program or pay some royalties? > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Thu Sep 18 05:55:47 2014 From: sundown at pacifier.com (JB) Date: Thu, 18 Sep 2014 02:55:47 -0700 Subject: LiveCode Commercial License In-Reply-To: <002601cfd326$0e1467b0$2a3d3710$@de> References: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> <002601cfd326$0e1467b0$2a3d3710$@de> Message-ID: <59F025BA-F293-4AE6-99B7-F18B03CE9E39@pacifier.com> I have a 4.x Revolution Enterprise license. Does LiveCode have everything I could do in Enterprise like cryptography & sqlite etc.? Is there anything I could do with my Enterprise license I cannot do with all versions of LIveCode? Thanks for the reply and info! John Balgenorth On Sep 18, 2014, at 2:51 AM, Tiemo Hollmann TB wrote: > As far, as I understand it, you may go on selling your program royaltiy free > if you don't renew your license. If I am wrong please correct me. > What has changed, compared to old licenses is, that you can't use your > LiceCode development IDE anymore, when your license has expiered. Old > licences from runrev 2.x, 3.x, 4.x (I don't know exactly, when it changed) > work forever. > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von JB >> Gesendet: Donnerstag, 18. September 2014 11:28 >> An: How to use LiveCode >> Betreff: LiveCode Commercial License >> >> I was not awary LiveCode updated their commercial license. >> My question is they say you are billed annually which is like was done for >> Revoluton Enterprise. Then they say you can cancel anytime and you are > never >> charged royalties. That was my problem with LiveCode is if I remember >> correctly when they went to LiveCode they charged royalties. >> >> So, if I have a commercial license I can sell as many copies of my program >> royalty free forever? In other words what if I cancel my annual license, > am I >> still allowed to sell copies of the program I made with the commercial > license >> royalty free forever or is there a catch somewhere that then forces me to > stop >> selling the program or pay some royalties? >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Thu Sep 18 06:01:56 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 18 Sep 2014 12:01:56 +0200 Subject: LiveCode Commercial License In-Reply-To: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> References: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> Message-ID: <541AAD94.5050806@economy-x-talk.com> Hi John, RunRev has never charged royalties. If you create an app with a licensed copy of LiveCode, you can sell that app forever, even after your license expires. However, after your LiveCode license expires, you will no longer be able to release commercial copies of a newly built standalone, because your copy of LiveCode would revert to the open-source version. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/18/2014 11:28, JB wrote: > I was not awary LiveCode updated their commercial license. > My question is they say you are billed annually which is like > was done for Revoluton Enterprise. Then they say you can > cancel anytime and you are never charged royalties. That > was my problem with LiveCode is if I remember correctly > when they went to LiveCode they charged royalties. > > So, if I have a commercial license I can sell as many copies > of my program royalty free forever? In other words what if I > cancel my annual license, am I still allowed to sell copies of > the program I made with the commercial license royalty free > forever or is there a catch somewhere that then forces me to > stop selling the program or pay some royalties? > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Thu Sep 18 06:04:05 2014 From: sundown at pacifier.com (JB) Date: Thu, 18 Sep 2014 03:04:05 -0700 Subject: LiveCode Commercial License In-Reply-To: <541AAD94.5050806@economy-x-talk.com> References: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> <541AAD94.5050806@economy-x-talk.com> Message-ID: <759AC029-3F5A-4B24-82EE-3322FEBE0AD9@pacifier.com> Hi Mark, Thank you for the information. That sounds perfectly reasonable to me and isn?t really much different that the Rev license. If you did not renew your license you did not get the new versions. The only difference is now you also are not allowed to continue writing with the version you licensed after it expires. John Balgenorth On Sep 18, 2014, at 3:01 AM, Mark Schonewille wrote: > Hi John, > > RunRev has never charged royalties. If you create an app with a licensed copy of LiveCode, you can sell that app forever, even after your license expires. However, after your LiveCode license expires, you will no longer be able to release commercial copies of a newly built standalone, because your copy of LiveCode would revert to the open-source version. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 9/18/2014 11:28, JB wrote: >> I was not awary LiveCode updated their commercial license. >> My question is they say you are billed annually which is like >> was done for Revoluton Enterprise. Then they say you can >> cancel anytime and you are never charged royalties. That >> was my problem with LiveCode is if I remember correctly >> when they went to LiveCode they charged royalties. >> >> So, if I have a commercial license I can sell as many copies >> of my program royalty free forever? In other words what if I >> cancel my annual license, am I still allowed to sell copies of >> the program I made with the commercial license royalty free >> forever or is there a catch somewhere that then forces me to >> stop selling the program or pay some royalties? >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Thu Sep 18 06:09:31 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 18 Sep 2014 12:09:31 +0200 Subject: LiveCode Commercial License In-Reply-To: <59F025BA-F293-4AE6-99B7-F18B03CE9E39@pacifier.com> References: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> <002601cfd326$0e1467b0$2a3d3710$@de> <59F025BA-F293-4AE6-99B7-F18B03CE9E39@pacifier.com> Message-ID: <541AAF5B.7040507@economy-x-talk.com> John, The commercial version of LiveCode can do everything your Revolution Enterprise can do. The open-source version of LiveCode doesn't let you protect your stacks with a password and I have read something about the unavailability of an Oracle database driver. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/18/2014 11:55, JB wrote: > I have a 4.x Revolution Enterprise license. Does LiveCode > have everything I could do in Enterprise like cryptography & > sqlite etc.? Is there anything I could do with my Enterprise > license I cannot do with all versions of LIveCode? > > Thanks for the reply and info! > > John Balgenorth > From sundown at pacifier.com Thu Sep 18 06:09:20 2014 From: sundown at pacifier.com (JB) Date: Thu, 18 Sep 2014 03:09:20 -0700 Subject: LiveCode Commercial License In-Reply-To: <541AAF5B.7040507@economy-x-talk.com> References: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> <002601cfd326$0e1467b0$2a3d3710$@de> <59F025BA-F293-4AE6-99B7-F18B03CE9E39@pacifier.com> <541AAF5B.7040507@economy-x-talk.com> Message-ID: Thanks again, Mark. John Balgenorth On Sep 18, 2014, at 3:09 AM, Mark Schonewille wrote: > John, > > The commercial version of LiveCode can do everything your Revolution Enterprise can do. The open-source version of LiveCode doesn't let you protect your stacks with a password and I have read something about the unavailability of an Oracle database driver. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 9/18/2014 11:55, JB wrote: >> I have a 4.x Revolution Enterprise license. Does LiveCode >> have everything I could do in Enterprise like cryptography & >> sqlite etc.? Is there anything I could do with my Enterprise >> license I cannot do with all versions of LIveCode? >> >> Thanks for the reply and info! >> >> John Balgenorth >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ilola.antti at gmail.com Thu Sep 18 06:14:43 2014 From: ilola.antti at gmail.com (Antti Ilola) Date: Thu, 18 Sep 2014 13:14:43 +0300 Subject: LiveCode Commercial License In-Reply-To: <759AC029-3F5A-4B24-82EE-3322FEBE0AD9@pacifier.com> References: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> <541AAD94.5050806@economy-x-talk.com> <759AC029-3F5A-4B24-82EE-3322FEBE0AD9@pacifier.com> Message-ID: > > > RunRev has never charged royalties. If you create an app with a licensed > copy of LiveCode, you can sell that app forever, even after your license > expires. However, after your LiveCode license expires, you will no longer > be able to release commercial copies of a newly built standalone, because > your copy of LiveCode would revert to the open-source version > > I think this is true if you have a license version 6.0 onwards. Antti From m.schonewille at economy-x-talk.com Thu Sep 18 06:15:09 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 18 Sep 2014 12:15:09 +0200 Subject: LiveCode Commercial License In-Reply-To: <759AC029-3F5A-4B24-82EE-3322FEBE0AD9@pacifier.com> References: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> <541AAD94.5050806@economy-x-talk.com> <759AC029-3F5A-4B24-82EE-3322FEBE0AD9@pacifier.com> Message-ID: <541AB0AD.6010805@economy-x-talk.com> Hi John, I'm glad it sounds reasonable to you, but to me it doesn't sound right. I don't like subscription-ware. If I pay for something, I want to call it mine --to some extent. Moreover, the annual subscription license is more expensive than the old Enterprise license, because the Enterprise license could be obtained at an update price, or one could decide to update once every 2 or 3 years. The new licensing scheme forces you to buy new licenses every year, if you have a commercial product. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/18/2014 12:04, JB wrote: > Hi Mark, > > Thank you for the information. That sounds > perfectly reasonable to me and isn?t really > much different that the Rev license. If you > did not renew your license you did not get > the new versions. The only difference is now > you also are not allowed to continue writing > with the version you licensed after it expires. > > John Balgenorth From m.schonewille at economy-x-talk.com Thu Sep 18 06:20:28 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 18 Sep 2014 12:20:28 +0200 Subject: LiveCode Commercial License In-Reply-To: References: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> <541AAD94.5050806@economy-x-talk.com> <759AC029-3F5A-4B24-82EE-3322FEBE0AD9@pacifier.com> Message-ID: <541AB1EC.2030905@economy-x-talk.com> Hi Antti, Hence the distinction between Enterprise and open-source. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/18/2014 12:14, Antti Ilola wrote: >> >>> RunRev has never charged royalties. If you create an app with a licensed >> copy of LiveCode, you can sell that app forever, even after your license >> expires. However, after your LiveCode license expires, you will no longer >> be able to release commercial copies of a newly built standalone, because >> your copy of LiveCode would revert to the open-source version >> >> > > I think this is true if you have a license version 6.0 onwards. > > Antti > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Thu Sep 18 06:17:10 2014 From: sundown at pacifier.com (JB) Date: Thu, 18 Sep 2014 03:17:10 -0700 Subject: LiveCode Commercial License In-Reply-To: <541AB0AD.6010805@economy-x-talk.com> References: <583CA58F-9EA7-402F-847D-A18ECCCF37CF@pacifier.com> <541AAD94.5050806@economy-x-talk.com> <759AC029-3F5A-4B24-82EE-3322FEBE0AD9@pacifier.com> <541AB0AD.6010805@economy-x-talk.com> Message-ID: <6EE58DE3-E96F-40F3-9D27-D74FACFE4D53@pacifier.com> Hi Mark, I fully agree with everything you said! And I am still happy I own Enterprise 4.x. John Balgenorth On Sep 18, 2014, at 3:15 AM, Mark Schonewille wrote: > Hi John, > > I'm glad it sounds reasonable to you, but to me it doesn't sound right. I don't like subscription-ware. If I pay for something, I want to call it mine --to some extent. > > Moreover, the annual subscription license is more expensive than the old Enterprise license, because the Enterprise license could be obtained at an update price, or one could decide to update once every 2 or 3 years. The new licensing scheme forces you to buy new licenses every year, if you have a commercial product. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 9/18/2014 12:04, JB wrote: >> Hi Mark, >> >> Thank you for the information. That sounds >> perfectly reasonable to me and isn?t really >> much different that the Rev license. If you >> did not renew your license you did not get >> the new versions. The only difference is now >> you also are not allowed to continue writing >> with the version you licensed after it expires. >> >> John Balgenorth > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From fraserjgordon at gmail.com Thu Sep 18 11:10:34 2014 From: fraserjgordon at gmail.com (Fraser Gordon) Date: Thu, 18 Sep 2014 16:10:34 +0100 Subject: RELEASE: LiveCode 6.7 RC 2 Message-ID: Dear List Members. We are pleased to announce the release of LiveCode 6.7 RC 2. Release Focus 33 bug fixes Known issues Multicore rendering disabled in Windows due to multimedia not being thread-safe Release contents The number of bugs fixed is so large that it no longer makes sense to include a summary in the release email. Instead, please look at the bug fix section of the release notes which can be found here: http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-6_7_0_rc_2.pdf Multicore Rendering We've updated the way LiveCode renders on all platforms. It now splits your stack up into as many section as there are CPU cores. Each core renders portion of your stack which in theory improves rendering performance by the number of core available. In practice this isn't the case as there are overheads associated with this approach. The performance improvements will be felt in fairly specific circumstances at the moment as there are a number limitations in the engine we're still trying to remove. However, as this is the final feature to go into LiveCode 6.7 we felt it important to get it into testing early. We've seen a number of glitches on Retina Mac but we would appreciate your help in identifying the edge cases on other platforms. It is also possible that some instability will have been introduced. LiveCode was not written with multicore processing in mind so we have been updating the engine where necessary to be "thread-safe". If you app crashes please try and reproduce the crash and report it to us as it will lead us to the parts of the engine that need a similar update. We think we've caught the majority but once again, there may be some edge cases that your project exercises that our test system does not cover. In the next few builds as we mature the feature we'll release a few simple sample stack that exercise the cores available on your machine. Getting this release http://downloads.livecode.com/livecode/ Feeding Back Please report any issues at quality.runrev.com. Where possible, please check the list of outstanding bugs at the link above to ensure you are not duplicating a report. Having said that, our team is here to help so we?ll mark duplicate bugs as they come in. Warm regards, The LiveCode Team From roger.e.eller at sealedair.com Thu Sep 18 11:14:23 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 18 Sep 2014 11:14:23 -0400 Subject: RELEASE: LiveCode 6.7 RC 2 In-Reply-To: References: Message-ID: So, what is the plan to get multi-core rendering working on Windows? ~Roger On Thu, Sep 18, 2014 at 11:10 AM, Fraser Gordon wrote: > Dear List Members. > > We are pleased to announce the release of LiveCode 6.7 RC 2. > > Release Focus > 33 bug fixes > > Known issues > Multicore rendering disabled in Windows due to multimedia not being > thread-safe > > Release contents > The number of bugs fixed is so large that it no longer makes sense to > include a summary in the release email. Instead, please look at the bug fix > section of the release notes which can be found here: > > http://downloads.livecode.com/livecode/6_7_0/LiveCodeNotes-6_7_0_rc_2.pdf > > Multicore Rendering > We've updated the way LiveCode renders on all platforms. It now splits > your stack up into as many section as there are CPU cores. Each core > renders portion of your stack which in theory improves rendering > performance by the number of core available. In practice this isn't the > case as there are overheads associated with this approach. The performance > improvements will be felt in fairly specific circumstances at the moment as > there are a number limitations in the engine we're still trying to remove. > However, as this is the final feature to go into LiveCode 6.7 we felt it > important to get it into testing early. > > We've seen a number of glitches on Retina Mac but we would appreciate your > help in identifying the edge cases on other platforms. It is also possible > that some instability will have been introduced. LiveCode was not written > with multicore processing in mind so we have been updating the engine where > necessary to be "thread-safe". If you app crashes please try and reproduce > the crash and report it to us as it will lead us to the parts of the engine > that need a similar update. We think we've caught the majority but once > again, there may be some edge cases that your project exercises that our > test system does not cover. > > In the next few builds as we mature the feature we'll release a few simple > sample stack that exercise the cores available on your machine. > > Getting this release > http://downloads.livecode.com/livecode/ > > Feeding Back > Please report any issues at quality.runrev.com. Where possible, please > check the list of outstanding bugs at the link above to ensure you are not > duplicating a report. Having said that, our team is here to help so we?ll > mark duplicate bugs as they come in. > > Warm regards, > > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From fraser.gordon at livecode.com Thu Sep 18 11:21:47 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Thu, 18 Sep 2014 16:21:47 +0100 Subject: RELEASE: LiveCode 6.7 RC 2 In-Reply-To: References: Message-ID: <446FB7B2-EEE4-462E-A6BE-C340F1D7A2BA@livecode.com> On 18 Sep 2014, at 16:14, Roger Eller wrote: > So, what is the plan to get multi-core rendering working on Windows? > The multimedia framework that we use on Windows in not thread safe. We're currently looking at various options for how to ensure multiple threads do not try to interact with it at the same time without removing all the benefits of multi-core rendering. Regards, Fraser From ambassador at fourthworld.com Thu Sep 18 11:22:56 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Sep 2014 08:22:56 -0700 Subject: LiveCode Commercial License Message-ID: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> JB wrote: > Thank you for the information. That sounds perfectly reasonable > to me and isn?t really much different that the Rev license. If > you did not renew your license you did not get the new versions. > The only difference is now you also are not allowed to continue > writing with the version you licensed after it expires. You can use the Community Edition for developing, obtaining a Commercial License only when you need to deploy a proprietary work. The GPL that governs it is a distribution license, so it only applies when distributing your app - that is, it's only when you distribute your app to others that its source must be made available. So hobbyists making tools for themselves, or corporations making apps for internal use, most uses of LiveCode Server, and many other scenarios are a good fit for the Community Edition. Right now more than 3/4 of LiveCode users are using the Community Edition. The first item in this FAQ outlines various scenarios which apply to each license: While RunRev's joining the trend toward subscription licensing may seem off-putting at first, if you think about it and look at the pricing you'll find that most of us are paying less than before. The older Enterprise license was $500, while the new Indy Commercial license is just $299: Given the lower pricing, and most of us having renewed annually anyway to keep current with the engine, and the free availability of the Community Edition to develop with between deployments, the only folks adversely affected by the switch to subscription-based licensing is the relatively small subset who didn't renew annually but need to deploy proprietary apps frequently. Such cases suggest an opportunity for considering open source: If you have an app that is currently proprietary but not doing well enough in the market to cover even a $299 annual license, where's the ROI in keeping it proprietary? The cost of maintaining your own licensing system, adding security to your app to enforce it, and handling support obligations is probably far greater, further lowering your business' return. If the GPL seems a good fit, it's more than just giving software away. The GPL is about receiving contributions from the community in terms of enhanced features and support. The GPL is not the perfect solution for all needs. No single license is. But it can be a very good fit where proliferation of the software is a goal. And when an app is inviable as a proprietary work the fit gets even better: open source offers a way for the software to realize greater value in other ways beyond per-user license fees, allowing an app to reach a much larger audience and potentially garnering a community far greater than a company could afford to have on salary. Open source is definitely a different way of thinking about software but worth considering for many reasons, and even more so when an app is held back by a lack of licensing revenue anyway. As a side note: While this article is about software used internally in an organization rather than distributed commercial apps, given that an estimated 95% of code is for internal use it may be of interest to some here with the cogent case it makes for using open source process for such things: Why Your Company Needs To Write More Open Source Software -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From capellan2000 at gmail.com Thu Sep 18 11:26:19 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 18 Sep 2014 08:26:19 -0700 (PDT) Subject: HyperCard Basics In-Reply-To: <541AA76B.5050506@gmail.com> References: <5419FB0E.8080005@gmail.com> <225E4DC5-C524-487E-8DF6-F8997E49EEA1@gmail.com> <541AA76B.5050506@gmail.com> Message-ID: <1411053979565-4683414.post@n4.nabble.com> Richmond Mathewson-2 wrote > That's marvellous, and goes to prove how extensible the Livecode > interface is. Ideally, there should be many different interfaces, depending of the kind of work that we are doing in LiveCode... An interface designed for projects that require a lot of Editing and Formatting Text inside fields is completely different than another interface created for projects that use only images (like games or interactive presentations) or vector graphics... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/HyperCard-Basics-tp4683358p4683414.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Thu Sep 18 11:32:39 2014 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 18 Sep 2014 08:32:39 -0700 (PDT) Subject: PDF Files - Is there a way to read them in LiveCode? In-Reply-To: <65007D2A-9066-4EB1-855B-E6771EDE3956@agate.plala.or.jp> References: <65007D2A-9066-4EB1-855B-E6771EDE3956@agate.plala.or.jp> Message-ID: <1411054359264-4683415.post@n4.nabble.com> Jonathan Scott-3 wrote > I have some PDF files that I'd like to create a search stack for. I > looked on the net and found a way to display them in LiveCode, but is > there actually a way to read the OCR text that's in each file? If not, > there should be. Hi Jonathan, If you could use revBrowser in your project, maybe this code will help you: pdf.js PDF.js. is a general-purpose, web standards-based platform for parsing and rendering PDFs https://github.com/mozilla/pdf.js/wiki Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/PDF-Files-Is-there-a-way-to-read-them-in-LiveCode-tp4683312p4683415.html Sent from the Revolution - User mailing list archive at Nabble.com. From devin_asay at byu.edu Thu Sep 18 12:01:51 2014 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 18 Sep 2014 16:01:51 +0000 Subject: HyperCard Basics In-Reply-To: <541A83DE.1080309@gmail.com> References: <5419FB0E.8080005@gmail.com> <541A04AA.2010101@fourthworld.com> <1410997421488-4683364.post@n4.nabble.com> <1410998595760-4683365.post@n4.nabble.com> <1411006377.18669.YahooMailNeo@web126101.mail.ne1.yahoo.com> <1411010779792-4683373.post@n4.nabble.com> <1411015328.21604.YahooMailNeo@web126105.mail.ne1.yahoo.com> <541A83DE.1080309@gmail.com> Message-ID: <6DF1BF10-D4C0-4BAD-B6FC-53768410F1E5@byu.edu> On Sep 18, 2014, at 1:03 AM, Richmond wrote: > Perhaps . . . if I can find the time, I'll make a merry little list of all the keyboard shortcuts. Here?s my list of LC keyboard shortcuts. Tell me if I?m missing anything, and I?ll add it. Devin Devin Asay Office of Digital Humanities Brigham Young University From devin_asay at byu.edu Thu Sep 18 12:03:00 2014 From: devin_asay at byu.edu (Devin Asay) Date: Thu, 18 Sep 2014 16:03:00 +0000 Subject: HyperCard Basics In-Reply-To: <541A83DE.1080309@gmail.com> References: <5419FB0E.8080005@gmail.com> <541A04AA.2010101@fourthworld.com> <1410997421488-4683364.post@n4.nabble.com> <1410998595760-4683365.post@n4.nabble.com> <1411006377.18669.YahooMailNeo@web126101.mail.ne1.yahoo.com> <1411010779792-4683373.post@n4.nabble.com> <1411015328.21604.YahooMailNeo@web126105.mail.ne1.yahoo.com> <541A83DE.1080309@gmail.com> Message-ID: <6058F1F5-96A4-4C3C-AAD9-7C7CD370897F@byu.edu> Here it is again, with the actual link included. :-P On Sep 18, 2014, at 1:03 AM, Richmond wrote: > Perhaps . . . if I can find the time, I'll make a merry little list of all the keyboard shortcuts. Here?s my list of LC keyboard shortcuts. Tell me if I?m missing anything, and I?ll add it. http://livecode.byu.edu/helps/shortcuts.php Devin Devin Asay Office of Digital Humanities Brigham Young University _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From effendi at wanadoo.fr Thu Sep 18 12:46:23 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 18 Sep 2014 18:46:23 +0200 Subject: Sorting lines on colour (color for some) Message-ID: Hi from Beautiful Brittany (where, finally, it is raining), I have a list in a field, with backgroundcolor of some lines red, some yellow. Does anybody know how to sort the lines to separate out the two colours ? I can do it using a shuffle mechanism, but it?s not elegant enough (:>) !! The sort container command doesn?t give me the impression that this is a one-liner ??. He who uses the least lines of code will gain my immediate admiration ?? ?Francis From m.schonewille at economy-x-talk.com Thu Sep 18 12:48:01 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 18 Sep 2014 18:48:01 +0200 Subject: LiveCode Commercial License In-Reply-To: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> Message-ID: <541B0CC1.1020203@economy-x-talk.com> Richard, You're saying that RunRev doesn't care about 95% of the market. I find that hard to believe, but if it is true, why isn't there a free license for iOS? Just make it closed-source but free instead of $99, if it can't be open-source. The Enterprise license was a little expensive, but it was doable. Because you could decide when to update and didn't have to buy a new license whenever you wanted to release a new version of your software, it was actually cheaper. Because there were several discounts available, you could actually keep your Enterprise license up to date at roughly half the original price. So, either you bought a license every year at roughly the same price as the current Indy license or you updated every few years. At least, you had a choice. You don't seem to recognise that Indy developers are forced to buy a license every year. Whenever an Indy developer wants to release an update, --usually a few times every year-- he needs to have a license. An Indy developer who updates his software regularly, has no choice. I think that's wrong. I'd want to buy a license for 250 euro and continue to use it until I think that LiveCode has sufficiently improved to justify a new license. A hobbyist who wants others to benefit from his work for free but doesn't want to give away his code, is forced to buy a license every year --or to not give away his software, but who makes software without wanting to share it? I must say that $99 sounds reasonable, but the hobbyist is still forced to pay every single year, even if LiveCode doesn't improve to his liking. The hobbyist should be able to pay only if he thinks the update is worth it. I'll be away to a LiveCode meeting, so I won't have time to read your reply, if any. I'll ask the people at the meeting what they think of this. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/18/2014 17:22, Richard Gaskin wrote: > JB wrote: > >> Thank you for the information. That sounds perfectly reasonable >> to me and isn?t really much different that the Rev license. If >> you did not renew your license you did not get the new versions. >> The only difference is now you also are not allowed to continue >> writing with the version you licensed after it expires. > > You can use the Community Edition for developing, obtaining a Commercial > License only when you need to deploy a proprietary work. > > The GPL that governs it is a distribution license, so it only applies > when distributing your app - that is, it's only when you distribute your > app to others that its source must be made available. > > So hobbyists making tools for themselves, or corporations making apps > for internal use, most uses of LiveCode Server, and many other scenarios > are a good fit for the Community Edition. Right now more than 3/4 of > LiveCode users are using the Community Edition. > > The first item in this FAQ outlines various scenarios which apply to > each license: > > > While RunRev's joining the trend toward subscription licensing may seem > off-putting at first, if you think about it and look at the pricing > you'll find that most of us are paying less than before. > > The older Enterprise license was $500, while the new Indy Commercial > license is just $299: > > > Given the lower pricing, and most of us having renewed annually anyway > to keep current with the engine, and the free availability of the > Community Edition to develop with between deployments, the only folks > adversely affected by the switch to subscription-based licensing is the > relatively small subset who didn't renew annually but need to deploy > proprietary apps frequently. > > Such cases suggest an opportunity for considering open source: If you > have an app that is currently proprietary but not doing well enough in > the market to cover even a $299 annual license, where's the ROI in > keeping it proprietary? The cost of maintaining your own licensing > system, adding security to your app to enforce it, and handling support > obligations is probably far greater, further lowering your business' > return. > > If the GPL seems a good fit, it's more than just giving software away. > The GPL is about receiving contributions from the community in terms of > enhanced features and support. > > The GPL is not the perfect solution for all needs. No single license is. > But it can be a very good fit where proliferation of the software is a > goal. > > And when an app is inviable as a proprietary work the fit gets even > better: open source offers a way for the software to realize greater > value in other ways beyond per-user license fees, allowing an app to > reach a much larger audience and potentially garnering a community far > greater than a company could afford to have on salary. > > Open source is definitely a different way of thinking about software but > worth considering for many reasons, and even more so when an app is held > back by a lack of licensing revenue anyway. > > > As a side note: > > While this article is about software used internally in an organization > rather than distributed commercial apps, given that an estimated 95% of > code is for internal use it may be of interest to some here with the > cogent case it makes for using open source process for such things: > > Why Your Company Needs To Write More Open Source Software > > > > From richmondmathewson at gmail.com Thu Sep 18 12:48:53 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 18 Sep 2014 19:48:53 +0300 Subject: HyperCard Basics In-Reply-To: <6058F1F5-96A4-4C3C-AAD9-7C7CD370897F@byu.edu> References: <5419FB0E.8080005@gmail.com> <541A04AA.2010101@fourthworld.com> <1410997421488-4683364.post@n4.nabble.com> <1410998595760-4683365.post@n4.nabble.com> <1411006377.18669.YahooMailNeo@web126101.mail.ne1.yahoo.com> <1411010779792-4683373.post@n4.nabble.com> <1411015328.21604.YahooMailNeo@web126105.mail.ne1.yahoo.com> <541A83DE.1080309@gmail.com> <6058F1F5-96A4-4C3C-AAD9-7C7CD370897F@byu.edu> Message-ID: <541B0CF5.8000105@gmail.com> On 18/09/14 19:03, Devin Asay wrote: > Here it is again, with the actual link included. :-P > > On Sep 18, 2014, at 1:03 AM, Richmond wrote: > >> Perhaps . . . if I can find the time, I'll make a merry little list of all the keyboard shortcuts. > > Here?s my list of LC keyboard shortcuts. Tell me if I?m missing anything, and I?ll add it. > > http://livecode.byu.edu/helps/shortcuts.php > > Devin > > Devin Asay > Office of Digital Humanities > Brigham Young University > > > Super! Richmond. From m.schonewille at economy-x-talk.com Thu Sep 18 12:51:33 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 18 Sep 2014 18:51:33 +0200 Subject: Sorting lines on colour (color for some) In-Reply-To: References: Message-ID: <541B0D95.5060709@economy-x-talk.com> Hi Francis, I haven't tried this but it might work. put the htmlText of fld x into myHtml put char 4 to -5 of myHtml into myHtml set the itemDel to ">" sort lines of myHtml by item 1 of each set the htmlText of fld x to "

" & myHtml & "

" If this doesn't work, it might at least give a clue of how to handle this kind of problems. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/18/2014 18:46, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany (where, finally, it is raining), > > I have a list in a field, with backgroundcolor of some lines red, some yellow. > Does anybody know how to sort the lines to separate out the two colours ? > > I can do it using a shuffle mechanism, but it?s not elegant enough (:>) !! > > The sort container command doesn?t give me the impression that this is a > one-liner ??. > > He who uses the least lines of code will gain my immediate admiration ?? > > ?Francis From dochawk at gmail.com Thu Sep 18 12:56:14 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 18 Sep 2014 09:56:14 -0700 Subject: share in-memory SQLite db with other apps In-Reply-To: References: Message-ID: On Wed, Sep 17, 2014 at 6:51 PM, Peter Haworth wrote: > Don't think that's possible since the memory used in your application's > memory space. There is a shared cache setting but I think that only > applies to multiple sqlite dbs open in the same application and it needs to > use the URI file format which LC doesn't fully support yet. > It's also occurred to me that I really *don't* want the direct access. My purpose is to export to mail-merge documents, and possibly spreadsheets. As my software calculates dependencies when data changes, there could be no writing from the word processor without losing this (unless I went on an intensive watch of the data), and I couldn't control values. Also, some intelligence is needed for the rendered value, which would be a bit much for a word processor. Twenty five years ago (Ulp! did I just write that???), I had HyperCard writing two files--back when word allowed its own files to simply specify filenames, rather than forcing the pointy/clicky/fieldy/linky abomination of Word 6 onwards . . . (Which is *so* bad that when I needed to send out two hundred semi-custom letters, I realized that it would take less time to write the code to add mail merge to LyX than to fight word. And I was write; in less than a week, I had a far more functional merge operation--nested includes [the included text got processed after inclusion], if elseif, a couple of other comparators, and I forget what else. Unfortunately, the source code seems long gone; I've never been able to find it, and have merely a pentium era linux executable) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Thu Sep 18 12:56:48 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Sep 2014 09:56:48 -0700 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: <1361330342956.20140917221646@ahsoftware.net> References: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> <541A16CC.2030604@hyperactivesw.com> <1410996037594-4683363.post@n4.nabble.com> <1361330342956.20140917221646@ahsoftware.net> Message-ID: Hooks would be great too. Pete lcSQL Software On Sep 17, 2014 10:16 PM, "Mark Wieder" wrote: > Pete- > > Wednesday, September 17, 2014, 9:29:57 PM, you wrote: > > > If only RunRev would come up with a script editor that had code folding, > > auto-complete, etc, we wouldn;t need to be messing with these other > editors. > > I doubt it. Everyone wants something different out of a script editor. > Having hooks to allow for external editors would let everyone use what > they're used to, whether it's Coda or vim or whatever. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Thu Sep 18 13:02:05 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Sep 2014 17:02:05 +0000 (UTC) Subject: Coda 2 Syntax highlighting for LC now working References: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> <541A16CC.2030604@hyperactivesw.com> <1410996037594-4683363.post@n4.nabble.com> <1361330342956.20140917221646@ahsoftware.net> Message-ID: Peter Haworth writes: > > Hooks would be great too. To be clear about this, there *are* some hooks, but what's needed is a documented and standardized interface that won't change with successive releases. -- Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Thu Sep 18 13:24:36 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 18 Sep 2014 13:24:36 -0400 Subject: Sorting lines on colour (color for some) In-Reply-To: <541B0D95.5060709@economy-x-talk.com> References: <541B0D95.5060709@economy-x-talk.com> Message-ID: <8D1A17C8D9F746C-1250-2CB4@webmail-va122.sysops.aol.com> Well, I win the fewest lines prize, but surely lose in the "does it work?" category. Anyone know why this fails? on mouseUp sort lines of fld 1 numeric by sum(the foregroundColor of each) end mouseUp Craig Newman -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Thu, Sep 18, 2014 12:52 pm Subject: Re: Sorting lines on colour (color for some) Hi Francis, I haven't tried this but it might work. put the htmlText of fld x into myHtml put char 4 to -5 of myHtml into myHtml set the itemDel to ">" sort lines of myHtml by item 1 of each set the htmlText of fld x to "

" & myHtml & "

" If this doesn't work, it might at least give a clue of how to handle this kind of problems. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/18/2014 18:46, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany (where, finally, it is raining), > > I have a list in a field, with backgroundcolor of some lines red, some yellow. > Does anybody know how to sort the lines to separate out the two colours ? > > I can do it using a shuffle mechanism, but it?s not elegant enough (:>) !! > > The sort container command doesn?t give me the impression that this is a > one-liner ??. > > He who uses the least lines of code will gain my immediate admiration ?? > > ?Francis _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Thu Sep 18 13:32:23 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 18 Sep 2014 13:32:23 -0400 Subject: Sorting lines on colour (color for some) In-Reply-To: <8D1A17C8D9F746C-1250-2CB4@webmail-va122.sysops.aol.com> References: <541B0D95.5060709@economy-x-talk.com> <8D1A17C8D9F746C-1250-2CB4@webmail-va122.sysops.aol.com> Message-ID: <8D1A17DA4767B10-1250-2D99@webmail-va122.sysops.aol.com> Should better have been (though still not working): on mouseUp sort lines of fld 1 numeric by item 1 of the foregroundColor of each & item 2 of the foregroundColor of each & item 3 of the foregroundColor of each end mouseUp -----Original Message----- From: dunbarx To: use-livecode Sent: Thu, Sep 18, 2014 1:24 pm Subject: Re: Sorting lines on colour (color for some) Well, I win the fewest lines prize, but surely lose in the "does it work?" category. Anyone know why this fails? on mouseUp sort lines of fld 1 numeric by sum(the foregroundColor of each) end mouseUp Craig Newman -----Original Message----- From: Mark Schonewille To: How to use LiveCode Sent: Thu, Sep 18, 2014 12:52 pm Subject: Re: Sorting lines on colour (color for some) Hi Francis, I haven't tried this but it might work. put the htmlText of fld x into myHtml put char 4 to -5 of myHtml into myHtml set the itemDel to ">" sort lines of myHtml by item 1 of each set the htmlText of fld x to "

" & myHtml & "

" If this doesn't work, it might at least give a clue of how to handle this kind of problems. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/18/2014 18:46, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany (where, finally, it is raining), > > I have a list in a field, with backgroundcolor of some lines red, some yellow. > Does anybody know how to sort the lines to separate out the two colours ? > > I can do it using a shuffle mechanism, but it?s not elegant enough (:>) !! > > The sort container command doesn?t give me the impression that this is a > one-liner ??. > > He who uses the least lines of code will gain my immediate admiration ?? > > ?Francis _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Thu Sep 18 13:33:41 2014 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 18 Sep 2014 10:33:41 -0700 Subject: Sorting lines on colour (color for some) In-Reply-To: <8D1A17C8D9F746C-1250-2CB4@webmail-va122.sysops.aol.com> References: <541B0D95.5060709@economy-x-talk.com> <8D1A17C8D9F746C-1250-2CB4@webmail-va122.sysops.aol.com> Message-ID: <541B1775.2020903@pdslabs.net> My guess: Try using "the effective foregroundColor of each" - that will cover your bases when there is no assigned foregroundColor. Phil Davis On 9/18/14, 10:24 AM, dunbarx at aol.com wrote: > Well, I win the fewest lines prize, but surely lose in the "does it work?" category. > > > Anyone know why this fails? > > > > on mouseUp > sort lines of fld 1 numeric by sum(the foregroundColor of each) > end mouseUp > > > Craig Newman > > > > -----Original Message----- > From: Mark Schonewille > To: How to use LiveCode > Sent: Thu, Sep 18, 2014 12:52 pm > Subject: Re: Sorting lines on colour (color for some) > > > Hi Francis, > > I haven't tried this but it might work. > > put the htmlText of fld x into myHtml > put char 4 to -5 of myHtml into myHtml > set the itemDel to ">" > sort lines of myHtml by item 1 of each > set the htmlText of fld x to "

" & myHtml & "

" > > If this doesn't work, it might at least give a clue of how to handle > this kind of problems. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 9/18/2014 18:46, Francis Nugent Dixon wrote: >> Hi from Beautiful Brittany (where, finally, it is raining), >> >> I have a list in a field, with backgroundcolor of some lines red, some yellow. >> Does anybody know how to sort the lines to separate out the two colours ? >> >> I can do it using a shuffle mechanism, but it?s not elegant enough (:>) !! >> >> The sort container command doesn?t give me the impression that this is a >> one-liner ??. >> >> He who uses the least lines of code will gain my immediate admiration ?? >> >> ?Francis > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Davis From andrew at ctech.me Thu Sep 18 13:36:39 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 18 Sep 2014 12:36:39 -0500 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: <781330235676.20140917221459@ahsoftware.net> References: <781330235676.20140917221459@ahsoftware.net> Message-ID: Looked into making a sublime package today. Its done with regex for the most part. I'm not very good with regex and tend to avoid using it in my applications for the most part. Maybe it's the universe's way of telling me to get better at it. Andrew On Sep 18, 2014 12:16 AM, "Mark Wieder" wrote: > Andrew- > > Wednesday, September 17, 2014, 12:27:32 PM, you wrote: > > > After this and the highlighting for ultraedit, I might just have to > figure > > out how to make a package for sublime text that does this. > > Please do. I'd love to be able to use Sublime as an external editor. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Sep 18 13:50:19 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Sep 2014 10:50:19 -0700 Subject: LiveCode Commercial License Message-ID: <7bae0d2b31b6938d51711491d503a9df@fourthworld.com> Mark Schonewille wrote: > You're saying that RunRev doesn't care about 95% of the market. > I find that hard to believe... Then we're on the same page because that's not what I wrote. What I wrote is here: > ...but if it is true, why isn't there a free license for iOS? Of all the people using all of the many computing devices across the seven platforms LiveCode currently supports, how is the subset of mobile developers deploying non-commercial apps to iOS "95% of the market"? > Just make it closed-source but free instead of $99, if it can't be > open-source. That would be nice. It would also be nice if all versions of LiveCode for all platforms were free. It would be extra nice if a multi-platform VM like LiveCode weren't expensive to produce. Presumptions of someone else's intentions can be tricky. I'll let Kevin speak for himself, but if one presumes RunRev truly "doesn't care" about this "95% of the market" then it would seem reasonable that there would be no steeply-discounted offering for that platform at all. > You don't seem to recognise that Indy developers are forced to buy a > license every year. It might seem that way to anyone new to this thread who didn't read my post, where I made explicit reference to the new subscription model at least twice, even going so far as acknowledge that "it "may seem off-putting". > I'd want to buy a license for 250 euro and continue to use it > until I think that LiveCode has sufficiently improved to justify > a new license. That's a subjective decision likely to differ for each developer. It seems safe to suggest that many if not most professional developers maintain current engine versions to take advantage of new features and bug fixes. FWIW, if we check the bug database for only those issues reported where the status has been changed to "Fixed" over the last year, we find 1,335 bug fixes and enhancements during what would be a single license period: > A hobbyist who wants others to benefit from his work for free but > doesn't want to give away his code, is forced to buy a license every > year --or to not give away his software, but who makes software without > wanting to share it? Apparently some 95% of programming is done for internal use within an organization, according to Eric Raymond as cited in the article I linked to: Even if it's as low as 75%, your point is well made: there are many who make software for others to use who may not be interested in running a profitable business from it. Given the cost of licensing LiveCode or the cost of using C++/Python/Java/NameYourTool, a more interesting question would seem: Why is a proprietary license important to the developer when there's no material value in choosing it? > I'll be away to a LiveCode meeting, so I won't have time to read your > reply, if any. I'll ask the people at the meeting what they think of > this. Have a great time at the meeting. Your last meeting seemed to go well, and I trust this one will be even better. If anyone there finds this discussion relevant to their interests it would be useful to hear their answer to my last question here, about the value of proprietary licenses for non-commercial projects. -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From pete at lcsql.com Thu Sep 18 13:54:47 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Sep 2014 10:54:47 -0700 Subject: Sorting lines on colour (color for some) In-Reply-To: References: Message-ID: I thought this would work: sort lines of field X by the backgroundcolor of each ... but it doesn't. I'm guessing because the lines go into some sort of internal variable to be sorted at which point they lose their backgroundcolor property. Here's a handler that does it, offered for improvement by others. on mouseUp local tRedLines,tYellowLines,tCounter put zero into tCounter repeat for each line rLine in field "Text" add 1 to tCounter if the backgroundcolor of line tCounter of field "Text" is 255,0,0 then put rLine & return after tRedLines else put rLine & return after tYellowLines end if end repeat put tRedLines & tYellowLines into field "Text" set the backgroundcolor of line 1 to (the number of lines in tRedLines) of field "Text" to "red" set the backgroundcolor of line (the number of lines in tRedLines)+1 to -1 of field "Text" to "yellow" end mouseUp Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Sep 18, 2014 at 9:46 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany (where, finally, it is raining), > > I have a list in a field, with backgroundcolor of some lines red, some > yellow. > Does anybody know how to sort the lines to separate out the two colours ? > > I can do it using a shuffle mechanism, but it?s not elegant enough (:>) !! > > The sort container command doesn?t give me the impression that this is a > one-liner ??. > > He who uses the least lines of code will gain my immediate admiration ?? > > ?Francis > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From th.douez at gmail.com Thu Sep 18 14:01:26 2014 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 18 Sep 2014 20:01:26 +0200 Subject: Sorting lines on colour (color for some) In-Reply-To: References: Message-ID: Another one with some regex flavor on mouseUp local t put the htmltext of fld 1 into t sort lines of t by getHtmlColors( each) set the htmltext of fld 1 to t end mouseUp function getHtmlColors L if matchText( L, "

", v) then return v return "z" end getHtmlColors Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2014-09-18 18:46 GMT+02:00 Francis Nugent Dixon : > Hi from Beautiful Brittany (where, finally, it is raining), > > I have a list in a field, with backgroundcolor of some lines red, some yellow. > Does anybody know how to sort the lines to separate out the two colours ? > > I can do it using a shuffle mechanism, but it?s not elegant enough (:>) !! > > The sort container command doesn?t give me the impression that this is a > one-liner ??. > > He who uses the least lines of code will gain my immediate admiration ?? > > ?Francis > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu Sep 18 14:26:08 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Sep 2014 11:26:08 -0700 Subject: Sorting lines on colour (color for some) In-Reply-To: References: Message-ID: Like that better than mine - good use of htmltext and regex! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Sep 18, 2014 at 11:01 AM, Thierry Douez wrote: > Another one with some regex flavor > > > on mouseUp > local t > put the htmltext of fld 1 into t > sort lines of t by getHtmlColors( each) > set the htmltext of fld 1 to t > end mouseUp > > function getHtmlColors L > if matchText( L, "

", v) then return v > return "z" > end getHtmlColors > > Thierry > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > > > 2014-09-18 18:46 GMT+02:00 Francis Nugent Dixon : > > Hi from Beautiful Brittany (where, finally, it is raining), > > > > I have a list in a field, with backgroundcolor of some lines red, some > yellow. > > Does anybody know how to sort the lines to separate out the two colours ? > > > > I can do it using a shuffle mechanism, but it?s not elegant enough (:>) > !! > > > > The sort container command doesn?t give me the impression that this is a > > one-liner ??. > > > > He who uses the least lines of code will gain my immediate admiration ?? > > > > ?Francis > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu Sep 18 14:29:52 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Sep 2014 11:29:52 -0700 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: References: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> <541A16CC.2030604@hyperactivesw.com> <1410996037594-4683363.post@n4.nabble.com> <1361330342956.20140917221646@ahsoftware.net> Message-ID: Didn't know that, I'd love to know what the hooks are, although it sound like perhaps they change from release to release. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Sep 18, 2014 at 10:02 AM, Mark Wieder wrote: > Peter Haworth writes: > > > > > Hooks would be great too. > > To be clear about this, there *are* some hooks, but what's needed is a > documented and standardized interface that won't change with successive > releases. > > -- > Mark Wieder > ahsoftware at gmail.com > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Thu Sep 18 14:34:02 2014 From: sundown at pacifier.com (JB) Date: Thu, 18 Sep 2014 11:34:02 -0700 Subject: LiveCode Commercial License In-Reply-To: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> Message-ID: <1B52A9E6-1B63-4798-B3D0-510618D6ABE3@pacifier.com> Thanks Richard, So the logical economical way to go is use the free version until you are ready to put your program on the market unless you do have enough money to invest in a license which ends up helping everyone. Out of curiosity here is a case that I do not think would involve me because if I have the money I will go for a better license. But here is a question about the indy license for $299. You can have sales up to 500k. They do not have much sales the first year and cancel the license. The next year sales are $2 million. Is there license to market the program still good? Certainly if they make that much it would seem idiotic to not support the software that made them money but you know people do some strange things. John Balgenorth On Sep 18, 2014, at 8:22 AM, Richard Gaskin wrote: > JB wrote: > >> Thank you for the information. That sounds perfectly reasonable >> to me and isn?t really much different that the Rev license. If >> you did not renew your license you did not get the new versions. >> The only difference is now you also are not allowed to continue >> writing with the version you licensed after it expires. > > You can use the Community Edition for developing, obtaining a Commercial License only when you need to deploy a proprietary work. > > The GPL that governs it is a distribution license, so it only applies when distributing your app - that is, it's only when you distribute your app to others that its source must be made available. > > So hobbyists making tools for themselves, or corporations making apps for internal use, most uses of LiveCode Server, and many other scenarios are a good fit for the Community Edition. Right now more than 3/4 of LiveCode users are using the Community Edition. > > The first item in this FAQ outlines various scenarios which apply to each license: > > > While RunRev's joining the trend toward subscription licensing may seem off-putting at first, if you think about it and look at the pricing you'll find that most of us are paying less than before. > > The older Enterprise license was $500, while the new Indy Commercial license is just $299: > > > Given the lower pricing, and most of us having renewed annually anyway to keep current with the engine, and the free availability of the Community Edition to develop with between deployments, the only folks adversely affected by the switch to subscription-based licensing is the relatively small subset who didn't renew annually but need to deploy proprietary apps frequently. > > Such cases suggest an opportunity for considering open source: If you have an app that is currently proprietary but not doing well enough in the market to cover even a $299 annual license, where's the ROI in keeping it proprietary? The cost of maintaining your own licensing system, adding security to your app to enforce it, and handling support > obligations is probably far greater, further lowering your business' return. > > If the GPL seems a good fit, it's more than just giving software away. The GPL is about receiving contributions from the community in terms of enhanced features and support. > > The GPL is not the perfect solution for all needs. No single license is. But it can be a very good fit where proliferation of the software is a goal. > > And when an app is inviable as a proprietary work the fit gets even better: open source offers a way for the software to realize greater value in other ways beyond per-user license fees, allowing an app to reach a much larger audience and potentially garnering a community far greater than a company could afford to have on salary. > > Open source is definitely a different way of thinking about software but worth considering for many reasons, and even more so when an app is held back by a lack of licensing revenue anyway. > > > As a side note: > > While this article is about software used internally in an organization rather than distributed commercial apps, given that an estimated 95% of code is for internal use it may be of interest to some here with the cogent case it makes for using open source process for such things: > > Why Your Company Needs To Write More Open Source Software > > > > -- > Richard Gaskin > Fourth World Systems > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From charles at buchwald.ca Thu Sep 18 14:59:50 2014 From: charles at buchwald.ca (Charles E Buchwald) Date: Thu, 18 Sep 2014 13:59:50 -0500 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: <1361330342956.20140917221646@ahsoftware.net> References: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> <541A16CC.2030604@hyperactivesw.com> <1410996037594-4683363.post@n4.nabble.com> <1361330342956.20140917221646@ahsoftware.net> Message-ID: <8183655E-362A-4BF1-B67E-59A8D6805FB6@buchwald.ca> I'd be happy with a button in the properties palette, kind of like the one for images: "Edit in External Editor" I'm imagining this would open up the script in my choice of default text editor, and when done editing, save it back to my stack. Maybe even a plugin could do this without too much trouble. - Charles On 18 Sep 2014, at 12:16 AM, Mark Wieder wrote: > Pete- > > Wednesday, September 17, 2014, 9:29:57 PM, you wrote: > >> If only RunRev would come up with a script editor that had code folding, >> auto-complete, etc, we wouldn;t need to be messing with these other editors. > > I doubt it. Everyone wants something different out of a script editor. > Having hooks to allow for external editors would let everyone use what > they're used to, whether it's Coda or vim or whatever. > > -- > -Mark Wieder > ahsoftware at gmail.com -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Mac OSX 10.9.4, LC 6.6.2 Commercial LC Developer Tools: http://buchwald.ca Email Notice: http://wp.me/P3aT4d-33 From ambassador at fourthworld.com Thu Sep 18 15:00:19 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Sep 2014 12:00:19 -0700 Subject: LiveCode Commercial License Message-ID: JB wrote: > ...here is a question about the indy license for $299. > You can have sales up to 500k. They do not have much > sales the first year and cancel the license. The next > year sales are $2 million. Is there license to market > the program still good? My understanding is that the license period covers the use of the IDE, and that once an app made with has been deployed there is no time limit on the standalone. > Certainly if they make that much it would seem idiotic > to not support the software that made them money but > you know people do some strange things. I think pretty much everyone wants to see the same thing: for all of us to use LiveCode productively at as little cost as practical. The current pricing structure appears to strive for a balance with predictable cash flows, in which everyone making money with LiveCode contributes a small portion of that back to the core dev team to keep the joint running, smaller companies making less money contribute less, and those interested in proliferating free software under the GPL are invited to do so at no cost under the LiveCode Community Edition. -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From sundown at pacifier.com Thu Sep 18 15:06:54 2014 From: sundown at pacifier.com (JB) Date: Thu, 18 Sep 2014 12:06:54 -0700 Subject: LiveCode Commercial License In-Reply-To: References: Message-ID: <64158841-E601-499B-8D15-DE78B9866CEE@pacifier.com> Thanks Richard, Both you and Mark helped explain things pretty good. The ability to develop your program with a free version and then buy a license later is a major plus. That is similar to the Apple Developer Program which cost $99 per year. You can be a developer with Apple for free but you do not get beta versions etc, and then when you are ready to market your software you can pay the $99. In the meantime they provide you a lot of free code samples and information even if you have not paid the $99 yet. John Balgenorth On Sep 18, 2014, at 12:00 PM, Richard Gaskin wrote: > JB wrote: > >> ...here is a question about the indy license for $299. >> You can have sales up to 500k. They do not have much >> sales the first year and cancel the license. The next >> year sales are $2 million. Is there license to market >> the program still good? > > My understanding is that the license period covers the use of the IDE, and that once an app made with has been deployed there is no time limit on the standalone. > >> Certainly if they make that much it would seem idiotic >> to not support the software that made them money but >> you know people do some strange things. > > I think pretty much everyone wants to see the same thing: for all of us to use LiveCode productively at as little cost as practical. > > The current pricing structure appears to strive for a balance with predictable cash flows, in which everyone making money with LiveCode contributes a small portion of that back to the core dev team to keep the joint running, smaller companies making less money contribute less, and those interested in proliferating free software under the GPL are invited to do so at no cost under the LiveCode Community Edition. > > -- > Richard Gaskin > Fourth World Systems > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From larry at significantplanet.org Thu Sep 18 15:19:32 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Thu, 18 Sep 2014 13:19:32 -0600 Subject: trouble with 6.1.1 (rc4) Message-ID: <4B89AC89D98248A8B75A4EAD753FC4CC@userd204a4d61c> I'm using 6.1.1 (rc 4) on Windows XP I made a mistake in one of my card scripts and BLOOEY!!!, LiveCode went beserk and changed most of my buttons and fields to about 48 pt text size. Now, whenever I drag a NEW button onto my card, it still has that huge text size by default. I went to Preferences and clicked on Reset to Defaults and then closed LC entirely. If I open a New Stack, the button has the default text size of 10 or 12 or whatever it is. But if I open my existing stack where the trouble began, then a new button still has the 48 text size. This is driving me crazy!! So please help me not have to start taking lots of drugs... How can this be fixed? Thanks, Larry From jacque at hyperactivesw.com Thu Sep 18 15:29:10 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Sep 2014 14:29:10 -0500 Subject: LiveCode Commercial License In-Reply-To: <541B0CC1.1020203@economy-x-talk.com> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> Message-ID: <541B3286.3080201@hyperactivesw.com> On 9/18/2014, 11:48 AM, Mark Schonewille wrote: > You're saying that RunRev doesn't care about 95% of the market. I find > that hard to believe, but if it is true, why isn't there a free license > for iOS? Just make it closed-source but free instead of $99, if it can't > be open-source. I'm trying to figure out how RR would stay in business at all if all their licenses were free. If it's true that only 5% of the user base actually pays for the product, how else should RR get funding? The subscription model they decided on seems fair and actually pretty generous to me. A user can decide when to pay, and that payment is good for a year. You could easily go longer than that without a purchase and only pay once when you are ready to ship. If you have many small projects over a short amount of time, then $99/year is pretty cheap. I do agree though that this model limits the user who wants to pay only once and then continue to use an outdated product forever. That method is okay for hobbyists but I think most professionals need to keep up with the latest features and changes in the OS, and they save money by updating every year at a low cost. Even your own work is behind a paywall, so I'm sure you must see the value in paying for the software you use. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu Sep 18 15:35:45 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Sep 2014 12:35:45 -0700 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: <8183655E-362A-4BF1-B67E-59A8D6805FB6@buchwald.ca> References: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> <541A16CC.2030604@hyperactivesw.com> <1410996037594-4683363.post@n4.nabble.com> <1361330342956.20140917221646@ahsoftware.net> <8183655E-362A-4BF1-B67E-59A8D6805FB6@buchwald.ca> Message-ID: I spent a few minutes looking into this. It's pretty easy to grab a script, write it to a temp file, then invoke the user's editor of choice passing it the temp file name assuming the editor has a command line option to do that. But I couldn't figure out how to automatically get the edited file back into Livecode and deal with compile errors so I stopped at that point. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Sep 18, 2014 at 11:59 AM, Charles E Buchwald wrote: > I'd be happy with a button in the properties palette, kind of like the one > for images: "Edit in External Editor" > I'm imagining this would open up the script in my choice of default text > editor, and when done editing, save it back to my stack. > Maybe even a plugin could do this without too much trouble. > - Charles > > On 18 Sep 2014, at 12:16 AM, Mark Wieder wrote: > > > Pete- > > > > Wednesday, September 17, 2014, 9:29:57 PM, you wrote: > > > >> If only RunRev would come up with a script editor that had code folding, > >> auto-complete, etc, we wouldn;t need to be messing with these other > editors. > > > > I doubt it. Everyone wants something different out of a script editor. > > Having hooks to allow for external editors would let everyone use what > > they're used to, whether it's Coda or vim or whatever. > > > > -- > > -Mark Wieder > > ahsoftware at gmail.com > > -- > Charles E. Buchwald > CEO/Director General > Museografica Digital > http://digital.museografica.com > > Mac OSX 10.9.4, LC 6.6.2 Commercial > > LC Developer Tools: http://buchwald.ca > > Email Notice: http://wp.me/P3aT4d-33 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Sep 18 15:36:40 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Sep 2014 14:36:40 -0500 Subject: trouble with 6.1.1 (rc4) In-Reply-To: <4B89AC89D98248A8B75A4EAD753FC4CC@userd204a4d61c> References: <4B89AC89D98248A8B75A4EAD753FC4CC@userd204a4d61c> Message-ID: <541B3448.4010900@hyperactivesw.com> On 9/18/2014, 2:19 PM, larry at significantplanet.org wrote: > I'm using 6.1.1 (rc 4) on Windows XP > > I made a mistake in one of my card scripts and BLOOEY!!!, LiveCode > went beserk and changed most of my buttons and fields to about 48 pt > text size. > > Now, whenever I drag a NEW button onto my card, it still has that > huge text size by default. It sounds like you set the textsize for the whole stack. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From th.douez at gmail.com Thu Sep 18 15:44:18 2014 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 18 Sep 2014 21:44:18 +0200 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: References: <21D392C4-0CF4-4297-8BE6-0B4FA2266920@m-r-d.de> <541A16CC.2030604@hyperactivesw.com> <1410996037594-4683363.post@n4.nabble.com> <1361330342956.20140917221646@ahsoftware.net> <8183655E-362A-4BF1-B67E-59A8D6805FB6@buchwald.ca> Message-ID: 2014-09-18 21:35 GMT+02:00 Peter Haworth : > I spent a few minutes looking into this. It's pretty easy to grab a > script, write it to a temp file, then invoke the user's editor of choice > passing it the temp file name assuming the editor has a command line option > to do that. > Peter, but there is already a plugin for this... available since years! I forgot where and who did it but it exists; I've send the link last year to someone... sorry, I'm getting old and it's late here :) Regards, ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From th.douez at gmail.com Thu Sep 18 15:55:43 2014 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 18 Sep 2014 21:55:43 +0200 Subject: Sorting lines on colour (color for some) In-Reply-To: References: Message-ID: 2014-09-18 20:26 GMT+02:00 Peter Haworth : > Like that better than mine - good use of htmltext and regex! > Pete Thanks Peter, and for those having real headacke with regex, you can write the function this way: function getHtmlColors L if offset( "

On Thu, Sep 18, 2014 at 11:01 AM, Thierry Douez wrote: > >> Another one with some regex flavor >> >> on mouseUp >> local t >> put the htmltext of fld 1 into t >> sort lines of t by getHtmlColors( each) >> set the htmltext of fld 1 to t >> end mouseUp >> >> function getHtmlColors L >> if matchText( L, "

", v) then return v >> return "z" >> end getHtmlColors >> >> Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From dunbarx at aol.com Thu Sep 18 16:06:40 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 18 Sep 2014 16:06:40 -0400 Subject: Sorting lines on colour (color for some) In-Reply-To: References: Message-ID: <8D1A19331A96D46-1250-3E0E@webmail-va122.sysops.aol.com> I made this more robust, though no more effective: on mouseUp sort lines of fld 1 numeric by item 1 of the effective foregroundColor of each & item 2 of the effective foregroundColor of each & item 3 of the effective foregroundColor of each end mouseUp This so "0,255,255" does not sort the same as "255,0,255". And I tried using "effective", as per Phil and as shown, but still no. Peter, you need foreground color, not backgroundColor. So again, before I call Jacque, why does this not work? Maybe calling the sortKey as a function? That should not fix it, though it would look prettier. Craig -----Original Message----- From: Thierry Douez To: How to use LiveCode Sent: Thu, Sep 18, 2014 3:56 pm Subject: Re: Sorting lines on colour (color for some) 2014-09-18 20:26 GMT+02:00 Peter Haworth : > Like that better than mine - good use of htmltext and regex! > Pete Thanks Peter, and for those having real headacke with regex, you can write the function this way: function getHtmlColors L if offset( "

On Thu, Sep 18, 2014 at 11:01 AM, Thierry Douez wrote: > >> Another one with some regex flavor >> >> on mouseUp >> local t >> put the htmltext of fld 1 into t >> sort lines of t by getHtmlColors( each) >> set the htmltext of fld 1 to t >> end mouseUp >> >> function getHtmlColors L >> if matchText( L, "

", v) then return v >> return "z" >> end getHtmlColors >> >> Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Sep 18 16:06:56 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 18 Sep 2014 13:06:56 -0700 Subject: Coda 2 Syntax highlighting for LC now working Message-ID: Thierry wrote: > but there is already a plugin for this... available since years! > > I forgot where and who did it but it exists; I've send the link last > year > to someone... sorry, I'm getting old and it's late here :) This one?: -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From th.douez at gmail.com Thu Sep 18 16:18:00 2014 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 18 Sep 2014 22:18:00 +0200 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: References: Message-ID: 2014-09-18 22:06 GMT+02:00 Richard Gaskin : > Thierry wrote: > >> but there is already a plugin for this... available since years! >> >> I forgot where and who did it but it exists; I've send the link last year >> to someone... sorry, I'm getting old and it's late here :) > > This one?: > Richard, You are the winner :) and around 6 months ago it was still working as I suggest to someone to use it and he was successful with it. Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From pete at lcsql.com Thu Sep 18 16:33:31 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Sep 2014 13:33:31 -0700 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: References: Message-ID: Thank you Thierry and Richard. That's perfect. And looks like it comes with a Textmate bundle. Pete Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Sep 18, 2014 at 1:06 PM, Richard Gaskin wrote: > Thierry wrote: > > but there is already a plugin for this... available since years! >> >> I forgot where and who did it but it exists; I've send the link last year >> to someone... sorry, I'm getting old and it's late here :) >> > > This one?: > > > -- > Richard Gaskin > Fourth World Systems > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From tech1 at troutfoot.com Thu Sep 18 16:59:13 2014 From: tech1 at troutfoot.com (tech1 at troutfoot.com) Date: Thu, 18 Sep 2014 13:59:13 -0700 Subject: More images RunRevLive14 Message-ID: <88f7d4af3ee6be836c72f5f414b63a22.squirrel@webmail.troutfoot.com> Great to see so many of you. And the lizards, boats, trolleys, great food. Here?s another set, to add to the cool pictures Heather posted. http://www.troutfoot.com/rev/index.html Thank you all, Sandy From sundown at pacifier.com Thu Sep 18 17:06:44 2014 From: sundown at pacifier.com (JB) Date: Thu, 18 Sep 2014 14:06:44 -0700 Subject: LiveCode Commercial License In-Reply-To: <541B3286.3080201@hyperactivesw.com> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> Message-ID: <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> That brings up a very interesting question about the license being a subscription instead of you owning the program like you did with Revolution Enterprise. People value their software and the programming tools they spend time using to make it. What if for some reason or another LiveCode went out of business. You might have spent years making your program and then like happened with me and many other hyperCard users you were hit with the reality hyperCard would not run on the new Mac OS. Apple in the beginning said the best programs would not be seen for about 10 years. The point is even if you have a commercial license and LiveCode goes out of business you will not be able to develop your program even if the current update will do everything you need. You can say LiveCode will protect you and allow you to develop forever using your current license. But you know how courts, attorneys, license etc. are and just because you think that would be the proper thing to do you do not know if they could legally allow you do do it even if they wanted to. People who paid money might be able to stop them from allowing you to develop software. And believe me some people will buy companies just to stop you from marketing a new product they do not want on the market. John Balgenorth On Sep 18, 2014, at 12:29 PM, J. Landman Gay wrote: > I'm trying to figure out how RR would stay in business at all if all their licenses were free. If it's true that only 5% of the user base actually pays for the product, how else should RR get funding? From jacque at hyperactivesw.com Thu Sep 18 17:18:10 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Sep 2014 16:18:10 -0500 Subject: Sorting lines on colour (color for some) In-Reply-To: <8D1A19331A96D46-1250-3E0E@webmail-va122.sysops.aol.com> References: <8D1A19331A96D46-1250-3E0E@webmail-va122.sysops.aol.com> Message-ID: <541B4C12.5010201@hyperactivesw.com> On 9/18/2014, 3:06 PM, dunbarx at aol.com wrote: > Peter, you need foreground color, not backgroundColor. > > > So again, before I call Jacque, why does this not work? I think "backgroundColor" really is what you want. Lines can have their own backcolor, forecolor is the color of the text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu Sep 18 17:30:44 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Sep 2014 14:30:44 -0700 Subject: Coda 2 Syntax highlighting for LC now working In-Reply-To: References: Message-ID: On Thu, Sep 18, 2014 at 1:18 PM, Thierry Douez wrote: > and around 6 months ago it was still working as I suggest to someone to > use it and he was successful with it. > Seems to be working for me today using Textmate. I really like Textmate but there's one thing I really miss from the IDE editor and that's the list of handlers. Not sure how useful Textmate will be for editing all but the smallest scripts unless it provides a way to generate that list. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From jacque at hyperactivesw.com Thu Sep 18 17:39:01 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 18 Sep 2014 16:39:01 -0500 Subject: More images RunRevLive14 In-Reply-To: <88f7d4af3ee6be836c72f5f414b63a22.squirrel@webmail.troutfoot.com> References: <88f7d4af3ee6be836c72f5f414b63a22.squirrel@webmail.troutfoot.com> Message-ID: <541B50F5.8080504@hyperactivesw.com> On 9/18/2014, 3:59 PM, tech1 at troutfoot.com wrote: > > Here?s another set, to add to the cool pictures Heather posted. > > http://www.troutfoot.com/rev/index.html You only do that so you won't be in any pictures yourself, right? :) Nice job though, I have to say. It was a fantastic conference, best yet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jiml at netrin.com Thu Sep 18 17:41:13 2014 From: jiml at netrin.com (Jim Lambert) Date: Thu, 18 Sep 2014 14:41:13 -0700 Subject: LiveCode Commercial License In-Reply-To: References: Message-ID: Even though I mostly use LiveCode to develop in-house solutions and could get away with Community, I buy the Commercial license because I want RunRev to survive and thrive. And because it is a bargain. Jim Lambert From dunbarx at aol.com Thu Sep 18 17:46:51 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 18 Sep 2014 17:46:51 -0400 Subject: Sorting lines on colour (color for some) Message-ID: <8D1A1A130E8978A-1250-486D@webmail-va122.sysops.aol.com> I thought the OP wanted colored text. Anyway, the backColor does not sort either, using the same code. Jacque, why doesn't the thing sort? Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Thu, Sep 18, 2014 5:18 pm Subject: Re: Sorting lines on colour (color for some) On 9/18/2014, 3:06 PM, dunbarx at aol.com wrote: > Peter, you need foreground color, not backgroundColor. > > > So again, before I call Jacque, why does this not work? I think "backgroundColor" really is what you want. Lines can have their own backcolor, forecolor is the color of the text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From songe at agate.plala.or.jp Thu Sep 18 18:28:29 2014 From: songe at agate.plala.or.jp (Jonathan Scott) Date: Fri, 19 Sep 2014 07:28:29 +0900 Subject: PDF Files - Is there a way to read them in LiveCode? In-Reply-To: References: Message-ID: Thanks for the response. I should have seen that. > Message: 28 > Date: Thu, 18 Sep 2014 14:11:47 +0800 > From: Kay C Lan > To: How to use LiveCode > Subject: Re: PDF Files - Is there a way to read them in LiveCode? > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > OCR is the last thing you want to use. Far too many errors. > > If you are on Mac you can use Applescript to open, Select All and Copy > and this will result in 100% of the text being available, no OCR > errors. Unfortunately, depending on your document the output might not > exactly match the input. This will be particularly true pages pages > containing multi-column data or there are tables of data. It's easy > enough to test, open the pdf in question, Select All, Copy and then > Paste into TextEdit. You'll be left with 3 possibilities: > > 1) You are extremely lucky and your pdfs are very basic and the text > output is a 100% match. LC solution very easy. > 2) 90% of the document is fine but a couple of tables don't match. > Your pdfs are standardised and these tables (or multi columns) appear > in the same place. Will be possible to parse the data and use LC to > correct the formatting. Development time will be considerably longer. > 3) Your pdfs are random and there are tables and multi columns all > over the place resulting in output that is anywhere between 1% to 10% > accurate. Forget it, it will be almost impossible to reconstruct the > jumble of text back to the original layout. > > HTH > > On Wed, Sep 17, 2014 at 4:25 AM, Jonathan Scott wrote: >> Hi, >> I have some PDF files that I'd like to create a search stack for. I looked on the net and found a way to display them in LiveCode, but is there actually a way to read the OCR text that's in each file? If not, there should be. >> Thanks in advance. From alex at harryscollar.com Thu Sep 18 19:10:22 2014 From: alex at harryscollar.com (Alex Shaw) Date: Fri, 19 Sep 2014 09:10:22 +1000 Subject: iOS 8 & XCode 6 In-Reply-To: References: <541A4869.2030701@harryscollar.com> <541A7192.7070100@harryscollar.com> <541A9419.2090609@harryscollar.com> Message-ID: <541B665E.4090405@harryscollar.com> Also, I should add that although you can install a LC standalone to a device it does not seem possible to build a iOS standalone with LC & Xcode 6.0.1. Mac LC 6.6.3 and 6.7.0RC2 tested. regards alex On 18/09/2014 7:20 pm, Thierry Douez wrote: > Here are few links for those interested > to have Xcode 5 and 6 along side... > > > http://stackoverflow.com/questions/24042820/how-can-i-install-xcode-6-along-side-xcode-5 > > > http://stackoverflow.com/questions/24005297/can-xcode-6-and-xcode-5-coexist-on-the-same-computer > > > http://stackoverflow.com/questions/24038286/is-it-possible-to-install-ios6-sdk-on-xcode-6-beta > > > Seems the problem is with the simulator... > > Thanks Alex for the link :) > > Thierry > > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu Sep 18 19:10:29 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 18 Sep 2014 16:10:29 -0700 Subject: Sorting lines on colour (color for some) In-Reply-To: <541B4C12.5010201@hyperactivesw.com> References: <8D1A19331A96D46-1250-3E0E@webmail-va122.sysops.aol.com> <541B4C12.5010201@hyperactivesw.com> Message-ID: My script works with background color so I guess that must be the right property. It would be great if something like "sort lines of field x by the backgroundcolor of each" just worked though. Not just with backgroundcolor but with any property of a line in a field. Worth an enhancement request? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Sep 18, 2014 at 2:18 PM, J. Landman Gay wrote: > On 9/18/2014, 3:06 PM, dunbarx at aol.com wrote: > >> Peter, you need foreground color, not backgroundColor. >> >> >> So again, before I call Jacque, why does this not work? >> > > I think "backgroundColor" really is what you want. Lines can have their > own backcolor, forecolor is the color of the text. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at harryscollar.com Thu Sep 18 19:20:24 2014 From: alex at harryscollar.com (Alex Shaw) Date: Fri, 19 Sep 2014 09:20:24 +1000 Subject: iOS 8 & XCode 6 In-Reply-To: <541B665E.4090405@harryscollar.com> References: <541A4869.2030701@harryscollar.com> <541A7192.7070100@harryscollar.com> <541A9419.2090609@harryscollar.com> <541B665E.4090405@harryscollar.com> Message-ID: <541B68B8.60004@harryscollar.com> Opps, forgot the bug link for those who want to track this.. http://quality.runrev.com/show_bug.cgi?id=13441 regards alex On 19/09/2014 9:10 am, Alex Shaw wrote: > Also, I should add that although you can install a LC standalone to a > device it does not seem possible to build a iOS standalone with LC & > Xcode 6.0.1. > > Mac LC 6.6.3 and 6.7.0RC2 tested. > > regards > alex From m.schonewille at economy-x-talk.com Thu Sep 18 20:45:16 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Sep 2014 02:45:16 +0200 Subject: LiveCode Meeting 20 September in the Netherlands Message-ID: <541B7C9C.1090502@economy-x-talk.com> Hi everyone, I have put all information including the agenda, a map and some nice pictures on my blog at http://blog.economy-x-talk-com Feel free to contact me if you have questions. If you are on the mailing list for this event, then you have my phone number. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ From mwieder at ahsoftware.net Thu Sep 18 22:50:30 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 18 Sep 2014 19:50:30 -0700 Subject: More images RunRevLive14 In-Reply-To: <541B50F5.8080504@hyperactivesw.com> References: <88f7d4af3ee6be836c72f5f414b63a22.squirrel@webmail.troutfoot.com> <541B50F5.8080504@hyperactivesw.com> Message-ID: <1701407965499.20140918195030@ahsoftware.net> Jacque- Thursday, September 18, 2014, 2:39:01 PM, you wrote: > You only do that so you won't be in any pictures yourself, right? :) Nope, she's there on page 2. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From tech1 at troutfoot.com Thu Sep 18 23:36:22 2014 From: tech1 at troutfoot.com (tech1 at troutfoot.com) Date: Thu, 18 Sep 2014 20:36:22 -0700 Subject: images from RunRevLIve14 In-Reply-To: References: Message-ID: By the way, I have only tested these on a couple of systems. If you have trouble viewing the images or movies, let me know off-list. I am aware that the videos from early conferences do not work. Currently looking at solutions. Thanks again, Sandy From bonnmike at gmail.com Thu Sep 18 23:37:07 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 18 Sep 2014 21:37:07 -0600 Subject: Sorting lines on colour (color for some) In-Reply-To: <8D1A1A130E8978A-1250-486D@webmail-va122.sysops.aol.com> References: <8D1A1A130E8978A-1250-486D@webmail-va122.sysops.aol.com> Message-ID: No time to test right now, but shouldn't it be possible to use the styledtext array as part of the sort? The data in the array is in the form of.. myArray[tCounter]["runs"][1]["style"]["textColor"] where tCounter is the line number (aka, paragraph number) It can get complicated fast if lines have more than 1 "run", but maybe something in there could be useful. Just thinking off the top of my head, grab the array, flatten it and tack on the text for each line, do the sort on the colors, (though if there is a line with no color set, the array entry for that line will be empty, but the array key for the paragraph does exist, not sure how to handle an unset textcolor key yet), rebuild the array, renumbering by paragraph based on the new line positions, then pop the text back into the field, and set the styledtext to the new array. Could be a royal pain, but a pain that works is better than a simple that doesn't. On Thu, Sep 18, 2014 at 3:46 PM, wrote: > > I thought the OP wanted colored text. Anyway, the backColor does not sort > either, using the same code. > > > Jacque, why doesn't the thing sort? > > > Craig > > > > -----Original Message----- > From: J. Landman Gay > To: How to use LiveCode > Sent: Thu, Sep 18, 2014 5:18 pm > Subject: Re: Sorting lines on colour (color for some) > > > On 9/18/2014, 3:06 PM, dunbarx at aol.com wrote: > > Peter, you need foreground color, not backgroundColor. > > > > > > So again, before I call Jacque, why does this not work? > > I think "backgroundColor" really is what you want. Lines can have their > own backcolor, forecolor is the color of the text. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Thu Sep 18 23:45:39 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 19 Sep 2014 11:45:39 +0800 Subject: LiveCode Commercial License In-Reply-To: <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> Message-ID: On Fri, Sep 19, 2014 at 5:06 AM, JB wrote: > People value their software and the programming > tools they spend time using to make it. > > What if for some reason or another LiveCode went > out of business. If I remember correctly JB you are on Mac, so maybe a better question would be what happens if you go out of business. If an architectural firm buys 20 Mac Pros + 20 Thunderbolt Display + 20 copies of AutoCAD LT which currently run at U$899.99 a pop, and tomorrow that business went bust how much is that U$18,000 software purchase worth... $0*. Some day, accountants, and individuals are going to realise that every purchase they make through the App Store or iTunes (so not just software but music and movies as well) is instantly worth $0 because Apple allows now way for you to fire sale your software, music and movies. * Actually it's worse than that. You don't have to go out of business all you have to do is change your address - to a new country. There have been many cases where individuals have moved country only to discover when they arrive and update their Apple ID info, large amounts of their App Store/iTunes purchases have disappeared forever. http://www.macworld.com/article/2029991/crossing-borders-with-the-itunes-store.html I don't think Runrev care about where you live, so if you are sleeping at night with the license agreement you have with Apple I can't see why you are worried about Runrev's license From sundown at pacifier.com Fri Sep 19 00:45:11 2014 From: sundown at pacifier.com (JB) Date: Thu, 18 Sep 2014 21:45:11 -0700 Subject: LiveCode Commercial License In-Reply-To: References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> Message-ID: <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> Hi Kay, The minute you use the computers they have already lost value no matter what brand you bought. Here is another business example that would show you a reason for concern. You are a general contractor and build houses for a living. Your business is using a tool called a hammer. In the past you would go to the hardware store and buy a hammer as needed. Suddenly you learn you need to sign up for a subscription to buy another hammer and if the company making the hammer goes out of business you are not allowed to use the hammer any more. Your company depended on this hammer and to use another hammer is like starting over from the beginning. Of course in the real world a hammer is readily available and your company does not need to use a certain hammer. So if you could own the hammer and use it after the company went out of business that was making your hammer would you feel better about using that hammer or would you feel better knowing at anytime after a notice is given you have at the most 1 year to use the tools your company depends on? I am not attacking LIveCode but I think most people would like to be protected by knowing they can continue to use the tools they built their business on if something happens to the other business. LiveCode could solve this problem and assure people they will not lose the tools they depend on by adding to the license that if LiveCode is sold or goes out of business anyone who has a valid license within that year can continue to use the program to develop commercially. But then again they could just price it so high that nobody would purchase it and then once again you do not get to use the software you depend on for your business. That is the only major problem I see with how LiveCode is marketing the software. Other than that the prices seem to be fair and I hope they do not ever have a problem. A better thing to discuss is when will LiveCode be releasing the version that Kevin recently posted a video where he talked about extensions and Swift. He mentioned they will be able to program LiveCode with LIveCode. This sounds really interesting to me. If you have not watched the video Richard Gaskin posted a link to it and it is very interesting. John Balgenorth On Sep 18, 2014, at 8:45 PM, Kay C Lan wrote: > On Fri, Sep 19, 2014 at 5:06 AM, JB wrote: > >> People value their software and the programming >> tools they spend time using to make it. >> >> What if for some reason or another LiveCode went >> out of business. > > If I remember correctly JB you are on Mac, so maybe a better question > would be what happens if you go out of business. > > If an architectural firm buys 20 Mac Pros + 20 Thunderbolt Display + > 20 copies of AutoCAD LT which currently run at U$899.99 a pop, and > tomorrow that business went bust how much is that U$18,000 software > purchase worth... $0*. Some day, accountants, and individuals are > going to realise that every purchase they make through the App Store > or iTunes (so not just software but music and movies as well) is > instantly worth $0 because Apple allows now way for you to fire sale > your software, music and movies. > > * Actually it's worse than that. You don't have to go out of business > all you have to do is change your address - to a new country. There > have been many cases where individuals have moved country only to > discover when they arrive and update their Apple ID info, large > amounts of their App Store/iTunes purchases have disappeared forever. > > http://www.macworld.com/article/2029991/crossing-borders-with-the-itunes-store.html > > I don't think Runrev care about where you live, so if you are sleeping > at night with the license agreement you have with Apple I can't see > why you are worried about Runrev's license > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Fri Sep 19 03:19:03 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 19 Sep 2014 09:19:03 +0200 Subject: AW: LiveCode Commercial License In-Reply-To: References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> Message-ID: <007101cfd3d9$fe9f9930$fbdecb90$@de> Is the validation of your LiveCode license checked online against runrevs database when launching LC, or is the expiration date of your license stored locally? Will LiveCode also stop working when being offline, if your license has expired? Does anybody know, how the LiveCode licensing system actually works? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Kay C Lan > Gesendet: Freitag, 19. September 2014 05:46 > An: How to use LiveCode > Betreff: Re: LiveCode Commercial License > > On Fri, Sep 19, 2014 at 5:06 AM, JB wrote: > > > People value their software and the programming tools they spend time > > using to make it. > > > > What if for some reason or another LiveCode went out of business. > > If I remember correctly JB you are on Mac, so maybe a better question would be > what happens if you go out of business. > > If an architectural firm buys 20 Mac Pros + 20 Thunderbolt Display + 20 copies > of AutoCAD LT which currently run at U$899.99 a pop, and tomorrow that > business went bust how much is that U$18,000 software purchase worth... $0*. > Some day, accountants, and individuals are going to realise that every > purchase they make through the App Store or iTunes (so not just software but > music and movies as well) is instantly worth $0 because Apple allows now way > for you to fire sale your software, music and movies. > > * Actually it's worse than that. You don't have to go out of business all you > have to do is change your address - to a new country. There have been many > cases where individuals have moved country only to discover when they arrive > and update their Apple ID info, large amounts of their App Store/iTunes > purchases have disappeared forever. > > http://www.macworld.com/article/2029991/crossing-borders-with-the-itunes- > store.html > > I don't think Runrev care about where you live, so if you are sleeping at > night with the license agreement you have with Apple I can't see why you are > worried about Runrev's license > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Fri Sep 19 04:18:42 2014 From: sundown at pacifier.com (JB) Date: Fri, 19 Sep 2014 01:18:42 -0700 Subject: LiveCode Commercial License In-Reply-To: <007101cfd3d9$fe9f9930$fbdecb90$@de> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <007101cfd3d9$fe9f9930$fbdecb90$@de> Message-ID: Disconnect your computer from the web and see if it still works. If still works you still do not know for sure but if it does not work you might be on to something. John Balgenorth On Sep 19, 2014, at 12:19 AM, Tiemo Hollmann TB wrote: > Is the validation of your LiveCode license checked online against runrevs > database when launching LC, or is the expiration date of your license stored > locally? Will LiveCode also stop working when being offline, if your license > has expired? > Does anybody know, how the LiveCode licensing system actually works? > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von Kay C Lan >> Gesendet: Freitag, 19. September 2014 05:46 >> An: How to use LiveCode >> Betreff: Re: LiveCode Commercial License >> >> On Fri, Sep 19, 2014 at 5:06 AM, JB wrote: >> >>> People value their software and the programming tools they spend time >>> using to make it. >>> >>> What if for some reason or another LiveCode went out of business. >> >> If I remember correctly JB you are on Mac, so maybe a better question > would be >> what happens if you go out of business. >> >> If an architectural firm buys 20 Mac Pros + 20 Thunderbolt Display + 20 > copies >> of AutoCAD LT which currently run at U$899.99 a pop, and tomorrow that >> business went bust how much is that U$18,000 software purchase worth... > $0*. >> Some day, accountants, and individuals are going to realise that every >> purchase they make through the App Store or iTunes (so not just software > but >> music and movies as well) is instantly worth $0 because Apple allows now > way >> for you to fire sale your software, music and movies. >> >> * Actually it's worse than that. You don't have to go out of business all > you >> have to do is change your address - to a new country. There have been many >> cases where individuals have moved country only to discover when they > arrive >> and update their Apple ID info, large amounts of their App Store/iTunes >> purchases have disappeared forever. >> >> http://www.macworld.com/article/2029991/crossing-borders-with-the-itunes- >> store.html >> >> I don't think Runrev care about where you live, so if you are sleeping at >> night with the license agreement you have with Apple I can't see why you > are >> worried about Runrev's license >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Fri Sep 19 05:40:54 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 19 Sep 2014 11:40:54 +0200 Subject: AW: LiveCode Commercial License In-Reply-To: References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <007101cfd3d9$fe9f9930$fbdecb90$@de> Message-ID: <007c01cfd3ed$cf751360$6e5f3a20$@de> As long I still have a valid licence, it still works, also offline. But I can't test if it doesn't works anymore when disconnected without license, because I have a valid commercial license Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von JB > Gesendet: Freitag, 19. September 2014 10:19 > An: How to use LiveCode > Betreff: Re: LiveCode Commercial License > > Disconnect your computer from the web and see if it still works. If still > works you still do not know for sure but if it does not work you might be on > to something. > > John Balgenorth > > > On Sep 19, 2014, at 12:19 AM, Tiemo Hollmann TB wrote: > > > Is the validation of your LiveCode license checked online against > > runrevs database when launching LC, or is the expiration date of your > > license stored locally? Will LiveCode also stop working when being > > offline, if your license has expired? > > Does anybody know, how the LiveCode licensing system actually works? > > Tiemo > > > >> -----Urspr?ngliche Nachricht----- > >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > > Auftrag > >> von Kay C Lan > >> Gesendet: Freitag, 19. September 2014 05:46 > >> An: How to use LiveCode > >> Betreff: Re: LiveCode Commercial License > >> > >> On Fri, Sep 19, 2014 at 5:06 AM, JB wrote: > >> > >>> People value their software and the programming tools they spend > >>> time using to make it. > >>> > >>> What if for some reason or another LiveCode went out of business. > >> > >> If I remember correctly JB you are on Mac, so maybe a better question > > would be > >> what happens if you go out of business. > >> > >> If an architectural firm buys 20 Mac Pros + 20 Thunderbolt Display + > >> 20 > > copies > >> of AutoCAD LT which currently run at U$899.99 a pop, and tomorrow > >> that business went bust how much is that U$18,000 software purchase > worth... > > $0*. > >> Some day, accountants, and individuals are going to realise that > >> every purchase they make through the App Store or iTunes (so not just > >> software > > but > >> music and movies as well) is instantly worth $0 because Apple allows > >> now > > way > >> for you to fire sale your software, music and movies. > >> > >> * Actually it's worse than that. You don't have to go out of business > >> all > > you > >> have to do is change your address - to a new country. There have been > >> many cases where individuals have moved country only to discover when > >> they > > arrive > >> and update their Apple ID info, large amounts of their App > >> Store/iTunes purchases have disappeared forever. > >> > >> http://www.macworld.com/article/2029991/crossing-borders-with-the-itu > >> nes- > >> store.html > >> > >> I don't think Runrev care about where you live, so if you are > >> sleeping at night with the license agreement you have with Apple I > >> can't see why you > > are > >> worried about Runrev's license > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > > subscription > >> preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Fri Sep 19 06:14:22 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 19 Sep 2014 12:14:22 +0200 Subject: codesigning error on OS X 10.9.5 Message-ID: <008301cfd3f2$7c87ba90$75972fb0$@de> Hi, until yesterday codesigning worked for my LC 6.5.2 app on OS X 10.9.1. Yesterday I made the update to 10.9.5 and Xcode 6.0.1. Now codesign throws the error: "unsealed contents present in the bundle root in subcomponent: MacOS/Externals/revxml.bundle" (same for other rev bundles). I tested all combinations with/without --force and --deep and also as recommended signing from inside to outside the rev.bundle first. No success. Because the signing and verification process got again stricter with 10.9.5 I read the tech note https://developer.apple.com/library/mac/technotes/tn2206/_index.html and deleted the manifest file in the root of the revxml.bundle. Without the manifest file the signing process works without errors and the verification tells me, my app is accepted. But my Mac skills are very limited, so I even don't know the function of a manifest file. May I just delete it, if codesign doesn't like it? Gets something else broken, what I don't see yet, when deleting the manifest? What is a manifest at all, my app doesn't have a manifest either? Thanks for any "private lessons" Tiemo From effendi at wanadoo.fr Fri Sep 19 07:11:21 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Fri, 19 Sep 2014 13:11:21 +0200 Subject: Sorting lines on colour (color for some) Message-ID: Hi from Beautiful Brittany, Thanks to all you guys (and Jacqueline) for the wealth of suggestions to solve my little problem. That?s a lot of brain power out there. I had thought of tacking the colour code onto each line, sorting by the normal way, and then stripping off the code. But I knew that someone out there would have a mind-blowing answer ! I like the regex use. Thanks again -Francis From lan.kc.macmail at gmail.com Fri Sep 19 07:33:40 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 19 Sep 2014 19:33:40 +0800 Subject: LiveCode Commercial License In-Reply-To: <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> Message-ID: On Fri, Sep 19, 2014 at 12:45 PM, JB wrote: > Hi Kay, > > The minute you use the computers they > have already lost value no matter what > brand you bought. > Sorry, I thought we were talking about Software licensing. As English is my second language I'm easily confused. If this thread is about hardware please ignore my previous post. From lists at mangomultimedia.com Fri Sep 19 07:35:26 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 19 Sep 2014 07:35:26 -0400 Subject: LiveCode Commercial License In-Reply-To: <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> Message-ID: On Fri, Sep 19, 2014 at 12:45 AM, JB wrote: > > A better thing to discuss is when will LiveCode be > releasing the version that Kevin recently posted a > video where he talked about extensions and Swift. > He mentioned they will be able to program LiveCode > with LIveCode. This sounds really interesting to me. > If you have not watched the video Richard Gaskin > posted a link to it and it is very interesting. > This is very interesting technology and will fundamentally change LiveCode as a development environment. I don't know what the release schedule is, and releases schedules always change, but you can watch development of it on github. There is a widgets branch on the Runrev/LiveCode github repository that Mark Waddingham has committed some code to. Previously he was doing some work on it under a "feature-widget" branch on his own github account. Here is the link to the widget branch: https://github.com/runrev/livecode/commits/widgets You can check in periodically and see how it progresses. If you want to monitor all of the progress on the engine then you can follow these instructions for installing SourceTree and setting it up with the livecode github repository. http://www.bluemangolearning.com/livecode/2014/07/using-sourcetree-to-monitor-progress-on-livecode/ The engineers at RunRev are doing a lot of fine work, as you will see by watching the repository. Some of it has led to things like Cocoa, improved Linux support, improved proxy support, the new browser, the QuickTime replacement on OS X, hi-dpi support, etc. A lot of their work has been less visible but has provided a foundation for some awesome technology we will be seeing in the not-to-distant future. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From larry at significantplanet.org Fri Sep 19 07:46:13 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 19 Sep 2014 05:46:13 -0600 Subject: large arrays Message-ID: <58AB7F301BAE4036A78B04E51481E908@userd204a4d61c> Hello, I made a program some years ago with Rev studio 2.9 that had some very large arrays in it. No problem. Then I got Rev 3.5 and it choked on the large arrays - took forever to load and display in Variables. Several years ago, I spoke to RunRev about it and they said they were going to resolve it. I am using LC 6.1.1 (rc 4) and was just working with it on my old (large array) program. I can hardly do anything because LC is SO sluggish. If I want to edit a script, it takes several seconds to display what I am typing - so it is extremely difficult to see what I'm doing. Does anyone know of this issue and if it ever was fixed in some later version of LC? Thanks, Larry From fraser.gordon at livecode.com Fri Sep 19 07:51:09 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Fri, 19 Sep 2014 12:51:09 +0100 Subject: large arrays In-Reply-To: <58AB7F301BAE4036A78B04E51481E908@userd204a4d61c> References: <58AB7F301BAE4036A78B04E51481E908@userd204a4d61c> Message-ID: <15557693-9B20-4B1E-9CDC-41D73B892CB9@livecode.com> On 19 Sep 2014, at 12:46, wrote: > Hello, > > I made a program some years ago with Rev studio 2.9 that had some very large arrays in it. No problem. > > Then I got Rev 3.5 and it choked on the large arrays - took forever to load and display in Variables. > > Several years ago, I spoke to RunRev about it and they said they were going to resolve it. > > I am using LC 6.1.1 (rc 4) and was just working with it on my old (large array) program. I can hardly do anything because LC is SO sluggish. If I want to edit a script, it takes several seconds to display what I am typing - so it is extremely difficult to see what I'm doing. > > Does anyone know of this issue and if it ever was fixed in some later version of LC? We have completely re-written how arrays are handled internally in LiveCode 7 so you could give it a go in that and let us know how you get on. Regards, Fraser From bernd.niggemann at uni-wh.de Fri Sep 19 08:05:42 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Fri, 19 Sep 2014 05:05:42 -0700 (PDT) Subject: Sorting lines on colour (color for some) In-Reply-To: References: <8D1A1A130E8978A-1250-486D@webmail-va122.sysops.aol.com> Message-ID: <1411128342497-4683474.post@n4.nabble.com> Hi Mike, I like your idea to use styledText very much. It turns out that for the backgroundColor of a line it is not too bad to handle. ------------------------------------------- local sCounter = 0 local sStyles = "" on mouseUp put 0 into sCounter put the styledText of field "fData" into sStyles sort lines of field "fData" numeric ascending by myColor(each) end mouseUp function myColor add 1 to sCounter put sStyles[sCounter]["style"]["backgroundColor"] into tRGB if tRGB = "" then -- no backgroundColor return 0 end if return item 1 of tRGB -- test for redness -- or do anything you want with R,G,B end myColor ------------------------------------------------ the real problem starts when you have the RGB value. What do you want to sort if it is a generic handler for all sorts of colors (e.g. any line of the colorNames) I made a version where I use Raney's conversion from RGB to HSV, then you can sort by Color (H=Hue), Saturation(S) and "Blackness" (V=Value). But still it is not what one expects. It sorts alright but it all depends on how you want your colors sorted. That makes a sort by backgroundColor (RGB value) less useful. Kind regards Bernd Scott Raney's RGB to HSV is in stack revColorChooser which on my Mac is in Livecode bundle Contents->Tools->Toolset-> revcolorchooser.rev in the script of group "HSV", there is also the other way around HSV to RGB. here is RGB to HSV ------------------------------------------- function RGBtoHSV r, g, b local maxv, minv, diff, s, rc, gc, bc, h set the numberFormat to "0.###############" put r / 255 into r put g / 255 into g put b / 255 into b put max(r,g,b) into maxv put min(r,g,b) into minv put maxv - minv into diff if maxv <> 0 and diff <> 0 then put diff / maxv into s put (maxv - r) / diff into rc put (maxv - g) / diff into gc put (maxv - b) / diff into bc if r = maxv then put bc - gc into h else if g = maxv then put 2 + rc - bc into h else if b = maxv then put 4 + gc - rc into h multiply h by 60 if h < 0 then add 360 to h end if else put 0 into s put 0 into h end if return round(h),round(s * 100),round(maxv * 100) end RGBtoHSV -------------------------------------- -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Sorting-lines-on-colour-color-for-some-tp4683418p4683474.html Sent from the Revolution - User mailing list archive at Nabble.com. From sundown at pacifier.com Fri Sep 19 08:55:26 2014 From: sundown at pacifier.com (JB) Date: Fri, 19 Sep 2014 05:55:26 -0700 Subject: LiveCode Commercial License In-Reply-To: References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> Message-ID: You are right we were talking about software. I mentioned the computers because it related to the architectural firm buying 20 mac pros etc. You make some good points. As for english being your second language I only know english and you do better than me in many ways. John Balgenorth On Sep 19, 2014, at 4:33 AM, Kay C Lan wrote: > On Fri, Sep 19, 2014 at 12:45 PM, JB wrote: >> Hi Kay, >> >> The minute you use the computers they >> have already lost value no matter what >> brand you bought. >> > Sorry, I thought we were talking about Software licensing. As English > is my second language I'm easily confused. If this thread is about > hardware please ignore my previous post. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Fri Sep 19 08:59:19 2014 From: sundown at pacifier.com (JB) Date: Fri, 19 Sep 2014 05:59:19 -0700 Subject: LiveCode Commercial License In-Reply-To: References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> Message-ID: <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> Thanks for the links and info Trevor. Everything you said sounds really good. Cocoa will open the door for Objective-C and Swift. John Balgenorth On Sep 19, 2014, at 4:35 AM, Trevor DeVore wrote: > On Fri, Sep 19, 2014 at 12:45 AM, JB wrote: > >> >> A better thing to discuss is when will LiveCode be >> releasing the version that Kevin recently posted a >> video where he talked about extensions and Swift. >> He mentioned they will be able to program LiveCode >> with LIveCode. This sounds really interesting to me. >> If you have not watched the video Richard Gaskin >> posted a link to it and it is very interesting. >> > > This is very interesting technology and will fundamentally change LiveCode > as a development environment. I don't know what the release schedule is, > and releases schedules always change, but you can watch development of it > on github. There is a widgets branch on the Runrev/LiveCode github > repository that Mark Waddingham has committed some code to. Previously he > was doing some work on it under a "feature-widget" branch on his own github > account. Here is the link to the widget branch: > > https://github.com/runrev/livecode/commits/widgets > > You can check in periodically and see how it progresses. > > If you want to monitor all of the progress on the engine then you can > follow these instructions for installing SourceTree and setting it up with > the livecode github repository. > > http://www.bluemangolearning.com/livecode/2014/07/using-sourcetree-to-monitor-progress-on-livecode/ > > The engineers at RunRev are doing a lot of fine work, as you will see by > watching the repository. Some of it has led to things like Cocoa, improved > Linux support, improved proxy support, the new browser, the QuickTime > replacement on OS X, hi-dpi support, etc. A lot of their work has been less > visible but has provided a foundation for some awesome technology we will > be seeing in the not-to-distant future. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Fri Sep 19 10:20:37 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 19 Sep 2014 10:20:37 -0400 Subject: LiveCode Commercial License In-Reply-To: <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> Message-ID: On Friday, September 19, 2014, JB wrote: > Thanks for the links and info Trevor. > > Everything you said sounds really good. > Cocoa will open the door for Objective-C > and Swift. > Cocoa is primarily at the UI layer and doesn't really affect whether or not you can use objective-c. You can use objective-c in externals right now. Widgets are what will allow us to tap into the platform Apis (and other c/c++/objective-c/etc libraries out there) without having to leave LiveCode. Swift could be among the supported languages as well. In addition, we can wrap a UI around this code and have it show up as a control with LiveCode. It is a really big deal and fundamentally changes what we will be able to achieve with LiveCode. -- Trevor DeVore From sundown at pacifier.com Fri Sep 19 10:40:48 2014 From: sundown at pacifier.com (JB) Date: Fri, 19 Sep 2014 07:40:48 -0700 Subject: LiveCode Commercial License In-Reply-To: References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> Message-ID: <13797581-D95C-46D6-B5B1-2EF19D411ECB@pacifier.com> How can you use Objective-C right now? I downloaded the recent community version of LIveCode and it looks to me to write an external you still use C++ and Xcode 2.4. What is the trick to use Objective-C? John Balgenorth On Sep 19, 2014, at 7:20 AM, Trevor DeVore wrote: > On Friday, September 19, 2014, JB wrote: > >> Thanks for the links and info Trevor. >> >> Everything you said sounds really good. >> Cocoa will open the door for Objective-C >> and Swift. >> > > Cocoa is primarily at the UI layer and doesn't really affect whether or not > you can use objective-c. You can use objective-c in externals right now. > > Widgets are what will allow us to tap into the platform Apis (and other > c/c++/objective-c/etc libraries out there) without having to leave > LiveCode. Swift could be among the supported languages as well. In > addition, we can wrap a UI around this code and have it show up as a > control with LiveCode. It is a really big deal and fundamentally changes > what we will be able to achieve with LiveCode. > > -- > Trevor DeVore > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From larry at significantplanet.org Fri Sep 19 11:12:28 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 19 Sep 2014 09:12:28 -0600 Subject: large arrays References: <58AB7F301BAE4036A78B04E51481E908@userd204a4d61c> <15557693-9B20-4B1E-9CDC-41D73B892CB9@livecode.com> Message-ID: <0045FFBC11524612B5C70BFA76FC18A9@userd204a4d61c> Thanks Fraser, I will try that. Larry ----- Original Message ----- From: "Fraser Gordon" To: "How to use LiveCode" Sent: Friday, September 19, 2014 5:51 AM Subject: Re: large arrays > > On 19 Sep 2014, at 12:46, wrote: > >> Hello, >> >> I made a program some years ago with Rev studio 2.9 that had some very >> large arrays in it. No problem. >> >> Then I got Rev 3.5 and it choked on the large arrays - took forever to >> load and display in Variables. >> >> Several years ago, I spoke to RunRev about it and they said they were >> going to resolve it. >> >> I am using LC 6.1.1 (rc 4) and was just working with it on my old (large >> array) program. I can hardly do anything because LC is SO sluggish. If I >> want to edit a script, it takes several seconds to display what I am >> typing - so it is extremely difficult to see what I'm doing. >> >> Does anyone know of this issue and if it ever was fixed in some later >> version of LC? > > We have completely re-written how arrays are handled internally in > LiveCode 7 so you could give it a go in that and let us know how you get > on. > > Regards, > Fraser > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Sep 19 12:18:37 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Sep 2014 09:18:37 -0700 Subject: large arrays In-Reply-To: <0045FFBC11524612B5C70BFA76FC18A9@userd204a4d61c> References: <0045FFBC11524612B5C70BFA76FC18A9@userd204a4d61c> Message-ID: <541C575D.2090408@fourthworld.com> Just curious: How large is large? It would be interesting to know the number of elements. depth, and aggregate size. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From lists at mangomultimedia.com Fri Sep 19 12:24:11 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 19 Sep 2014 12:24:11 -0400 Subject: LiveCode Commercial License In-Reply-To: <13797581-D95C-46D6-B5B1-2EF19D411ECB@pacifier.com> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> <13797581-D95C-46D6-B5B1-2EF19D411ECB@pacifier.com> Message-ID: On Fri, Sep 19, 2014 at 10:40 AM, JB wrote: > How can you use Objective-C right now? > I downloaded the recent community version > of LIveCode and it looks to me to write an > external you still use C++ and Xcode 2.4. > > What is the trick to use Objective-C? > I have an ExternalsEnvironmentV3_WithObjC distribution that I've used to write externals in objective-c for quite some time. I can't find a link to it now though. I wonder if RunRev still makes that available? -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From m.schonewille at economy-x-talk.com Fri Sep 19 12:54:12 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Sep 2014 18:54:12 +0200 Subject: LiveCode Meeting 20 September in the Netherlands In-Reply-To: <541B7C9C.1090502@economy-x-talk.com> References: <541B7C9C.1090502@economy-x-talk.com> Message-ID: <541C5FB4.5080704@economy-x-talk.com> Hi, I have added a map of the railway station, showing where people who come by train may meet shortly after 12.00h. http://blog.economy-x-talk-com -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/19/2014 02:45, Mark Schonewille wrote: > Hi everyone, > > I have put all information including the agenda, a map and some nice > pictures on my blog at http://blog.economy-x-talk-com > > Feel free to contact me if you have questions. If you are on the mailing > list for this event, then you have my phone number. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > From dave at applicationinsight.com Fri Sep 19 13:38:02 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 19 Sep 2014 10:38:02 -0700 (PDT) Subject: LiveCode Meeting 20 September in the Netherlands In-Reply-To: <541C5FB4.5080704@economy-x-talk.com> References: <541B7C9C.1090502@economy-x-talk.com> <541C5FB4.5080704@economy-x-talk.com> Message-ID: <1411148282337-4683483.post@n4.nabble.com> Mark your event sounds great Sorry I can't make this one and am looking forward to the next one! Hope you all have a great time (I'm sure you will) and do tell us all about it afterwards Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Meeting-20-September-in-the-Netherlands-tp4683459p4683483.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Fri Sep 19 14:15:00 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 19 Sep 2014 20:15:00 +0200 Subject: LiveCode Meeting 20 September in the Netherlands In-Reply-To: <1411148282337-4683483.post@n4.nabble.com> References: <541B7C9C.1090502@economy-x-talk.com> <541C5FB4.5080704@economy-x-talk.com> <1411148282337-4683483.post@n4.nabble.com> Message-ID: <541C72A4.7060308@economy-x-talk.com> Thanks, Dave. I hope to see you at a meeting another time. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/19/2014 19:38, Dave Kilroy wrote: > Mark your event sounds great > > Sorry I can't make this one and am looking forward to the next one! Hope you > all have a great time (I'm sure you will) and do tell us all about it > afterwards > > Dave > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Meeting-20-September-in-the-Netherlands-tp4683459p4683483.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From larry at significantplanet.org Fri Sep 19 14:19:06 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 19 Sep 2014 12:19:06 -0600 Subject: large arrays References: <0045FFBC11524612B5C70BFA76FC18A9@userd204a4d61c> <541C575D.2090408@fourthworld.com> Message-ID: Hello Richard, Here are the numbers: I wrote a program that is an anagram finder several years ago using Rev 2.9 and had NO problems with the arrays. As I mentioned, it choked starting with Rev 3.5 and every iteration of Rev or LC that I've tried since, up to the current 6.1.1 (rc 4) I haven't tried it in LC 7.0 yet. I have a hidden stack with my word fields in it - for words in length from 2 to 12. The word lists are optimized with a key for faster searching. When the program loads, it puts each of the 11 word list fields into one array - which takes about 1 second on my XP with 4gb of ram. The word lists vary in length (3-ltr words is 1292 lines & the largest, 9-ltr words, is 40,727 lines.) Each line in all the lists averages less than 100 characters. The size of the field for 9-ltr words is 796kb if copied into a txt document. My old computer that I wrote the original program on with Rev 2.9 had less than 1gb of ram, so I don't think that is the issue. If I put in a 9 letter word such as ELEPHANTS, the program will find all anagrams (words found within the letters of ELEPHANTS) in about 4/10 of a second. The time varies slightly depending on whatever else is going on with my computer. That's a total of 596 words with my word lists and the program lists words and the number of words for each word length from 9 to 2. So the compiled version of my program works very satisfactorily. I'm now adding some other features to the program and, as I said, it is like trying to program on a typewriter that is full of mud. I spoke to someone at RunRev years ago and they acknowledged that there was an issue with arrays. Maybe it has been fixed in 7.0, but I haven't tried that yet. If you have any additional insights, I sure would appreciate it. Thanks, Larry ----- Original Message ----- From: "Richard Gaskin" To: Sent: Friday, September 19, 2014 10:18 AM Subject: Re: large arrays > Just curious: How large is large? > > It would be interesting to know the number of elements. depth, and > aggregate size. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Sep 19 15:19:15 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 19 Sep 2014 12:19:15 -0700 Subject: large arrays In-Reply-To: References: Message-ID: <541C81B3.2060906@fourthworld.com> larry wrote: > As I mentioned, it choked starting with Rev 3.5 and every iteration > of Rev or LC that I've tried since, up to the current 6.1.1 (rc 4) The current shipping version is 6.6.3, and the latest test version lower than 7 is 6.7RC2. Please let us know if you see any significant change with either version. > I have a hidden stack with my word fields in it - for words in length > from 2 to 12. The word lists are optimized with a key for faster > searching. > When the program loads, it puts each of the 11 word list fields into > one array - which takes about 1 second on my XP with 4gb of ram. If the problem is the time it takes to load the array, and the loading is happening from fields, the problem may not be in the arrays and perhaps in the field accesses. > The word lists vary in length (3-ltr words is 1292 lines & the > largest, 9-ltr words, is 40,727 lines.) Each line in all the lists > averages less than 100 characters. > The size of the field for 9-ltr words is 796kb if copied into a txt > document. So there are 11 elements in the array? If you run the array through arrayEncode and obtain its length, what is the size reported? put len(arrayEncode(tSomeArray)) > If I put in a 9 letter word such as ELEPHANTS, the program will find > all anagrams (words found within the letters of ELEPHANTS) in about > 4/10 of a second. Is that the old time or the new time? If new, what is the old time (or vice versa)? > I spoke to someone at RunRev years ago and they acknowledged that > there was an issue with arrays. It would be interesting to know exactly what they'd said. While arrays have undergone revision a few times over the years, they tend to be very fast in every version I've used. Hopefully once we understand more of the details of your code we'll pin down the bottleneck and get your performance back on par. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From jacque at hyperactivesw.com Fri Sep 19 15:22:42 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Sep 2014 14:22:42 -0500 Subject: Sorting lines on colour (color for some) In-Reply-To: <8D1A1A130E8978A-1250-486D@webmail-va122.sysops.aol.com> References: <8D1A1A130E8978A-1250-486D@webmail-va122.sysops.aol.com> Message-ID: <541C8282.5050806@hyperactivesw.com> On 9/18/2014, 4:46 PM, dunbarx at aol.com wrote: > Anyway, the backColor does not sort either, using the same code. > > > Jacque, why doesn't the thing sort? I think it's because when you sort lines, the engine pulls out only the actual text of the line for sorting. It isn't looking at the properties of the field at all. That's why using htmltext or styledText works, because those are just text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Sep 19 15:50:08 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Sep 2014 14:50:08 -0500 Subject: large arrays In-Reply-To: References: <0045FFBC11524612B5C70BFA76FC18A9@userd204a4d61c> <541C575D.2090408@fourthworld.com> Message-ID: <541C88F0.302@hyperactivesw.com> On 9/19/2014, 1:19 PM, larry at significantplanet.org wrote: > I spoke to someone at RunRev years ago and they acknowledged that there > was an issue with arrays. Maybe it has been fixed in 7.0, but I haven't > tried that yet. > > If you have any additional insights, I sure would appreciate it. If you feel like sharing your stack, send it to me offline and I'll take a look. Maybe there is some optimization that can be done. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Fri Sep 19 16:56:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Fri, 19 Sep 2014 13:56:06 -0700 Subject: Sorting lines on colour (color for some) In-Reply-To: <541C8282.5050806@hyperactivesw.com> References: <8D1A1A130E8978A-1250-486D@webmail-va122.sysops.aol.com> <541C8282.5050806@hyperactivesw.com> Message-ID: QCC Report# 13492 submitted as an enhancement. I doubt it will get a very high priority but thought it worth documenting. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Fri, Sep 19, 2014 at 12:22 PM, J. Landman Gay wrote: > On 9/18/2014, 4:46 PM, dunbarx at aol.com wrote: > >> Anyway, the backColor does not sort either, using the same code. >> >> >> Jacque, why doesn't the thing sort? >> > > > I think it's because when you sort lines, the engine pulls out only the > actual text of the line for sorting. It isn't looking at the properties of > the field at all. That's why using htmltext or styledText works, because > those are just text. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jemirandav at gmail.com Fri Sep 19 17:42:20 2014 From: jemirandav at gmail.com (Javier Miranda) Date: Fri, 19 Sep 2014 17:42:20 -0400 Subject: Field retrieved from a Mongo document display wrong characters Message-ID: I have a local Mongo Server and a LiveCode Stack to work as front end to it. When I enter "Se cambiar?n los bornes" (please note the accent), in a LiveCode field, the text is properly shown, inserting it as a document to a Mongo collection also works fine, the field is saved OK in the document. I can see it using the Shell. The problem is that, when I retrieve the document back to LiveCode, the field receiving the field shows: "Se cambiar??an los bornes". Trying to find the reason I found that the encoding of field "resul" , the field receiving the accented string is Native. Can you help finding the way to make this strings show the right characters? The code in the button retrieving the document from mongo is: on mouseUp local theMongo, theDB, dbText, theCole, thePreg, theQuerry put empty into field resul put "C:\mongodb\bin\mongo.exe localhost:27017/" into theMongo put "BatGar" into theDB put "BatRegis"into theCole put "'" & field F1 & "'" into toFind put "{"& quote & "_id" & quote & ":" & toFind & "}" into thePreg put "; printjson(db.getLastError())" into dbErr put ".find(" & thePreg & ");"into theQuerry put "var c=db."& theCole & theQuerry into dbText put " while(c.hasNext())" after dbText put " printjson(c.next())" after dbText put dbErr after dbText put theMongo & theDB && "--eval" && quote & dbText & quote into dbText1 put shell ( quote &dbText1 & quote) into dbResultado put the number of lines of dbResultado into nro put line 3 to (nro - 1) of dbResultado into field resul if field resul is empty then Answer warning "El Documento NO ha sido encontrado. El sistema no tiene registrada una Bater?a con el ID: " & field F1 with OK else Answer warning "El Documento ha sido encontrado, ID: " & field F1 with OK end if end mouseUp Saludos, Javier From sundown at pacifier.com Fri Sep 19 20:56:17 2014 From: sundown at pacifier.com (JB) Date: Fri, 19 Sep 2014 17:56:17 -0700 Subject: LiveCode Commercial License In-Reply-To: References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> <13797581-D95C-46D6-B5B1-2EF19D411ECB@pacifier.com> Message-ID: <67F645A4-DCC0-4721-AD46-94D2DD46C71C@pacifier.com> I would love to have a copy of that! If you find it please send me a copy. John Balgenorth On Sep 19, 2014, at 9:24 AM, Trevor DeVore wrote: > On Fri, Sep 19, 2014 at 10:40 AM, JB wrote: > >> How can you use Objective-C right now? >> I downloaded the recent community version >> of LIveCode and it looks to me to write an >> external you still use C++ and Xcode 2.4. >> >> What is the trick to use Objective-C? >> > > I have an ExternalsEnvironmentV3_WithObjC distribution that I've used to > write externals in objective-c for quite some time. I can't find a link to > it now though. I wonder if RunRev still makes that available? > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dunbarx at aol.com Fri Sep 19 21:18:52 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 19 Sep 2014 21:18:52 -0400 Subject: Sorting lines on colour (color for some) In-Reply-To: <541C8282.5050806@hyperactivesw.com> References: <8D1A1A130E8978A-1250-486D@webmail-va122.sysops.aol.com> <541C8282.5050806@hyperactivesw.com> Message-ID: <8D1A287F9AF2C44-57C-BA44@webmail-va217.sysops.aol.com> OK, I get that. But then how would a function, something you in particular are fond of, work? sort lines of whatever by jacque(the value of youTellMe) Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Fri, Sep 19, 2014 3:23 pm Subject: Re: Sorting lines on colour (color for some) On 9/18/2014, 4:46 PM, dunbarx at aol.com wrote: > Anyway, the backColor does not sort either, using the same code. > > > Jacque, why doesn't the thing sort? I think it's because when you sort lines, the engine pulls out only the actual text of the line for sorting. It isn't looking at the properties of the field at all. That's why using htmltext or styledText works, because those are just text. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Sep 19 21:48:06 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 19 Sep 2014 20:48:06 -0500 Subject: Sorting lines on colour (color for some) In-Reply-To: <8D1A287F9AF2C44-57C-BA44@webmail-va217.sysops.aol.com> References: <8D1A1A130E8978A-1250-486D@webmail-va122.sysops.aol.com> <541C8282.5050806@hyperactivesw.com> <8D1A287F9AF2C44-57C-BA44@webmail-va217.sysops.aol.com> Message-ID: <541CDCD6.1050503@hyperactivesw.com> On 9/19/2014, 8:18 PM, dunbarx at aol.com wrote: > OK, I get that. But then how would a function, something you in > particular are fond of, work? In this case I wouldn't use any field access, it would be inefficient and slow for all but very short field contents. But if someone put a knife to my throat and said, "write a function or else," then I'd do it the same way Bernd did, only instead of counting lines in the styledText, I'd count lines in the field. It requires the engine to access the field repeatedly for every line and makes me wince: local sCounter = 0 on mouseUp -- about to mangle Bernd's handler now put 0 into sCounter sort lines of field "fData" numeric ascending by myColor(each) end mouseUp function myColor add 1 to sCounter put the backcolor of line sCounter of fld "fData" into tRGB -- ow, ow if tRGB = "" then -- no backgroundColor return 0 end if return item 1 of tRGB -- test for redness -- or do anything you want with R,G,B end myColor -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From larry at significantplanet.org Fri Sep 19 22:02:23 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 19 Sep 2014 20:02:23 -0600 Subject: large arrays References: <541C81B3.2060906@fourthworld.com> Message-ID: <9B0FE72C9C4146139BA9D80AF302ABB5@userd204a4d61c> Hello Richard, I had to leave for awhile but now here is the updated info: Using put len(arrayEncode(myArray)) I got the following: there are actually 11 different arrays - one for each of the word lengths from 2 to 12 letters. The 3-ltr word array is 17672 The 9-ltr word array is 1159610 (there are a lot more 9-ltr words than 3-ltr words.) I didn't do all the others, but that will give you an idea. 7 and 8-ltr words will be close to 9-ltr words in size I haven't yet had time to test with later versions, but once I do, I will let you know. The problem is not the time it takes to load the arrays. As I mentioned, it loads all 11 in just over 1 second. Once they are loaded, I access the data directly from the arrays and not from the fields. The number elements (lines) in the arrays varies. The 3-ltr array has 1292 lines - I guess that means elements. The 9-ltr array has 40,727 lines or elements. Each line is in a format like this: apt,APT,PAT,TAP where "apt" is the key, which only needs to be found once and it shows all the 3-ltr words that can be made with those letters. Of course, that speeds up the search process tremendously. The time (about .4 seconds) I mentioned for finding the 596 words found in ELEPHANTS is what I tested today. But I know that even on a slower computer using the stack built with Rev 2.9, the time was very close to that - about 1/2 of a second. About 5 or 6 years ago when I was using 2.9 and then upgraded to 3.5, I not only spoke to someone at RunRev (forgot who) but I also spoke to Jerry Daniels, of Daniel and Mara, on the phone about several RunRev things and we discussed the array issue. He acknowledged that with the release of 3.5 there were some serious array issues, that RunRev knew about them and Jerry hoped that they would soon be fixed. They were not fixed with the release of RunRev 4.0 and the only version of LC that I've used extensively is 6.1.1 and the array issues are still not fixed in that release - although I would say it is a big improvement over RunRev 3.5. The crazy thing is this: I haven't made any significant changes to my stack over the years - mostly cosmetic stuff and the array sizes are what they've always been. RunRev 2.9 never flinched, brought up the data in the arrays almost instantly. But since then it has been worse than trying to get my little grandson to wear a shirt. I'm working on other projects now, but wanted to incorporate some of the anagram features in my latest project. I am very reluctant to do so because the complete sluggishness of it makes it way too frustrating to try and program. Someday soon I will get around to trying LC 7.0 or 7.1 or whatever is there and HOPEFULLY the issue will be solved. In the meantime, thank you and Jacqueline SO MUCH for your kind attention and offers of help. All the best, Larry ----- Original Message ----- From: "Richard Gaskin" To: Sent: Friday, September 19, 2014 1:19 PM Subject: Re: large arrays > larry wrote: > > > As I mentioned, it choked starting with Rev 3.5 and every iteration > > of Rev or LC that I've tried since, up to the current 6.1.1 (rc 4) > > The current shipping version is 6.6.3, and the latest test version lower > than 7 is 6.7RC2. > > Please let us know if you see any significant change with either version. > > > > I have a hidden stack with my word fields in it - for words in length > > from 2 to 12. The word lists are optimized with a key for faster > > searching. > > When the program loads, it puts each of the 11 word list fields into > > one array - which takes about 1 second on my XP with 4gb of ram. > > If the problem is the time it takes to load the array, and the loading is > happening from fields, the problem may not be in the arrays and perhaps in > the field accesses. > > > > The word lists vary in length (3-ltr words is 1292 lines & the > > largest, 9-ltr words, is 40,727 lines.) Each line in all the lists > > averages less than 100 characters. > > The size of the field for 9-ltr words is 796kb if copied into a txt > > document. > > So there are 11 elements in the array? > > If you run the array through arrayEncode and obtain its length, what is > the size reported? > > put len(arrayEncode(tSomeArray)) > > > > If I put in a 9 letter word such as ELEPHANTS, the program will find > > all anagrams (words found within the letters of ELEPHANTS) in about > > 4/10 of a second. > > Is that the old time or the new time? If new, what is the old time (or > vice versa)? > > > > I spoke to someone at RunRev years ago and they acknowledged that > > there was an issue with arrays. > > It would be interesting to know exactly what they'd said. While arrays > have undergone revision a few times over the years, they tend to be very > fast in every version I've used. > > Hopefully once we understand more of the details of your code we'll pin > down the bottleneck and get your performance back on par. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Sat Sep 20 00:44:01 2014 From: sundown at pacifier.com (JB) Date: Fri, 19 Sep 2014 21:44:01 -0700 Subject: LiveCode Commercial License In-Reply-To: References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> <13797581-D95C-46D6-B5B1-2EF19D411ECB@pacifier.com> Message-ID: <25B81636-7FCA-4A64-9ACA-446AF26337A5@pacifier.com> I see the Foundation.h library was added and that is what I needed because I am interested in using Objective-C and the NSFileManager. I am new to Obhective-C and the ExternalsEnvironmentV3_WithObjC distribution would really help a lot. Are there any other examples of externals made with Objective-C somewhere in the code they added Foundation.h? John Balgenorth On Sep 19, 2014, at 9:24 AM, Trevor DeVore wrote: > On Fri, Sep 19, 2014 at 10:40 AM, JB wrote: > >> How can you use Objective-C right now? >> I downloaded the recent community version >> of LIveCode and it looks to me to write an >> external you still use C++ and Xcode 2.4. >> >> What is the trick to use Objective-C? >> > > I have an ExternalsEnvironmentV3_WithObjC distribution that I've used to > write externals in objective-c for quite some time. I can't find a link to > it now though. I wonder if RunRev still makes that available? > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jim at d-film.com Sat Sep 20 08:03:46 2014 From: jim at d-film.com (Jim Kanter) Date: Sat, 20 Sep 2014 08:03:46 -0400 Subject: LiveCode Commercial License In-Reply-To: <25B81636-7FCA-4A64-9ACA-446AF26337A5@pacifier.com> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> <13797581-D95C-46D6-B5B1-2EF19D411ECB@pacifier.com> <25B81636-7FCA-4A64-9ACA-446AF26337A5@pacifier.com> Message-ID: This should help. Download links are in there: http://livecode.com/developers/guides/desktop-externals/ On Sat, Sep 20, 2014 at 12:44 AM, JB wrote: > I see the Foundation.h library was added and that > is what I needed because I am interested in using > Objective-C and the NSFileManager. > > I am new to Obhective-C and the > ExternalsEnvironmentV3_WithObjC distribution > would really help a lot. > > Are there any other examples of externals made > with Objective-C somewhere in the code they > added Foundation.h? > > John Balgenorth > > > On Sep 19, 2014, at 9:24 AM, Trevor DeVore wrote: > >> On Fri, Sep 19, 2014 at 10:40 AM, JB wrote: >> >>> How can you use Objective-C right now? >>> I downloaded the recent community version >>> of LIveCode and it looks to me to write an >>> external you still use C++ and Xcode 2.4. >>> >>> What is the trick to use Objective-C? >>> >> >> I have an ExternalsEnvironmentV3_WithObjC distribution that I've used to >> write externals in objective-c for quite some time. I can't find a link to >> it now though. I wonder if RunRev still makes that available? >> >> -- >> Trevor DeVore >> ScreenSteps >> www.screensteps.com - www.clarify-it.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From effendi at wanadoo.fr Sat Sep 20 08:35:45 2014 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Sat, 20 Sep 2014 14:35:45 +0200 Subject: Sorting lines on colour (color for some) Message-ID: <0BCCAAE9-049E-430A-A723-AE485986F1A0@wanadoo.fr> Hi from beautiful Brittany, Jacqueline, I was already in a repeat loop to colour lines which contained certain field names, so I just tacked in the addition of the RGB, and then sorted the field. Then I added a three line repeat loop to remove the RGB data, and got what I wanted. So I found, for my case, a short way to solve my problem. Howver, I agree that sorting data on any type of colour parameter is an interesting addition (LOW, LOW priority) to livecode. And I have more interesting code suggestions, from you all, for the future. Thanks again to all. -Francis From sundown at pacifier.com Sat Sep 20 08:45:57 2014 From: sundown at pacifier.com (JB) Date: Sat, 20 Sep 2014 05:45:57 -0700 Subject: LiveCode Commercial License In-Reply-To: References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> <13797581-D95C-46D6-B5B1-2EF19D411ECB@pacifier.com> <25B81636-7FCA-4A64-9ACA-446AF26337A5@pacifier.com> Message-ID: <7ED6C564-032E-45C1-9EE9-355D032890DC@pacifier.com> I could be wrong but I previously looked at ell of the links I could find in the externals lesson and did not see it. I am using a Mac and it shows links for ExternalsEnvironmentV1 and ExternalsEnvironmentV2. Then I looked at Linux and it showed a link for ExternalsEnvironmentV3. I downloaded and used the stack and it had a option to select Mac but the language options were only for C and C++. I need the ExternalsEnvironmentV3_WithObjC distribution which allows me to build externals using Objective-C. Thank you for your help and if you do see the link for the one I mentioned please post it. John Balgenorth On Sep 20, 2014, at 5:03 AM, Jim Kanter wrote: > This should help. Download links are in there: > http://livecode.com/developers/guides/desktop-externals/ > > On Sat, Sep 20, 2014 at 12:44 AM, JB wrote: >> I see the Foundation.h library was added and that >> is what I needed because I am interested in using >> Objective-C and the NSFileManager. >> >> I am new to Obhective-C and the >> ExternalsEnvironmentV3_WithObjC distribution >> would really help a lot. >> >> Are there any other examples of externals made >> with Objective-C somewhere in the code they >> added Foundation.h? >> >> John Balgenorth >> >> >> On Sep 19, 2014, at 9:24 AM, Trevor DeVore wrote: >> >>> On Fri, Sep 19, 2014 at 10:40 AM, JB wrote: >>> >>>> How can you use Objective-C right now? >>>> I downloaded the recent community version >>>> of LIveCode and it looks to me to write an >>>> external you still use C++ and Xcode 2.4. >>>> >>>> What is the trick to use Objective-C? >>>> >>> >>> I have an ExternalsEnvironmentV3_WithObjC distribution that I've used to >>> write externals in objective-c for quite some time. I can't find a link to >>> it now though. I wonder if RunRev still makes that available? >>> >>> -- >>> Trevor DeVore >>> ScreenSteps >>> www.screensteps.com - www.clarify-it.com >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Sat Sep 20 08:52:52 2014 From: sundown at pacifier.com (JB) Date: Sat, 20 Sep 2014 05:52:52 -0700 Subject: Selecting a Stack Message-ID: <1A91358B-3A82-4007-A327-82E014B29D60@pacifier.com> When I click on the message box it becomes the active window and then if I click on the card in my stack that is currently displayed it becomes the active window. When I use the answer command it becomes the active window but after closing the answer window my card is not the active window. If I click on the finder and then on the card it becomes the active window again. How do I select the stack from a script so it becomes the active window. I guess this would be used in selecting a stack that is already opened and then selecting another stack that is also opened. John Balgenorth From sundown at pacifier.com Sat Sep 20 09:07:56 2014 From: sundown at pacifier.com (JB) Date: Sat, 20 Sep 2014 06:07:56 -0700 Subject: Selecting a Stack In-Reply-To: <1A91358B-3A82-4007-A327-82E014B29D60@pacifier.com> References: <1A91358B-3A82-4007-A327-82E014B29D60@pacifier.com> Message-ID: <49148136-4D76-47B9-847D-8A58AE66C89B@pacifier.com> This code will do it. lock screen go next cd go previous cd But I am sure that is not the proper way to handle the problem. John Balgenorth On Sep 20, 2014, at 5:52 AM, JB wrote: > When I click on the message box it becomes the active > window and then if I click on the card in my stack that is > currently displayed it becomes the active window. > > When I use the answer command it becomes the active > window but after closing the answer window my card is > not the active window. If I click on the finder and then > on the card it becomes the active window again. > > How do I select the stack from a script so it becomes the > active window. I guess this would be used in selecting a > stack that is already opened and then selecting another > stack that is also opened. > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sat Sep 20 09:49:54 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 20 Sep 2014 08:49:54 -0500 Subject: Selecting a Stack In-Reply-To: <1A91358B-3A82-4007-A327-82E014B29D60@pacifier.com> References: <1A91358B-3A82-4007-A327-82E014B29D60@pacifier.com> Message-ID: <2fd487a5-0eaa-4414-b65c-be4cb7b27116@email.android.com> See the toplevel command in the dictionary. On September 20, 2014 7:52:52 AM CDT, JB wrote: >When I click on the message box it becomes the active >window and then if I click on the card in my stack that is >currently displayed it becomes the active window. > >When I use the answer command it becomes the active >window but after closing the answer window my card is >not the active window. If I click on the finder and then >on the card it becomes the active window again. > >How do I select the stack from a script so it becomes the >active window. I guess this would be used in selecting a >stack that is already opened and then selecting another >stack that is also opened. > >John Balgenorth > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From sundown at pacifier.com Sat Sep 20 10:01:47 2014 From: sundown at pacifier.com (JB) Date: Sat, 20 Sep 2014 07:01:47 -0700 Subject: Selecting a Stack In-Reply-To: <2fd487a5-0eaa-4414-b65c-be4cb7b27116@email.android.com> References: <1A91358B-3A82-4007-A327-82E014B29D60@pacifier.com> <2fd487a5-0eaa-4414-b65c-be4cb7b27116@email.android.com> Message-ID: <418874E9-B162-42A4-B3C9-22EE2611DC79@pacifier.com> Hi Jacque, Thanks for the info. I tried it and it does not work. The Dictionary says if the stack is already in a editable window it does not send the messages. The problem is with ListMagic lines not refreshing properly. They will refresh from the message box and back and from a dialog like getting a file but not from a answer message. It seems the message box is sending some kind of pass message that the answer command does not send but I do not no what the message box passes. John Balgenorth On Sep 20, 2014, at 6:49 AM, J. Landman Gay wrote: > See the toplevel command in the dictionary. > > On September 20, 2014 7:52:52 AM CDT, JB wrote: >> When I click on the message box it becomes the active >> window and then if I click on the card in my stack that is >> currently displayed it becomes the active window. >> >> When I use the answer command it becomes the active >> window but after closing the answer window my card is >> not the active window. If I click on the finder and then >> on the card it becomes the active window again. >> >> How do I select the stack from a script so it becomes the >> active window. I guess this would be used in selecting a >> stack that is already opened and then selecting another >> stack that is also opened. >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Sat Sep 20 10:25:27 2014 From: sundown at pacifier.com (JB) Date: Sat, 20 Sep 2014 07:25:27 -0700 Subject: Selecting a Stack In-Reply-To: <418874E9-B162-42A4-B3C9-22EE2611DC79@pacifier.com> References: <1A91358B-3A82-4007-A327-82E014B29D60@pacifier.com> <2fd487a5-0eaa-4414-b65c-be4cb7b27116@email.android.com> <418874E9-B162-42A4-B3C9-22EE2611DC79@pacifier.com> Message-ID: I juste tried it with the ask command and it did not work properly. Maybe the message box and files dialog become the editable window and when they close the card is the editable window while the answer and ask commands do not become editable windows and the messages are not sent properly. Either that or the message box is passing a message the others are not could be what is happening. I can make it work so it is not a big problem for me. John Balgenorth On Sep 20, 2014, at 7:01 AM, JB wrote: > Hi Jacque, > > Thanks for the info. > > I tried it and it does not work. The Dictionary says > if the stack is already in a editable window it does > not send the messages. > > The problem is with ListMagic lines not refreshing > properly. They will refresh from the message box > and back and from a dialog like getting a file but > not from a answer message. > > It seems the message box is sending some kind of > pass message that the answer command does not > send but I do not no what the message box passes. > > John Balgenorth > > > On Sep 20, 2014, at 6:49 AM, J. Landman Gay wrote: > >> See the toplevel command in the dictionary. >> >> On September 20, 2014 7:52:52 AM CDT, JB wrote: >>> When I click on the message box it becomes the active >>> window and then if I click on the card in my stack that is >>> currently displayed it becomes the active window. >>> >>> When I use the answer command it becomes the active >>> window but after closing the answer window my card is >>> not the active window. If I click on the finder and then >>> on the card it becomes the active window again. >>> >>> How do I select the stack from a script so it becomes the >>> active window. I guess this would be used in selecting a >>> stack that is already opened and then selecting another >>> stack that is also opened. >>> >>> John Balgenorth >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paulhibbert at mac.com Sat Sep 20 11:57:34 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 20 Sep 2014 08:57:34 -0700 Subject: Selecting a Stack In-Reply-To: References: <1A91358B-3A82-4007-A327-82E014B29D60@pacifier.com> <2fd487a5-0eaa-4414-b65c-be4cb7b27116@email.android.com> <418874E9-B162-42A4-B3C9-22EE2611DC79@pacifier.com> Message-ID: <3FF063B6-3601-4ADB-8888-A320C8042CF7@mac.com> John, I noticed that the ask and answer dialogues both issue a 'suspendStack' message to the card, but there is no 'resumeStack' message when the dialogue is dismissed, maybe that is confusing listMagic. Going to the messageBox and back to the card does issue a 'suspendStack' and 'resumeStack' message. You could try adding a 'resumeStack' command after the ask or answer command, something like: on mouseUp answer "Hello World!" with "Cancel" or "Hello LiveCode!" resumeStack end mouseUp This seemed to work in the simple test I did, but I don't have listMagic and I'm not sure if this is the best way to address the problem, it's just a suggestion. Paul On Sep 20, 2014, at 7:25 AM, JB wrote: > I juste tried it with the ask command and it > did not work properly. Maybe the message > box and files dialog become the editable > window and when they close the card is > the editable window while the answer and > ask commands do not become editable > windows and the messages are not sent > properly. Either that or the message box > is passing a message the others are not > could be what is happening. > > I can make it work so it is not a big problem > for me. > > John Balgenorth > > > On Sep 20, 2014, at 7:01 AM, JB wrote: > >> Hi Jacque, >> >> Thanks for the info. >> >> I tried it and it does not work. The Dictionary says >> if the stack is already in a editable window it does >> not send the messages. >> >> The problem is with ListMagic lines not refreshing >> properly. They will refresh from the message box >> and back and from a dialog like getting a file but >> not from a answer message. >> >> It seems the message box is sending some kind of >> pass message that the answer command does not >> send but I do not no what the message box passes. >> >> John Balgenorth >> >> >> On Sep 20, 2014, at 6:49 AM, J. Landman Gay wrote: >> >>> See the toplevel command in the dictionary. >>> >>> On September 20, 2014 7:52:52 AM CDT, JB wrote: >>>> When I click on the message box it becomes the active >>>> window and then if I click on the card in my stack that is >>>> currently displayed it becomes the active window. >>>> >>>> When I use the answer command it becomes the active >>>> window but after closing the answer window my card is >>>> not the active window. If I click on the finder and then >>>> on the card it becomes the active window again. >>>> >>>> How do I select the stack from a script so it becomes the >>>> active window. I guess this would be used in selecting a >>>> stack that is already opened and then selecting another >>>> stack that is also opened. >>>> >>>> John Balgenorth >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Sep 20 12:15:53 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 20 Sep 2014 09:15:53 -0700 Subject: returning data from a modal stack? Message-ID: I believe that some months ago, when I mentioned setting custom properties of a modal stack to pass data back to the calling program, that someone stated that there was actually a mechanism to pass such information. I can't find that in my email, could someone either please remind me what I'm looking for, or tell me that I'm imagining things? thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sat Sep 20 12:20:36 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 20 Sep 2014 09:20:36 -0700 Subject: Usng an image to "disable" a group Message-ID: I have a stack with a series of groups on it. I need to control the order in which data is entered into the groups. The obvious/easy way is to enable/disable the groups as needed but I'm not happy with the way groups look when they are disabled. I vaguely remember a thread about using images to do this since clicks within the image don't make it through to the underlying controls. When I tried this, clicks on buttons that were under the image did not trigger any mouse events on them, as hoped, but field controls still get focus and I can type into them. It seems like this isn't going to work so looking for other ways to achieve this without having to go through every control in the group and adjusting their properties to disable them. Alternatively, is there a way to control how a group looks when it is disabled? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From sundown at pacifier.com Sat Sep 20 12:49:53 2014 From: sundown at pacifier.com (JB) Date: Sat, 20 Sep 2014 09:49:53 -0700 Subject: Selecting a Stack In-Reply-To: <3FF063B6-3601-4ADB-8888-A320C8042CF7@mac.com> References: <1A91358B-3A82-4007-A327-82E014B29D60@pacifier.com> <2fd487a5-0eaa-4414-b65c-be4cb7b27116@email.android.com> <418874E9-B162-42A4-B3C9-22EE2611DC79@pacifier.com> <3FF063B6-3601-4ADB-8888-A320C8042CF7@mac.com> Message-ID: <3F9D0557-0DBD-4ADD-9C97-9401A789590C@pacifier.com> Hi Paul, I did not know for sure thats what was happening but I tried that before I posted. I tried it like you wrote it and I also included the stack name after resumeStack and it did not work. Thanks for the reply and suggestion. John Balgenorth On Sep 20, 2014, at 8:57 AM, Paul Hibbert wrote: > John, > > I noticed that the ask and answer dialogues both issue a 'suspendStack' message to the card, but there is no 'resumeStack' message when the dialogue is dismissed, maybe that is confusing listMagic. Going to the messageBox and back to the card does issue a 'suspendStack' and 'resumeStack' message. > > You could try adding a 'resumeStack' command after the ask or answer command, something like: > > on mouseUp > answer "Hello World!" with "Cancel" or "Hello LiveCode!" > resumeStack > end mouseUp > > This seemed to work in the simple test I did, but I don't have listMagic and I'm not sure if this is the best way to address the problem, it's just a suggestion. > > Paul > > > On Sep 20, 2014, at 7:25 AM, JB wrote: > >> I juste tried it with the ask command and it >> did not work properly. Maybe the message >> box and files dialog become the editable >> window and when they close the card is >> the editable window while the answer and >> ask commands do not become editable >> windows and the messages are not sent >> properly. Either that or the message box >> is passing a message the others are not >> could be what is happening. >> >> I can make it work so it is not a big problem >> for me. >> >> John Balgenorth >> >> >> On Sep 20, 2014, at 7:01 AM, JB wrote: >> >>> Hi Jacque, >>> >>> Thanks for the info. >>> >>> I tried it and it does not work. The Dictionary says >>> if the stack is already in a editable window it does >>> not send the messages. >>> >>> The problem is with ListMagic lines not refreshing >>> properly. They will refresh from the message box >>> and back and from a dialog like getting a file but >>> not from a answer message. >>> >>> It seems the message box is sending some kind of >>> pass message that the answer command does not >>> send but I do not no what the message box passes. >>> >>> John Balgenorth >>> >>> >>> On Sep 20, 2014, at 6:49 AM, J. Landman Gay wrote: >>> >>>> See the toplevel command in the dictionary. >>>> >>>> On September 20, 2014 7:52:52 AM CDT, JB wrote: >>>>> When I click on the message box it becomes the active >>>>> window and then if I click on the card in my stack that is >>>>> currently displayed it becomes the active window. >>>>> >>>>> When I use the answer command it becomes the active >>>>> window but after closing the answer window my card is >>>>> not the active window. If I click on the finder and then >>>>> on the card it becomes the active window again. >>>>> >>>>> How do I select the stack from a script so it becomes the >>>>> active window. I guess this would be used in selecting a >>>>> stack that is already opened and then selecting another >>>>> stack that is also opened. >>>>> >>>>> John Balgenorth >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Sep 20 13:08:38 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 20 Sep 2014 10:08:38 -0700 Subject: returning data from a modal stack? In-Reply-To: References: Message-ID: the dialogData is what you want. Just set it to whatever values you need to return from your modal stack, then examine it in your calling stack. You can format it any way you want, lines, item, even an array. You can also use it to pass data into a modal stack. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Sep 20, 2014 at 9:15 AM, Dr. Hawkins wrote: > I believe that some months ago, when I mentioned setting custom properties > of a modal stack to pass data back to the calling program, that someone > stated that there was actually a mechanism to pass such information. > > I can't find that in my email, could someone either please remind me what > I'm looking for, or tell me that I'm imagining things? > > thanks > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From larry at significantplanet.org Sat Sep 20 14:19:01 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sat, 20 Sep 2014 12:19:01 -0600 Subject: Usng an image to "disable" a group References: Message-ID: Hi Peter, I'm not sure what you're exactly looking for in "looks" but I just now made a little test stack with colored buttons. You can adjust the blendlevel so that the group is as opaque or as transparent as you wish it to be. That's one idea. Larry ----- Original Message ----- From: "Peter Haworth" To: "How to use LiveCode" Sent: Saturday, September 20, 2014 10:20 AM Subject: Usng an image to "disable" a group >I have a stack with a series of groups on it. I need to control the order > in which data is entered into the groups. The obvious/easy way is to > enable/disable the groups as needed but I'm not happy with the way groups > look when they are disabled. > > I vaguely remember a thread about using images to do this since clicks > within the image don't make it through to the underlying controls. When I > tried this, clicks on buttons that were under the image did not trigger > any > mouse events on them, as hoped, but field controls still get focus and I > can type into them. > > It seems like this isn't going to work so looking for other ways to > achieve > this without having to go through every control in the group and adjusting > their properties to disable them. Alternatively, is there a way to > control > how a group looks when it is disabled? > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sat Sep 20 14:44:53 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 20 Sep 2014 21:44:53 +0300 Subject: Thumbnails of cards in Livecode? Message-ID: <541DCB25.1030507@gmail.com> I recently was waggling the 'Recent' thing from Hypercard around. Would be glad if someone could point me in the right direction as to how to generate thumbnails in Livecode. Richmond. From admin at FlexibleLearning.com Sat Sep 20 15:02:00 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sat, 20 Sep 2014 20:02:00 +0100 Subject: ImageData restore problems Message-ID: <004801cfd505$5d40bbf0$17c233d0$@FlexibleLearning.com> I have an embedded image, size 120Kb, and want to toggle between a non-compacted (120Kb) and a compacted (30Kb) thumbnail version... 1. I thumbnail the original image (data is still 120Kb as expected). 2. I store the TEXT of the resized image. 3. I compact the image by setting the imageData of the image to the imagedata of the image. The size reduces to 30Kb as expected. 4. I restore the saved binary data. Result: A blank image 1. I thumbnail the original image (data is still 120Kb as expected). 2. I store the IMAGEDATA of the resized image. 3. I compact the image by setting the imageData of the image to the imagedata of the image. The size reduces to 30Kb as expected. 4. I restore the saved ImageData. Result: 30kb, not 120Kb Question: What must I store in Step 2 above in order to re-instate the 120Kb data in the thumbnail? Baffled and a tad frustrated. Hugh Senior FLCo From charles at buchwald.ca Sat Sep 20 15:59:05 2014 From: charles at buchwald.ca (Charles E Buchwald) Date: Sat, 20 Sep 2014 14:59:05 -0500 Subject: Thumbnails of cards in Livecode? In-Reply-To: <541DCB25.1030507@gmail.com> References: <541DCB25.1030507@gmail.com> Message-ID: <26E7397D-04D3-4D68-BA60-FF1C70D492CC@buchwald.ca> I'm sure other can offer more details, but as far as I know, you grab a snapshot of the card and set the imageData of your thumbnail image to it. I've been saving those snapshots to a hidden "resources" card, and then using a scrolling field with inline images (referencing the images on the resources card) to display them. Seems like an easy way to have a flexible number of thumbnails displayed. Add a hyperlink to the thumbnails and you have a rather nice way to navigate your stack. Is this any help? - Charles On 20 Sep 2014, at 1:44 PM, Richmond wrote: > I recently was waggling the 'Recent' thing from Hypercard around. > > Would be glad if someone could point me in the right direction > as to how to generate thumbnails in Livecode. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Charles E. Buchwald CEO/Director General Museografica Digital http://digital.museografica.com Mac OSX 10.9.4, LC 6.6.2 Commercial LC Developer Tools: http://buchwald.ca Email Notice: http://wp.me/P3aT4d-33 From ambassador at fourthworld.com Sat Sep 20 16:02:08 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 20 Sep 2014 13:02:08 -0700 Subject: Thumbnails of cards in Livecode? In-Reply-To: <541DCB25.1030507@gmail.com> References: <541DCB25.1030507@gmail.com> Message-ID: <541DDD40.5070903@fourthworld.com> Richmond wrote: > Would be glad if someone could point me in the right direction > as to how to generate thumbnails in Livecode. The import snapshot command will do it, specifying the long ID of the card you want imaged rather than a rect of the current screen buffer. In the olden days we used to have to resize these ourselves, but now both "import snapshot" and "export snapshot" have an "at" option for specifying the new image's width and height. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dochawk at gmail.com Sat Sep 20 16:05:40 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 20 Sep 2014 13:05:40 -0700 Subject: replaceText() not working as expected for multiple lines Message-ID: I have a variable with: /Users/hawk/bk_clients/blue aardvark/blue_aardvark____001.dhbk /Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk /Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk /Users/hawk/bk_clients/test5/test5____________001.dhbk which was obtained with a shell command and ls on OSX Using replaceText() to replace ^/Users/hawk/bk_clients/ with empty, I get blue aardvark/blue_aardvark____001.dhbk /Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk /Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk /Users/hawk/bk_clients/test5/test5____________001.dhbk That is, the ^ is only being applied to the variable as a whole, rather than to each line. Does this have to do with how livecode and OSX delimit lines? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sat Sep 20 17:46:21 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 20 Sep 2014 14:46:21 -0700 Subject: replaceText() not working as expected for multiple lines In-Reply-To: References: Message-ID: You might try (?m) to switch on multiline mode at the start of your regex. I'm pretty sure that won't work though. LC makes you use a repeat loop to go through each line and issue the replaceText() against each one. Hope that Thierry chimes in with a workaround for this - he's the LC regex King. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Sep 20, 2014 at 1:05 PM, Dr. Hawkins wrote: > I have a variable with: > > /Users/hawk/bk_clients/blue aardvark/blue_aardvark____001.dhbk > /Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk > /Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk > /Users/hawk/bk_clients/test5/test5____________001.dhbk > > which was obtained with a shell command and ls on OSX > > Using replaceText() to replace ^/Users/hawk/bk_clients/ with empty, I get > > blue aardvark/blue_aardvark____001.dhbk > /Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk > /Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk > /Users/hawk/bk_clients/test5/test5____________001.dhbk > > That is, the ^ is only being applied to the variable as a whole, rather > than to each line. > > Does this have to do with how livecode and OSX delimit lines? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Sat Sep 20 19:02:19 2014 From: bonnmike at gmail.com (Mike Bonner) Date: Sat, 20 Sep 2014 17:02:19 -0600 Subject: replaceText() not working as expected for multiple lines In-Reply-To: References: Message-ID: You could change your shell call, and use sed inline to strip what you don't want before sending it back to LC Since I don't know how you're generating the list, i'm using find to do it on .mov files Quote the whole string, use a pipe to sed with the -e switch, surround the string for sed with single quotes. escape slashes with a backslash. also escape . with a backslash (necessary in my case since i'm using find from the current dir. If find was "find / -name...", or a full path to the start location, it wouldn't be necessary to have the preceeding . The following example, finds all .mov files starting in the defaultfolder, and removes /skyDrive/ from the beginning. Replaces it with nothing (hence the // at the end) put shell("find . -name *.mov | sed -e 's/^\.\/skyDrive\///'") into tDat On Sat, Sep 20, 2014 at 3:46 PM, Peter Haworth wrote: > You might try (?m) to switch on multiline mode at the start of your regex. > I'm pretty sure that won't work though. LC makes you use a repeat loop to > go through each line and issue the replaceText() against each one. > > Hope that Thierry chimes in with a workaround for this - he's the LC regex > King. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Sat, Sep 20, 2014 at 1:05 PM, Dr. Hawkins wrote: > > > I have a variable with: > > > > /Users/hawk/bk_clients/blue aardvark/blue_aardvark____001.dhbk > > /Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk > > /Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk > > /Users/hawk/bk_clients/test5/test5____________001.dhbk > > > > which was obtained with a shell command and ls on OSX > > > > Using replaceText() to replace ^/Users/hawk/bk_clients/ with empty, I get > > > > blue aardvark/blue_aardvark____001.dhbk > > /Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk > > /Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk > > /Users/hawk/bk_clients/test5/test5____________001.dhbk > > > > That is, the ^ is only being applied to the variable as a whole, rather > > than to each line. > > > > Does this have to do with how livecode and OSX delimit lines? > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Sep 20 19:19:05 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 20 Sep 2014 16:19:05 -0700 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: Thanks Larry. I tried your suggestion but it has the same problem as using an image - buttons underneath the button are blocked but fields can still be used. I guess I'll have to stick with disabling each group when necessary. Wish there was a way to affect the background color of a disabled group but don't think there is. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Sep 20, 2014 at 11:19 AM, wrote: > Hi Peter, > I'm not sure what you're exactly looking for in "looks" but I just now > made a little test stack with colored buttons. > You can adjust the blendlevel so that the group is as opaque or as > transparent as you wish it to be. > That's one idea. > Larry > > ----- Original Message ----- From: "Peter Haworth" > To: "How to use LiveCode" > Sent: Saturday, September 20, 2014 10:20 AM > Subject: Usng an image to "disable" a group > > > I have a stack with a series of groups on it. I need to control the order >> in which data is entered into the groups. The obvious/easy way is to >> enable/disable the groups as needed but I'm not happy with the way groups >> look when they are disabled. >> >> I vaguely remember a thread about using images to do this since clicks >> within the image don't make it through to the underlying controls. When I >> tried this, clicks on buttons that were under the image did not trigger >> any >> mouse events on them, as hoped, but field controls still get focus and I >> can type into them. >> >> It seems like this isn't going to work so looking for other ways to >> achieve >> this without having to go through every control in the group and adjusting >> their properties to disable them. Alternatively, is there a way to >> control >> how a group looks when it is disabled? >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Sep 20 19:57:25 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 20 Sep 2014 16:57:25 -0700 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: I might be on to something I think. If I export a snapshot of the group I want to disable and place it over the group's rectangle, it obviously stops any input into the group. However, I'm having a hard time finding a way to fill the graphic with a color. Setting the backgroundcolor didn't do anything. Then I saw a note in the dictionary that the "fill" property of a graphic has to be true in order for the background color to have any effect. Couldn't find a fill property but there is a filled property so I set it but still no background color. Any ideas? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Sep 20, 2014 at 4:19 PM, Peter Haworth wrote: > Thanks Larry. I tried your suggestion but it has the same problem as > using an image - buttons underneath the button are blocked but fields can > still be used. > > I guess I'll have to stick with disabling each group when necessary. Wish > there was a way to affect the background color of a disabled group but > don't think there is. > > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Sat, Sep 20, 2014 at 11:19 AM, wrote: > >> Hi Peter, >> I'm not sure what you're exactly looking for in "looks" but I just now >> made a little test stack with colored buttons. >> You can adjust the blendlevel so that the group is as opaque or as >> transparent as you wish it to be. >> That's one idea. >> Larry >> >> ----- Original Message ----- From: "Peter Haworth" >> To: "How to use LiveCode" >> Sent: Saturday, September 20, 2014 10:20 AM >> Subject: Usng an image to "disable" a group >> >> >> I have a stack with a series of groups on it. I need to control the >>> order >>> in which data is entered into the groups. The obvious/easy way is to >>> enable/disable the groups as needed but I'm not happy with the way groups >>> look when they are disabled. >>> >>> I vaguely remember a thread about using images to do this since clicks >>> within the image don't make it through to the underlying controls. When >>> I >>> tried this, clicks on buttons that were under the image did not trigger >>> any >>> mouse events on them, as hoped, but field controls still get focus and I >>> can type into them. >>> >>> It seems like this isn't going to work so looking for other ways to >>> achieve >>> this without having to go through every control in the group and >>> adjusting >>> their properties to disable them. Alternatively, is there a way to >>> control >>> how a group looks when it is disabled? >>> >>> Pete >>> lcSQL Software >>> Home of lcStackBrowser and >>> SQLiteAdmin >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From scott at tactilemedia.com Sat Sep 20 21:02:30 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 20 Sep 2014 18:02:30 -0700 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: For a graphic's fill color to be visible, the graphic needs to have its "opaque" property enabled, its blendLevel must be less than 100, and it shouldn't have any special ink effects applied (srcCopy is the default). Another option you might try it to apply a snapshot image as a backPattern of the graphic. If the snapshot is the same size as the graphic, no tiling of the snapshot will be visible in the graphic. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/20/14 4:57 PM, "Peter Haworth" wrote: >However, I'm having a hard time finding a way to fill the graphic with a >color. Setting the backgroundcolor didn't do anything. Then I saw a note >in the dictionary that the "fill" property of a graphic has to be true in >order for the background color to have any effect. Couldn't find a fill >property but there is a filled property so I set it but still no >background >color. > From jacque at hyperactivesw.com Sat Sep 20 22:33:36 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 20 Sep 2014 21:33:36 -0500 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: You can put a white image over the group and set its blendlevel to 99. That makes it visually transparent but it will still respond to mouse clicks (or use any level you want.) Then put an empty mouseUp handler in the image to block clicks. On September 20, 2014 6:19:05 PM CDT, Peter Haworth wrote: >Thanks Larry. I tried your suggestion but it has the same problem as >using >an image - buttons underneath the button are blocked but fields can >still >be used. > >I guess I'll have to stick with disabling each group when necessary. >Wish >there was a way to affect the background color of a disabled group but >don't think there is. > > >Pete >lcSQL Software >Home of lcStackBrowser and >SQLiteAdmin > >On Sat, Sep 20, 2014 at 11:19 AM, wrote: > >> Hi Peter, >> I'm not sure what you're exactly looking for in "looks" but I just >now >> made a little test stack with colored buttons. >> You can adjust the blendlevel so that the group is as opaque or as >> transparent as you wish it to be. >> That's one idea. >> Larry >> >> ----- Original Message ----- From: "Peter Haworth" >> To: "How to use LiveCode" >> Sent: Saturday, September 20, 2014 10:20 AM >> Subject: Usng an image to "disable" a group >> >> >> I have a stack with a series of groups on it. I need to control the >order >>> in which data is entered into the groups. The obvious/easy way is >to >>> enable/disable the groups as needed but I'm not happy with the way >groups >>> look when they are disabled. >>> >>> I vaguely remember a thread about using images to do this since >clicks >>> within the image don't make it through to the underlying controls. >When I >>> tried this, clicks on buttons that were under the image did not >trigger >>> any >>> mouse events on them, as hoped, but field controls still get focus >and I >>> can type into them. >>> >>> It seems like this isn't going to work so looking for other ways to >>> achieve >>> this without having to go through every control in the group and >adjusting >>> their properties to disable them. Alternatively, is there a way to >>> control >>> how a group looks when it is disabled? >>> >>> Pete >>> lcSQL Software >>> Home of lcStackBrowser >and >>> SQLiteAdmin >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Sun Sep 21 00:11:31 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 20 Sep 2014 21:11:31 -0700 Subject: replaceText() not working as expected for multiple lines In-Reply-To: References: Message-ID: <0E8908EA-F223-4B10-AE48-E20FC1163420@mac.com> The explanation of ^ that I found states, "The ^ (circumflex or caret) outside square brackets means look only at the beginning of the target string.", so the way I see it, if it's only looking at the beginning it's not going to repeat through the rest of the lines, so you could use a repeat loop (tested and it works) or just don't use the ^. If I put? /Users/hawk/bk_clients/blue aardvark/blue_aardvark____001.dhbk /Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk /Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk /Users/hawk/bk_clients/test5/test5____________001.dhbk ?into a variable tVar and use? put replaceText(tVar,"/Users/hawk/bk_clients/",empty) into tVarOut ?then tVarOut contains: blue aardvark/blue_aardvark____001.dhbk pink panther/pink_panther_____001.dhbk super chicken/super_chicken____005.dhbk test5/test5____________001.dhbk or simply? replace "/Users/hawk/bk_clients/" with empty in tVar ?then tVar contains: blue aardvark/blue_aardvark____001.dhbk pink panther/pink_panther_____001.dhbk super chicken/super_chicken____005.dhbk test5/test5____________001.dhbk I know replaceText can use regex, but as far as I can see in this case you are just removing a specific string? ?Or am I missing some point again? Paul On Sep 20, 2014, at 1:05 PM, Dr. Hawkins wrote: > I have a variable with: > > /Users/hawk/bk_clients/blue aardvark/blue_aardvark____001.dhbk > /Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk > /Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk > /Users/hawk/bk_clients/test5/test5____________001.dhbk > > which was obtained with a shell command and ls on OSX > > Using replaceText() to replace ^/Users/hawk/bk_clients/ with empty, I get > > blue aardvark/blue_aardvark____001.dhbk > /Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk > /Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk > /Users/hawk/bk_clients/test5/test5____________001.dhbk > > That is, the ^ is only being applied to the variable as a whole, rather > than to each line. > > Does this have to do with how livecode and OSX delimit lines? > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Sep 21 03:31:41 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Sep 2014 02:31:41 -0500 Subject: Selecting a Stack In-Reply-To: References: <1A91358B-3A82-4007-A327-82E014B29D60@pacifier.com> <2fd487a5-0eaa-4414-b65c-be4cb7b27116@email.android.com> <418874E9-B162-42A4-B3C9-22EE2611DC79@pacifier.com> Message-ID: <88003d83-4172-49b5-93a5-40b0d1227982@email.android.com> The message box is setting the defaultstack. Sometimes I also have to set the topstack, depending on the situation. answer "hi" set the topstack to the short name of this stack set the defaultstack to the short name of this stack You may only need the defaultstack, but I don't have list magic so I'm not sure what it or your scripts are doing. On September 20, 2014 9:25:27 AM CDT, JB wrote: >I juste tried it with the ask command and it >did not work properly. Maybe the message >box and files dialog become the editable >window and when they close the card is >the editable window while the answer and >ask commands do not become editable >windows and the messages are not sent >properly. Either that or the message box >is passing a message the others are not >could be what is happening. > >I can make it work so it is not a big problem >for me. > >John Balgenorth -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From th.douez at gmail.com Sun Sep 21 03:39:12 2014 From: th.douez at gmail.com (Thierry Douez) Date: Sun, 21 Sep 2014 09:39:12 +0200 Subject: replaceText() not working as expected for multiple lines In-Reply-To: <0E8908EA-F223-4B10-AE48-E20FC1163420@mac.com> References: <0E8908EA-F223-4B10-AE48-E20FC1163420@mac.com> Message-ID: > The ^ (circumflex or caret) outside square brackets means look > only at the beginning of the target string.", This is true in default mode of the PCRE library. There is a multiline mode which changes this behavior; the ^ will match the begining of every line. To be in multiline mode, just have to do what Peter said: add (?m) as a prefix of your regex. > so you could use a repeat loop Don't need any repeat loop with replaceText(). > or just don't use the ^. > > If I put? > > /Users/hawk/bk_clients/blue aardvark/blue_aardvark____001.dhbk > > ?into a variable tVar and use? > > put replaceText(tVar,"/Users/hawk/bk_clients/",empty) into tVarOut > > ?then tVarOut contains: > > blue aardvark/blue_aardvark____001.dhbk > or simply? > > replace "/Users/hawk/bk_clients/" with empty in tVar > Agree with you Paul, I would have done the same. No need of ^ in this context, and no need of the replaceText(); replace will do the job. Have a nice sunday, Thierry From peterwawood at gmail.com Sun Sep 21 04:23:24 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Sun, 21 Sep 2014 16:23:24 +0800 Subject: Replace First Occurrence of a Substring in a String Message-ID: There must be an easy way to replace only the first occurrence of a substring within a string. The replaceText function replaces all occurrences of a string which matches the the supplied substring (actually the supplied regular expression). Obviously, it can be done with a loop, something like this: put "Cat and Dog" into tString repeat with tPos = 1 to the length of tString if char tPos of tString = "a" then put "*" into char tPos of tString exit repeat end if end repeat If there isn't an easier way, I'm sure many of you know a better way. Regards Peter From th.douez at gmail.com Sun Sep 21 04:40:21 2014 From: th.douez at gmail.com (Thierry Douez) Date: Sun, 21 Sep 2014 10:40:21 +0200 Subject: Replace First Occurrence of a Substring in a String In-Reply-To: References: Message-ID: Peter, > put "Cat and Dog" into tString > repeat with tPos = 1 to the length of tString > if char tPos of tString = "a" then > put "*" into char tPos of tString > exit repeat > end if > end repeat > How about this one? get offset( "a", tString) if IT > 0 then put "*" into char IT of tString Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From th.douez at gmail.com Sun Sep 21 04:45:14 2014 From: th.douez at gmail.com (Thierry Douez) Date: Sun, 21 Sep 2014 10:45:14 +0200 Subject: Replace First Occurrence of a Substring in a String In-Reply-To: References: Message-ID: a bit more generic... on mouseUp put "Cat and Dog" into tString put "and" into tPattern put the length of tPattern -1 into tLengh get offset( tPattern, tString) if IT > 0 then put "*" into char IT to ( IT + tLengh) of tString put tString end mouseUp Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From peterwawood at gmail.com Sun Sep 21 04:55:40 2014 From: peterwawood at gmail.com (Peter W A Wood) Date: Sun, 21 Sep 2014 16:55:40 +0800 Subject: Replace First Occurrence of a Substring in a String In-Reply-To: References: Message-ID: Many thanks Thierry. On 21 Sep 2014, at 16:40, Thierry Douez wrote: > Peter, > > >> put "Cat and Dog" into tString >> repeat with tPos = 1 to the length of tString >> if char tPos of tString = "a" then >> put "*" into char tPos of tString >> exit repeat >> end if >> end repeat >> > > How about this one? > > > get offset( "a", tString) > if IT > 0 then put "*" into char IT of tString > > > Thierry > > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From th.douez at gmail.com Sun Sep 21 05:24:57 2014 From: th.douez at gmail.com (Thierry Douez) Date: Sun, 21 Sep 2014 11:24:57 +0200 Subject: Replace First Occurrence of a Substring in a String In-Reply-To: References: Message-ID: 2014-09-21 10:55 GMT+02:00 Peter W A Wood : > Many thanks Thierry. You are welcome :) and here is my preferate: put "cat and dog" into t if matchChunk( t, "(and)", p0, p1) then \ put "AND" into char p0 to p1 of t Regards, Thierry >>> put "Cat and Dog" into tString >>> repeat with tPos = 1 to the length of tString >>> if char tPos of tString = "a" then >>> put "*" into char tPos of tString >>> exit repeat >>> end if >>> end repeat >>> >> >> How about this one? >> >> get offset( "a", tString) >> if IT > 0 then put "*" into char IT of tString >> >> >> Thierry >> >> ------------------------------------------------ >> Thierry Douez - http://sunny-tdz.com >> Maker of sunnYperl - sunnYmidi - sunnYmage - sunnYpdf From sundown at pacifier.com Sun Sep 21 08:26:15 2014 From: sundown at pacifier.com (JB) Date: Sun, 21 Sep 2014 05:26:15 -0700 Subject: Selecting a Stack In-Reply-To: <88003d83-4172-49b5-93a5-40b0d1227982@email.android.com> References: <1A91358B-3A82-4007-A327-82E014B29D60@pacifier.com> <2fd487a5-0eaa-4414-b65c-be4cb7b27116@email.android.com> <418874E9-B162-42A4-B3C9-22EE2611DC79@pacifier.com> <88003d83-4172-49b5-93a5-40b0d1227982@email.android.com> Message-ID: <81CD1A1A-3365-4DCB-93ED-686AC5356514@pacifier.com> Thanks for your help again, Jacque I tried every combination possible and included the TopLevel command you mentioned previously. I would not work. I can just use the go to next & prev cd & it will call the scripts topLevel would call/ It does the job but after you call the files dialog and maybe other things you cannot use the go to cd in the same handler. So I put this code in a field I am using but does not have any other handlers. on mouseUp LMRefresh end mouseUp on LMRefresh lock screen go next cd go previous cd end LMRefresh It works every time no matter how complex the code is in my answer handler. thanks again, John Balgenorth On Sep 21, 2014, at 12:31 AM, J. Landman Gay wrote: > The message box is setting the defaultstack. Sometimes I also have to set the topstack, depending on the situation. > > answer "hi" > set the topstack to the short name of this stack > set the defaultstack to the short name of this stack > > You may only need the defaultstack, but I don't have list magic so I'm not sure what it or your scripts are doing. > > > On September 20, 2014 9:25:27 AM CDT, JB wrote: >> I juste tried it with the ask command and it >> did not work properly. Maybe the message >> box and files dialog become the editable >> window and when they close the card is >> the editable window while the answer and >> ask commands do not become editable >> windows and the messages are not sent >> properly. Either that or the message box >> is passing a message the others are not >> could be what is happening. >> >> I can make it work so it is not a big problem >> for me. >> >> John Balgenorth > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mikedoub at gmail.com Sun Sep 21 08:31:48 2014 From: mikedoub at gmail.com (Michael Doub) Date: Sun, 21 Sep 2014 08:31:48 -0400 Subject: Printing a Sign Message-ID: I need to make a sign that is about 4? by 3? and I would like some advice for tackling this project. I was thinking of just printing out the normal printer size pages and just taping them together and attaching the pages to a large piece of cardboard. Can anyone with experience with livecode printing give me some advice as to how to approach this problem? I find it interesting that I have been using livecode for years and this is the first time I have tried to print anything! Thanks in advance. Mike From dunbarx at aol.com Sun Sep 21 10:08:51 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 21 Sep 2014 10:08:51 -0400 Subject: Printing a Sign In-Reply-To: References: Message-ID: <8D1A3BCB33DE638-57C-11FAD@webmail-va217.sysops.aol.com> Can LC print to a plotter driver? I would think that most of the revPrint commands are driver neutral. Never tried it myself, and print to plotters all the time. Hmmm. Craig Newman -----Original Message----- From: Michael Doub To: How To use LiveCode use LiveCode Sent: Sun, Sep 21, 2014 8:33 am Subject: Printing a Sign I need to make a sign that is about 4? by 3? and I would like some advice for tackling this project. I was thinking of just printing out the normal printer size pages and just taping them together and attaching the pages to a large piece of cardboard. Can anyone with experience with livecode printing give me some advice as to how to approach this problem? I find it interesting that I have been using livecode for years and this is the first time I have tried to print anything! Thanks in advance. Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Sun Sep 21 10:56:21 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 21 Sep 2014 10:56:21 -0400 Subject: mobilepick as a live list Message-ID: Has anybody created a live select list that updates as you type in a field? In theory, anyway, every time inputTextChanged would get called, it would call mobilePick, but I can't seem to be able to update the list as the user types more. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pmbrig at gmail.com Sun Sep 21 11:53:07 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Sun, 21 Sep 2014 08:53:07 -0700 Subject: replaceText() not working as expected for multiple lines In-Reply-To: References: Message-ID: <23730667-BDF1-4675-AED3-91D140462738@gmail.com> Maybe I'm misunderstanding, but can't you just do replace "/Users/hawk/bk_clients/" with empty in myVariable and do it all at once with no regex? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 20, 2014, at 4:02 PM, Mike Bonner wrote: > You could change your shell call, and use sed inline to strip what you > don't want before sending it back to LC > Since I don't know how you're generating the list, i'm using find to do it > on .mov files > Quote the whole string, use a pipe to sed with the -e switch, surround the > string for sed with single quotes. escape slashes with a backslash. also > escape . with a backslash (necessary in my case since i'm using find from > the current dir. If find was "find / -name...", or a full path to the > start location, it wouldn't be necessary to have the preceeding . > The following example, finds all .mov files starting in the defaultfolder, > and removes /skyDrive/ from the beginning. Replaces it with nothing (hence > the // at the end) > > put shell("find . -name *.mov | sed -e 's/^\.\/skyDrive\///'") into tDat > > On Sat, Sep 20, 2014 at 3:46 PM, Peter Haworth wrote: > >> You might try (?m) to switch on multiline mode at the start of your regex. >> I'm pretty sure that won't work though. LC makes you use a repeat loop to >> go through each line and issue the replaceText() against each one. >> >> Hope that Thierry chimes in with a workaround for this - he's the LC regex >> King. >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> >> On Sat, Sep 20, 2014 at 1:05 PM, Dr. Hawkins wrote: >> >>> I have a variable with: >>> >>> /Users/hawk/bk_clients/blue aardvark/blue_aardvark____001.dhbk >>> /Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk >>> /Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk >>> /Users/hawk/bk_clients/test5/test5____________001.dhbk >>> >>> which was obtained with a shell command and ls on OSX >>> >>> Using replaceText() to replace ^/Users/hawk/bk_clients/ with empty, I get >>> >>> blue aardvark/blue_aardvark____001.dhbk >>> /Users/hawk/bk_clients/pink panther/pink_panther_____001.dhbk >>> /Users/hawk/bk_clients/super chicken/super_chicken____005.dhbk >>> /Users/hawk/bk_clients/test5/test5____________001.dhbk >>> >>> That is, the ^ is only being applied to the variable as a whole, rather >>> than to each line. >>> >>> Does this have to do with how livecode and OSX delimit lines? >>> >>> -- >>> Dr. Richard E. Hawkins, Esq. >>> (702) 508-8462 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun Sep 21 13:00:49 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 21 Sep 2014 10:00:49 -0700 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: Thanks Jacque and Scott. I tried your suggestions but unfortunately none of them quite do what I need in various ways. Using a graphic doesn't work because, although it blocks clicks to buttons in the underlying group, it still allows access to all field controls in it. Using an image blocks access to all the controls in the underlying group but I can't find a way to set the backgroundColor of the image to indicate that it's disabled. All in all, I think I'll just have to go with the simple solution of disabling the group and living with the way it looks. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sat, Sep 20, 2014 at 7:33 PM, J. Landman Gay wrote: > You can put a white image over the group and set its blendlevel to 99. > That makes it visually transparent but it will still respond to mouse > clicks (or use any level you want.) Then put an empty mouseUp handler in > the image to block clicks. > > On September 20, 2014 6:19:05 PM CDT, Peter Haworth > wrote: > >Thanks Larry. I tried your suggestion but it has the same problem as > >using > >an image - buttons underneath the button are blocked but fields can > >still > >be used. > > > >I guess I'll have to stick with disabling each group when necessary. > >Wish > >there was a way to affect the background color of a disabled group but > >don't think there is. > > > > > >Pete > >lcSQL Software > >Home of lcStackBrowser and > >SQLiteAdmin > > > >On Sat, Sep 20, 2014 at 11:19 AM, wrote: > > > >> Hi Peter, > >> I'm not sure what you're exactly looking for in "looks" but I just > >now > >> made a little test stack with colored buttons. > >> You can adjust the blendlevel so that the group is as opaque or as > >> transparent as you wish it to be. > >> That's one idea. > >> Larry > >> > >> ----- Original Message ----- From: "Peter Haworth" > >> To: "How to use LiveCode" > >> Sent: Saturday, September 20, 2014 10:20 AM > >> Subject: Usng an image to "disable" a group > >> > >> > >> I have a stack with a series of groups on it. I need to control the > >order > >>> in which data is entered into the groups. The obvious/easy way is > >to > >>> enable/disable the groups as needed but I'm not happy with the way > >groups > >>> look when they are disabled. > >>> > >>> I vaguely remember a thread about using images to do this since > >clicks > >>> within the image don't make it through to the underlying controls. > >When I > >>> tried this, clicks on buttons that were under the image did not > >trigger > >>> any > >>> mouse events on them, as hoped, but field controls still get focus > >and I > >>> can type into them. > >>> > >>> It seems like this isn't going to work so looking for other ways to > >>> achieve > >>> this without having to go through every control in the group and > >adjusting > >>> their properties to disable them. Alternatively, is there a way to > >>> control > >>> how a group looks when it is disabled? > >>> > >>> Pete > >>> lcSQL Software > >>> Home of lcStackBrowser > >and > >>> SQLiteAdmin > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From guglielmo at braguglia.ch Sun Sep 21 13:13:29 2014 From: guglielmo at braguglia.ch (Guglielmo Braguglia) Date: Sun, 21 Sep 2014 19:13:29 +0200 Subject: mobilepick as a live list In-Reply-To: References: Message-ID: <541F0739.5030407@braguglia.ch> Hi Mike, I do not know if it applies to your problem, but ... are you aware that the mobilePick, at moment, doesn't work on iPhone running last iOS 8 ??? It's a know bug : http://quality.runrev.com/show_bug.cgi?id=13484 , so, if you are working on iOS ... be careful ... Guglielmo > Mike Kerner > 21 Sep 2014 16:56 pm > Has anybody created a live select list that updates as you type in a > field? > > In theory, anyway, every time inputTextChanged would get called, it would > call mobilePick, but I can't seem to be able to update the list as the > user > types more. > From MikeKerner at roadrunner.com Sun Sep 21 13:22:32 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 21 Sep 2014 13:22:32 -0400 Subject: mobilepick as a live list In-Reply-To: <541F0739.5030407@braguglia.ch> References: <541F0739.5030407@braguglia.ch> Message-ID: Luckily this app runs on ipads, but yes. On Sun, Sep 21, 2014 at 1:13 PM, Guglielmo Braguglia wrote: > Hi Mike, > I do not know if it applies to your problem, but ... are you aware that > the mobilePick, at moment, doesn't work on iPhone running last iOS 8 ??? > > It's a know bug : http://quality.runrev.com/show_bug.cgi?id=13484 , so, > if you are working on iOS ... be careful ... > > Guglielmo > > Mike Kerner >> 21 Sep 2014 16:56 pm >> Has anybody created a live select list that updates as you type in a >> field? >> >> In theory, anyway, every time inputTextChanged would get called, it would >> call mobilePick, but I can't seem to be able to update the list as the >> user >> types more. >> >> _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From klaus at major-k.de Sun Sep 21 13:44:50 2014 From: klaus at major-k.de (Klaus major-k) Date: Sun, 21 Sep 2014 19:44:50 +0200 Subject: ImageData restore problems In-Reply-To: <004801cfd505$5d40bbf0$17c233d0$@FlexibleLearning.com> References: <004801cfd505$5d40bbf0$17c233d0$@FlexibleLearning.com> Message-ID: <02878862-E79B-4E2C-9698-C935D07DDBAA@major-k.de> Hi Hugh, Am 20.09.2014 um 21:02 schrieb FlexibleLearning.com : > I have an embedded image, size 120Kb, and want to toggle between a > non-compacted (120Kb) and a compacted (30Kb) thumbnail version... > > 1. I thumbnail the original image (data is still 120Kb as expected). > 2. I store the TEXT of the resized image. > 3. I compact the image by setting the imageData of the image to the > imagedata of the image. The size reduces to 30Kb as expected. > 4. I restore the saved binary data. > Result: A blank image > > 1. I thumbnail the original image (data is still 120Kb as expected). > 2. I store the IMAGEDATA of the resized image. > 3. I compact the image by setting the imageData of the image to the > imagedata of the image. The size reduces to 30Kb as expected. > 4. I restore the saved ImageData. > Result: 30kb, not 120Kb > > Question: > What must I store in Step 2 above in order to re-instate the 120Kb data in > the thumbnail? > > Baffled and a tad frustrated. what exactly did you script to store and re-instate your image(s)? And what version of LC are we talking about? There are many of them floating around currently 8-) > Hugh Senior > FLCo Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Sun Sep 21 13:55:10 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Sep 2014 12:55:10 -0500 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: <1658df02-11c3-484d-ba10-5ed5203b0fd6@email.android.com> Use a colored image instead of a white one and try different transparencies until you get the look you want. On September 21, 2014 12:00:49 PM CDT, Peter Haworth wrote: >Thanks Jacque and Scott. I tried your suggestions but unfortunately >none >of them quite do what I need in various ways. > >Using a graphic doesn't work because, although it blocks clicks to >buttons >in the underlying group, it still allows access to all field controls >in it. > >Using an image blocks access to all the controls in the underlying >group >but I can't find a way to set the backgroundColor of the image to >indicate >that it's disabled. > >All in all, I think I'll just have to go with the simple solution of >disabling the group and living with the way it looks. > >Pete >lcSQL Software >Home of lcStackBrowser and >SQLiteAdmin > >On Sat, Sep 20, 2014 at 7:33 PM, J. Landman Gay > >wrote: > >> You can put a white image over the group and set its blendlevel to >99. >> That makes it visually transparent but it will still respond to mouse >> clicks (or use any level you want.) Then put an empty mouseUp handler >in >> the image to block clicks. >> >> On September 20, 2014 6:19:05 PM CDT, Peter Haworth >> wrote: >> >Thanks Larry. I tried your suggestion but it has the same problem >as >> >using >> >an image - buttons underneath the button are blocked but fields can >> >still >> >be used. >> > >> >I guess I'll have to stick with disabling each group when necessary. >> >Wish >> >there was a way to affect the background color of a disabled group >but >> >don't think there is. >> > >> > >> >Pete >> >lcSQL Software >> >Home of lcStackBrowser >and >> >SQLiteAdmin >> > >> >On Sat, Sep 20, 2014 at 11:19 AM, >wrote: >> > >> >> Hi Peter, >> >> I'm not sure what you're exactly looking for in "looks" but I just >> >now >> >> made a little test stack with colored buttons. >> >> You can adjust the blendlevel so that the group is as opaque or as >> >> transparent as you wish it to be. >> >> That's one idea. >> >> Larry >> >> >> >> ----- Original Message ----- From: "Peter Haworth" > >> >> To: "How to use LiveCode" >> >> Sent: Saturday, September 20, 2014 10:20 AM >> >> Subject: Usng an image to "disable" a group >> >> >> >> >> >> I have a stack with a series of groups on it. I need to control >the >> >order >> >>> in which data is entered into the groups. The obvious/easy way >is >> >to >> >>> enable/disable the groups as needed but I'm not happy with the >way >> >groups >> >>> look when they are disabled. >> >>> >> >>> I vaguely remember a thread about using images to do this since >> >clicks >> >>> within the image don't make it through to the underlying >controls. >> >When I >> >>> tried this, clicks on buttons that were under the image did not >> >trigger >> >>> any >> >>> mouse events on them, as hoped, but field controls still get >focus >> >and I >> >>> can type into them. >> >>> >> >>> It seems like this isn't going to work so looking for other ways >to >> >>> achieve >> >>> this without having to go through every control in the group and >> >adjusting >> >>> their properties to disable them. Alternatively, is there a way >to >> >>> control >> >>> how a group looks when it is disabled? >> >>> >> >>> Pete >> >>> lcSQL Software >> >>> Home of lcStackBrowser >> >and >> >>> SQLiteAdmin >> >>> _______________________________________________ >> >>> use-livecode mailing list >> >>> use-livecode at lists.runrev.com >> >>> Please visit this url to subscribe, unsubscribe and manage your >> >>> subscription preferences: >> >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >>> >> >> >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >_______________________________________________ >> >use-livecode mailing list >> >use-livecode at lists.runrev.com >> >Please visit this url to subscribe, unsubscribe and manage your >> >subscription preferences: >> >http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From stephenREVOLUTION2 at barncard.com Sun Sep 21 14:59:16 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 21 Sep 2014 11:59:16 -0700 Subject: Printing a Sign In-Reply-To: References: Message-ID: On Sun, Sep 21, 2014 at 5:31 AM, Michael Doub wrote: > I need to make a sign that is about 4? by 3? and I would like some advice > for tackling this project. I was thinking of just printing out the normal > printer size pages and just taping them together and attaching the pages to > a large piece of cardboard. > Check and see if the printer driver you have can do this... make the 'page' that is to be printed the size of the final output and see what options the printer driver shows. It might allow the content to be printed on several pages... I've never done this either but this is how I would start. I don't know what the limits are on the size of a layout page in Livecode, but this seems reasonable. If the printer driver can't deal with it, then you'll have to figure out a way to take snapshots of the various areas (with overlap) that you then print one by one. I'm sure it could be done. But there's probably an app one can buy for less than a hundred that will do the same thing. How much is your time worth?? this says you can do it in Acrobat reader... http://helpx.adobe.com/acrobat/kb/print-posters-banners-acrobat-reader.html *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From jacque at hyperactivesw.com Sun Sep 21 15:28:29 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Sep 2014 14:28:29 -0500 Subject: ImageData restore problems In-Reply-To: <004801cfd505$5d40bbf0$17c233d0$@FlexibleLearning.com> References: <004801cfd505$5d40bbf0$17c233d0$@FlexibleLearning.com> Message-ID: <541F26DD.7050208@hyperactivesw.com> On 9/20/2014, 2:02 PM, FlexibleLearning.com wrote: > I have an embedded image, size 120Kb, and want to toggle between a > non-compacted (120Kb) and a compacted (30Kb) thumbnail version... > > 1. I thumbnail the original image (data is still 120Kb as expected). > 2. I store the TEXT of the resized image. > 3. I compact the image by setting the imageData of the image to the > imagedata of the image. The size reduces to 30Kb as expected. > 4. I restore the saved binary data. > Result: A blank image > > 1. I thumbnail the original image (data is still 120Kb as expected). > 2. I store the IMAGEDATA of the resized image. > 3. I compact the image by setting the imageData of the image to the > imagedata of the image. The size reduces to 30Kb as expected. > 4. I restore the saved ImageData. > Result: 30kb, not 120Kb > > Question: > What must I store in Step 2 above in order to re-instate the 120Kb data in > the thumbnail? set the cImg of this cd to the text of img 1 -- store it -- now resize the image as a thumbnail here set the imagedata of img 1 to the imagedata of img 1 -- reduce the size/compress it set the text of img 1 to the cImg of this cd -- restore original -- optional: set the width of img 1 to the formattedwidth of img 1 set the height of img 1 to the formattedheight of img 1 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Sep 21 15:31:16 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 21 Sep 2014 14:31:16 -0500 Subject: Field retrieved from a Mongo document display wrong characters In-Reply-To: References: Message-ID: <541F2784.5050707@hyperactivesw.com> On 9/19/2014, 4:42 PM, Javier Miranda wrote: > I have a local Mongo Server and a LiveCode Stack to work as front end to > it. When I enter "Se cambiar?n los bornes" (please note the accent), in a > LiveCode field, the text is properly shown, inserting it as a document to a > Mongo collection also works fine, the field is saved OK in the document. I > can see it using the Shell. The problem is that, when I retrieve the > document back to LiveCode, the field receiving the field shows: "Se > cambiar??an los bornes". Trying to find the reason I found that the > encoding of field "resul" , the field receiving the accented string is > Native. Can you help finding the way to make this strings show the right > characters? I don't know anything about Mongo, but if it is sending back UTF8, then you need to convert it to UTF16: function convertFromUTF8 pString -- convert a server UTF8 string to LC return unidecode(uniencode(pString,"UTF8")) end convertFromUTF8 -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ebeugelaar at gmail.com Sun Sep 21 15:48:50 2014 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Sun, 21 Sep 2014 21:48:50 +0200 Subject: [OT] A Modern Typeface For Programmers Message-ID: Hello Folks, I have always been looking for a useful font for coding. Via Twitter I received this link http://input.fontbureau.com and I like to share this information. It's free for private use. Regards,, Erik From marc.vancauwenberghe at pandora.be Sun Sep 21 15:57:45 2014 From: marc.vancauwenberghe at pandora.be (Marc Van Cauwenberghe) Date: Sun, 21 Sep 2014 21:57:45 +0200 Subject: [OT] A Modern Typeface For Programmers In-Reply-To: References: Message-ID: <6BECB578-0FD9-4583-92C6-84631683EAE4@pandora.be> Thanks Erik. Verstuurd vanaf mijn iPad > Op 21-sep.-2014 om 21:48 heeft Erik Beugelaar het volgende geschreven: > > Hello Folks, > > I have always been looking for a useful font for coding. > Via Twitter I received this link http://input.fontbureau.com and I like to > share this information. > > It's free for private use. > > Regards,, > Erik > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sun Sep 21 16:09:40 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 21 Sep 2014 13:09:40 -0700 Subject: Does LC Have A touchLoc() Function? Message-ID: Does anyone know if LiveCode has touch-based function equivalent of mouseLoc? I'm thinking along the lines of touchLoc(id). I'm not seeing anything in dictionaries or release notes, but it's possible I'm missing it. Currently, there doesn't seem to be any way to poll the current active touches, which is something that has always been possible on desktop with the mouseLoc function. Using touchMove is not an option, because this only fires when there's movement of some kind. I'd like to open a feature request for a touchLoc(id) function that would return the loc of a touch id, and a touchLocs() function which would return all currently active touch ids and their locations. Unless this already exists, or there's some other way of getting this information and I'm just not seeing it. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From stymie at roguemusic.com Sun Sep 21 16:54:57 2014 From: stymie at roguemusic.com (stymie at roguemusic.com) Date: Sun, 21 Sep 2014 16:54:57 -0400 Subject: =?windows-1252?Q?Q=3A_Standalone_with_drag_and_drop_works_on_one?= =?windows-1252?Q?_Windows_machine_but_not_two_others=85_why=3F?= Message-ID: <25BD3FAE-6259-4F44-8D66-BC8C2AF3B075@roguemusic.com> Q: Standalone with drag and drop works on one Windows machine but not two others? why? The code is like this: on dragEnter set the allowabledragactions to "copy,link" set the dragAction to "copy" set the hilite of me to true end dragEnter on dragDrop if the dragdata["files"] is not empty then put the dragdata["files"] into gDroppedData DoMyStuff end dragDrop This code works fine on my Macs, and fine on a laptop running Windows 7; but on another Windows 7 laptop, and yet another running Windows 8, the stop sign cursor appears when I drag a folder to the button. The desktop behavior shows the drag being interpreted, with the cursor changing to the "Copy" icon, but when it gets to my app's window it's a stop sign. Yet, on the other Windows 7 machine it's perfect. It's more annoying that it works on one Windows than if it worked on none! Thanks for any help. Joe F. From eric at canelasoftware.com Sun Sep 21 17:13:30 2014 From: eric at canelasoftware.com (Eric Corbett) Date: Sun, 21 Sep 2014 14:13:30 -0700 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: Hi Peter, I guess I assumed when you said you were using an image to block controls that the image was of the group. Can you take a snapshot of the group and then use that image as the disabled looking "group" by blending it and hide the real group? On Sep 20, 2014, at 9:20 AM, Peter Haworth wrote: > I have a stack with a series of groups on it. I need to control the order > in which data is entered into the groups. The obvious/easy way is to > enable/disable the groups as needed but I'm not happy with the way groups > look when they are disabled. > > I vaguely remember a thread about using images to do this since clicks > within the image don't make it through to the underlying controls. When I > tried this, clicks on buttons that were under the image did not trigger any > mouse events on them, as hoped, but field controls still get focus and I > can type into them. > > It seems like this isn't going to work so looking for other ways to achieve > this without having to go through every control in the group and adjusting > their properties to disable them. Alternatively, is there a way to control > how a group looks when it is disabled? > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Sun Sep 21 18:02:54 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 21 Sep 2014 16:02:54 -0600 Subject: reading a file Message-ID: Hello, Could anyone please explain why the following script does not work? (It puts into the field the name of the selected file and not the contents of the file. on mouseUp answer file "Select a file." put quote & it & quote into thisFile open file thisFile read from file thisFile until EOF put it into field myOutput close file thisFile end mouseUp Thanks, Larry From alain_farmer at yahoo.com Sun Sep 21 18:09:59 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Sun, 21 Sep 2014 15:09:59 -0700 Subject: reading a file In-Reply-To: References: Message-ID: <1411337399.42926.YahooMailNeo@web126105.mail.ne1.yahoo.com> replace: put quote & it & quote into thisFile with put it into thisFile On Sunday, September 21, 2014 6:03 PM, "larry at significantplanet.org" wrote: Hello, Could anyone please explain why the following script does not work? (It puts into the field the name of the selected file and not the contents of the file. on mouseUp answer file "Select a file." put quote & it & quote into thisFile open file thisFile read from file thisFile until EOF put it into field myOutput close file thisFile end mouseUp Thanks, Larry _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sun Sep 21 18:16:04 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Sep 2014 00:16:04 +0200 Subject: reading a file In-Reply-To: References: Message-ID: <541F4E24.4090208@economy-x-talk.com> Hi, There is no file quote & it & quote, but there is a file it. Quotes are used to define a string in a script. If you put quotes in a variable, they become part of that string. The following script will work: on mouseUp answer file "Select a file." put it into thisFile open file thisFile read from file thisFile until EOF put it into field myOutput close file thisFile end mouseUp -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/22/2014 00:02, larry at significantplanet.org wrote: > on mouseUp > > answer file "Select a file." > > put quote & it & quote into thisFile > > open file thisFile > > read from file thisFile until EOF > > put it into field myOutput > > close file thisFile > > end mouseUp From larry at significantplanet.org Sun Sep 21 18:16:18 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 21 Sep 2014 16:16:18 -0600 Subject: reading a file References: <1411337399.42926.YahooMailNeo@web126105.mail.ne1.yahoo.com> Message-ID: <06B1868BC1F54CA1AFD5759EB9C985DF@userd204a4d61c> Thanks Alain, Why is it that if I explicitly want to open a file, I have to put quotes around the name, but if I put the name in a variable, I do not need the quotes? Thank you again, Larry ----- Original Message ----- From: "Alain Farmer" To: "How to use LiveCode" Sent: Sunday, September 21, 2014 4:09 PM Subject: Re: reading a file > replace: > put quote & it & quote into thisFile > with > put it into thisFile > > > On Sunday, September 21, 2014 6:03 PM, "larry at significantplanet.org" > wrote: > > > > Hello, > > Could anyone please explain why the following script does not work? > (It puts into the field the name of the selected file and not the contents > of the file. > > on mouseUp > > answer file "Select a file." > > put quote & it & quote into thisFile > > open file thisFile > > read from file thisFile until EOF > > put it into field myOutput > > close file thisFile > > end mouseUp > > > > Thanks, > > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sun Sep 21 18:18:59 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 21 Sep 2014 15:18:59 -0700 Subject: reading a file In-Reply-To: References: Message-ID: Larry -- have you tried: open file thisFile for read Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/21/14 3:02 PM, "larry at significantplanet.org" wrote: >Hello, > >Could anyone please explain why the following script does not work? >(It puts into the field the name of the selected file and not the >contents of the file. > >on mouseUp > >answer file "Select a file." > >put quote & it & quote into thisFile > >open file thisFile > >read from file thisFile until EOF > >put it into field myOutput > >close file thisFile > >end mouseUp > > > >Thanks, > >Larry >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From alain_farmer at yahoo.com Sun Sep 21 18:33:26 2014 From: alain_farmer at yahoo.com (Alain Farmer) Date: Sun, 21 Sep 2014 15:33:26 -0700 Subject: reading a file In-Reply-To: <06B1868BC1F54CA1AFD5759EB9C985DF@userd204a4d61c> References: <1411337399.42926.YahooMailNeo@web126105.mail.ne1.yahoo.com> <06B1868BC1F54CA1AFD5759EB9C985DF@userd204a4d61c> Message-ID: <1411338806.58715.YahooMailNeo@web126101.mail.ne1.yahoo.com> in reply to: Why is it that if I explicitly want to open a file, I have to put quotes around the name, but if I put the name in a variable, I do not need the quotes? unquoted names will be interpreted as variables ; with quotes, interpreter knows that it is a literal STRING. being in a variable is self-delimiting; no need for quotes. On Sunday, September 21, 2014 6:16 PM, "larry at significantplanet.org" wrote: Thanks Alain, Why is it that if I explicitly want to open a file, I have to put quotes around the name, but if I put the name in a variable, I do not need the quotes? Thank you again, Larry ----- Original Message ----- From: "Alain Farmer" To: "How to use LiveCode" Sent: Sunday, September 21, 2014 4:09 PM Subject: Re: reading a file > replace: > put quote & it & quote into thisFile > with > put it into thisFile > > > On Sunday, September 21, 2014 6:03 PM, "larry at significantplanet.org" > wrote: > > > > Hello, > > Could anyone please explain why the following script does not work? > (It puts into the field the name of the selected file and not the contents > of the file. > > on mouseUp > > answer file "Select a file." > > put quote & it & quote into thisFile > > open file thisFile > > read from file thisFile until EOF > > put it into field myOutput > > close file thisFile > > end mouseUp > > > > Thanks, > > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun Sep 21 18:38:10 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 21 Sep 2014 15:38:10 -0700 Subject: Usng an image to "disable" a group In-Reply-To: <1658df02-11c3-484d-ba10-5ed5203b0fd6@email.android.com> References: <1658df02-11c3-484d-ba10-5ed5203b0fd6@email.android.com> Message-ID: Thanks Jacque, I'll give that a try. Pete Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Sep 21, 2014 at 10:55 AM, J. Landman Gay wrote: > Use a colored image instead of a white one and try different > transparencies until you get the look you want. > > On September 21, 2014 12:00:49 PM CDT, Peter Haworth > wrote: > >Thanks Jacque and Scott. I tried your suggestions but unfortunately > >none > >of them quite do what I need in various ways. > > > >Using a graphic doesn't work because, although it blocks clicks to > >buttons > >in the underlying group, it still allows access to all field controls > >in it. > > > >Using an image blocks access to all the controls in the underlying > >group > >but I can't find a way to set the backgroundColor of the image to > >indicate > >that it's disabled. > > > >All in all, I think I'll just have to go with the simple solution of > >disabling the group and living with the way it looks. > > > >Pete > >lcSQL Software > >Home of lcStackBrowser and > >SQLiteAdmin > > > >On Sat, Sep 20, 2014 at 7:33 PM, J. Landman Gay > > > >wrote: > > > >> You can put a white image over the group and set its blendlevel to > >99. > >> That makes it visually transparent but it will still respond to mouse > >> clicks (or use any level you want.) Then put an empty mouseUp handler > >in > >> the image to block clicks. > >> > >> On September 20, 2014 6:19:05 PM CDT, Peter Haworth > >> wrote: > >> >Thanks Larry. I tried your suggestion but it has the same problem > >as > >> >using > >> >an image - buttons underneath the button are blocked but fields can > >> >still > >> >be used. > >> > > >> >I guess I'll have to stick with disabling each group when necessary. > >> >Wish > >> >there was a way to affect the background color of a disabled group > >but > >> >don't think there is. > >> > > >> > > >> >Pete > >> >lcSQL Software > >> >Home of lcStackBrowser > >and > >> >SQLiteAdmin > >> > > >> >On Sat, Sep 20, 2014 at 11:19 AM, > >wrote: > >> > > >> >> Hi Peter, > >> >> I'm not sure what you're exactly looking for in "looks" but I just > >> >now > >> >> made a little test stack with colored buttons. > >> >> You can adjust the blendlevel so that the group is as opaque or as > >> >> transparent as you wish it to be. > >> >> That's one idea. > >> >> Larry > >> >> > >> >> ----- Original Message ----- From: "Peter Haworth" > > > >> >> To: "How to use LiveCode" > >> >> Sent: Saturday, September 20, 2014 10:20 AM > >> >> Subject: Usng an image to "disable" a group > >> >> > >> >> > >> >> I have a stack with a series of groups on it. I need to control > >the > >> >order > >> >>> in which data is entered into the groups. The obvious/easy way > >is > >> >to > >> >>> enable/disable the groups as needed but I'm not happy with the > >way > >> >groups > >> >>> look when they are disabled. > >> >>> > >> >>> I vaguely remember a thread about using images to do this since > >> >clicks > >> >>> within the image don't make it through to the underlying > >controls. > >> >When I > >> >>> tried this, clicks on buttons that were under the image did not > >> >trigger > >> >>> any > >> >>> mouse events on them, as hoped, but field controls still get > >focus > >> >and I > >> >>> can type into them. > >> >>> > >> >>> It seems like this isn't going to work so looking for other ways > >to > >> >>> achieve > >> >>> this without having to go through every control in the group and > >> >adjusting > >> >>> their properties to disable them. Alternatively, is there a way > >to > >> >>> control > >> >>> how a group looks when it is disabled? > >> >>> > >> >>> Pete > >> >>> lcSQL Software > >> >>> Home of lcStackBrowser > >> >and > >> >>> SQLiteAdmin > >> >>> _______________________________________________ > >> >>> use-livecode mailing list > >> >>> use-livecode at lists.runrev.com > >> >>> Please visit this url to subscribe, unsubscribe and manage your > >> >>> subscription preferences: > >> >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> >>> > >> >> > >> >> > >> >> _______________________________________________ > >> >> use-livecode mailing list > >> >> use-livecode at lists.runrev.com > >> >> Please visit this url to subscribe, unsubscribe and manage your > >> >> subscription preferences: > >> >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> >> > >> >_______________________________________________ > >> >use-livecode mailing list > >> >use-livecode at lists.runrev.com > >> >Please visit this url to subscribe, unsubscribe and manage your > >> >subscription preferences: > >> >http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> -- > >> Jacqueline Landman Gay | jacque at hyperactivesw.com > >> HyperActive Software | http://www.hyperactivesw.com > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sun Sep 21 18:44:21 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 21 Sep 2014 15:44:21 -0700 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: Hi Eric, I tried that but the image has no background color so changing the blending doesn't change it's appearance (the underlying group just shows through). Using a snapshot would work great if I could just find a way to change the background color of the resulting image but there doesn't appear to be a way to do that. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Sep 21, 2014 at 2:13 PM, Eric Corbett wrote: > Hi Peter, > > I guess I assumed when you said you were using an image to block controls > that the image was of the group. > > Can you take a snapshot of the group and then use that image as the > disabled looking "group" by blending it and hide the real group? > > > On Sep 20, 2014, at 9:20 AM, Peter Haworth wrote: > > > I have a stack with a series of groups on it. I need to control the > order > > in which data is entered into the groups. The obvious/easy way is to > > enable/disable the groups as needed but I'm not happy with the way groups > > look when they are disabled. > > > > I vaguely remember a thread about using images to do this since clicks > > within the image don't make it through to the underlying controls. When > I > > tried this, clicks on buttons that were under the image did not trigger > any > > mouse events on them, as hoped, but field controls still get focus and I > > can type into them. > > > > It seems like this isn't going to work so looking for other ways to > achieve > > this without having to go through every control in the group and > adjusting > > their properties to disable them. Alternatively, is there a way to > control > > how a group looks when it is disabled? > > > > Pete > > lcSQL Software > > Home of lcStackBrowser and > > SQLiteAdmin > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Sun Sep 21 19:52:03 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 21 Sep 2014 16:52:03 -0700 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: Hey Pete: It sounds like there's some detail missing here. I haven't followed all the posts on this, but from what you described, it shouldn't matter if whatever you're capturing has a background or not. If you're capturing multiple overlaid objects, you should either be capturing a snapshot of the group of all the objects, or from the card so all the objects appear composited together. Are you intentionally trying to leave gaps in the snapshot? If not, a capture of the card should work. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/21/14 3:44 PM, "Peter Haworth" wrote: >Hi Eric, >I tried that but the image has no background color so changing the >blending >doesn't change it's appearance (the underlying group just shows through). > >Using a snapshot would work great if I could just find a way to change the >background color of the resulting image but there doesn't appear to be a >way to do that. > > From simon at asato-media.com Sun Sep 21 20:53:06 2014 From: simon at asato-media.com (Simon) Date: Sun, 21 Sep 2014 17:53:06 -0700 (PDT) Subject: reading a file In-Reply-To: <1411337399.42926.YahooMailNeo@web126105.mail.ne1.yahoo.com> References: <1411337399.42926.YahooMailNeo@web126105.mail.ne1.yahoo.com> Message-ID: <1411347186366-4683559.post@n4.nabble.com> Hi Larry, Even shorter on mouseUp answer file "Select a file." put url("file:" & it) into fld myOutput end mouseUp Of course that is only good for a text file. Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/reading-a-file-tp4683550p4683559.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Sun Sep 21 21:29:57 2014 From: pete at lcsql.com (Peter Haworth) Date: Sun, 21 Sep 2014 18:29:57 -0700 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: Hi Scott, Yes, it's a little difficult to explain. Basically I'm trying to block access to groups on a card until allowed by script. Right now, I do it by disabling/enabling the groups when appropriate. That works just fine but I was trying to find a better way to visually indicate that a group is disabled instead of the faded grey color that LC uses. Exporting a snapshot of each of these groups it their enabled state, positioning them over the groups and showing/hiding them is how I'm trying to handle it but I had hoped to be able to change the background color of the image to indicate the group is disabled. At this point, I don't think it's worth the effort to pursue this any further so I'll go back to disabling/enabling the groups. The card has three groups on it, each with various controls in it, field, buttons, etc. Currently, when the card opens, the first group is enabled and the other two are disabled. The user fills in data in the first group, and clicks on a button that adds the data to a database. At that point the second group is enabled and the user fills in data in that one, clicks a button to add it to the database and the third group is enabled. So basically just controlling the order in which data is entered. That all works fine right now but I don't particularly like the way a disabled group looks and since there doesn't seem to be any way to control that, I started down this path of trying to use graphics and images to do it (and wish I hadn't :-). I ruled out a graphic because it doesn't block users from typing into any field controls there might be in the group. Unless it's opaque of course but then the user can't even see that there's a group there. I've been working with a snapshot image of the second and third groups positioned over the top of them and that does indeed stop the user from doing anything with those groups until the image is removed. However, other than the user not being to use any controls in the group, there's no visual indication that the group is "disabled" and that's what I was hoping to achieve by somehow setting a background color/blendlevel of the image but it seems setting the backgroundcolor of an image has no effect. I tried all the other colors in the Property Inspector for the graphic but non of them affect it's background Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Sep 21, 2014 at 4:52 PM, Scott Rossi wrote: > Hey Pete: > > It sounds like there's some detail missing here. I haven't followed all > the posts on this, but from what you described, it shouldn't matter if > whatever you're capturing has a background or not. If you're capturing > multiple overlaid objects, you should either be capturing a snapshot of > the group of all the objects, or from the card so all the objects appear > composited together. > > Are you intentionally trying to leave gaps in the snapshot? If not, a > capture of the card should work. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 9/21/14 3:44 PM, "Peter Haworth" wrote: > > >Hi Eric, > >I tried that but the image has no background color so changing the > >blending > >doesn't change it's appearance (the underlying group just shows through). > > > >Using a snapshot would work great if I could just find a way to change the > >background color of the resulting image but there doesn't appear to be a > >way to do that. > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Sun Sep 21 21:38:33 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 21 Sep 2014 18:38:33 -0700 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: <7E46AB95-D1B2-4E8E-9EA9-484E4530F9AC@tactilemedia.com> Did you try using a colorOverlay effect on the snapshot and/or group? You can choose any color you want, and set the opacity of the effect. Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Sep 21, 2014, at 6:29 PM, Peter Haworth wrote: > > Basically I'm trying to block access to groups on a card until allowed by > script. Right now, I do it by disabling/enabling the groups when > appropriate. That works just fine but I was trying to find a better way to > visually indicate that a group is disabled instead of the faded grey color > that LC uses. From terry.judd at unimelb.edu.au Sun Sep 21 22:33:47 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 22 Sep 2014 02:33:47 +0000 Subject: Usng an image to "disable" a group In-Reply-To: <7E46AB95-D1B2-4E8E-9EA9-484E4530F9AC@tactilemedia.com> References: <7E46AB95-D1B2-4E8E-9EA9-484E4530F9AC@tactilemedia.com> Message-ID: I?m with Scott. A similar approach I sometimes use is to chuck a plain graphic object (black or other colour) over the group and adjust its opacity to give the desired effect. It?s then just a matter of hiding or showing the graphic, which is no more difficult the enabling or disabling the group. Terry... On 22/09/2014 11:38 am, "Scott Rossi" wrote: >Did you try using a colorOverlay effect on the snapshot and/or group? >You can choose any color you want, and set the opacity of the effect. > >Regards, > >Scott Rossi >Creative Director >Tactile Media UX/UI Design > >> On Sep 21, 2014, at 6:29 PM, Peter Haworth wrote: >> >> Basically I'm trying to block access to groups on a card until allowed >>by >> script. Right now, I do it by disabling/enabling the groups when >> appropriate. That works just fine but I was trying to find a better >>way to >> visually indicate that a group is disabled instead of the faded grey >>color >> that LC uses. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Sun Sep 21 22:43:06 2014 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 21 Sep 2014 19:43:06 -0700 Subject: Printing a Sign In-Reply-To: <8D1A3BCB33DE638-57C-11FAD@webmail-va217.sysops.aol.com> References: <8D1A3BCB33DE638-57C-11FAD@webmail-va217.sysops.aol.com> Message-ID: On Sun, Sep 21, 2014 at 7:08 AM, wrote: > an LC print to a plotter driver? I would think that most of the revPrint > commands are driver neutral. > > > Never tried it myself, and print to plotters all the time. Hmmm. > > > Craig Newman > The plotters I've worked with had an RS-232 interface and used a text based command set. One could send it commands to print text directly or plot points. Perhaps newer ones are different but most are PC based. I used a Hypercard stack to make DAT labels on A&M blanks. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From cszasz at me.com Sun Sep 21 22:48:22 2014 From: cszasz at me.com (Charles Szasz) Date: Sun, 21 Sep 2014 20:48:22 -0600 Subject: Any way to do this? Message-ID: <861E99AD-FB4F-46FE-9697-7EDFDDD7B878@me.com> I have an app that allows the user to click on four buttons for adding eight images on four different cards to a clipboard. Any there anyway to program it so that the user would only have to press one button for the eight images to be put on the clipboard? Sent from my iPad From terry.judd at unimelb.edu.au Sun Sep 21 23:51:31 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 22 Sep 2014 03:51:31 +0000 Subject: Any way to do this? In-Reply-To: <861E99AD-FB4F-46FE-9697-7EDFDDD7B878@me.com> References: <861E99AD-FB4F-46FE-9697-7EDFDDD7B878@me.com> Message-ID: Charles - do you want the images to be ?stored? separately or as a single tiled image? Terry... On 22/09/2014 12:48 pm, "Charles Szasz" wrote: >I have an app that allows the user to click on four buttons for adding >eight images on four different cards to a clipboard. Any there anyway to >program it so that the user would only have to press one button for the >eight images to be put on the clipboard? > >Sent from my iPad >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at me.com Mon Sep 22 00:26:47 2014 From: cszasz at me.com (Charles Szasz) Date: Sun, 21 Sep 2014 22:26:47 -0600 Subject: Any way to do this? Message-ID: <86919467-F252-4984-B101-A24E785D4FF5@me.com> Terry, Thanks for responding to my posting! I want the images to be stored as separate images so they be pasted into a document as separated images. Sent from my iPad From terry.judd at unimelb.edu.au Mon Sep 22 00:46:26 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Mon, 22 Sep 2014 04:46:26 +0000 Subject: Any way to do this? In-Reply-To: <86919467-F252-4984-B101-A24E785D4FF5@me.com> References: <86919467-F252-4984-B101-A24E785D4FF5@me.com> Message-ID: OK - this is all untested so no guarantees. Firstly create an array and populate it with the eight images (put image 1 into tImages[1] etc.) then store that in a global variable or a custom property or whatever. Then handle the clipboard manipulation and pasting using a pastekey handler So, assuming your array is named pArray then... local pArray on pasteKey put the keys of pArray into tImages # present the user with some method of selecting which image they want to paste (e.g. a list field or an answer dialog) # get the relevant key (tKey) set the clipboardData["image"] to pArray[tKey] # delete the key from pArray paste end pasteKey Does that help? Terry... On 22/09/2014 2:26 pm, "Charles Szasz" wrote: >Terry, > >Thanks for responding to my posting! I want the images to be stored as >separate images so they be pasted into a document as separated images. > >Sent from my iPad >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From bornstein at designeq.com Mon Sep 22 01:03:13 2014 From: bornstein at designeq.com (Howard Bornstein) Date: Sun, 21 Sep 2014 22:03:13 -0700 Subject: Does LC Have A touchLoc() Function? In-Reply-To: References: Message-ID: Um, I believe mouseloc works in IOS. Or am I misunderstanding what you are asking for. On Sun, Sep 21, 2014 at 1:09 PM, Scott Rossi wrote: > Does anyone know if LiveCode has touch-based function equivalent of > mouseLoc? I'm thinking along the lines of touchLoc(id). I'm not seeing > anything in dictionaries or release notes, but it's possible I'm missing > it. > > Currently, there doesn't seem to be any way to poll the current active > touches, which is something that has always been possible on desktop with > the mouseLoc function. Using touchMove is not an option, because this > only fires when there's movement of some kind. > > I'd like to open a feature request for a touchLoc(id) function that would > return the loc of a touch id, and a touchLocs() function which would > return all currently active touch ids and their locations. Unless this > already exists, or there's some other way of getting this information and > I'm just not seeing it. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Howard Bornstein ----------------------- www.designeq.com From jacque at hyperactivesw.com Mon Sep 22 02:00:04 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Sep 2014 01:00:04 -0500 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: <9c7c216b-ccb4-4600-a1d9-7e99e12fcf0c@email.android.com> I think you're making this too hard. :-) Create an image object. Use the paint bucket to fill it with a color. Set its transparency, and size it over a group. Hide and show it as needed. This will create a sort of tinted overlay that allows the original group to show through but will block mouse events. I'm not sure that's what you're looking for but it should work. The corners will be square, which doesn't quite match the shape of a group that has borders. On September 21, 2014 8:29:57 PM CDT, Peter Haworth wrote: >Hi Scott, >Yes, it's a little difficult to explain. > >Basically I'm trying to block access to groups on a card until allowed >by >script. Right now, I do it by disabling/enabling the groups when >appropriate. That works just fine but I was trying to find a better >way to >visually indicate that a group is disabled instead of the faded grey >color >that LC uses. > >Exporting a snapshot of each of these groups it their enabled state, >positioning them over the groups and showing/hiding them is how I'm >trying >to handle it but I had hoped to be able to change the background color >of >the image to indicate the group is disabled. > >At this point, I don't think it's worth the effort to pursue this any >further so I'll go back to disabling/enabling the groups. > > > >The card has three groups on it, each with various controls in it, >field, >buttons, etc. Currently, when the card opens, the first group is >enabled >and the other two are disabled. The user fills in data in the first >group, >and clicks on a button that adds the data to a database. At that point >the >second group is enabled and the user fills in data in that one, clicks >a >button to add it to the database and the third group is enabled. So >basically just controlling the order in which data is entered. > >That all works fine right now but I don't particularly like the way a >disabled group looks and since there doesn't seem to be any way to >control >that, I started down this path of trying to use graphics and images to >do >it (and wish I hadn't :-). > >I ruled out a graphic because it doesn't block users from typing into >any >field controls there might be in the group. Unless it's opaque of >course >but then the user can't even see that there's a group there. > >I've been working with a snapshot image of the second and third groups >positioned over the top of them and that does indeed stop the user from >doing anything with those groups until the image is removed. However, >other than the user not being to use any controls in the group, there's >no >visual indication that the group is "disabled" and that's what I was >hoping >to achieve by somehow setting a background color/blendlevel of the >image >but it seems setting the backgroundcolor of an image has no effect. I >tried all the other colors in the Property Inspector for the graphic >but >non of them affect it's background > >Pete >lcSQL Software >Home of lcStackBrowser and >SQLiteAdmin > >On Sun, Sep 21, 2014 at 4:52 PM, Scott Rossi >wrote: > >> Hey Pete: >> >> It sounds like there's some detail missing here. I haven't followed >all >> the posts on this, but from what you described, it shouldn't matter >if >> whatever you're capturing has a background or not. If you're >capturing >> multiple overlaid objects, you should either be capturing a snapshot >of >> the group of all the objects, or from the card so all the objects >appear >> composited together. >> >> Are you intentionally trying to leave gaps in the snapshot? If not, >a >> capture of the card should work. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 9/21/14 3:44 PM, "Peter Haworth" wrote: >> >> >Hi Eric, >> >I tried that but the image has no background color so changing the >> >blending >> >doesn't change it's appearance (the underlying group just shows >through). >> > >> >Using a snapshot would work great if I could just find a way to >change the >> >background color of the resulting image but there doesn't appear to >be a >> >way to do that. >> > >> > >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gerry.orkin at gmail.com Mon Sep 22 02:40:18 2014 From: gerry.orkin at gmail.com (Gerry) Date: Mon, 22 Sep 2014 16:40:18 +1000 Subject: mobilepick as a live list In-Reply-To: References: Message-ID: <6AC9D771-AADD-4946-B6C3-BD7CB7B19872@gmail.com> Yes, using a native field and a datagrid, and listing matching records pulled from a sqlite database. g On 22 Sep 2014, at 12:56 am, Mike Kerner wrote: > Has anybody created a live select list that updates as you type in a field? From toolbook at kestner.de Mon Sep 22 03:23:44 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 22 Sep 2014 09:23:44 +0200 Subject: OT: what does a manifest file? Message-ID: <001c01cfd636$252232d0$6f669870$@de> Hello, With OS X 10.9 (10.9.5) Apple changed requirements for codesigning, e.g. the location where some files within a bundle may be placed. See my thread "codesigning error on OS X 10.9.5" In my case since 10.9.5 I couldn't codesign any of my apps, because of the manifest file in the root of all rev bundles. Deleting the manifest file in all revs bundles like revxml.bundle within my apps solved the issue and codesigning worked again. Runrev confirmed that they are working on this and I could delete the manifest file. Because runrevs solution probably will be made available only for the newest version, everybody who is working with current versions has to delete those files manually (each time you build a new standalone) if you want to codesign. Can someone tell me, what the manifest files in runrevs bundle do and why runrevs bundles also can work without them? I only know, that manifest files can be used for storing preferences. But I would like to understand, what happens, when I delete the manifest file and if I could catch me another issue with this? I wonder why nobody jumped into this thread. Am I the only one codesigning, or am I doing something wrong? Is it so exotic to codesign? I thought it is almost a must or at least state of the art. Thanks Tiemo From john at splash21.com Mon Sep 22 04:21:33 2014 From: john at splash21.com (John Craig) Date: Mon, 22 Sep 2014 09:21:33 +0100 Subject: Usng an image to "disable" a group In-Reply-To: References: Message-ID: <541FDC0D.7050701@splash21.com> Hi, Pete. Try setting the group's traversalOn property to false when you cover it with the image. Does that solve the problem? On 20/09/2014 17:20, Peter Haworth wrote: > I have a stack with a series of groups on it. I need to control the order > in which data is entered into the groups. The obvious/easy way is to > enable/disable the groups as needed but I'm not happy with the way groups > look when they are disabled. > > I vaguely remember a thread about using images to do this since clicks > within the image don't make it through to the underlying controls. When I > tried this, clicks on buttons that were under the image did not trigger any > mouse events on them, as hoped, but field controls still get focus and I > can type into them. > > It seems like this isn't going to work so looking for other ways to achieve > this without having to go through every control in the group and adjusting > their properties to disable them. Alternatively, is there a way to control > how a group looks when it is disabled? > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john at splash21.com Mon Sep 22 04:50:12 2014 From: john at splash21.com (John Craig) Date: Mon, 22 Sep 2014 09:50:12 +0100 Subject: Does LC Have A touchLoc() Function? In-Reply-To: References: Message-ID: <541FE2C4.3080507@splash21.com> The last time I checked, a touchMove was always fired after a touchStart (so you can reliably pick up the initial position). TouchMove events can then track each individual touch id. I think mouseLoc always reported the position of the first touch. On 21/09/2014 21:09, Scott Rossi wrote: > Does anyone know if LiveCode has touch-based function equivalent of > mouseLoc? I'm thinking along the lines of touchLoc(id). I'm not seeing > anything in dictionaries or release notes, but it's possible I'm missing > it. > > Currently, there doesn't seem to be any way to poll the current active > touches, which is something that has always been possible on desktop with > the mouseLoc function. Using touchMove is not an option, because this > only fires when there's movement of some kind. > > I'd like to open a feature request for a touchLoc(id) function that would > return the loc of a touch id, and a touchLocs() function which would > return all currently active touch ids and their locations. Unless this > already exists, or there's some other way of getting this information and > I'm just not seeing it. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From admin at FlexibleLearning.com Mon Sep 22 07:12:25 2014 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 22 Sep 2014 12:12:25 +0100 Subject: ImageData restore problems Message-ID: <005501cfd656$16f21890$44d649b0$@FlexibleLearning.com> Having wrestled with this for a long time, I post a solution for future reference... Situation I have a large embedded image. I want to thumbnail it/rotate it/mess with it, but be able to restore the original without loss of any original data. How do we do this? Solution We need to save the original image's rect, text and imageData (alphaData and maskData optional) perhaps most conveniently saved in a customPropertySet of the image itself: -- tObj: The long id of the image. -- ImgBackup: The customPropertySet name. -- savedImageRect, savedImageText,savedAlphaData, savedMaskData and savedImageData: The array key names. if the ImgBackup["savedImageData"] of tObj ="" then --| Save an original set the ImgBackup["savedImageRect"] of tObj to the rect of tObj set the ImgBackup["savedImageText"] of tObj to the text of tObj set the ImgBackup["savedAlphaData"] of tObj to the alphaData of tObj set the ImgBackup["savedMaskData"] of tObj to the maskData of tObj set the ImgBackup["savedImageData"] of tObj to the imageData of tObj end if To restore to the original state, first lock the image then restore the rect, text, [alphaData and maskData] and imageData... Note that the order things are done is important: --| Restore the original put the lockLoc of tObj into tLL set the lockLoc of tObj to true set the rect of tObj to the ImgBackup["savedImageRect"] of tObj set the text of tObj to the ImgBackup["savedImageText"] of tObj set the alphadata of tObj to the ImgBackup["savedAlphaData"] of tObj set the maskdata of tObj to the ImgBackup["savedMaskData"] of tObj set the imagedata of tObj to the ImgBackup["savedImageData"] of tObj set the lockLoc of tObj to tLL To optimise the image at any time and reduce the Kb needed, compact the imageData and delete the backup. This is permanent and cannot be undone: --| Optimise the image to its current display set the imageData of tObj to the imageData of tObj put the custompropertysets of tObj into tCPS filter tCPS without "ImgBackup" set the custompropertysets of tObj to tCPS "Things are always easier with hindsight" Hugh Senior FLCo From larry at significantplanet.org Mon Sep 22 09:04:00 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 22 Sep 2014 07:04:00 -0600 Subject: repeat with each Message-ID: <81BE31592C784F72BA5888845B447888@userd204a4d61c> Hello, I have never been able to understand how to use the each form in a repeat statement. Can anyone explain why this code does not work? It is almost verbatim from the example in the LC dictionary. on mouseUp repeat for each word thisWord in field justOne put "," after thisWord end repeat sort items of field justOne end mouseUp It does not insert the commas. Supposedly the each form is a lot faster than using "put x + 1 into x" "put "," after word x of field justOne Thanks, Larry From cszasz at me.com Mon Sep 22 09:06:06 2014 From: cszasz at me.com (Charles Szasz) Date: Mon, 22 Sep 2014 07:06:06 -0600 Subject: Any way to do this? Message-ID: <0D081710-644E-4D38-83CC-EE3E2A1E95E3@me.com> Terry, Thanks! I will try your suggestion later this evening after I get home from work. Thanks again! Sent from my iPad From klaus at major-k.de Mon Sep 22 09:11:21 2014 From: klaus at major-k.de (Klaus major-k) Date: Mon, 22 Sep 2014 15:11:21 +0200 Subject: repeat with each In-Reply-To: <81BE31592C784F72BA5888845B447888@userd204a4d61c> References: <81BE31592C784F72BA5888845B447888@userd204a4d61c> Message-ID: Hi Larry, Am 22.09.2014 um 15:04 schrieb larry at significantplanet.org: > Hello, > > I have never been able to understand how to use the each form in a repeat statement. > > Can anyone explain why this code does not work? It is almost verbatim from the example in the LC dictionary. > > on mouseUp > repeat for each word thisWord in field justOne > put "," after thisWord > end repeat > sort items of field justOne > end mouseUp > > It does not insert the commas. Supposedly the each form is a lot faster than using > > "put x + 1 into x" > "put "," after word x of field justOne "repeat for each XXXX..." is READ-ONLY! Means you cannot modify thisWord here! Collect your data in a variable first, then write stuff back to field: ... ## Never forget to put QUOTES around object names! repeat for each word thisWord in field "justOne" put thisWord & "," after tNewVariable end repeat delete char -1 of tNewVariable sort item of tNewVariable put tNewVariable into fld "justOne" ... > Thanks, > Larry Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From m.schonewille at economy-x-talk.com Mon Sep 22 09:13:05 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Sep 2014 15:13:05 +0200 Subject: repeat with each In-Reply-To: <81BE31592C784F72BA5888845B447888@userd204a4d61c> References: <81BE31592C784F72BA5888845B447888@userd204a4d61c> Message-ID: <54202061.8020402@economy-x-talk.com> Hi Larry, The variable thisWord contains a copy of the item in the field. It doesn't refer to the actual item. When you put "," after thisWord, you change the string that is stored in variable thisWord, but not the string that is stored in field justOne. If you want to change the contents of the field, you need to create an updated copy and replace the contents of the field with the copy, like this: repeat for each word myWord in field "Just One" put thisWord & comma after myNewdata end repeat sort items of myNewData put char 1 to -2 of myNewData into field "Just One" If you want to refer the items of the field directly, you can use repeat with: repeat with x = 1 to number of words of field "Just One" - 1 put comma after word x of field "Just One" end repeat sort items of field "Just One" I could imagine that the following may work too: replace space with comma & space in field "Just One" sort items of field "Just One" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/22/2014 15:04, larry at significantplanet.org wrote: > Hello, > > I have never been able to understand how to use the each form in a repeat statement. > > Can anyone explain why this code does not work? It is almost verbatim from the example in the LC dictionary. > > on mouseUp > > repeat for each word thisWord in field justOne > > put "," after thisWord > > end repeat > > sort items of field justOne > > end mouseUp > > > > It does not insert the commas. Supposedly the each form is a lot faster than using > > "put x + 1 into x" > "put "," after word x of field justOne > > Thanks, > Larry From mikedoub at gmail.com Mon Sep 22 09:22:46 2014 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Mon, 22 Sep 2014 09:22:46 -0400 Subject: Printing a Sign In-Reply-To: References: Message-ID: <20140922132246.6033555.84087.3220@gmail.com> ?Steven, Thanks for you clue about Acrobat Reader. It was trivial making a large PDF in livecode. And printing with reader was equally as simple.? I can keep my lack of printing experience run going a bit longer. :-) Many thanks, ? ?Mike ? Original Message ? From: stephen barncard Sent: Sunday, September 21, 2014 2:59 PM To: How to use LiveCode Reply To: How to use LiveCode Subject: Re: Printing a Sign On Sun, Sep 21, 2014 at 5:31 AM, Michael Doub wrote: > I need to make a sign that is about 4? by 3? and I would like some advice > for tackling this project. I was thinking of just printing out the normal > printer size pages and just taping them together and attaching the pages to > a large piece of cardboard. > Check and see if the printer driver you have can do this... make the 'page' that is to be printed the size of the final output and see what options the printer driver shows. It might allow the content to be printed on several pages... I've never done this either but this is how I would start. I don't know what the limits are on the size of a layout page in Livecode, but this seems reasonable. If the printer driver can't deal with it, then you'll have to figure out a way to take snapshots of the various areas (with overlap) that you then print one by one. I'm sure it could be done. But there's probably an app one can buy for less than a hundred that will do the same thing. How much is your time worth?? this says you can do it in Acrobat reader... http://helpx.adobe.com/acrobat/kb/print-posters-banners-acrobat-reader.html *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Mon Sep 22 09:28:12 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 22 Sep 2014 15:28:12 +0200 Subject: How to create an OS X 10.9 alias by script? Message-ID: <005d01cfd669$0fd437b0$2f7ca710$@de> Hi, can somebody give me a hint on how to add an alias of a program by script (shell) to the dock? Thanks Tiemo From paul at whitefeather.com Mon Sep 22 09:28:44 2014 From: paul at whitefeather.com (Paul Foraker) Date: Mon, 22 Sep 2014 06:28:44 -0700 Subject: repeat with each In-Reply-To: <54202061.8020402@economy-x-talk.com> References: <81BE31592C784F72BA5888845B447888@userd204a4d61c> <54202061.8020402@economy-x-talk.com> Message-ID: On Mon, Sep 22, 2014 at 6:13 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > repeat for each word myWord in field "Just One" > put thisWord & comma after myNewdata > end repeat > sort items of myNewData > put char 1 to -2 of myNewData into field "Just One" > This loop generates a string that (1) starts with an empty item and (2) repeats the word "thisWord", deleting the last "d". (1) The last item after the loop finishes is empty -- the comma at the end. After the sort, however, that comma is at the front of the variable. A simple solution would be to replace the last line with put char 2 to -1 of myNewData into fld "Just One" (2) Instead of "put thisWord", it should be "put myWord". Or, "repeat for each word thisWord" -- Paul From m.schonewille at economy-x-talk.com Mon Sep 22 10:16:51 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 22 Sep 2014 16:16:51 +0200 Subject: repeat with each In-Reply-To: References: <81BE31592C784F72BA5888845B447888@userd204a4d61c> <54202061.8020402@economy-x-talk.com> Message-ID: <54202F53.7010002@economy-x-talk.com> Hi Paul, I should have read it one more time before posting. This should be the correct script: repeat for each word myWord in field "Just One" put myWord & comma after myNewdata end repeat delete last char of myNewData sort items of myNewData put myNewData into field "Just One" -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/22/2014 15:28, Paul Foraker wrote: > On Mon, Sep 22, 2014 at 6:13 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> repeat for each word myWord in field "Just One" >> put thisWord & comma after myNewdata >> end repeat >> sort items of myNewData >> put char 1 to -2 of myNewData into field "Just One" >> > > This loop generates a string that (1) starts with an empty item and (2) > repeats the word "thisWord", deleting the last "d". > > (1) The last item after the loop finishes is empty -- the comma at the end. > After the sort, however, that comma is at the front of the variable. > > A simple solution would be to replace the last line with > > put char 2 to -1 of myNewData into fld "Just One" > > (2) Instead of "put thisWord", it should be "put myWord". Or, "repeat for > each word thisWord" > > -- Paul From lists at mangomultimedia.com Mon Sep 22 10:22:14 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 22 Sep 2014 10:22:14 -0400 Subject: LiveCode Commercial License In-Reply-To: <67F645A4-DCC0-4721-AD46-94D2DD46C71C@pacifier.com> References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> <13797581-D95C-46D6-B5B1-2EF19D411ECB@pacifier.com> <67F645A4-DCC0-4721-AD46-94D2DD46C71C@pacifier.com> Message-ID: On Fri, Sep 19, 2014 at 8:56 PM, JB wrote: > I would love to have a copy of that! If you > find it please send me a copy. > Here is a ZIP of what I have. I don't recall if I needed to make any tweaks to anything to get it working. http://www.bluemangolearning.com/livecode/wp-content/uploads/2014/09/ExternalsEnvironmentV3_WithObjC.zip -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From lists at mangomultimedia.com Mon Sep 22 10:24:15 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 22 Sep 2014 10:24:15 -0400 Subject: =?UTF-8?Q?Re=3A_Q=3A_Standalone_with_drag_and_drop_works_on_one_Wi?= =?UTF-8?Q?ndows_machine_but_not_two_others=E2=80=A6_why=3F?= In-Reply-To: <25BD3FAE-6259-4F44-8D66-BC8C2AF3B075@roguemusic.com> References: <25BD3FAE-6259-4F44-8D66-BC8C2AF3B075@roguemusic.com> Message-ID: On Sun, Sep 21, 2014 at 4:54 PM, stymie at roguemusic.com < stymie at roguemusic.com> wrote: > > This code works fine on my Macs, and fine on a laptop running Windows 7; > but on another Windows 7 laptop, and yet another running Windows 8, the > stop sign cursor appears when I drag a folder to the button. > > The desktop behavior shows the drag being interpreted, with the cursor > changing to the "Copy" icon, but when it gets to my app's window it's a > stop sign. Yet, on the other Windows 7 machine it's perfect. > If you restart the Windows machines does it work? -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From paul at researchware.com Mon Sep 22 11:01:33 2014 From: paul at researchware.com (Paul Dupuis) Date: Mon, 22 Sep 2014 11:01:33 -0400 Subject: How to create an OS X 10.9 alias by script? In-Reply-To: <005d01cfd669$0fd437b0$2f7ca710$@de> References: <005d01cfd669$0fd437b0$2f7ca710$@de> Message-ID: <542039CD.6050005@researchware.com> On 9/22/2014 9:28 AM, Tiemo Hollmann TB wrote: > Hi, > > can somebody give me a hint on how to add an alias of a program by script > (shell) to the dock? > > The command below should do it for you. NOTE: The 2 filters are to handle differences between versions of OSX - tested from Leopard to Mavericks. It presents a dialog to alert if an identical alias is already on the dock. Comment out the answer if you don't want that. command CreateOSXDockAlias pDockItem -- pDockItem is the fill path and name of the app local tPreserveLockScreen local tDockItem, tInstalledDockItems, tInstallDockItem put the lockScreen into tPreserveLockScreen if not tPreserveLockScreen then lock screen put pDockItem into tDockItemFilter1 put pDockItem into tDockItemFilter2 replace space with "%20" in tDockItemFilter2 -- effectively Percent Encode string put shell("defaults read com.apple.dock persistent-apps") into tInstalledDockItems put tInstalledDockItems into tTestFormat1 -- to use without %20 replacement for space put tInstalledDockItems into tTestFormat2 -- to use with %20 replacement for space filter tTestFormat1 with ("*"&tDockItemFilter1&"*") -- filter to just this version of the app filter tTestFormat2 with ("*"&tDockItemFilter2&"*") -- filter to just this version of the app if (tTestFormat1 is empty) AND (tTestFormat2 is empty) then -- not already in dock put "defaults write com.apple.dock persistent-apps -array-add " into tInstallDockItem put "'tile-datafile-data" after tInstallDockItem put "_CFURLString"&pDockItem&"" after tInstallDockItem put "_CFURLStringType0'" after tInstallDockItem put shell(tInstallDockItem) into tResult -- install into the Dock put shell("killall -HUP Dock") into tResult -- restart Dock to show new item else answer information pDockItem && "is already installed on the Dock" with "OK" end if if not tPreserveLockScreen then unlock screen end CreateOSXDockAlias From sundown at pacifier.com Mon Sep 22 11:03:46 2014 From: sundown at pacifier.com (JB) Date: Mon, 22 Sep 2014 08:03:46 -0700 Subject: LiveCode Commercial License In-Reply-To: References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> <13797581-D95C-46D6-B5B1-2EF19D411ECB@pacifier.com> <67F645A4-DCC0-4721-AD46-94D2DD46C71C@pacifier.com> Message-ID: Thank you so much, Trevor! I haven?t used it yet but I opened the calendar Xcode project. I see it has a .mm file which I read is one thing that is needed and it has foundation which is definitely Objective-C. I am still learning but this will help a whole bunch. Thank you again for the help and code. By the way if anyone is interested in learning Objective-C one of the best tutorial I?ve found so far is free and here is a link. http://rypress.com/tutorials/objective-c/index.html Thank you. John Balgenorth On Sep 22, 2014, at 7:22 AM, Trevor DeVore wrote: > On Fri, Sep 19, 2014 at 8:56 PM, JB wrote: > >> I would love to have a copy of that! If you >> find it please send me a copy. >> > > Here is a ZIP of what I have. I don't recall if I needed to make any tweaks > to anything to get it working. > > http://www.bluemangolearning.com/livecode/wp-content/uploads/2014/09/ExternalsEnvironmentV3_WithObjC.zip > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Mon Sep 22 11:23:49 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 22 Sep 2014 17:23:49 +0200 Subject: AW: How to create an OS X 10.9 alias by script? In-Reply-To: <542039CD.6050005@researchware.com> References: <005d01cfd669$0fd437b0$2f7ca710$@de> <542039CD.6050005@researchware.com> Message-ID: <006a01cfd679$3658cd50$a30a67f0$@de> Thanks Paul, I will give it a try Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Paul Dupuis > Gesendet: Montag, 22. September 2014 17:02 > An: use-livecode at lists.runrev.com > Betreff: Re: How to create an OS X 10.9 alias by script? > > On 9/22/2014 9:28 AM, Tiemo Hollmann TB wrote: > > Hi, > > > > can somebody give me a hint on how to add an alias of a program by > > script > > (shell) to the dock? > > > > > > The command below should do it for you. NOTE: The 2 filters are to handle > differences between versions of OSX - tested from Leopard to Mavericks. It > presents a dialog to alert if an identical alias is already on the dock. > Comment out the answer if you don't want that. > > command CreateOSXDockAlias pDockItem -- pDockItem is the fill path and name of > the app > local tPreserveLockScreen > local tDockItem, tInstalledDockItems, tInstallDockItem > put the lockScreen into tPreserveLockScreen > if not tPreserveLockScreen then lock screen > put pDockItem into tDockItemFilter1 > put pDockItem into tDockItemFilter2 > replace space with "%20" in tDockItemFilter2 -- effectively Percent Encode > string > put shell("defaults read com.apple.dock persistent-apps") into > tInstalledDockItems > put tInstalledDockItems into tTestFormat1 -- to use without %20 replacement > for space > put tInstalledDockItems into tTestFormat2 -- to use with %20 replacement for > space > filter tTestFormat1 with ("*"&tDockItemFilter1&"*") -- filter to just this > version of the app > filter tTestFormat2 with ("*"&tDockItemFilter2&"*") -- filter to just this > version of the app > if (tTestFormat1 is empty) AND (tTestFormat2 is empty) then -- not already > in dock > put "defaults write com.apple.dock persistent-apps -array-add " into > tInstallDockItem > put "'tile-datafile-data" > after tInstallDockItem > put "_CFURLString"&pDockItem&"" after > tInstallDockItem > put > "_CFURLStringType0'" > after tInstallDockItem > put shell(tInstallDockItem) into tResult -- install into the Dock > put shell("killall -HUP Dock") into tResult -- restart Dock to show new > item > else > answer information pDockItem && "is already installed on the Dock" > with "OK" > end if > if not tPreserveLockScreen then unlock screen end CreateOSXDockAlias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Mon Sep 22 11:42:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Mon, 22 Sep 2014 18:42:43 +0300 Subject: Recently Message-ID: <54204373.4020707@gmail.com> Almost: https://www.dropbox.com/sh/ja47l87gg87sn0q/AAAIj99kEQVOb8ev3jz8C5ORa?dl=0 Richmond. From fraser.gordon at livecode.com Mon Sep 22 12:02:52 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Mon, 22 Sep 2014 17:02:52 +0100 Subject: RELEASE: LiveCode 7.0 RC 2 Message-ID: <1C5AA63B-F267-4FA8-ACF3-810EC045F908@livecode.com> Dear List Members. We are pleased to announce the release of LiveCode 7.0 RC 2. * Warning, this is a pre-release with new features which have the potential to cause issues. Please ensure you backup your stacks before testing this release.* *Release Focus* 61 bug fixes *Important Changes* - We?ve update the platform component of the engine on Linux substantially. Think of it as the equivalent of the cocoa port for MacOS X. As a result, windowing related activities on Linux are subject to change. If you are testing on Linux we would encourage you to focus on windowing, window shapes, shortcuts, copy/paste and drag/drop. - LiveCode 7.0 is now based on LiveCode 6.7. It includes cocoa, the webkit browser, the new AVFoundation player on Mac. - The file format has changed for this release to accommodate Unicode. Old stacks will still work in 7.0, but stacks saved in 7.0 format will not open in previous versions of LiveCode. Therefore it is doubly critical to backup your stacks. *Release contents* The number of bugs fixed is so large that it no longer makes sense to include a summary in the release email. Instead, please look at the bug fix section of the release notes which can be found here: http://downloads.livecode.com/livecode/7_0_0/LiveCodeNotes-7_0_0_rc_2.pdf *Feeding Back* If you find an issue in this release, please report a bug at quality.runrev.com. Warm regards, The LiveCode Team From pete at lcsql.com Mon Sep 22 12:24:12 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 22 Sep 2014 09:24:12 -0700 Subject: Usng an image to "disable" a group In-Reply-To: <7E46AB95-D1B2-4E8E-9EA9-484E4530F9AC@tactilemedia.com> References: <7E46AB95-D1B2-4E8E-9EA9-484E4530F9AC@tactilemedia.com> Message-ID: That works great, thanks Scott! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Sep 21, 2014 at 6:38 PM, Scott Rossi wrote: > Did you try using a colorOverlay effect on the snapshot and/or group? You > can choose any color you want, and set the opacity of the effect. > > Regards, > > Scott Rossi > Creative Director > Tactile Media UX/UI Design > > > On Sep 21, 2014, at 6:29 PM, Peter Haworth wrote: > > > > Basically I'm trying to block access to groups on a card until allowed by > > script. Right now, I do it by disabling/enabling the groups when > > appropriate. That works just fine but I was trying to find a better way > to > > visually indicate that a group is disabled instead of the faded grey > color > > that LC uses. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Sep 22 12:33:52 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 22 Sep 2014 09:33:52 -0700 Subject: Usng an image to "disable" a group In-Reply-To: <9c7c216b-ccb4-4600-a1d9-7e99e12fcf0c@email.android.com> References: <9c7c216b-ccb4-4600-a1d9-7e99e12fcf0c@email.android.com> Message-ID: On Sun, Sep 21, 2014 at 11:00 PM, J. Landman Gay wrote: > I think you're making this too hard. :-) > Wouldn't be the first time! > > Create an image object. Use the paint bucket to fill it with a color. > Set its transparency, and size it over a group. Hide and show it as needed. > First time I've used the paint bucket so I might be doing something wrong but it doesn't seem to work with images? Even if it worked, as soon as I change the opacity of the image from zero, it's possible to type into any field controls in the underlying group. > > This will create a sort of tinted overlay that allows the original group > to show through but will block mouse events. I'm not sure that's what > you're looking for but it should work. The corners will be square, which > doesn't quite match the shape of a group that has borders. > > On September 21, 2014 8:29:57 PM CDT, Peter Haworth > wrote: > >Hi Scott, > >Yes, it's a little difficult to explain. > > > >Basically I'm trying to block access to groups on a card until allowed > >by > >script. Right now, I do it by disabling/enabling the groups when > >appropriate. That works just fine but I was trying to find a better > >way to > >visually indicate that a group is disabled instead of the faded grey > >color > >that LC uses. > > > >Exporting a snapshot of each of these groups it their enabled state, > >positioning them over the groups and showing/hiding them is how I'm > >trying > >to handle it but I had hoped to be able to change the background color > >of > >the image to indicate the group is disabled. > > > >At this point, I don't think it's worth the effort to pursue this any > >further so I'll go back to disabling/enabling the groups. > > > > > > > >The card has three groups on it, each with various controls in it, > >field, > >buttons, etc. Currently, when the card opens, the first group is > >enabled > >and the other two are disabled. The user fills in data in the first > >group, > >and clicks on a button that adds the data to a database. At that point > >the > >second group is enabled and the user fills in data in that one, clicks > >a > >button to add it to the database and the third group is enabled. So > >basically just controlling the order in which data is entered. > > > >That all works fine right now but I don't particularly like the way a > >disabled group looks and since there doesn't seem to be any way to > >control > >that, I started down this path of trying to use graphics and images to > >do > >it (and wish I hadn't :-). > > > >I ruled out a graphic because it doesn't block users from typing into > >any > >field controls there might be in the group. Unless it's opaque of > >course > >but then the user can't even see that there's a group there. > > > >I've been working with a snapshot image of the second and third groups > >positioned over the top of them and that does indeed stop the user from > >doing anything with those groups until the image is removed. However, > >other than the user not being to use any controls in the group, there's > >no > >visual indication that the group is "disabled" and that's what I was > >hoping > >to achieve by somehow setting a background color/blendlevel of the > >image > >but it seems setting the backgroundcolor of an image has no effect. I > >tried all the other colors in the Property Inspector for the graphic > >but > >non of them affect it's background > > > >Pete > >lcSQL Software > >Home of lcStackBrowser and > >SQLiteAdmin > > > >On Sun, Sep 21, 2014 at 4:52 PM, Scott Rossi > >wrote: > > > >> Hey Pete: > >> > >> It sounds like there's some detail missing here. I haven't followed > >all > >> the posts on this, but from what you described, it shouldn't matter > >if > >> whatever you're capturing has a background or not. If you're > >capturing > >> multiple overlaid objects, you should either be capturing a snapshot > >of > >> the group of all the objects, or from the card so all the objects > >appear > >> composited together. > >> > >> Are you intentionally trying to leave gaps in the snapshot? If not, > >a > >> capture of the card should work. > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > >> > >> > >> On 9/21/14 3:44 PM, "Peter Haworth" wrote: > >> > >> >Hi Eric, > >> >I tried that but the image has no background color so changing the > >> >blending > >> >doesn't change it's appearance (the underlying group just shows > >through). > >> > > >> >Using a snapshot would work great if I could just find a way to > >change the > >> >background color of the resulting image but there doesn't appear to > >be a > >> >way to do that. > >> > > >> > > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jiml at netrin.com Mon Sep 22 12:38:19 2014 From: jiml at netrin.com (Jim Lambert) Date: Mon, 22 Sep 2014 09:38:19 -0700 Subject: Usng an image to "disable" In-Reply-To: References: Message-ID: <1C102451-0484-4F8C-B319-E1B5418FD495@netrin.com> If it?s just the look of the disabled group that you object to, you might play with setting the group?s ink when it?s disabled. Try blend or blendhardlight. Then there?s also blendlevel. Take it way down so it?s a mere ghost. Jim Lambert From pete at lcsql.com Mon Sep 22 12:38:50 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 22 Sep 2014 09:38:50 -0700 Subject: Usng an image to "disable" a group In-Reply-To: <541FDC0D.7050701@splash21.com> References: <541FDC0D.7050701@splash21.com> Message-ID: On Mon, Sep 22, 2014 at 1:21 AM, John Craig wrote: > Hi, Pete. Try setting the group's traversalOn property to false when you > cover it with the image. Does that solve the problem? That works great, thank John! I now have two solutions to this. Scott's suggestion of using a color overlay in an image, and your suggestion of turning traversalOn off which means I can use a filled, blended rectangle. Thanks to everyone for their suggestions and sticking with me on this, it's been interesting! Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From pete at lcsql.com Mon Sep 22 12:39:49 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 22 Sep 2014 09:39:49 -0700 Subject: Usng an image to "disable" a group In-Reply-To: References: <7E46AB95-D1B2-4E8E-9EA9-484E4530F9AC@tactilemedia.com> Message-ID: Hi Terry, Unfortunately, as soon as I change the opacity of the image to anything other than zero, it becomes possible for the user to type into any field controls in the group. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Sun, Sep 21, 2014 at 7:33 PM, Terry Judd wrote: > I?m with Scott. A similar approach I sometimes use is to chuck a plain > graphic object (black or other colour) over the group and adjust its > opacity to give the desired effect. It?s then just a matter of hiding or > showing the graphic, which is no more difficult the enabling or disabling > the group. > > Terry... > > On 22/09/2014 11:38 am, "Scott Rossi" wrote: > > >Did you try using a colorOverlay effect on the snapshot and/or group? > >You can choose any color you want, and set the opacity of the effect. > > > >Regards, > > > >Scott Rossi > >Creative Director > >Tactile Media UX/UI Design > > > >> On Sep 21, 2014, at 6:29 PM, Peter Haworth wrote: > >> > >> Basically I'm trying to block access to groups on a card until allowed > >>by > >> script. Right now, I do it by disabling/enabling the groups when > >> appropriate. That works just fine but I was trying to find a better > >>way to > >> visually indicate that a group is disabled instead of the faded grey > >>color > >> that LC uses. > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Sep 22 13:03:42 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Sep 2014 12:03:42 -0500 Subject: Usng an image to "disable" a group In-Reply-To: References: <9c7c216b-ccb4-4600-a1d9-7e99e12fcf0c@email.android.com> Message-ID: <5420566E.20301@hyperactivesw.com> On 9/22/2014, 11:33 AM, Peter Haworth wrote: > First time I've used the paint bucket so I might be doing something wrong > but it doesn't seem to work with images? Even if it worked, as soon as I > change the opacity of the image from zero, it's possible to type into any > field controls in the underlying group. Right, you'd need the mouseUp blocking handler. But I like the other suggestions better because they don't require an additional object over the group, so you have a couple of choices. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Mon Sep 22 13:21:44 2014 From: pete at lcsql.com (Peter Haworth) Date: Mon, 22 Sep 2014 10:21:44 -0700 Subject: Usng an image to "disable" In-Reply-To: <1C102451-0484-4F8C-B319-E1B5418FD495@netrin.com> References: <1C102451-0484-4F8C-B319-E1B5418FD495@netrin.com> Message-ID: Thanks Jim, I'll give that a try. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Mon, Sep 22, 2014 at 9:38 AM, Jim Lambert wrote: > If it?s just the look of the disabled group that you object to, you might > play with setting the group?s ink when it?s disabled. > Try blend or blendhardlight. > Then there?s also blendlevel. Take it way down so it?s a mere ghost. > > Jim Lambert > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From t.heaford at btinternet.com Mon Sep 22 14:31:37 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Mon, 22 Sep 2014 19:31:37 +0100 Subject: RELEASE: LiveCode 7.0 RC 2 In-Reply-To: <1C5AA63B-F267-4FA8-ACF3-810EC045F908@livecode.com> References: <1C5AA63B-F267-4FA8-ACF3-810EC045F908@livecode.com> Message-ID: <226BD2EE-21BF-4123-B4B6-1CFEE79F5B76@btinternet.com> ?Install LiveCode Community 7.0 (rc 2)? can?t be opened because the identity of the developer cannot be confirmed. ?Install LiveCode Community 7.0 (rc 2)? is on the disk image ?LiveCodeCommunityInstaller-7_0_0_rc_2-Mac.dmg?. Safari downloaded this disk image today at 19:28 from livecode.com. All the best Terry On 22 Sep 2014, at 17:02, Fraser Gordon wrote: > Dear List Members. > > We are pleased to announce the release of LiveCode 7.0 RC 2. > > * Warning, this is a pre-release with new features which have the potential > to cause issues. Please ensure you backup your stacks before testing this > release.* > > *Release Focus* > 61 bug fixes > > *Important Changes* > - We?ve update the platform component of the engine on Linux substantially. > Think of it as the equivalent of the cocoa port for MacOS X. As a result, > windowing related activities on Linux are subject to change. If you are > testing on Linux we would encourage you to focus on windowing, window > shapes, shortcuts, copy/paste and drag/drop. > - LiveCode 7.0 is now based on LiveCode 6.7. It includes cocoa, the webkit > browser, the new AVFoundation player on Mac. > - The file format has changed for this release to accommodate Unicode. Old > stacks will still work in 7.0, but stacks saved in 7.0 format will not open > in previous versions of LiveCode. Therefore it is doubly critical to backup > your stacks. > > *Release contents* > The number of bugs fixed is so large that it no longer makes sense to > include a summary in the release email. Instead, please look at the bug fix > section of the release notes which can be found here: > > http://downloads.livecode.com/livecode/7_0_0/LiveCodeNotes-7_0_0_rc_2.pdf > > *Feeding Back* > If you find an issue in this release, please report a bug at > quality.runrev.com. > > Warm regards, > > The LiveCode Team > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stymie at roguemusic.com Mon Sep 22 14:46:34 2014 From: stymie at roguemusic.com (stymie at roguemusic.com) Date: Mon, 22 Sep 2014 14:46:34 -0400 Subject: =?windows-1252?Q?Re=3A_Q=3A_Standalone_with_drag_and_drop_works_?= =?windows-1252?Q?on_one_Windows_machine_but_not_two_others=85_wh?= =?windows-1252?Q?y=3F?= In-Reply-To: References: <25BD3FAE-6259-4F44-8D66-BC8C2AF3B075@roguemusic.com> Message-ID: <427551EF-3117-4057-AB28-48161E2E8478@roguemusic.com> Thanks for responding Trevor. Restarting doesn?t help. On the one Win7 laptop it?s perfect, just like the Macs. On another Win7 laptop, and on a Win8 desktop, the cursor indicates the ?no-drop-allowed? condition. On those machines I can see the cursor respond correctly, changing to ?Copy? within the desktop; but not when it reaches my app. The fact that it works on the one laptop makes me think there?s some Windows setting that?s different. One thing I have yet to try is compiling the standalone on Windows; but I?m hoping to find something that maintains ?cross-platform consistency?. Thanks, Joe F. On Sep 22, 2014, at 10:24 AM, Trevor DeVore wrote: > On Sun, Sep 21, 2014 at 4:54 PM, stymie at roguemusic.com < > stymie at roguemusic.com> wrote: > >> >> This code works fine on my Macs, and fine on a laptop running Windows 7; >> but on another Windows 7 laptop, and yet another running Windows 8, the >> stop sign cursor appears when I drag a folder to the button. >> >> The desktop behavior shows the drag being interpreted, with the cursor >> changing to the "Copy" icon, but when it gets to my app's window it's a >> stop sign. Yet, on the other Windows 7 machine it's perfect. >> > > If you restart the Windows machines does it work? > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Sep 22 15:28:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 22 Sep 2014 14:28:23 -0500 Subject: =?windows-1252?Q?Re=3A_Q=3A_Standalone_with_drag_and_?= =?windows-1252?Q?drop_works_on_one_Windows_machine_but_not?= =?windows-1252?Q?_two_others=85_why=3F?= In-Reply-To: <427551EF-3117-4057-AB28-48161E2E8478@roguemusic.com> References: <25BD3FAE-6259-4F44-8D66-BC8C2AF3B075@roguemusic.com> <427551EF-3117-4057-AB28-48161E2E8478@roguemusic.com> Message-ID: <54207857.8020009@hyperactivesw.com> The user security level? On 9/22/2014, 1:46 PM, stymie at roguemusic.com wrote: > Thanks for responding Trevor. > > Restarting doesn?t help. > On the one Win7 laptop it?s perfect, just like the Macs. > On another Win7 laptop, and on a Win8 desktop, the cursor indicates the ?no-drop-allowed? condition. > > On those machines I can see the cursor respond correctly, changing to ?Copy? within the desktop; but not when it reaches my app. > > The fact that it works on the one laptop makes me think there?s some Windows setting that?s different. > One thing I have yet to try is compiling the standalone on Windows; but I?m hoping to find something that maintains ?cross-platform consistency?. > > Thanks, > Joe F. > > > On Sep 22, 2014, at 10:24 AM, Trevor DeVore wrote: > >> On Sun, Sep 21, 2014 at 4:54 PM, stymie at roguemusic.com < >> stymie at roguemusic.com> wrote: >> >>> >>> This code works fine on my Macs, and fine on a laptop running Windows 7; >>> but on another Windows 7 laptop, and yet another running Windows 8, the >>> stop sign cursor appears when I drag a folder to the button. >>> >>> The desktop behavior shows the drag being interpreted, with the cursor >>> changing to the "Copy" icon, but when it gets to my app's window it's a >>> stop sign. Yet, on the other Windows 7 machine it's perfect. >>> >> >> If you restart the Windows machines does it work? >> >> -- >> Trevor DeVore >> ScreenSteps >> www.screensteps.com - www.clarify-it.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From smudge.andy at googlemail.com Mon Sep 22 16:20:27 2014 From: smudge.andy at googlemail.com (AndyP) Date: Mon, 22 Sep 2014 13:20:27 -0700 (PDT) Subject: =?UTF-8?Q?Re:_Q:_Standalone_with_drag_and_drop_works_on?= =?UTF-8?Q?_one_Windows_machine_but_not_two_others=E2=80=A6_why=3F?= In-Reply-To: <25BD3FAE-6259-4F44-8D66-BC8C2AF3B075@roguemusic.com> References: <25BD3FAE-6259-4F44-8D66-BC8C2AF3B075@roguemusic.com> Message-ID: <1411417227630-4683600.post@n4.nabble.com> I've come across something similar before and it is related to UAC and the solution was to.. wait for it ... hit the Esc button and try again. ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Your LiveCode Work Desks - New Blog http://livecodemydesk.blogspot.de/ PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Q-Standalone-with-drag-and-drop-works-on-one-Windows-machine-but-not-two-others-why-tp4683548p4683600.html Sent from the Revolution - User mailing list archive at Nabble.com. From larry at significantplanet.org Mon Sep 22 17:29:41 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 22 Sep 2014 15:29:41 -0600 Subject: file size Message-ID: <5734825322DD4A01B301C02D05CC389B@userd204a4d61c> Hello, I know I can use: put the files into field "Current Files" to get the size of a file (in bytes), but is there any way to use "answer file" or some other way to get the size of just one specific file? Thanks, Larry From paulhibbert at mac.com Mon Sep 22 18:50:05 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 22 Sep 2014 15:50:05 -0700 Subject: file size In-Reply-To: <5734825322DD4A01B301C02D05CC389B@userd204a4d61c> References: <5734825322DD4A01B301C02D05CC389B@userd204a4d61c> Message-ID: <38952A4F-3E76-43C5-AAEE-6E4D548C3C5E@mac.com> Larry, Try: on mouseUp answer file "?" put "binfile:" & it into tFile put the length of URL tFile / 1000 & "KB" into fld "myResultField" end mouseUp Paul On Sep 22, 2014, at 2:29 PM, larry at significantplanet.org wrote: > Hello, > > I know I can use: > put the files into field "Current Files" > > to get the size of a file (in bytes), but is there any way to use "answer file" or some other way to get the size of just one specific file? > > > > Thanks, > > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Sep 22 19:23:02 2014 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 23 Sep 2014 00:23:02 +0100 Subject: file size In-Reply-To: <5734825322DD4A01B301C02D05CC389B@userd204a4d61c> References: <5734825322DD4A01B301C02D05CC389B@userd204a4d61c> Message-ID: <5420AF56.1020600@tweedly.net> On 22/09/2014 22:29, larry at significantplanet.org wrote: > Hello, > > I know I can use: > put the files into field "Current Files" > > to get the size of a file (in bytes), but is there any way to use "answer file" or some other way to get the size of just one specific file? > > You could always do (typing into email, untested ...) put shell("ls -l " & theFileInQuestion) into temp and then parse temp to get the size out. If the filename could contain special characters (e.g. spaces) then you would need to add some extra level of quotes. So it would be easier (and almost certainly faster) to do put the detailed files into temp filter temp with "*" & theFileInQuestion & "*") and then parse that. -- Alex. From ambassador at fourthworld.com Mon Sep 22 19:33:47 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 22 Sep 2014 16:33:47 -0700 Subject: file size Message-ID: <2c6c3452d3f8c3cc19caf09d065acf38@fourthworld.com> Larry wrote: > ... is there any way to use "answer file" or some other way to get > the size of just one specific file? on mouseUp answer file "Select a file:" if it is empty then exit to top put FileSize(it) end mouseUp function FileSize pFilePath put the directory into tSaveDir set the itemdel to "/" put urlEncode(last item of pFilePath) into tFileName delete last item of pFilePath set the directory to pFilePath put the detailed files into tFiles set the directory to tSaveDir put lineoffset( cr& tFileName &comma, cr& tFiles) into tLineNum set the itemdel to comma return item 2 of line tLineNum of tFiles end FileSize But it really should be a one-liner, so I submitted a request for being able to obtain such info for a single file: -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From rdimola at evergreeninfo.net Mon Sep 22 20:15:43 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 22 Sep 2014 20:15:43 -0400 Subject: iOS 8 orientation In-Reply-To: <2c6c3452d3f8c3cc19caf09d065acf38@fourthworld.com> References: <2c6c3452d3f8c3cc19caf09d065acf38@fourthworld.com> Message-ID: <017901cfd6c3$84157800$8c406800$@net> Orientation changes seem have stopped working on iOS 8 iPad/LC6.6.3/Xcode 5.1.1. The initial orientation is correctly reported but no changes are allowed. I unlocked orientation change and allowed the appropriate orientations. Anyone else seen this? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From larry at significantplanet.org Mon Sep 22 20:20:21 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 22 Sep 2014 18:20:21 -0600 Subject: file size References: <5734825322DD4A01B301C02D05CC389B@userd204a4d61c> <38952A4F-3E76-43C5-AAEE-6E4D548C3C5E@mac.com> Message-ID: <2103B69A9640443A8FAAEF7340E6E901@userd204a4d61c> Thanks Paul and Alex and Richard, I ended up using Paul's code: on mouseUp answer file "?" put "binfile:" & it into tFile put the length of URL tFile / 1000 & "KB" into fld "myResultField" end mouseUp It works just great! Larry ----- Original Message ----- From: "Paul Hibbert" To: "How to use LiveCode" Sent: Monday, September 22, 2014 4:50 PM Subject: Re: file size > Larry, > > Try: > > on mouseUp > answer file "?" > put "binfile:" & it into tFile > put the length of URL tFile / 1000 & "KB" into fld "myResultField" > end mouseUp > > Paul > > On Sep 22, 2014, at 2:29 PM, larry at significantplanet.org wrote: > >> Hello, >> >> I know I can use: >> put the files into field "Current Files" >> >> to get the size of a file (in bytes), but is there any way to use "answer >> file" or some other way to get the size of just one specific file? >> >> >> >> Thanks, >> >> Larry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Mon Sep 22 20:28:37 2014 From: mikedoub at gmail.com (mikedoub at gmail.com) Date: Mon, 22 Sep 2014 20:28:37 -0400 Subject: file size In-Reply-To: <2103B69A9640443A8FAAEF7340E6E901@userd204a4d61c> References: <5734825322DD4A01B301C02D05CC389B@userd204a4d61c> <38952A4F-3E76-43C5-AAEE-6E4D548C3C5E@mac.com> <2103B69A9640443A8FAAEF7340E6E901@userd204a4d61c> Message-ID: <20140923002837.36196523.76193.3253@gmail.com> ?To be technically correct divide by 1024. ? Mike ? Original Message ? From: larry at significantplanet.org Sent: Monday, September 22, 2014 8:21 PM To: How to use LiveCode Reply To: How to use LiveCode Subject: Re: file size Thanks Paul and Alex and Richard, I ended up using Paul's code: on mouseUp answer file "?" put "binfile:" & it into tFile put the length of URL tFile / 1000 & "KB" into fld "myResultField" end mouseUp It works just great! Larry ----- Original Message ----- From: "Paul Hibbert" To: "How to use LiveCode" Sent: Monday, September 22, 2014 4:50 PM Subject: Re: file size > Larry, > > Try: > > on mouseUp > answer file "?" > put "binfile:" & it into tFile > put the length of URL tFile / 1000 & "KB" into fld "myResultField" > end mouseUp > > Paul > > On Sep 22, 2014, at 2:29 PM, larry at significantplanet.org wrote: > >> Hello, >> >> I know I can use: >> put the files into field "Current Files" >> >> to get the size of a file (in bytes), but is there any way to use "answer >> file" or some other way to get the size of just one specific file? >> >> >> >> Thanks, >> >> Larry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Mon Sep 22 20:31:01 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 22 Sep 2014 18:31:01 -0600 Subject: file size References: <5734825322DD4A01B301C02D05CC389B@userd204a4d61c><38952A4F-3E76-43C5-AAEE-6E4D548C3C5E@mac.com><2103B69A9640443A8FAAEF7340E6E901@userd204a4d61c> <20140923002837.36196523.76193.3253@gmail.com> Message-ID: Hi Mike, good point, but actually my line is: put the length of URL tFile into field "myResult" because I want the actual number and not how many kb. Larry ----- Original Message ----- From: To: ; "How to use LiveCode" Sent: Monday, September 22, 2014 6:28 PM Subject: Re: file size > ?To be technically correct divide by 1024. > > Mike > > Original Message > From: larry at significantplanet.org > Sent: Monday, September 22, 2014 8:21 PM > To: How to use LiveCode > Reply To: How to use LiveCode > Subject: Re: file size > > Thanks Paul and Alex and Richard, > > I ended up using Paul's code: > on mouseUp > answer file "?" > put "binfile:" & it into tFile > put the length of URL tFile / 1000 & "KB" into fld "myResultField" > end mouseUp > > It works just great! > Larry > > ----- Original Message ----- > From: "Paul Hibbert" > To: "How to use LiveCode" > Sent: Monday, September 22, 2014 4:50 PM > Subject: Re: file size > > >> Larry, >> >> Try: >> >> on mouseUp >> answer file "?" >> put "binfile:" & it into tFile >> put the length of URL tFile / 1000 & "KB" into fld "myResultField" >> end mouseUp >> >> Paul >> >> On Sep 22, 2014, at 2:29 PM, larry at significantplanet.org wrote: >> >>> Hello, >>> >>> I know I can use: >>> put the files into field "Current Files" >>> >>> to get the size of a file (in bytes), but is there any way to use >>> "answer >>> file" or some other way to get the size of just one specific file? >>> >>> >>> >>> Thanks, >>> >>> Larry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Mon Sep 22 21:18:19 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 23 Sep 2014 09:18:19 +0800 Subject: LiveCode Commercial License In-Reply-To: References: <68736cf0b0d7e6063fc74e9ac6fbbc7d@fourthworld.com> <541B0CC1.1020203@economy-x-talk.com> <541B3286.3080201@hyperactivesw.com> <6D942C8B-6355-4404-BE43-68803943DD68@pacifier.com> <50D57D8B-C42F-49D4-8CEA-C8A30810AD69@pacifier.com> <64ABCB88-08A9-4111-B718-331D0E1ACDE2@pacifier.com> <13797581-D95C-46D6-B5B1-2EF19D411ECB@pacifier.com> <67F645A4-DCC0-4721-AD46-94D2DD46C71C@pacifier.com> Message-ID: On Mon, Sep 22, 2014 at 11:03 PM, JB wrote: > By the way if anyone is interested in learning > Objective-C one of the best tutorial I?ve found > so far is free and here is a link. > > http://rypress.com/tutorials/objective-c/index.html > Thanks. That looks far more accessible than Apple's spaghetti bowl of documentation. From MikeKerner at roadrunner.com Mon Sep 22 21:37:00 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 22 Sep 2014 21:37:00 -0400 Subject: iOS 8 orientation In-Reply-To: <017901cfd6c3$84157800$8c406800$@net> References: <2c6c3452d3f8c3cc19caf09d065acf38@fourthworld.com> <017901cfd6c3$84157800$8c406800$@net> Message-ID: Yes, and I think there's a bug report for this, but don't quote me on that. On Mon, Sep 22, 2014 at 8:15 PM, Ralph DiMola wrote: > Orientation changes seem have stopped working on iOS 8 iPad/LC6.6.3/Xcode > 5.1.1. > > The initial orientation is correctly reported but no changes are allowed. > I unlocked orientation change and allowed the appropriate orientations. > > Anyone else seen this? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mwieder at ahsoftware.net Mon Sep 22 21:35:20 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 22 Sep 2014 18:35:20 -0700 Subject: How to create an OS X 10.9 alias by script? In-Reply-To: <542039CD.6050005@researchware.com> References: <005d01cfd669$0fd437b0$2f7ca710$@de> <542039CD.6050005@researchware.com> Message-ID: <511749049024.20140922183520@ahsoftware.net> Paul- Monday, September 22, 2014, 8:01:33 AM, you wrote: > command CreateOSXDockAlias pDockItem -- pDockItem is the fill path and > name of the app Wow. That's impressive. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From MikeKerner at roadrunner.com Mon Sep 22 21:38:57 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 22 Sep 2014 21:38:57 -0400 Subject: mobilepick as a live list In-Reply-To: <6AC9D771-AADD-4946-B6C3-BD7CB7B19872@gmail.com> References: <6AC9D771-AADD-4946-B6C3-BD7CB7B19872@gmail.com> Message-ID: Ooh. I didn't think of that. So just make the DG visible? How do you disable all the other controls while the DG is up? On Mon, Sep 22, 2014 at 2:40 AM, Gerry wrote: > Yes, using a native field and a datagrid, and listing matching records > pulled from a sqlite database. > > g > > > On 22 Sep 2014, at 12:56 am, Mike Kerner > wrote: > > > Has anybody created a live select list that updates as you type in a > field? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Sep 22 21:39:21 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 22 Sep 2014 21:39:21 -0400 Subject: [OT] A Modern Typeface For Programmers In-Reply-To: <6BECB578-0FD9-4583-92C6-84631683EAE4@pandora.be> References: <6BECB578-0FD9-4583-92C6-84631683EAE4@pandora.be> Message-ID: Wow? I like that typeface. On Sun, Sep 21, 2014 at 3:57 PM, Marc Van Cauwenberghe < marc.vancauwenberghe at pandora.be> wrote: > Thanks Erik. > > Verstuurd vanaf mijn iPad > > > Op 21-sep.-2014 om 21:48 heeft Erik Beugelaar > het volgende geschreven: > > > > Hello Folks, > > > > I have always been looking for a useful font for coding. > > Via Twitter I received this link http://input.fontbureau.com and I like > to > > share this information. > > > > It's free for private use. > > > > Regards,, > > Erik > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lan.kc.macmail at gmail.com Mon Sep 22 22:05:07 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 23 Sep 2014 10:05:07 +0800 Subject: Any way to do this? In-Reply-To: <0D081710-644E-4D38-83CC-EE3E2A1E95E3@me.com> References: <0D081710-644E-4D38-83CC-EE3E2A1E95E3@me.com> Message-ID: on mouseUp copy image "my1stimg" and image "my2ndimg" and image "mynthimg" end mouse up As it sounds like some or all of your images may not be on the same card as the button, you will need to use the full address of the image, ie image "mynthimg" of cd "my1stCard" Interestingly you can also: set the clipboardData["objects"] to image "my1stimg" and image "my2ndimg" and image "mynthimg" but if you use the paste command nothing happens. If you use copy, then when you use paste the images will be pasted. From pderocco at ix.netcom.com Tue Sep 23 00:18:16 2014 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Mon, 22 Sep 2014 21:18:16 -0700 Subject: [OT] A Modern Typeface For Programmers In-Reply-To: References: <6BECB578-0FD9-4583-92C6-84631683EAE4@pandora.be> Message-ID: <105D03E2453D465DA58647D20A0675E6@PAULD> > Erik Beugelaar > > I have always been looking for a useful font for coding. > Via Twitter I received this link http://input.fontbureau.com and I like > to share this information. Given that code is stored as plain ASCII, which contains no meta-data to define tab stops the way word processing documents do, a monospace font is pretty much required if you care about alignment of comments to the right of the code. I've not found a font that I like anywhere near as well as Lucida Console, which comes with Windows (and I've copied it onto my Mac--so sue me). It looks good, but more important, it has a bare minimum of leading between the lines, so for a given font size and window size you can see more lines. Every other mono font I've tried wastes lots of space between lines. And the sample image of Input Mono looks like no exception. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From revdev at pdslabs.net Tue Sep 23 00:18:53 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 22 Sep 2014 21:18:53 -0700 Subject: file size In-Reply-To: <5734825322DD4A01B301C02D05CC389B@userd204a4d61c> References: <5734825322DD4A01B301C02D05CC389B@userd204a4d61c> Message-ID: <5420F4AD.7080302@pdslabs.net> If you want to do it entirely in LC and not use a shell command, you could do this: on mouseUp answer file "Pick a file:" if it is empty then exit to top set the itemDelimiter to slash put the defaultFolder into tOriginalDefault set the defaultFolder to item 1 to -2 of it put the detailed files into tList set the defaultFolder to tOriginalDefault filter tList with urlEncode(last item of it) & ",*" set the itemDelimiter to comma answer "Length of file" && quote & first item of tList & quote && "is" && item 2 of tList && "bytes." end mouseUp Phil Davis On 9/22/14 2:29 PM, larry at significantplanet.org wrote: > Hello, > > I know I can use: > put the files into field "Current Files" > > to get the size of a file (in bytes), but is there any way to use "answer file" or some other way to get the size of just one specific file? > > > > Thanks, > > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From paulhibbert at mac.com Tue Sep 23 00:27:42 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 22 Sep 2014 21:27:42 -0700 Subject: file size In-Reply-To: <20140923002837.36196523.76193.3253@gmail.com> References: <5734825322DD4A01B301C02D05CC389B@userd204a4d61c> <38952A4F-3E76-43C5-AAEE-6E4D548C3C5E@mac.com> <2103B69A9640443A8FAAEF7340E6E901@userd204a4d61c> <20140923002837.36196523.76193.3253@gmail.com> Message-ID: <1D85E9E9-EA28-4FBC-BFC4-78F8500DF7A6@mac.com> Mike, That's just what I thought, but it doesn't agree with the actual file size shown in the finder, dividing by 1000 does agree with the finder. It appears this depends on whether the system uses Binary or Decimal calculations, it seems Apple use Decimal. Paul On Sep 22, 2014, at 5:28 PM, mikedoub at gmail.com wrote: > ?To be technically correct divide by 1024. > > Mike > > Original Message > From: larry at significantplanet.org > Sent: Monday, September 22, 2014 8:21 PM > To: How to use LiveCode > Reply To: How to use LiveCode > Subject: Re: file size > > Thanks Paul and Alex and Richard, > > I ended up using Paul's code: > on mouseUp > answer file "?" > put "binfile:" & it into tFile > put the length of URL tFile / 1000 & "KB" into fld "myResultField" > end mouseUp > > It works just great! > Larry > > ----- Original Message ----- > From: "Paul Hibbert" > To: "How to use LiveCode" > Sent: Monday, September 22, 2014 4:50 PM > Subject: Re: file size > > >> Larry, >> >> Try: >> >> on mouseUp >> answer file "?" >> put "binfile:" & it into tFile >> put the length of URL tFile / 1000 & "KB" into fld "myResultField" >> end mouseUp >> >> Paul >> >> On Sep 22, 2014, at 2:29 PM, larry at significantplanet.org wrote: >> >>> Hello, >>> >>> I know I can use: >>> put the files into field "Current Files" >>> >>> to get the size of a file (in bytes), but is there any way to use "answer >>> file" or some other way to get the size of just one specific file? >>> >>> >>> >>> Thanks, >>> >>> Larry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Tue Sep 23 00:55:16 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 23 Sep 2014 12:55:16 +0800 Subject: Is there a problem with the On-Rev email server Message-ID: Just sent an email to my mum, old address nothing changed, and I received this Mail Delivery System message: 554 Your access to this mail system from 46.105.105.217 has been rejected due to the sending MTA's poor reputation. 46.105.105.217 is nowhere near my current IP address. The SMTP server I'm using is on-rev. A search for the above IP address indicates it's in France. Is on-rev in France now? I'm on the diesel server. The email, which included half a dozen addresses, all went to the other recipients, only the one was rejected. Should I be worried about this? Is it likely to be temporary and I should try again tomorrow. Should I contact on-rev support at: http://on-rev.com/support/contact-us/ If it isn't on-rev where else should I be looking? Using Mail 7.3, OS X 10.9.5 Any advice appreciated. From mwieder at ahsoftware.net Tue Sep 23 01:13:03 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 22 Sep 2014 22:13:03 -0700 Subject: Is there a problem with the On-Rev email server In-Reply-To: References: Message-ID: <1311762111896.20140922221303@ahsoftware.net> Kay- Monday, September 22, 2014, 9:55:16 PM, you wrote: > Any advice appreciated. The short form is don't bother trying to use the on-rev smtp server. I haven't used it in many years, primarily because of stuff like this. You're lucky to have gotten a response from the receiving server... a lot will just dump the message and not respond at all, leaving you wondering why your emails never arrived. Use the smtp server your isp provides, or use gmail's smtp servers. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Tue Sep 23 01:42:39 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 23 Sep 2014 00:42:39 -0500 Subject: [OT] A Modern Typeface For Programmers In-Reply-To: <105D03E2453D465DA58647D20A0675E6@PAULD> References: <6BECB578-0FD9-4583-92C6-84631683EAE4@pandora.be> <105D03E2453D465DA58647D20A0675E6@PAULD> Message-ID: This font lets you customize the line spacing, among other things. Look at the download page where you can set up several options, including customized character glyphs per font set. On September 22, 2014 11:18:16 PM CDT, "Paul D. DeRocco" wrote: >Every other mono font I've tried wastes lots of space between >lines. And the sample image of Input Mono looks like no exception. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gerry.orkin at gmail.com Tue Sep 23 01:43:59 2014 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 23 Sep 2014 15:43:59 +1000 Subject: mobilepick as a live list In-Reply-To: References: <6AC9D771-AADD-4946-B6C3-BD7CB7B19872@gmail.com> Message-ID: <4B00268C-47D8-41DA-998C-D9E51B607853@gmail.com> Mike Kerner wrote: > Ooh. I didn't think of that. So just make the DG visible? How do you > disable all the other controls while the DG is up? In my case it's already visible (and it's not really being used as a pick list in the traditional sense) - it's a scrolling list of items on the left side of the iPad screen that the user can search and select (see https://dl.dropboxusercontent.com/u/67170/dynamicList.jpg). The user enters search terms into the native text control above the data grid and it does a dynamic live search for records that match the entered text. If I needed to hide and show it and to disable all the other controls I might group all the elements with a full screen rectangle graphic at the back of the group and make the rectangle opaque but set it's blend to 100 - that way touches anywhere behind the group wouldn't get through. Gerry From lan.kc.macmail at gmail.com Tue Sep 23 01:48:22 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 23 Sep 2014 13:48:22 +0800 Subject: Is there a problem with the On-Rev email server In-Reply-To: <1311762111896.20140922221303@ahsoftware.net> References: <1311762111896.20140922221303@ahsoftware.net> Message-ID: On Tue, Sep 23, 2014 at 1:13 PM, Mark Wieder wrote: > > Use the smtp server your isp provides, or use gmail's smtp servers. > Not sure my ISP would be any better than on-rev; they are barely competent with just connecting me to the Internet and am only with them because my previous provider was so good that they stopped dealing with individual lines and would only deal with businesses that needed multi lines or fibre connection. Obviously I have gmail and can use it as back up but I generally only use gmail for stuff that I don't care about or happy to waste NSA HD space. Foolish I know, as everything I send ends up on some government database somewhere, but at least I feel good thinking I've fooled them by not using one of their stooges ;-) From yoshino at sys.wakayama-u.ac.jp Tue Sep 23 02:58:58 2014 From: yoshino at sys.wakayama-u.ac.jp (Takashi Yoshino) Date: Tue, 23 Sep 2014 15:58:58 +0900 Subject: Save my data in Android Message-ID: <42AF2473-6ED0-4D73-A00E-F0C82BE0D8A7@sys.wakayama-u.ac.jp> Hi, I would like to save my data in Android. I wrote some texts in the field in my App on Android. When I quit my App, next time the text is lost. Could you tell me how to save my text in the field on Android. Best regards, Takashi From matthias_livecode_150811 at m-r-d.de Tue Sep 23 03:10:50 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 23 Sep 2014 09:10:50 +0200 Subject: Is there a problem with the On-Rev email server In-Reply-To: <1311762111896.20140922221303@ahsoftware.net> References: <1311762111896.20140922221303@ahsoftware.net> Message-ID: Hm, i cannot confirm this. For about 2 years now we are using the on-rev server as primary MX for our business communication (order confirmations, billing and so on) without any big problem. Before that we used the on-rev system as backup MX, also w/o any significant problems. We have enabled SPF and DKIM for our account in cPanel under email->authentication. I am not sure that just using an other ISP?s smtp system would avoid such a problem. It?s a general problem of all shared mail servers. Even if YOU are using that system for normal email communication, it is not granted that this problem will not happen. Why? Because as soon as one of the other users of that mail system uses the system to send spams or even just bulk email to some of the big providers like gmail, aol or others, it could happen / it will happen that the smtp server gets a bad reputation. Matthias Am 23.09.2014 um 07:13 schrieb Mark Wieder : > Kay- > > Monday, September 22, 2014, 9:55:16 PM, you wrote: > >> Any advice appreciated. > > The short form is don't bother trying to use the on-rev smtp server. > I haven't used it in many years, primarily because of stuff like this. > You're lucky to have gotten a response from the receiving server... a > lot will just dump the message and not respond at all, leaving you > wondering why your emails never arrived. > > Use the smtp server your isp provides, or use gmail's smtp servers. > > -- > -Mark Wieder > ahsoftware at gmail.com > > This communication may be unlawfully collected and stored by the National > Security Agency (NSA) in secret. The parties to this email do not > consent to the retrieving or storing of this communication and any > related metadata, as well as printing, copying, re-transmitting, > disseminating, or otherwise using it. If you believe you have received > this communication in error, please delete it immediately. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dick.kriesel at mail.com Tue Sep 23 03:47:30 2014 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 23 Sep 2014 00:47:30 -0700 Subject: file size In-Reply-To: <2c6c3452d3f8c3cc19caf09d065acf38@fourthworld.com> References: <2c6c3452d3f8c3cc19caf09d065acf38@fourthworld.com> Message-ID: On Sep 22, 2014, at 4:33 PM, Richard Gaskin wrote: > But it really should be a one-liner OK, Richard. Here's one. -- given variable tFile, containing the name of a file in the default folder -- given variable tSize, which is where to put the size of the file get matchText( the detailed files, ( "(?m)^\Q" & urlEncode( tFile ) & ",\E(\d*).*" ), tSize ) Too bad it's so hard to read, remember, and type. From th.douez at gmail.com Tue Sep 23 04:13:12 2014 From: th.douez at gmail.com (Thierry Douez) Date: Tue, 23 Sep 2014 10:13:12 +0200 Subject: file size In-Reply-To: References: <2c6c3452d3f8c3cc19caf09d065acf38@fourthworld.com> Message-ID: 2014-09-23 9:47 GMT+02:00 Dick Kriesel : >> But it really should be a one-liner > > -- given variable tFile, containing the name of a file in the default folder > -- given variable tSize, which is where to put the size of the file > > get matchText( the detailed files, ( "(?m)^\Q" & urlEncode( tFile ) & ",\E(\d*).*" ), tSize ) Excellent! I like it :) > Too bad it's so hard to read, remember, and type. Dick, Here is a modified version of yours: matchText(the detailed files,("(?m)^" & urlEncode( tFile ) & ",(\d+)" ), tSize) and I really don't find hard at all to read... Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From sundown at pacifier.com Tue Sep 23 05:15:12 2014 From: sundown at pacifier.com (JB) Date: Tue, 23 Sep 2014 02:15:12 -0700 Subject: file size In-Reply-To: References: <2c6c3452d3f8c3cc19caf09d065acf38@fourthworld.com> Message-ID: Can you get the creation date, modified date and type etc. without using the detailed files? And if so would it be faster than using the detailed files? I know you could get it by using NSFIlemanager. If you want the type the detailed files is not reliable. John Balgenorth On Sep 23, 2014, at 1:13 AM, Thierry Douez wrote: > 2014-09-23 9:47 GMT+02:00 > Dick Kriesel : > >>> But it really should be a one-liner >> >> -- given variable tFile, containing the name of a file in the default folder >> -- given variable tSize, which is where to put the size of the file >> >> get matchText( the detailed files, ( "(?m)^\Q" & urlEncode( tFile ) & ",\E(\d*).*" ), tSize ) > > Excellent! I like it :) > >> Too bad it's so hard to read, remember, and type. > > Dick, > > Here is a modified version of yours: > > matchText(the detailed files,("(?m)^" & urlEncode( tFile ) & ",(\d+)" ), tSize) > > > and I really don't find hard at all to read... > > > Regards, > > Thierry > > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Tue Sep 23 05:43:46 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 23 Sep 2014 11:43:46 +0200 Subject: launch document fails sometimes with PDFs Message-ID: <003901cfd712$df7fedc0$9e7fc940$@de> Hello, I am using launch document to show a PDF file since long time. Sometimes on some Windows machines LiveCode doesn't find the associated program to the PDF file extension and the launch fails, though the Adobe Reader IS associated with the PDF file extension. It seems to me, that it is the same issue as LiveCode doesn't find Quicktime on some windows machines, though it is correct installed. Is this a known issue and anything I can do? I am thinking about replacing it with starting the Adobe Reader via shell. Can I just always start "AcroRD32.exe" without specified path on all windows machines? (it works at least on my machines fine). I don't like to get the path from the registry. Was the Adobe Reader already called "Acrord32.exe" on XP and will it hopefully stay by that? Any experiences welcome Tiemo From dirk.cleenwerck at gmail.com Tue Sep 23 06:08:25 2014 From: dirk.cleenwerck at gmail.com (Dirk prive) Date: Tue, 23 Sep 2014 12:08:25 +0200 Subject: [OT] A Modern Typeface For Programmers In-Reply-To: References: <6BECB578-0FD9-4583-92C6-84631683EAE4@pandora.be> <105D03E2453D465DA58647D20A0675E6@PAULD> Message-ID: I use this one: https://www.google.com/fonts/specimen/Source+Code+Pro#charset Dirk Cleenwerck On Tue, Sep 23, 2014 at 7:42 AM, J. Landman Gay wrote: > This font lets you customize the line spacing, among other things. Look > at the download page where you can set up several options, including > customized character glyphs per font set. > > On September 22, 2014 11:18:16 PM CDT, "Paul D. DeRocco" < > pderocco at ix.netcom.com> wrote: > > >Every other mono font I've tried wastes lots of space between > >lines. And the sample image of Input Mono looks like no exception. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Tue Sep 23 06:34:38 2014 From: klaus at major-k.de (Klaus major-k) Date: Tue, 23 Sep 2014 12:34:38 +0200 Subject: Save my data in Android In-Reply-To: <42AF2473-6ED0-4D73-A00E-F0C82BE0D8A7@sys.wakayama-u.ac.jp> References: <42AF2473-6ED0-4D73-A00E-F0C82BE0D8A7@sys.wakayama-u.ac.jp> Message-ID: Konichi-wa Takashi-san, Am 23.09.2014 um 08:58 schrieb Takashi Yoshino : > Hi, > > I would like to save my data in Android. > > I wrote some texts in the field in my App on Android. > When I quit my App, next time the text is lost. > > Could you tell me how to save my text in the field on Android. you are allowed to write in -> specialfolderpath("documents"), so use something like this when the stack closes or whenever: ... ## Create a filename put specialfolderpath("documents") & "/my_saved_text.text" into tFile put the text of fld "your field here" into url("file:" & tFile) ... To read the data in again, you first need to check if the file is present: ... put specialfolderpath("documents") & "/my_saved_text.text" into tFile if there is a file tFile then put url("file:" & tFile) into fld "your field here" end if ... Hope that helps! > Best regards, > > Takashi Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From sundown at pacifier.com Tue Sep 23 07:13:05 2014 From: sundown at pacifier.com (JB) Date: Tue, 23 Sep 2014 04:13:05 -0700 Subject: Open Folder Message-ID: Is there a way to open a folder in the finder with a script? John Balgenorth From klaus at major-k.de Tue Sep 23 07:23:34 2014 From: klaus at major-k.de (Klaus major-k) Date: Tue, 23 Sep 2014 13:23:34 +0200 Subject: Open Folder In-Reply-To: References: Message-ID: <6F26119E-B639-4FEF-ADFD-425EAECAAF50@major-k.de> Hi John, Am 23.09.2014 um 13:13 schrieb JB : > Is there a way to open a folder in the finder > with a script? funny enough, this does in fact work :-) ... launch document "/Users/klaus/Documents" ... > John Balgenorth Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From sundown at pacifier.com Tue Sep 23 07:24:44 2014 From: sundown at pacifier.com (JB) Date: Tue, 23 Sep 2014 04:24:44 -0700 Subject: Open Folder In-Reply-To: <6F26119E-B639-4FEF-ADFD-425EAECAAF50@major-k.de> References: <6F26119E-B639-4FEF-ADFD-425EAECAAF50@major-k.de> Message-ID: <78F5DE26-EDD4-4B83-A71F-AE12AEB4F28F@pacifier.com> Thanks for the fast reply and info, Klaus. I never thought of trying it and I was using the launch command yesterday. John Balgenorth On Sep 23, 2014, at 4:23 AM, Klaus major-k wrote: > Hi John, > > Am 23.09.2014 um 13:13 schrieb JB : > >> Is there a way to open a folder in the finder >> with a script? > > funny enough, this does in fact work :-) > .. > launch document "/Users/klaus/Documents" > .. > >> John Balgenorth > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Tue Sep 23 09:05:17 2014 From: paul at researchware.com (Paul Dupuis) Date: Tue, 23 Sep 2014 09:05:17 -0400 Subject: How to create an OS X 10.9 alias by script? In-Reply-To: <511749049024.20140922183520@ahsoftware.net> References: <005d01cfd669$0fd437b0$2f7ca710$@de> <542039CD.6050005@researchware.com> <511749049024.20140922183520@ahsoftware.net> Message-ID: <5421700D.3020806@researchware.com> On 9/22/2014 9:35 PM, Mark Wieder wrote: > Paul- > > Monday, September 22, 2014, 8:01:33 AM, you wrote: > >> command CreateOSXDockAlias pDockItem -- pDockItem is the fill path and >> name of the app > Wow. That's impressive. > Well, not really. The technique was found with a fairly easy Google search. And the typo of "fill" instead of "full" is something I never noticed before even after looking at the code a dozen times. Sigh. From gcanyon at gmail.com Tue Sep 23 10:11:56 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 23 Sep 2014 09:11:56 -0500 Subject: Small code: leap year Message-ID: I came across http://exercism.io/about It's an interesting site for developers to improve their skills with simple problems and organized peer review. One of the simpler challenges is writing a function to return whether a year is a leap year. I wrote this: function isLeapYear Y return Y mod 4 = 0 and (Y mod 100 > 0 or Y mod 400 = 0) end isLeapYear If you wanted to be accepting of bad data you could: function isLeapYear Y return Y is a number and Y mod 4 = 0 and (Y mod 100 > 0 or Y mod 400 = 0) end isLeapYear From MikeKerner at roadrunner.com Tue Sep 23 11:03:06 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 23 Sep 2014 11:03:06 -0400 Subject: mobilepick as a live list In-Reply-To: <4B00268C-47D8-41DA-998C-D9E51B607853@gmail.com> References: <6AC9D771-AADD-4946-B6C3-BD7CB7B19872@gmail.com> <4B00268C-47D8-41DA-998C-D9E51B607853@gmail.com> Message-ID: I wonder if I make the rectangle translucent if the effect would be better. Hmmmmmmmm On Tue, Sep 23, 2014 at 1:43 AM, Gerry wrote: > Mike Kerner wrote: > > > Ooh. I didn't think of that. So just make the DG visible? How do you > > disable all the other controls while the DG is up? > > In my case it's already visible (and it's not really being used as a pick > list in the traditional sense) - it's a scrolling list of items on the left > side of the iPad screen that the user can search and select (see > https://dl.dropboxusercontent.com/u/67170/dynamicList.jpg). > > The user enters search terms into the native text control above the data > grid and it does a dynamic live search for records that match the entered > text. > > If I needed to hide and show it and to disable all the other controls I > might group all the elements with a full screen rectangle graphic at the > back of the group and make the rectangle opaque but set it's blend to 100 - > that way touches anywhere behind the group wouldn't get through. > > Gerry > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Tue Sep 23 11:08:42 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 23 Sep 2014 11:08:42 -0400 Subject: [OT] A Modern Typeface For Programmers In-Reply-To: References: <6BECB578-0FD9-4583-92C6-84631683EAE4@pandora.be> <105D03E2453D465DA58647D20A0675E6@PAULD> Message-ID: I like this one even better than SCP. On Tue, Sep 23, 2014 at 6:08 AM, Dirk prive wrote: > I use this one: > > https://www.google.com/fonts/specimen/Source+Code+Pro#charset > > Dirk Cleenwerck > > On Tue, Sep 23, 2014 at 7:42 AM, J. Landman Gay > wrote: > > > This font lets you customize the line spacing, among other things. Look > > at the download page where you can set up several options, including > > customized character glyphs per font set. > > > > On September 22, 2014 11:18:16 PM CDT, "Paul D. DeRocco" < > > pderocco at ix.netcom.com> wrote: > > > > >Every other mono font I've tried wastes lots of space between > > >lines. And the sample image of Input Mono looks like no exception. > > > > -- > > Jacqueline Landman Gay | jacque at hyperactivesw.com > > HyperActive Software | http://www.hyperactivesw.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From devin_asay at byu.edu Tue Sep 23 11:25:55 2014 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 23 Sep 2014 15:25:55 +0000 Subject: Constraining window dimensions proportionally while resizing Message-ID: Hi all, I just posted this question on stackoverflow. But I thought I?d ask it here where I think I?ll get some great answers, and hopefully a good answer can get posted back to stackoverflow to make the answer more widely accessible to web searches. In a LiveCode project I want the end user to be able to resize a window, but I want the window proportions -- the ratio of the width to the height -- to remain the same during the resize operation. I have tried various approaches, but none was satisfactory, often giving erratic performance. What is the best way to resize a stack window and constrain it proportionally? I feel like I may be missing something really obvious. It wouldn?t be the first time. Thanks, Devin Devin Asay Office of Digital Humanities Brigham Young University From roger.e.eller at sealedair.com Tue Sep 23 12:34:53 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 23 Sep 2014 12:34:53 -0400 Subject: Constraining window dimensions proportionally while resizing In-Reply-To: References: Message-ID: I've never seen the window constrained while resizing, but you should be able to look at the larger dimension after a resizeStack, and snap the other dimension to a calculated size. Pretty quick, but not in realtime. ~Roger On Tue, Sep 23, 2014 at 11:25 AM, Devin Asay wrote: > Hi all, > > I just posted this question on stackoverflow. But I thought I?d ask it > here where I think I?ll get some great answers, and hopefully a good answer > can get posted back to stackoverflow to make the answer more widely > accessible to web searches. > > In a LiveCode project I want the end user to be able to resize a window, > but I want the window proportions -- the ratio of the width to the height > -- to remain the same during the resize operation. I have tried various > approaches, but none was satisfactory, often giving erratic performance. > What is the best way to resize a stack window and constrain it > proportionally? > > I feel like I may be missing something really obvious. It wouldn?t be the > first time. > > Thanks, > > Devin > > > Devin Asay > Office of Digital Humanities > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bogdanoff at me.com Tue Sep 23 12:46:23 2014 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 23 Sep 2014 09:46:23 -0700 Subject: RELEASE: LiveCode 7.0 RC 2 In-Reply-To: <226BD2EE-21BF-4123-B4B6-1CFEE79F5B76@btinternet.com> References: <1C5AA63B-F267-4FA8-ACF3-810EC045F908@livecode.com> <226BD2EE-21BF-4123-B4B6-1CFEE79F5B76@btinternet.com> Message-ID: <7B4CE726-D8F6-478A-9AF7-2EF3F0D2714E@me.com> OS X: System Settings>Security & Privacy>Allow apps downloaded from>Anywhere On Sep 22, 2014, at 11:31 AM, Terence Heaford wrote: > ?Install LiveCode Community 7.0 (rc 2)? can?t be opened because the identity of the developer cannot be confirmed. > > ?Install LiveCode Community 7.0 (rc 2)? is on the disk image ?LiveCodeCommunityInstaller-7_0_0_rc_2-Mac.dmg?. Safari downloaded this disk image today at 19:28 from livecode.com. > > > > All the best > > Terry > > > On 22 Sep 2014, at 17:02, Fraser Gordon wrote: > >> Dear List Members. >> >> We are pleased to announce the release of LiveCode 7.0 RC 2. >> >> * Warning, this is a pre-release with new features which have the potential >> to cause issues. Please ensure you backup your stacks before testing this >> release.* >> >> *Release Focus* >> 61 bug fixes >> >> *Important Changes* >> - We?ve update the platform component of the engine on Linux substantially. >> Think of it as the equivalent of the cocoa port for MacOS X. As a result, >> windowing related activities on Linux are subject to change. If you are >> testing on Linux we would encourage you to focus on windowing, window >> shapes, shortcuts, copy/paste and drag/drop. >> - LiveCode 7.0 is now based on LiveCode 6.7. It includes cocoa, the webkit >> browser, the new AVFoundation player on Mac. >> - The file format has changed for this release to accommodate Unicode. Old >> stacks will still work in 7.0, but stacks saved in 7.0 format will not open >> in previous versions of LiveCode. Therefore it is doubly critical to backup >> your stacks. >> >> *Release contents* >> The number of bugs fixed is so large that it no longer makes sense to >> include a summary in the release email. Instead, please look at the bug fix >> section of the release notes which can be found here: >> >> http://downloads.livecode.com/livecode/7_0_0/LiveCodeNotes-7_0_0_rc_2.pdf >> >> *Feeding Back* >> If you find an issue in this release, please report a bug at >> quality.runrev.com. >> >> Warm regards, >> >> The LiveCode Team >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Tue Sep 23 12:50:36 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 23 Sep 2014 09:50:36 -0700 Subject: Constraining window dimensions proportionally while resizing In-Reply-To: References: Message-ID: Hi Devin: One way to do this is to use a dedicated object for the resizer and to calculate the new dimensions before resizing the stack. Execute this in your message box: go url "http://www.tactilemedia.com/download/constrained.livecode" This demonstrates one way to do a 4 x 3 ratio stack. I'm not sure if it's possible to get the window refresh to completely sync with the location of the resizer, but maybe this will get you close. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/23/14 8:25 AM, "Devin Asay" wrote: >Hi all, > >I just posted this question on stackoverflow. But I thought I?d ask it >here where I think I?ll get some great answers, and hopefully a good >answer can get posted back to stackoverflow to make the answer more >widely accessible to web searches. > >In a LiveCode project I want the end user to be able to resize a window, >but I want the window proportions -- the ratio of the width to the height >-- to remain the same during the resize operation. I have tried various >approaches, but none was satisfactory, often giving erratic performance. >What is the best way to resize a stack window and constrain it >proportionally? > >I feel like I may be missing something really obvious. It wouldn?t be the >first time. > >Thanks, > >Devin > > >Devin Asay >Office of Digital Humanities >Brigham Young University > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From bernd.niggemann at uni-wh.de Tue Sep 23 12:50:38 2014 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 23 Sep 2014 09:50:38 -0700 (PDT) Subject: Constraining window dimensions proportionally while resizing In-Reply-To: References: Message-ID: <1411491038279-4683642.post@n4.nabble.com> Hi Devin, I am with Roger on this. here is a little code snippet that does constrain the aspect after resizing ----------------------------------------------------------- on resizeStack pNewWidth, pNewHeight, pOldWidth, pOldHeight -- block repeat loop if you want to have all the changes occur after last resize, kind of animation repeat for each line aMessage in the pendingMessages if aMessage contains "adjustRatio" then cancel item 1 of aMessage end repeat send "adJustRatio pNewWidth, pNewHeight, pOldWidth, pOldHeight" to me in 0 milliseconds end resizeStack on adJustRatio pNewWidth, pNewHeight, pOldWidth, pOldHeight put round (pNewWidth / 2) into tNewHeight put the rect of me into tRect put item 2 of tRect + tNewHeight into item 4 of tRect set the rect of me to tRect end adJustRatio ----------------------------------------------------------- Devin Asay wrote > In a LiveCode project I want the end user to be able to resize a window, > but I want the window proportions -- the ratio of the width to the height > -- to remain the same during the resize operation. I have tried various > approaches, but none was satisfactory, often giving erratic performance. > What is the best way to resize a stack window and constrain it > proportionally? > > Devin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Constraining-window-dimensions-proportionally-while-resizing-tp4683639p4683642.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue Sep 23 13:02:23 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 23 Sep 2014 12:02:23 -0500 Subject: Is there a problem with the On-Rev email server In-Reply-To: References: <1311762111896.20140922221303@ahsoftware.net> Message-ID: <5421A79F.1070206@hyperactivesw.com> On 9/23/2014, 2:10 AM, Matthias Rebbe | M-R-D wrote: > I am not sure that just using an other ISP?s smtp system would avoid such a problem. > > It?s a general problem of all shared mail servers. > Even if YOU are using that system for normal email communication, it is not granted that this problem will not happen. > Why? Because as soon as one of the other users of that mail system uses the system to send spams or even just bulk email > to some of the big providers like gmail, aol or others, it could happen / it will happen that the smtp server gets a bad reputation. I think you're right. The same thing happened on my shared server, hosted on JaguarPC, and I think it can happen anywhere. Whether the receiving server rejects the email depends on their spam settings, and some will blacklist whole blocks of IP numbers. One of my accounts sent an email with about 8 recipients, and five were rejected for "bad reputation" even though the email itself was short and generic. The big name ISPs get more clearance. If I send through Comcast it goes though, and I'm told that all the large providers are accepted the same way. That's why Gmail is probably a safe bet if you can accept the scanning they do (you can turn off targeted ads in preferences though.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Tue Sep 23 13:23:35 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 23 Sep 2014 13:23:35 -0400 Subject: On-Rev Secure WebDisk Problems? In-Reply-To: <5421A79F.1070206@hyperactivesw.com> References: <1311762111896.20140922221303@ahsoftware.net> <5421A79F.1070206@hyperactivesw.com> Message-ID: <31E1187F-09A7-49A7-A7F2-EE4F85C91AF8@all-auctions.com> Hi there, Is anyone else having problems accessing their Secure WebDisk on the tio server? It would be nice to know that it isn?t just me, so we could get this problem fixed sooner if possible. Thanks, Rick From jacque at hyperactivesw.com Tue Sep 23 13:23:47 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 23 Sep 2014 12:23:47 -0500 Subject: If your stack uses QT... Message-ID: <5421ACA3.5090902@hyperactivesw.com> Just a heads up in case your project depends on QuickTime like mine does. The new default in LC 7 is not to set QT to load automatically as it used to do. The reason makes sense to me: QT is now deprecated and apps that use it will no longer be accepted into the App Store. I was thrown off because suddenly my project did not work when I tested in 7.0, and it turns out that dontUseQT is now set to true by default in the IDE. The fix is easy, you can just set dontUseQT to false somewhere in your scripts, or turn the preference back on in the IDE. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Tue Sep 23 13:44:35 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 23 Sep 2014 13:44:35 -0400 Subject: Constraining window dimensions proportionally while resizing In-Reply-To: References: Message-ID: <8D1A56D2C41D871-EB48-BCA5@webmail-vm010.sysops.aol.com> Devin, I see you have some feedback, but do any of these address what I thought was your real question, that is, to constrain while dragging? It seems that trapping the "resizeStack" message, which acts sort of like the "mouseMove" message in that it is sent with every nudge of the stack size change, you could track the ratio of the stack window. By comparing the current ratio to the one just previous, perhaps stored in a custom property, you can see which dimension, X or Y, has exceeded the value of the one before. Since you are starting with a stack of a certain size, this ratio will start off in the way you want it. Then simply adjust that ratio so that you are keeping the aspect constant. Craig -----Original Message----- From: Devin Asay To: How to use LiveCode Sent: Tue, Sep 23, 2014 11:26 am Subject: Constraining window dimensions proportionally while resizing Hi all, I just posted this question on stackoverflow. But I thought I?d ask it here where I think I?ll get some great answers, and hopefully a good answer can get posted back to stackoverflow to make the answer more widely accessible to web searches. In a LiveCode project I want the end user to be able to resize a window, but I want the window proportions -- the ratio of the width to the height -- to remain the same during the resize operation. I have tried various approaches, but none was satisfactory, often giving erratic performance. What is the best way to resize a stack window and constrain it proportionally? I feel like I may be missing something really obvious. It wouldn?t be the first time. Thanks, Devin Devin Asay Office of Digital Humanities Brigham Young University _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From stymie at roguemusic.com Tue Sep 23 14:06:03 2014 From: stymie at roguemusic.com (stymie at roguemusic.com) Date: Tue, 23 Sep 2014 14:06:03 -0400 Subject: =?windows-1252?Q?Re=3A_Q=3A_Standalone_with_drag_and_drop_works_?= =?windows-1252?Q?on_one_Windows_machine_but_not_two_others=85_wh?= =?windows-1252?Q?y=3F?= In-Reply-To: <1411417227630-4683600.post@n4.nabble.com> References: <25BD3FAE-6259-4F44-8D66-BC8C2AF3B075@roguemusic.com> <1411417227630-4683600.post@n4.nabble.com> Message-ID: <1E6EBA21-D055-4648-86A6-F87645AEC85C@roguemusic.com> Thanks for the input but no solution yet. The user has admin privileges and the app can create and write new files to its default folder with no problem. Escape key doesn?t seem to make a difference, but what is it supposed to do anyway? Maybe there?s something there. For whatever reason, it works perfectly on my Win7 test machine, but not on the other two. Maybe they don?t have the right Trojans installed? The only major difference that comes to mind is that I have Livecode installed on the test machine. I figure, if they can drag and drop on the desktop, they should be able to drag to my Livecode app. Is there some way of associating files as ?openable? by certain apps? Thanks for trying to help. Joe F. On Sep 22, 2014, at 4:20 PM, AndyP wrote: > I've come across something similar before and it is related to UAC and the > solution was to.. wait for it ... hit the Esc button and try again. > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > > Copy the new cloud space, get your free 15GB space now: > Get Copy > > > Your LiveCode Work Desks - New Blog > http://livecodemydesk.blogspot.de/ > > PointandSee is a FREE simple but full featured under cursor colour picker / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Q-Standalone-with-drag-and-drop-works-on-one-Windows-machine-but-not-two-others-why-tp4683548p4683600.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Tue Sep 23 14:12:57 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 23 Sep 2014 11:12:57 -0700 Subject: Delay After mobilePhotoPickPhoto? Message-ID: I have app in which I'm using mobilePickPhoto to pull an image into a stack from the user's photo library. Once a (large) photo is chosen it can take several seconds for the photo to be available on the card. The problem is, there's doesn't seem to be any way to display a wait or progress indicator after a photo is selected from the picker. My understanding is that the only options for mobilePickPhoto "library" are to limit the import size. Has anybody figured out a way to show wait or progress once a photo is chosen from the photo picker? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From larry at significantplanet.org Tue Sep 23 14:53:01 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 23 Sep 2014 12:53:01 -0600 Subject: sort lines by length Message-ID: Hello, this line doesn't work: sort lines of field "myField" by length of each Can someone please tell me the code for sorting a field by length of line? Thanks! From pete at lcsql.com Tue Sep 23 14:56:06 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 23 Sep 2014 11:56:06 -0700 Subject: Is there a problem with the On-Rev email server In-Reply-To: <5421A79F.1070206@hyperactivesw.com> References: <1311762111896.20140922221303@ahsoftware.net> <5421A79F.1070206@hyperactivesw.com> Message-ID: Just as a follow up to a post I made a couple of weeks ago, I still do not see any posts to this list from people with yahoo and aol addresses. Only way I find out is if someone replies to them. Every week or so, I get an automated email from the list administration that my membership has been disabled due to too many bounces. Fortunately, there's a link that turns it back on immediately so not a huge deal, just irksome that perfectly genuine emails to the list are somehow bounced for some list members. Heather is aware of the problem but it seems there's little that can be done to fix it. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Sep 23, 2014 at 10:02 AM, J. Landman Gay wrote: > On 9/23/2014, 2:10 AM, Matthias Rebbe | M-R-D wrote: > >> I am not sure that just using an other ISP?s smtp system would avoid such >> a problem. >> >> It?s a general problem of all shared mail servers. >> Even if YOU are using that system for normal email communication, it is >> not granted that this problem will not happen. >> Why? Because as soon as one of the other users of that mail system uses >> the system to send spams or even just bulk email >> to some of the big providers like gmail, aol or others, it could happen / >> it will happen that the smtp server gets a bad reputation. >> > > I think you're right. The same thing happened on my shared server, hosted > on JaguarPC, and I think it can happen anywhere. Whether the receiving > server rejects the email depends on their spam settings, and some will > blacklist whole blocks of IP numbers. One of my accounts sent an email with > about 8 recipients, and five were rejected for "bad reputation" even though > the email itself was short and generic. > > The big name ISPs get more clearance. If I send through Comcast it goes > though, and I'm told that all the large providers are accepted the same > way. That's why Gmail is probably a safe bet if you can accept the scanning > they do (you can turn off targeted ads in preferences though.) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From smaclean at madmansoft.com Tue Sep 23 15:00:35 2014 From: smaclean at madmansoft.com (Stephen MacLean) Date: Tue, 23 Sep 2014 15:00:35 -0400 Subject: Delay After mobilePhotoPickPhoto? In-Reply-To: References: Message-ID: <36ACA359-9BCD-4678-912C-C223BD0DBFB5@madmansoft.com> Hi Scott, I ran into this issue, I worked around it (mostly) by using mergAV. The delay is about a second now (on an iPhone 5). Still no way I know of to display a wait or loading progress. Maybe move to a card that is a "One moment" screen before you call mobilePickPhoto? Best, Steve MacLean On Sep 23, 2014, at 2:12 PM, Scott Rossi wrote: > I have app in which I'm using mobilePickPhoto to pull an image into a > stack from the user's photo library. Once a (large) photo is chosen it > can take several seconds for the photo to be available on the card. The > problem is, there's doesn't seem to be any way to display a wait or > progress indicator after a photo is selected from the picker. > > My understanding is that the only options for mobilePickPhoto "library" > are to limit the import size. > > Has anybody figured out a way to show wait or progress once a photo is > chosen from the photo picker? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Tue Sep 23 15:07:05 2014 From: klaus at major-k.de (Klaus major-k) Date: Tue, 23 Sep 2014 21:07:05 +0200 Subject: sort lines by length In-Reply-To: References: Message-ID: <04EC9212-C991-4363-8ED2-1516B647F3A4@major-k.de> Hi Larry, Am 23.09.2014 um 20:53 schrieb : > Hello, > > this line doesn't work: > sort lines of field "myField" by length of each > > Can someone please tell me the code for sorting a field by length of line? this compiles and kinda works, but not as exspected :-/ ... sort lines of fld 1 by length(each) ... > Thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From coiin at verizon.net Tue Sep 23 15:32:03 2014 From: coiin at verizon.net (Colin Holgate) Date: Tue, 23 Sep 2014 15:32:03 -0400 Subject: sort lines by length In-Reply-To: References: Message-ID: If you look at the dictionary entry for length you?ll see that it?s a function. You say either: sort fld 1 by the length of each or: sort fld 1 by length(each) but not: sort fld 1 by length of each From lists at mangomultimedia.com Tue Sep 23 15:32:57 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 23 Sep 2014 15:32:57 -0400 Subject: =?UTF-8?Q?Re=3A_Q=3A_Standalone_with_drag_and_drop_works_on_one_Wi?= =?UTF-8?Q?ndows_machine_but_not_two_others=E2=80=A6_why=3F?= In-Reply-To: <1E6EBA21-D055-4648-86A6-F87645AEC85C@roguemusic.com> References: <25BD3FAE-6259-4F44-8D66-BC8C2AF3B075@roguemusic.com> <1411417227630-4683600.post@n4.nabble.com> <1E6EBA21-D055-4648-86A6-F87645AEC85C@roguemusic.com> Message-ID: On Tue, Sep 23, 2014 at 2:06 PM, stymie at roguemusic.com < stymie at roguemusic.com> wrote: > Thanks for the input but no solution yet. > > The user has admin privileges and the app can create and write new files > to its default folder with no problem. > > Escape key doesn?t seem to make a difference, but what is it supposed to > do anyway? Maybe there?s something there. > There is an odd issue on Windows that occurs for a lot of people (not just for LiveCode apps). Drag and drop basically stops working and pressing the escape key fixes it. Based on your description I don't think it will help, however, as you see the problem after a restart. For whatever reason, it works perfectly on my Win7 test machine, but not on > the other two. > Maybe they don?t have the right Trojans installed? > Perhaps it would be worth gathering some more information on the machines that don't work. You might modify your handles so that they provide some extra information. For example, here are your handlers with some slight modifications that provide some feedback and let you do some debugging. on dragEnter -- set the allowabledragactions to "copy,link" # you should't be setting this here. This is only used in dragStart if you are offering up draggable data set the dragAction to "copy" set the hilite of me to true end dragEnter on dragDrop if the dragdata["files"] is not empty then beep # some audio feedback set the clipboardData to the dragdata["files"] # paste this into Notepad and see what the value is if the dragdata["files"] is not empty then put the dragdata["files"] into gDroppedData DoMyStuff end dragDrop -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From richmondmathewson at gmail.com Tue Sep 23 16:01:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 23 Sep 2014 23:01:43 +0300 Subject: Problem with palette & toplevel Message-ID: <5421D1A7.3030700@gmail.com> I have a stack that loads with this in the stackScript: on openStack palette me put the toplevel stack end openStack when I open this having previously opened another stack the palette stack still puts its name rather than that of the other . . . this is not satisfactory. Richmond. From richmondmathewson at gmail.com Tue Sep 23 16:04:29 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 23 Sep 2014 23:04:29 +0300 Subject: Problem with palette & toplevel In-Reply-To: <5421D1A7.3030700@gmail.com> References: <5421D1A7.3030700@gmail.com> Message-ID: <5421D24D.2000809@gmail.com> On 23/09/14 23:01, Richmond wrote: > I have a stack that loads with this in the stackScript: > > on openStack > palette me > put the toplevel stack > end openStack > > when I open this having previously opened another stack the palette > stack still puts its name rather than that of the other . . . > > this is not satisfactory. > > Richmond. on openStack palette me put the topstack end openStack seems to make no difference. From richmondmathewson at gmail.com Tue Sep 23 16:13:55 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 23 Sep 2014 23:13:55 +0300 Subject: Problem with palette & toplevel In-Reply-To: <5421D24D.2000809@gmail.com> References: <5421D1A7.3030700@gmail.com> <5421D24D.2000809@gmail.com> Message-ID: <5421D483.7040002@gmail.com> On 23/09/14 23:04, Richmond wrote: > On 23/09/14 23:01, Richmond wrote: >> I have a stack that loads with this in the stackScript: >> >> on openStack >> palette me >> put the toplevel stack >> end openStack >> >> when I open this having previously opened another stack the palette >> stack still puts its name rather than that of the other . . . >> >> this is not satisfactory. >> >> Richmond. > > on openStack > palette me > put the topstack > end openStack > > seems to make no difference. Actually what becomes clear is that even if one has a 'palette' command in preOpenStack, openStack or openCard the stack still opens up as a regular stack rather than a palette. Linux. Richmond. From ambassador at fourthworld.com Tue Sep 23 16:18:08 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Sep 2014 13:18:08 -0700 Subject: Problem with palette & toplevel In-Reply-To: <5421D483.7040002@gmail.com> References: <5421D483.7040002@gmail.com> Message-ID: <5421D580.7070801@fourthworld.com> Richmond wrote: > Actually what becomes clear is that even if one has a 'palette' > command in preOpenStack, openStack or openCard the stack still > opens up as a regular stack rather than a palette. Set the style of the stack to palette and save it, and next time you open it it should be in palette mode. Or you could open it with the palette command. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Tue Sep 23 16:20:45 2014 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 23 Sep 2014 23:20:45 +0300 Subject: Problem with palette & toplevel In-Reply-To: <5421D580.7070801@fourthworld.com> References: <5421D483.7040002@gmail.com> <5421D580.7070801@fourthworld.com> Message-ID: <5421D61D.7090808@gmail.com> On 23/09/14 23:18, Richard Gaskin wrote: > Richmond wrote: > > Actually what becomes clear is that even if one has a 'palette' > > command in preOpenStack, openStack or openCard the stack still > > opens up as a regular stack rather than a palette. > > Set the style of the stack to palette and save it, and next time you > open it it should be in palette mode. > > Or you could open it with the palette command. > I wish that were true, but it doesn't work. [6.6.3] Richmond. From ambassador at fourthworld.com Tue Sep 23 16:40:56 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 23 Sep 2014 13:40:56 -0700 Subject: Problem with palette & toplevel In-Reply-To: <5421D61D.7090808@gmail.com> References: <5421D61D.7090808@gmail.com> Message-ID: <5421DAD8.7000805@fourthworld.com> Richmond wrote: > On 23/09/14 23:18, Richard Gaskin wrote: >> Set the style of the stack to palette and save it, and next time you >> open it it should be in palette mode. >> >> Or you could open it with the palette command. > > I wish that were true, but it doesn't work. [6.6.3] Seems to work here. You may need to check the mode of the stack manually: put the mode of stack "StackThatShouldBeAPalette" Also, remember that on Linux the raisePalettes global property is off by default (I have no idea why). Turning that on makes the palette mode more obvious (and is really the only significant difference between palette and modeless on Linux, since Gnome provides no special appearances for palettes). -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From dave.cragg at lacscentre.co.uk Tue Sep 23 16:59:39 2014 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 23 Sep 2014 21:59:39 +0100 Subject: sort lines by length In-Reply-To: <04EC9212-C991-4363-8ED2-1516B647F3A4@major-k.de> References: <04EC9212-C991-4363-8ED2-1516B647F3A4@major-k.de> Message-ID: <1B0921C6-5817-4891-A036-E05719B77D72@lacscentre.co.uk> On 23 Sep 2014, at 20:07, Klaus major-k wrote: > Hi Larry, > > Am 23.09.2014 um 20:53 schrieb : > >> Hello, >> >> this line doesn't work: >> sort lines of field "myField" by length of each >> >> Can someone please tell me the code for sorting a field by length of line? > > this compiles and kinda works, but not as exspected :-/ > ... > sort lines of fld 1 by length(each) > ... sort lines of fld 1 numeric by length(each) I think "numeric" is needed if the lengths can be over 9 characters. Otherwise it will do a text sort on the lengths. Cheers Dave From gcanyon at gmail.com Tue Sep 23 16:59:22 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 23 Sep 2014 15:59:22 -0500 Subject: sort lines by length In-Reply-To: <04EC9212-C991-4363-8ED2-1516B647F3A4@major-k.de> References: <04EC9212-C991-4363-8ED2-1516B647F3A4@major-k.de> Message-ID: On Tue, Sep 23, 2014 at 2:07 PM, Klaus major-k wrote: > this compiles and kinda works, but not as exspected :-/ > ... > sort lines of fld 1 by length(each) > You want: sort lines of fld 1 numeric by length(each) Otherwise a line with length 13 will sort before a line with length 4 From larry at significantplanet.org Tue Sep 23 20:22:00 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 23 Sep 2014 18:22:00 -0600 Subject: searching for chars within a string Message-ID: <3FBF4FD7444C4C6BBA8A2F16BA369854@userd204a4d61c> Hello, I have done a lot research and cannot find any way to do this: I have a string, "AELPP" and I want to see if all 5 of those letters are in "search string" If search string is: ABCDEKLP, then NO it isn't because there are two P's in the string I'm searching for. But if search string is: ABCDEKLLLMMOOPP, then YES the string I'm searching for is found in the search string. It is important to my program that I just find the 5 chars anywhere within the search string and they do not have to be sequential in the search string. Thanks for any help, Larry From larry at significantplanet.org Tue Sep 23 20:24:01 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Tue, 23 Sep 2014 18:24:01 -0600 Subject: P.S. on searching for chars within a string Message-ID: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> Hello again, I know how to do it with brute force, but I want to know the FASTEST way to find the chars. Thanks From dick.kriesel at mail.com Tue Sep 23 21:47:22 2014 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 23 Sep 2014 18:47:22 -0700 Subject: file size In-Reply-To: References: <2c6c3452d3f8c3cc19caf09d065acf38@fourthworld.com> Message-ID: <082C868F-B90F-41E8-8AE4-98961D8F7246@mail.com> On Sep 23, 2014, at 1:13 AM, Thierry Douez wrote: > Here is a modified version of yours: > > matchText(the detailed files,("(?m)^" & urlEncode( tFile ) & ",(\d+)" ), tSize) Hi, Thierry. When the file name contains a space, urlEncode encodes the space as +, which regex interprets, causing the match to fail and tSize to be empty. The \Q...\E causes regex to see everything enclosed as a literal, including the +, so the match succeeds and tSize is correct. Glad you like it. -- Dick From lan.kc.macmail at gmail.com Tue Sep 23 21:49:00 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 24 Sep 2014 09:49:00 +0800 Subject: Is there a problem with the On-Rev email server In-Reply-To: References: <1311762111896.20140922221303@ahsoftware.net> Message-ID: On Tue, Sep 23, 2014 at 3:10 PM, Matthias Rebbe | M-R-D wrote: We have enabled SPF and DKIM for our account in cPanel under email->authentication. > Matthias, Thank you for that, I wasn't aware of those settings so I took a look. SPF (outgoing) was already enabled whilst DKIM (incoming) was not, so really everything was already set for the best chance of outgoing mails getting through. As I looked down the other settings I noticed that 46.105.105.217 was listed as the MX IP address, so it was certainly a problem from the on-rev end. The good news is that I emailed my mum this morning and everything seems to be back to normal. So to Heather and anyone else in support that may have been sorting such thing out, thanks so much. From dunbarx at aol.com Tue Sep 23 23:07:30 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 23 Sep 2014 23:07:30 -0400 Subject: searching for chars within a string In-Reply-To: <3FBF4FD7444C4C6BBA8A2F16BA369854@userd204a4d61c> References: <3FBF4FD7444C4C6BBA8A2F16BA369854@userd204a4d61c> Message-ID: <8D1A5BBD066401E-1164-CB54@webmail-va217.sysops.aol.com> So much fun. A few ways to do this. How much do you know about arrays? Or if you like more old-fashioned sorts of methods, think about this. What if you made a repeat loop that examined each character in the source, "AELPP", one by one. If that char exists in the target string, then delete that char from the target. Then you will either go through the entire source, in which case you know all the chars were there to begin with, or you will fail, in which case, well, you get the picture. Can you think of yet another way? Craig Newman -----Original Message----- From: larry To: use-livecode Sent: Tue, Sep 23, 2014 8:23 pm Subject: searching for chars within a string Hello, I have done a lot research and cannot find any way to do this: I have a string, "AELPP" and I want to see if all 5 of those letters are in "search string" If search string is: ABCDEKLP, then NO it isn't because there are two P's in the string I'm searching for. But if search string is: ABCDEKLLLMMOOPP, then YES the string I'm searching for is found in the search string. It is important to my program that I just find the 5 chars anywhere within the search string and they do not have to be sequential in the search string. Thanks for any help, Larry _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Sep 23 23:10:28 2014 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 23 Sep 2014 23:10:28 -0400 Subject: P.S. on searching for chars within a string In-Reply-To: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> Message-ID: <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> Larry. Just read your brute force comment. Not sure how much data you want to compare, but a loop using the "for each" variant will run an awful lot of text in an awfully short time. What about that array thing, just for modernity and compactness/ Craig -----Original Message----- From: larry To: use-livecode Sent: Tue, Sep 23, 2014 8:25 pm Subject: P.S. on searching for chars within a string Hello again, I know how to do it with brute force, but I want to know the FASTEST way to find the chars. Thanks _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue Sep 23 23:21:38 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 23 Sep 2014 20:21:38 -0700 Subject: sort lines by length In-Reply-To: <1B0921C6-5817-4891-A036-E05719B77D72@lacscentre.co.uk> References: <04EC9212-C991-4363-8ED2-1516B647F3A4@major-k.de> <1B0921C6-5817-4891-A036-E05719B77D72@lacscentre.co.uk> Message-ID: <631841825288.20140923202138@ahsoftware.net> Dave- Tuesday, September 23, 2014, 1:59:39 PM, you wrote: > sort lines of fld 1 numeric by length(each) > I think "numeric" is needed if the lengths can be over 9 > characters. Otherwise it will do a text sort on the lengths. See bug^H^Henhancement request 9910. This has bugged me for some time now. Is there ever a case when you'd want to sort alphabetically by length()? -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From pderocco at ix.netcom.com Wed Sep 24 01:16:14 2014 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 23 Sep 2014 22:16:14 -0700 Subject: Install over previous version Message-ID: There really needs to be a way to install over an old version. I get tired of having to go into Control Panel (Windows) to uninstall the previous one. And since I keep a link to the User Guide on my desktop, I'd rather keep installing into the same old directory, instead of a different one each time. Also, it would be nice if it asked where in the Start Menu to put its link. And whatever I choose should be instead of RunRev, not a prefix to it, since there's no need for a separate folder if it's only got one thing in it. I've also proved to my satisfaction that the choices of which updates to be notified of do not persist after LiveCode is closed and reopened. That's a bug. And I expect someone's already mentioned it, but in case they haven't, I just installed 6.6.3 but Help->About and the title bar say 6.6.2. This is a "stable" release, isn't it? -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From sundown at pacifier.com Wed Sep 24 01:29:58 2014 From: sundown at pacifier.com (JB) Date: Tue, 23 Sep 2014 22:29:58 -0700 Subject: Window expanded Message-ID: <9EB5B5E1-93B4-4341-8649-AA24694AF321@pacifier.com> Is there a way to catch when a Mac user clicks the button at the top left of window to expand and shrink the current window? John Balgenorth From jacque at hyperactivesw.com Wed Sep 24 01:56:27 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Sep 2014 00:56:27 -0500 Subject: Install over previous version In-Reply-To: References: Message-ID: <23291bb5-4906-4143-9609-467a9f3ad55a@email.android.com> I hope it's optional. I routinely keep at least 3 versions at the same time, for different purposes. On September 24, 2014 12:16:14 AM CDT, "Paul D. DeRocco" wrote: >There really needs to be a way to install over an old version. I get >tired >of having to go into Control Panel (Windows) to uninstall the previous >one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pderocco at ix.netcom.com Wed Sep 24 02:04:16 2014 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 23 Sep 2014 23:04:16 -0700 Subject: Install over previous version In-Reply-To: <23291bb5-4906-4143-9609-467a9f3ad55a@email.android.com> References: <23291bb5-4906-4143-9609-467a9f3ad55a@email.android.com> Message-ID: > From: J. Landman Gay > > I hope it's optional. I routinely keep at least 3 versions > at the same time, for different purposes. I agree. You could tell it to overwrite by specifying the same location. That would require that you be able to specify the ENTIRE install path, not just the prefix it applies to the "LiveCode Community x.x.x" that it now insists upon creating. -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From larry at significantplanet.org Wed Sep 24 02:07:38 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 24 Sep 2014 00:07:38 -0600 Subject: variable trouble Message-ID: Hello, I'm using 6.6.3 on Windows XP. This line of code works just fine: put the keys of wgList03 into theseKeys but the following lines of code do NOT work: (where N is 3) -- and yes, it IS a ZERO after wgList put "wgList0" & N into thisVar put the keys of thisVar into theseKeys To me, this is just inexplicable and very frustrating. Any help will be greatly appreciated. Thanks, Larry From scott at tactilemedia.com Wed Sep 24 02:28:03 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 23 Sep 2014 23:28:03 -0700 Subject: variable trouble In-Reply-To: References: Message-ID: Hi Larry: Your situation is very explicable. In your script you're treating "thisVar" as an array, instead of accessing the array that you put into thisVar. You're trying to use one variable to refer to another. If I understand the result you want, one way would be to use the value function, to retrieve the data of the array stored in thisVar: put "wgList0" & N into thisVar put the keys of value(thisVar) into theseKeys Hope this works for you. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/23/14 11:07 PM, "larry at significantplanet.org" wrote: >Hello, > >I'm using 6.6.3 on Windows XP. > >This line of code works just fine: >put the keys of wgList03 into theseKeys > >but the following lines of code do NOT work: (where N is 3) -- and yes, >it IS a ZERO after wgList > >put "wgList0" & N into thisVar > >put the keys of thisVar into theseKeys > >To me, this is just inexplicable and very frustrating. Any help will be >greatly appreciated. > >Thanks, > >Larry >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From t.heaford at btinternet.com Wed Sep 24 02:39:34 2014 From: t.heaford at btinternet.com (Terence Heaford) Date: Wed, 24 Sep 2014 07:39:34 +0100 Subject: RELEASE: LiveCode 7.0 RC 2 In-Reply-To: <7B4CE726-D8F6-478A-9AF7-2EF3F0D2714E@me.com> References: <1C5AA63B-F267-4FA8-ACF3-810EC045F908@livecode.com> <226BD2EE-21BF-4123-B4B6-1CFEE79F5B76@btinternet.com> <7B4CE726-D8F6-478A-9AF7-2EF3F0D2714E@me.com> Message-ID: I know but I could have sworn earlier releases didn?t present like this but I just tried RC1 and it did. All the best Terry On 23 Sep 2014, at 17:46, Peter Bogdanoff wrote: > OS X: System Settings>Security & Privacy>Allow apps downloaded from>Anywhere > > On Sep 22, 2014, at 11:31 AM, Terence Heaford wrote: > >> ?Install LiveCode Community 7.0 (rc 2)? can?t be opened because the identity of the developer cannot be confirmed. >> >> ?Install LiveCode Community 7.0 (rc 2)? is on the disk image ?LiveCodeCommunityInstaller-7_0_0_rc_2-Mac.dmg?. Safari downloaded this disk image today at 19:28 from livecode.com. >> >> >> >> All the best >> >> Terry >> From th.douez at gmail.com Wed Sep 24 02:52:20 2014 From: th.douez at gmail.com (Thierry Douez) Date: Wed, 24 Sep 2014 08:52:20 +0200 Subject: file size In-Reply-To: <082C868F-B90F-41E8-8AE4-98961D8F7246@mail.com> References: <2c6c3452d3f8c3cc19caf09d065acf38@fourthworld.com> <082C868F-B90F-41E8-8AE4-98961D8F7246@mail.com> Message-ID: Dick, thanks for the feedback. I forgot about this: > ... urlEncode encodes the space as +, ... Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From toolbook at kestner.de Wed Sep 24 02:59:27 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 24 Sep 2014 08:59:27 +0200 Subject: AW: If your stack uses QT... In-Reply-To: <5421ACA3.5090902@hyperactivesw.com> References: <5421ACA3.5090902@hyperactivesw.com> Message-ID: <001801cfd7c5$1600e400$4202ac00$@de> Thanks for the info Jacqueline. Btw. has anybody heard anything about the progress of the QT replacement in LC? It was one of the extended kickstarter contents. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von J. Landman Gay > Gesendet: Dienstag, 23. September 2014 19:24 > An: LiveCode Mailing List > Betreff: If your stack uses QT... > > Just a heads up in case your project depends on QuickTime like mine does. The > new default in LC 7 is not to set QT to load automatically as it used to do. > The reason makes sense to me: QT is now deprecated and apps that use it will > no longer be accepted into the App Store. I was thrown off because suddenly my > project did not work when I tested in 7.0, and it turns out that dontUseQT is > now set to true by default in the IDE. > > The fix is easy, you can just set dontUseQT to false somewhere in your > scripts, or turn the preference back on in the IDE. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Wed Sep 24 03:09:32 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 24 Sep 2014 01:09:32 -0600 Subject: variable trouble References: Message-ID: <00F07F8EBC13442297E8C6BFD5333D12@userd204a4d61c> Hi Scott, I meant to say "inexplicable to me." Your solution works great. However, I cannot figure out the next part: I want to put the value of thisKey into a variable when it matches. So I tried a few iterations of: put value(thisVar[thisKey]) & space after newVar but could not get anything to work - with the parenthesis in different places. Do you know the syntax for adding the bracketed thisKey ?? Thanks, Larry ----- Original Message ----- From: "Scott Rossi" To: "LiveCode Mail List" Sent: Wednesday, September 24, 2014 12:28 AM Subject: Re: variable trouble > Hi Larry: > > Your situation is very explicable. In your script you're treating > "thisVar" as an array, instead of accessing the array that you put into > thisVar. You're trying to use one variable to refer to another. > > If I understand the result you want, one way would be to use the value > function, to retrieve the data of the array stored in thisVar: > > put "wgList0" & N into thisVar > > put the keys of value(thisVar) into theseKeys > > > Hope this works for you. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 9/23/14 11:07 PM, "larry at significantplanet.org" > wrote: > >>Hello, >> >>I'm using 6.6.3 on Windows XP. >> >>This line of code works just fine: >>put the keys of wgList03 into theseKeys >> >>but the following lines of code do NOT work: (where N is 3) -- and yes, >>it IS a ZERO after wgList >> >>put "wgList0" & N into thisVar >> >>put the keys of thisVar into theseKeys >> >>To me, this is just inexplicable and very frustrating. Any help will be >>greatly appreciated. >> >>Thanks, >> >>Larry >>_______________________________________________ >>use-livecode mailing list >>use-livecode at lists.runrev.com >>Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >>http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Wed Sep 24 03:20:46 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 24 Sep 2014 01:20:46 -0600 Subject: P.S. on searching for chars within a string References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> Message-ID: Hi Craig, Thanks for the tip. I am using a for each loop and have run some benchmark time tests. I am able to find (match) the words I want in about 1/7 of the time that it used to take me using a different procedure - and the old way was pretty fast! To find all the smaller words (length of 2 - 7) contained in a 12-ltr word, it used to take 3.46 seconds. Now it only takes 0.56 seconds. (finding 1698 words) And even better, the new way allows for getting the smaller words from a string of, say 30 chars, and it doesn't increase the time much - about 0.85 seconds for searching within 30 chars. With the old way, I couldn't even search on more than 12 chars, because it just took too long. So I learned a lot today! Larry P.S. Yes, I am using arrays. ----- Original Message ----- From: To: Sent: Tuesday, September 23, 2014 9:10 PM Subject: Re: P.S. on searching for chars within a string > Larry. > > > Just read your brute force comment. Not sure how much data you want to > compare, but a loop using the "for each" variant will run an awful lot of > text in an awfully short time. > > > What about that array thing, just for modernity and compactness/ > > > Craig > > > > -----Original Message----- > From: larry > To: use-livecode > Sent: Tue, Sep 23, 2014 8:25 pm > Subject: P.S. on searching for chars within a string > > > Hello again, > > I know how to do it with brute force, but I want to know the FASTEST way > to > find the chars. > > Thanks > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Wed Sep 24 03:52:51 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 24 Sep 2014 00:52:51 -0700 (PDT) Subject: Is there a problem with the On-Rev email server In-Reply-To: References: <1311762111896.20140922221303@ahsoftware.net> Message-ID: <1411545171201-4683682.post@n4.nabble.com> What made the biggest difference for me (using on-rev) was getting a static IP - money well spent! ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Is-there-a-problem-with-the-On-Rev-email-server-tp4683618p4683682.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at applicationinsight.com Wed Sep 24 04:03:53 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 24 Sep 2014 01:03:53 -0700 (PDT) Subject: sort lines by length In-Reply-To: <631841825288.20140923202138@ahsoftware.net> References: <04EC9212-C991-4363-8ED2-1516B647F3A4@major-k.de> <1B0921C6-5817-4891-A036-E05719B77D72@lacscentre.co.uk> <631841825288.20140923202138@ahsoftware.net> Message-ID: <1411545833312-4683683.post@n4.nabble.com> Mark just added my name to your 9910 bug report... Dave (a different Dave - not Dave Cragg but Dave Kilroy...) ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/sort-lines-by-length-tp4683650p4683683.html Sent from the Revolution - User mailing list archive at Nabble.com. From larry at significantplanet.org Wed Sep 24 04:19:17 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 24 Sep 2014 02:19:17 -0600 Subject: sorting question Message-ID: <68C95E69B48149868A0CBBFEA459244A@userd204a4d61c> Hello, I have the following items in a field: AD, AE, AI, AN, AR, AS, AT, DE, DI, DO, EE, EN, ER, ES, ET, IN, IO, IS, IT, NO, NU, OE, OP, OR, OS, OU, PA, PE, PI, ST, TO, UP, UR, UT, DA, EA, ED, ID, NA, NE, OD, OI, ON, PO, RE, SI, SO, TA, TE, TI, UN, US You can see that they are not sorted alphabetically. I have a test button with: on mouseUp sort items of field "myField" end mouseUp However, the order of the items remains unchanged. ???????????? I also tried: sort items of field "myField" text ascending but it didn't make a difference Thanks for the help, Larry From larry at significantplanet.org Wed Sep 24 04:30:34 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 24 Sep 2014 02:30:34 -0600 Subject: sorting question Message-ID: <575E381488AD4490862445FA259BF8D3@userd204a4d61c> Sorry, never mind! Larry From dave.cragg at lacscentre.co.uk Wed Sep 24 04:37:19 2014 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Wed, 24 Sep 2014 09:37:19 +0100 Subject: sort lines by length In-Reply-To: <631841825288.20140923202138@ahsoftware.net> References: <04EC9212-C991-4363-8ED2-1516B647F3A4@major-k.de> <1B0921C6-5817-4891-A036-E05719B77D72@lacscentre.co.uk> <631841825288.20140923202138@ahsoftware.net> Message-ID: On 24 Sep 2014, at 04:21, Mark Wieder wrote: > Dave- > > Tuesday, September 23, 2014, 1:59:39 PM, you wrote: > >> sort lines of fld 1 numeric by length(each) > >> I think "numeric" is needed if the lengths can be over 9 >> characters. Otherwise it will do a text sort on the lengths. > > See bug^H^Henhancement request 9910. This has bugged me for some time > now. Is there ever a case when you'd want to sort alphabetically by > length()? Mark, I have no strong opinion on this. The response to your request made some sense to me, as it would apply only to certain built-in functions that can only return a numeric value. So there would be some inconsistency, and also possible confusion if trying to sort on a custom function that *I know* always returns a numeric value, but the engine doesn't. I guess one case when you might want to sort alphabetically on length() is when demonstrating the behaviour of the sort command. :-) Cheers Dave Cragg From dave at applicationinsight.com Wed Sep 24 04:40:07 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 24 Sep 2014 01:40:07 -0700 (PDT) Subject: sorting question In-Reply-To: <575E381488AD4490862445FA259BF8D3@userd204a4d61c> References: <68C95E69B48149868A0CBBFEA459244A@userd204a4d61c> <575E381488AD4490862445FA259BF8D3@userd204a4d61c> Message-ID: <1411548007970-4683687.post@n4.nabble.com> Sounds like you've sorted it Larry :) For others wondering what the cause was, it was likely that the spaces in each item were confusing things - so if they are removed prior to the sort it all works fine (they can be put back in after...) on mouseUp replace space with empty in fld fldTest sort items of fld fldTest replace comma with ", " in fld fldTest end mouseUp ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/sorting-question-tp4683684p4683687.html Sent from the Revolution - User mailing list archive at Nabble.com. From jemirandav at gmail.com Wed Sep 24 05:04:00 2014 From: jemirandav at gmail.com (Javier Miranda) Date: Wed, 24 Sep 2014 05:04:00 -0400 Subject: Field retrieved from a Mongo document display wrong characters Message-ID: Dear Jacqueline, thank you for your help. In Mongo everything is UTF-8, converting the string returned by the server to UTF-16 worked perfectly. Let me add that I see great potential using LiveCode as a front end to Mongo. Saludos, Javier Miranda V. From larry at significantplanet.org Wed Sep 24 05:04:30 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 24 Sep 2014 03:04:30 -0600 Subject: now a paste question References: <68C95E69B48149868A0CBBFEA459244A@userd204a4d61c><575E381488AD4490862445FA259BF8D3@userd204a4d61c> <1411548007970-4683687.post@n4.nabble.com> Message-ID: <8037CD1D1F8C45B0971FC2D90837B571@userd204a4d61c> Hello Dave, Yes, you guessed it correctly. However I have a new weird thing. I have a large amount of text - over 10,000 5-ltr words. I can copy and paste the entire text with no problem from one txt document to another via the clipboard. But when I try to paste the entire amount into a LC field (either 6.1.1 or 6.6.3) it will not paste in the whole amount. It seems that a couple of years ago someone told me that LC has some weird limitation on how much can be put into a field at one time. Does anyone know anything about that - or why I cannot paste the entire text into a LC field all at once. I can do pieces and keep going until all of it is in the field. Thanks, Larry ----- Original Message ----- From: "Dave Kilroy" To: Sent: Wednesday, September 24, 2014 2:40 AM Subject: Re: re: sorting question > Sounds like you've sorted it Larry :) > > For others wondering what the cause was, it was likely that the spaces in > each item were confusing things - so if they are removed prior to the sort > it all works fine (they can be put back in after...) > > on mouseUp > replace space with empty in fld fldTest > sort items of fld fldTest > replace comma with ", " in fld fldTest > end mouseUp > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/sorting-question-tp4683684p4683687.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Wed Sep 24 05:52:01 2014 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 24 Sep 2014 02:52:01 -0700 (PDT) Subject: now a paste question In-Reply-To: <8037CD1D1F8C45B0971FC2D90837B571@userd204a4d61c> References: <68C95E69B48149868A0CBBFEA459244A@userd204a4d61c> <575E381488AD4490862445FA259BF8D3@userd204a4d61c> <1411548007970-4683687.post@n4.nabble.com> <8037CD1D1F8C45B0971FC2D90837B571@userd204a4d61c> Message-ID: <1411552321308-4683690.post@n4.nabble.com> Hi Larry Page 43 of the LC User Guide states the maximum line length of a line in a field is "65,536 characters storage (No more than 32,786 pixels wide for display)" Is your text all in one line by any chance? I haven't heard of a max size for a field but if you are having problems using a field how about using a custom property instead? ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/sorting-question-tp4683684p4683690.html Sent from the Revolution - User mailing list archive at Nabble.com. From larry at significantplanet.org Wed Sep 24 06:25:37 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Wed, 24 Sep 2014 04:25:37 -0600 Subject: now a paste question References: <68C95E69B48149868A0CBBFEA459244A@userd204a4d61c><575E381488AD4490862445FA259BF8D3@userd204a4d61c><1411548007970-4683687.post@n4.nabble.com><8037CD1D1F8C45B0971FC2D90837B571@userd204a4d61c> <1411552321308-4683690.post@n4.nabble.com> Message-ID: <12E304BCBE6C4E22B69936457BB95962@userd204a4d61c> THANKS Dave, I was going crazy trying to figure out the weird behavior. I guess I should have read the user guide! So I just put a return after every entry and, now, no problems! Thanks very much for your help. Larry ----- Original Message ----- From: "Dave Kilroy" To: Sent: Wednesday, September 24, 2014 3:52 AM Subject: Re: now a paste question > Hi Larry > > Page 43 of the LC User Guide states the maximum line length of a line in > a > field is "65,536 characters storage (No more than 32,786 pixels wide for > display)" Is your text all in one line by any chance? > > I haven't heard of a max size for a field but if you are having problems > using a field how about using a custom property instead? > > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/sorting-question-tp4683684p4683690.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Wed Sep 24 06:31:16 2014 From: klaus at major-k.de (Klaus major-k) Date: Wed, 24 Sep 2014 12:31:16 +0200 Subject: sort lines by length In-Reply-To: <1B0921C6-5817-4891-A036-E05719B77D72@lacscentre.co.uk> References: <04EC9212-C991-4363-8ED2-1516B647F3A4@major-k.de> <1B0921C6-5817-4891-A036-E05719B77D72@lacscentre.co.uk> Message-ID: <3E7AA800-8E65-40BA-A62E-F1C57B402EDB@major-k.de> Hi Dave, Am 23.09.2014 um 22:59 schrieb Dave Cragg : > On 23 Sep 2014, at 20:07, Klaus major-k wrote: > >> Hi Larry, >> >> Am 23.09.2014 um 20:53 schrieb : >> >>> Hello, >>> >>> this line doesn't work: >>> sort lines of field "myField" by length of each >>> >>> Can someone please tell me the code for sorting a field by length of line? >> >> this compiles and kinda works, but not as exspected :-/ >> ... >> sort lines of fld 1 by length(each) >> ... > > sort lines of fld 1 numeric by length(each) > I think "numeric" is needed if the lengths can be over 9 characters. Otherwise it will do a text sort on the lengths. oh, well, thanks a lot! :-) > Cheers > Dave Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From williamdesmet at gmail.com Wed Sep 24 06:32:09 2014 From: williamdesmet at gmail.com (William de Smet) Date: Wed, 24 Sep 2014 12:32:09 +0200 Subject: Long en short Touch (how?) Message-ID: Hi there, How do I code a long- and short Touch? Like you see on the iOS keyboard. greetings, William From matthias_livecode_150811 at m-r-d.de Wed Sep 24 08:31:40 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 24 Sep 2014 14:31:40 +0200 Subject: Is there a problem with the On-Rev email server In-Reply-To: <1411545171201-4683682.post@n4.nabble.com> References: <1311762111896.20140922221303@ahsoftware.net> <1411545171201-4683682.post@n4.nabble.com> Message-ID: <76EEA32A-6FD5-4B43-AF47-198E2CC341DA@m-r-d.de> Ah, yes. Forgot to mention that we also use a dedicated ip. It?s really well spent money! Matthias Am 24.09.2014 um 09:52 schrieb Dave Kilroy : > What made the biggest difference for me (using on-rev) was getting a static > IP - money well spent! > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Is-there-a-problem-with-the-On-Rev-email-server-tp4683618p4683682.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From james at thehales.id.au Wed Sep 24 08:58:17 2014 From: james at thehales.id.au (James Hale) Date: Wed, 24 Sep 2014 22:58:17 +1000 Subject: now a paste question Message-ID: Having forgotten the User Guide reference I had come across this limit myself and thought it was a bug (13058). Seems this limit will not be present in LC 7 James > This is a limitation of the 6.x (and earlier!) engines - offsets for the field are limited to 16 bits. > > In the process of re-writing some of the field internals for LiveCode 7, these got converted to 32-bit offsets. There is still a limit but it will be at 2.1 billion codeunits or thereabouts. > > Because of the very extensive changes required, it won't be possible to > back-port this fix to LiveCode 6.x From andrew at ctech.me Wed Sep 24 10:41:16 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 24 Sep 2014 09:41:16 -0500 Subject: Field retrieved from a Mongo document display wrong characters In-Reply-To: References: Message-ID: I agree. The document oriented format is a nice match for livecode arrays. I have used mongodb (from mongolab.com) quite a bit (albiet over an http interface of some kind). I had good experiences with it, save for livecode's blocking url commands causing me some fuss. Regards, Andrew K On Wed, Sep 24, 2014 at 4:04 AM, Javier Miranda wrote: > Dear Jacqueline, thank you for your help. In Mongo everything is UTF-8, > converting the string returned by the server to UTF-16 worked perfectly. > Let me add that I see great potential using LiveCode as a front end to > Mongo. > > Saludos, > > Javier Miranda V. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From ray at linkit.com Wed Sep 24 11:06:12 2014 From: ray at linkit.com (Ray) Date: Wed, 24 Sep 2014 12:06:12 -0300 Subject: ScrollLineIntoView - Datagrids In-Reply-To: References: <1410900551947-4683313.post@n4.nabble.com> <5418C542.7060905@LinkIt.Com> <1410911400566-4683317.post@n4.nabble.com> <5418CDED.5090808@LinkIt.Com> <1410914988126-4683321.post@n4.nabble.com> <5418E676.7030309@LinkIt.Com> Message-ID: <5422DDE4.2020109@LinkIt.Com> Has anybody had any luck with scrollLineIntoView? I'm trying all kinds of variations in syntax of: dispatch "scrollLineIntoView" to group "MyGroup" with 20 but with no results. Is there something else I need to to do prepare for this? From mwieder at ahsoftware.net Wed Sep 24 11:15:45 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Sep 2014 08:15:45 -0700 Subject: sort lines by length In-Reply-To: References: <04EC9212-C991-4363-8ED2-1516B647F3A4@major-k.de> <1B0921C6-5817-4891-A036-E05719B77D72@lacscentre.co.uk> <631841825288.20140923202138@ahsoftware.net> Message-ID: <1501884671754.20140924081545@ahsoftware.net> Dave- Wednesday, September 24, 2014, 1:37:19 AM, you wrote: > I have no strong opinion on this. The response to your request > made some sense to me, as it would apply only to certain built-in > functions that can only return a numeric value. So there would be > some inconsistency, and also possible confusion if trying to sort on > a custom function that *I know* always returns a numeric value, but > the engine doesn't. The bug report response makes *some* sense to me as well. But it's a frequent source of confusion. The pedantic approach of specifying a numeric sort works, of course, and it makes sense in hindsight. But it should still be possible to tweak the sort routine so that if the value being presented is a number it would force a numeric sort unless specified otherwise in the command. > I guess one case when you might want to sort alphabetically on > length() is when demonstrating the behaviour of the sort command. :-) LOL. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From paulhibbert at mac.com Wed Sep 24 11:43:48 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 24 Sep 2014 08:43:48 -0700 Subject: Window expanded In-Reply-To: <9EB5B5E1-93B4-4341-8649-AA24694AF321@pacifier.com> References: <9EB5B5E1-93B4-4341-8649-AA24694AF321@pacifier.com> Message-ID: John, If you open the Development > Message Watcher you will see several 'ResizeStack' and 'MoveStack' messages are sent by the card when you click the button, maybe you can use these. Paul On Sep 23, 2014, at 10:29 PM, JB wrote: > Is there a way to catch when a Mac user clicks > the button at the top left of window to expand > and shrink the current window? > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Wed Sep 24 12:07:00 2014 From: sundown at pacifier.com (JB) Date: Wed, 24 Sep 2014 09:07:00 -0700 Subject: Window expanded In-Reply-To: References: <9EB5B5E1-93B4-4341-8649-AA24694AF321@pacifier.com> Message-ID: Hi Paul, Thank you! That should do it. Amazing enough I never use the message watcher and did not even think about it. John Balgenorth On Sep 24, 2014, at 8:43 AM, Paul Hibbert wrote: > John, > > If you open the Development > Message Watcher you will see several 'ResizeStack' and 'MoveStack' messages are sent by the card when you click the button, maybe you can use these. > > Paul > > On Sep 23, 2014, at 10:29 PM, JB wrote: > >> Is there a way to catch when a Mac user clicks >> the button at the top left of window to expand >> and shrink the current window? >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Wed Sep 24 12:30:09 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Sep 2014 11:30:09 -0500 Subject: P.S. on searching for chars within a string In-Reply-To: References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> Message-ID: <5422F191.9080800@hyperactivesw.com> On 9/24/2014, 2:20 AM, larry at significantplanet.org wrote: > I am using a for each loop and have run some benchmark time tests. I am > able to find (match) the words I want in about 1/7 of the time that it > used to take me using a different procedure - and the old way was pretty > fast! To find all the smaller words (length of 2 - 7) contained in a > 12-ltr word, it used to take 3.46 seconds. Now it only takes 0.56 seconds. Yesterday I tinkered with this: function getMatch pString,pSource put len(pSource) into tSourceLength repeat for each char c in pString delete char offset(c,pSource) of pSource end repeat return len(pSource) = tSourceLength - len(pString) end getMatch It may or may not be faster than your current method. On my Mac it can do 10,000 lookups in about 350 milliseconds. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Wed Sep 24 13:10:57 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 24 Sep 2014 10:10:57 -0700 Subject: If your stack uses QT... In-Reply-To: <001801cfd7c5$1600e400$4202ac00$@de> References: <5421ACA3.5090902@hyperactivesw.com> <001801cfd7c5$1600e400$4202ac00$@de> Message-ID: On Sep 23, 2014, at 11:59 PM, Tiemo Hollmann TB wrote: > Thanks for the info Jacqueline. > Btw. has anybody heard anything about the progress of the QT replacement in > LC? It was one of the extended kickstarter contents. > Tiemo 6.7 and 7.0 are using AVFoundation for video playback on Macs. We can now play video content smoothly again provide the alwaysBuffer on the player is set to false. Our stacks worked without any modifications. Best regards, Mark Talluto livecloud.io canelasoftware.com From jacque at hyperactivesw.com Wed Sep 24 13:30:20 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 24 Sep 2014 12:30:20 -0500 Subject: If your stack uses QT... In-Reply-To: References: <5421ACA3.5090902@hyperactivesw.com> <001801cfd7c5$1600e400$4202ac00$@de> Message-ID: <5422FFAC.3030807@hyperactivesw.com> On 9/24/2014, 12:10 PM, Mark Talluto wrote: > 6.7 and 7.0 are using AVFoundation for video playback on Macs. We can > now play video content smoothly again provide the alwaysBuffer on the > player is set to false. Our stacks worked without any modifications. Do you know how it works on Windows? We're currently requiring QT for Windows because we need to play m4a files, and Windows doesn't ship with that codec. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Wed Sep 24 13:32:35 2014 From: klaus at major-k.de (Klaus major-k) Date: Wed, 24 Sep 2014 19:32:35 +0200 Subject: If your stack uses QT... In-Reply-To: <5422FFAC.3030807@hyperactivesw.com> References: <5421ACA3.5090902@hyperactivesw.com> <001801cfd7c5$1600e400$4202ac00$@de> <5422FFAC.3030807@hyperactivesw.com> Message-ID: <4519BCFD-079C-4194-A88D-4AA37ADAF270@major-k.de> Hi Jaqueline, Am 24.09.2014 um 19:30 schrieb J. Landman Gay : > On 9/24/2014, 12:10 PM, Mark Talluto wrote: >> 6.7 and 7.0 are using AVFoundation for video playback on Macs. We can >> now play video content smoothly again provide the alwaysBuffer on the >> player is set to false. Our stacks worked without any modifications. > > Do you know how it works on Windows? We're currently requiring QT for Windows because we need to play m4a files, and Windows doesn't ship with that codec. no word from RunRev about Windows, so I think nothing has changed here and QuickTime is still required :-/ > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Wed Sep 24 13:40:15 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 24 Sep 2014 20:40:15 +0300 Subject: [OT] Grendel Message-ID: <542301FF.3000301@gmail.com> http://andregarzia.on-rev.com/richmond/LANGTOOLS.html Proud to announce the first release of my GRENDEL [currently a FREE version as the Anglo-Saxon interface is the only one that has been implemented]: available of Windows [XP, Vista, 7], Macintosh [PPC and Intel], and Linux. Developed with LiveCode. Richmond. From paulhibbert at mac.com Wed Sep 24 14:45:05 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 24 Sep 2014 11:45:05 -0700 Subject: [OT] Grendel In-Reply-To: <542301FF.3000301@gmail.com> References: <542301FF.3000301@gmail.com> Message-ID: Congratulations, the site looks good, but one thing you need to be aware of is that the three "Buy Now" buttons near the bottom of the page are missing, I'm just seeing white box outlines with question marks in them. Paul On Sep 24, 2014, at 10:40 AM, Richmond wrote: > http://andregarzia.on-rev.com/richmond/LANGTOOLS.html > > Proud to announce the first release of my GRENDEL [currently a FREE version as the Anglo-Saxon interface is the only one that has been implemented]: available of Windows [XP, Vista, 7], Macintosh [PPC and Intel], and Linux. > > Developed with LiveCode. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Sep 24 15:02:43 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 24 Sep 2014 22:02:43 +0300 Subject: [OT] Grendel In-Reply-To: References: <542301FF.3000301@gmail.com> Message-ID: <54231553.8020209@gmail.com> On 24/09/14 21:45, Paul Hibbert wrote: > Congratulations, the site looks good, but one thing you need to be aware of is that the three "Buy Now" buttons near the bottom of the page are missing, I'm just seeing white box outlines with question marks in them. Thanks. The buy buttons need to be removed: just too busy right now :) > > Paul > > On Sep 24, 2014, at 10:40 AM, Richmond wrote: > >> http://andregarzia.on-rev.com/richmond/LANGTOOLS.html >> >> Proud to announce the first release of my GRENDEL [currently a FREE version as the Anglo-Saxon interface is the only one that has been implemented]: available of Windows [XP, Vista, 7], Macintosh [PPC and Intel], and Linux. >> >> Developed with LiveCode. >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Sep 24 15:06:54 2014 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 24 Sep 2014 22:06:54 +0300 Subject: MacUpdate doesn't like Grendel Message-ID: <5423164E.2040100@gmail.com> Am I right in thinking a standalone compiled with LiveCode 4.5 for MacIntel will NOT run on Mac OS 10.9? Here's what the Mac Update people sent me: 9/24/14 1:31:05.181 PM Installer[67663]: >>>>>>>>>>>>>>>> [AppInfo getTriggerVal] == download 9/24/14 1:31:06.466 PM com.apple.launchd.peruser.501[270]: (com..grendel.636448[67664]) Job failed to exec(3) for weird reason: 13 9/24/14 1:31:06.468 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.473 PM Dock[296]: no information back from LS about running process LSASN:{hi=0x0;lo=0x6cc6cc} 9/24/14 1:31:06.479 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.490 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.501 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.512 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.524 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.534 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.545 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.556 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.567 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.578 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.589 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.600 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.610 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.622 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.633 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.643 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.654 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.665 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.676 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.686 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.696 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.707 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.719 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.729 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.740 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start 9/24/14 1:31:06.751 PM Finder[299]: 8837325: Attempting to SIGCONT to pid #67664 failed, with errno=#3, or the process failed to actually start Richmond. From bogdanoff at me.com Wed Sep 24 15:50:15 2014 From: bogdanoff at me.com (Peter Bogdanoff) Date: Wed, 24 Sep 2014 12:50:15 -0700 Subject: RELEASE: LiveCode 7.0 RC 2 In-Reply-To: References: <1C5AA63B-F267-4FA8-ACF3-810EC045F908@livecode.com> <226BD2EE-21BF-4123-B4B6-1CFEE79F5B76@btinternet.com> <7B4CE726-D8F6-478A-9AF7-2EF3F0D2714E@me.com> Message-ID: <692586D2-2566-43DA-ADE9-9FBB20F4AE9A@me.com> It's an OS X security thing; you must of upgraded to Mavericks. Peter On Sep 23, 2014, at 11:39 PM, Terence Heaford wrote: > I know but I could have sworn earlier releases didn?t present like this but I just tried RC1 and it did. > > All the best > > Terry > > > > On 23 Sep 2014, at 17:46, Peter Bogdanoff wrote: > >> OS X: System Settings>Security & Privacy>Allow apps downloaded from>Anywhere >> >> On Sep 22, 2014, at 11:31 AM, Terence Heaford wrote: >> >>> ?Install LiveCode Community 7.0 (rc 2)? can?t be opened because the identity of the developer cannot be confirmed. >>> >>> ?Install LiveCode Community 7.0 (rc 2)? is on the disk image ?LiveCodeCommunityInstaller-7_0_0_rc_2-Mac.dmg?. Safari downloaded this disk image today at 19:28 from livecode.com. >>> >>> >>> >>> All the best >>> >>> Terry >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Wed Sep 24 17:03:16 2014 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 24 Sep 2014 17:03:16 -0400 Subject: P.S. on searching for chars within a string In-Reply-To: <5422F191.9080800@hyperactivesw.com> References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> Message-ID: <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> Very creative approach. I like it. -= Mike On Sep 24, 2014, at 12:30 PM, J. Landman Gay wrote: > Jacqueline From paulhibbert at mac.com Wed Sep 24 18:30:10 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 24 Sep 2014 15:30:10 -0700 Subject: MacUpdate doesn't like Grendel In-Reply-To: <5423164E.2040100@gmail.com> References: <5423164E.2040100@gmail.com> Message-ID: I just downloaded and tried LC 4.5.3 that's as far back as I can go. I created a small test stack and compiled a standalone and it worked just fine, but then it was built using LC 4.5.3 running on OS X 10.9.5, not sure if that would make a difference. I tried downloading your Grendel app and it refuses to launch on my iMac running OS X 10.9.5, didn't see any error though, it just dies silently, it doesn't even get as far as showing it's icon in the dock. Paul On Sep 24, 2014, at 12:06 PM, Richmond wrote: > Am I right in thinking a standalone compiled with LiveCode 4.5 for MacIntel will NOT run > on Mac OS 10.9? From paulhibbert at mac.com Wed Sep 24 18:45:43 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 24 Sep 2014 15:45:43 -0700 Subject: MacUpdate doesn't like Grendel In-Reply-To: References: <5423164E.2040100@gmail.com> Message-ID: Just tested on Mac OS X 10.8.5 and Grendel works fine so it is a Mavericks issue. Paul On Sep 24, 2014, at 3:30 PM, Paul Hibbert wrote: > I just downloaded and tried LC 4.5.3 that's as far back as I can go. I created a small test stack and compiled a standalone and it worked just fine, but then it was built using LC 4.5.3 running on OS X 10.9.5, not sure if that would make a difference. > > I tried downloading your Grendel app and it refuses to launch on my iMac running OS X 10.9.5, didn't see any error though, it just dies silently, it doesn't even get as far as showing it's icon in the dock. > > Paul > > > On Sep 24, 2014, at 12:06 PM, Richmond wrote: > >> Am I right in thinking a standalone compiled with LiveCode 4.5 for MacIntel will NOT run >> on Mac OS 10.9? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Sep 24 18:46:35 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 24 Sep 2014 15:46:35 -0700 Subject: Behaviors Message-ID: I'm working with lots of controls that have behaviors. The behavior buttons are all in a library stack. All works fine most of the time but every now and again, none of the behavior scripts are executed (as verified with breakpoints at the start of them). The message box shows the library stack is still in use and the behavior properties all look valid I can't pin down exactly what causes this but I think that editing a lot of the behavior scripts might cause this, but I'm pretty sure that shouldn't happen. When it happens, the only way to get the behaviors to work again is to quit LC and run again. Anyone else's applications' guilty of bad behavior like this and if so is there a way to correct their behavior? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From scott at tactilemedia.com Wed Sep 24 19:01:23 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Sep 2014 16:01:23 -0700 Subject: LiveCode to Facebook? Message-ID: Hi List: Anyone know if it's possible on mobile to launch the local Facebook app from a LiveCode standalone? I'm using Monte Goulding's mergSocial external for FB posting which works fine, as long as the user is signed into Facebook via their iOS settings. If they're not signed in, posting on Facebook is not available. This makes sense, but is also a limitation for the user, since their native FB app continues to operate as expected. I'm hoping to provide a second FB posting alternative for users by offering to launch the native FB app if mergSocial is unable to connect to the service. Is this possible? Does anyone know if/how this usability issue is handled in other apps? Thanks for suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From scott at tactilemedia.com Wed Sep 24 19:08:16 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Sep 2014 16:08:16 -0700 Subject: Behaviors In-Reply-To: References: Message-ID: Hi Pete: Not sure if this is true in your case, but one reason why this can sometimes happen is if, for whatever reason, a control that has a behavior assigned to it gets opened before is associated behavior is present in memory. You might check if there is any delay occurring when launching the library stack. You can usually get around this without exiting LiveCode by using a script to set a control's behavior to the same behavior reference. You can also try setting the control's behavior to empty first. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/24/14 3:46 PM, "Peter Haworth" wrote: >I'm working with lots of controls that have behaviors. The behavior >buttons are all in a library stack. All works fine most of the time but >every now and again, none of the behavior scripts are executed (as >verified >with breakpoints at the start of them). The message box shows the library >stack is still in use and the behavior properties all look valid > >I can't pin down exactly what causes this but I think that editing a lot >of >the behavior scripts might cause this, but I'm pretty sure that shouldn't >happen. When it happens, the only way to get the behaviors to work again >is >to quit LC and run again. > >Anyone else's applications' guilty of bad behavior like this and if so is >there a way to correct their behavior? > >Pete >lcSQL Software >Home of lcStackBrowser and >SQLiteAdmin >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Wed Sep 24 19:10:07 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 25 Sep 2014 01:10:07 +0200 Subject: LiveCode to Facebook? In-Reply-To: References: Message-ID: <6AEE4F38-F612-4808-B11E-CF4C2660F23C@m-r-d.de> Scott, try LAUNCH URL "fb://..." in LC? I just tried in Safari on iOS and it opened the app. In my case i saw the login dialog after the fb app opened. Regards, Matthias Am 25.09.2014 um 01:01 schrieb Scott Rossi : > Hi List: > > Anyone know if it's possible on mobile to launch the local Facebook app > from a LiveCode standalone? > > I'm using Monte Goulding's mergSocial external for FB posting which works > fine, as long as the user is signed into Facebook via their iOS settings. > If they're not signed in, posting on Facebook is not available. This > makes sense, but is also a limitation for the user, since their native FB > app continues to operate as expected. > > I'm hoping to provide a second FB posting alternative for users by > offering to launch the native FB app if mergSocial is unable to connect to > the service. Is this possible? Does anyone know if/how this usability > issue is handled in other apps? > > Thanks for suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Sep 24 19:11:13 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 24 Sep 2014 16:11:13 -0700 Subject: Behaviors In-Reply-To: References: Message-ID: <54234F91.10707@fourthworld.com> Peter Haworth wrote: > Anyone else's applications' guilty of bad behavior like this and if so is > there a way to correct their behavior? May be relevant: Behavior resolution is too strict and is confusing http://quality.runrev.com/show_bug.cgi?id=8993 The only workaround I've used is to walk through all objects, setting their behavior property to the value of their behavior property. Yes, silly, but it works. It's like behaviors need a kick start under certain circumstances. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From sc at sahores-conseil.com Wed Sep 24 19:20:28 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 25 Sep 2014 01:20:28 +0200 Subject: LiveCode to Facebook? In-Reply-To: References: Message-ID: <38AD8A96-091B-4291-A272-D701CD8ED067@sahores-conseil.com> Hi Scott, Here is the way it goes on one of my project on the way to be published along october : on module_socialshare if url MIAS is "" then answer tolocalisation("D?sol?. Vos r?seaux sociaux ne sont accessibles qu'en mode connect?.") exit module_socialshare end if get myCustomBusyIndicatorStart("","gray") local mesResauxSociaux,mySelection,mTitle,mSummary,mURL,mImage,pageToGo,tproducts_scan,tsharedproduct,tproducts_url,tsharedproduct_image if the platform is "iphone" then answer tolocalisation("S?lection du r?seau social :") with "Facebook" or "Google+" or "Pinterest" or "Twitter" or tolocalisation("Annuler") if it is tolocalisation("Annuler") then ### answer tolocalisation("Op?ration annul?e ? votre demande.") exit module_socialshare else put it into mySelection else put "Facebook" & return & "Google+" & return & "Pinterest" & return & "Twitter" into mesResauxSociaux # put "Facebook" & return & "Google+" & return & "Pinterest" & return & "Twitter" & return & "@Mail" into mesResauxSociaux mobilePick mesResauxSociaux, 1, "cancelDone" if the result is "0" then ### answer tolocalisation("Op?ration annul?e ? votre demande.") exit module_socialshare else put line (the result) of mesResauxSociaux into mySelection end if if mySelection is "@Mail" then myCustomBusyIndicatorStop socialshare_mail else put url ("http://ecows.widestep.fr/" & gAppVars["MobileAppName"] & "_" & gAppVars["activecatalog"] & "/") into tproducts_scan put lineoffset("'>" & trim(line 2 of fld "page_title") & "", tproducts_scan) into tsharedproduct put lineoffset("alt=" & setquote(trim(line 2 of fld "page_title")), tproducts_scan) into tsharedproduct_image if tsharedproduct > 0 then set itemdel to "/" put "http://ecows.widestep.fr/" & item 2 to 6 of line tsharedproduct of tproducts_scan & "/" into tproducts_url set itemdel to quote put "http://ecows.widestep.fr/" & item 4 of line tsharedproduct_image of tproducts_scan into tsharedproduct_image if mySelection is "Facebook" then put "https://www.facebook.com/sharer/sharer.php?u=" & \ tproducts_url & \ "&title="& \ urlencode(trim(line 2 of fld "page_title")) & \ "&desc="& \ urlencode("So high end, my Redskins...") into pageToGo else if mySelection is "Google+" then put "https://plus.google.com/share?url=" & tproducts_url & \ "&title="& \ urlencode(trim(line 2 of fld "page_title")) & \ "&content=" & \ urlencode("So high end, my Redskins...") into pageToGo else if mySelection is "Pinterest" then put "http://pinterest.com/pin/create/button/?url=" & \ tproducts_url & \ "&description="& \ urlencode("So high end, my Redskins...") & \ "&media=" & \ tsharedproduct_image into pageToGo else if mySelection is "Twitter" then put "https://twitter.com/intent/tweet?text=" & \ urlencode("So high end, my Redskins...") & \ "&url=" & \ tproducts_url into pageToGo end if mobileControlSet "MySocialShare", "url", pageToGo mobileControlSet "MySocialShare", "visible", true else myCustomBusyIndicatorStop answer tolocalisation("Oops. R?f?rence produit erron?e. Partage du mod?le s?lectionn? sur les r?seaux sociaux impossible.") end if end if myCustomBusyIndicatorStop end module_socialshare Best, Pierre Le 25 sept. 2014 ? 01:01, Scott Rossi a ?crit : > Hi List: > > Anyone know if it's possible on mobile to launch the local Facebook app > from a LiveCode standalone? > > I'm using Monte Goulding's mergSocial external for FB posting which works > fine, as long as the user is signed into Facebook via their iOS settings. > If they're not signed in, posting on Facebook is not available. This > makes sense, but is also a limitation for the user, since their native FB > app continues to operate as expected. > > I'm hoping to provide a second FB posting alternative for users by > offering to launch the native FB app if mergSocial is unable to connect to > the service. Is this possible? Does anyone know if/how this usability > issue is handled in other apps? > > Thanks for suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From ray at linkit.com Wed Sep 24 19:29:39 2014 From: ray at linkit.com (Ray) Date: Wed, 24 Sep 2014 20:29:39 -0300 Subject: Scroll Line Into View in a Datagrid In-Reply-To: <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> Message-ID: <542353E3.6090509@LinkIt.Com> Has anybody had any luck with scrollLineIntoView? I'm trying all kinds of variations in syntax of: dispatch "scrollLineIntoView" to group "MyGroup" with 20 but with no results and nothing in 'the result' Is there something else I need to to do prepare for this? ____________________________________________________________ Note: I'm not sure if this got posted earlier. I can never get that "receive your own posts" subscription option to work so please excuse me if this was already posted. From scott at tactilemedia.com Wed Sep 24 19:34:58 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Sep 2014 16:34:58 -0700 Subject: LiveCode to Facebook? In-Reply-To: <6AEE4F38-F612-4808-B11E-CF4C2660F23C@m-r-d.de> References: <6AEE4F38-F612-4808-B11E-CF4C2660F23C@m-r-d.de> Message-ID: Matthias thank you very much -- this seems to work great, and so simple. :-) Hopefully, this will provide a good workaround when direct FB posting is not possible. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/24/14 4:10 PM, "Matthias Rebbe | M-R-D" wrote: >Scott, > >try LAUNCH URL "fb://..." in LC? >I just tried in Safari on iOS and it opened the app. In my case i saw >the login dialog after the fb app opened. > >Regards, > >Matthias > > >Am 25.09.2014 um 01:01 schrieb Scott Rossi : > >> Hi List: >> >> Anyone know if it's possible on mobile to launch the local Facebook app >> from a LiveCode standalone? >> >> I'm using Monte Goulding's mergSocial external for FB posting which >>works >> fine, as long as the user is signed into Facebook via their iOS >>settings. >> If they're not signed in, posting on Facebook is not available. This >> makes sense, but is also a limitation for the user, since their native >>FB >> app continues to operate as expected. >> >> I'm hoping to provide a second FB posting alternative for users by >> offering to launch the native FB app if mergSocial is unable to connect >>to >> the service. Is this possible? Does anyone know if/how this usability >> issue is handled in other apps? >> >> Thanks for suggestions. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Sep 24 19:37:19 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 24 Sep 2014 16:37:19 -0700 Subject: LiveCode to Facebook? In-Reply-To: <38AD8A96-091B-4291-A272-D701CD8ED067@sahores-conseil.com> References: <38AD8A96-091B-4291-A272-D701CD8ED067@sahores-conseil.com> Message-ID: Thanks Pierre. A question -- I'm not following all the code entirely below, but does your routine launch the local applications on the device or the web sites of these services in a browser? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/24/14 4:20 PM, "Pierre Sahores" wrote: >Hi Scott, > >Here is the way it goes on one of my project on the way to be published >along october : > >on module_socialshare > > if url MIAS is "" then > answer tolocalisation("D?sol?. Vos r?seaux sociaux ne sont >accessibles qu'en mode connect?.") > exit module_socialshare > end if > > get myCustomBusyIndicatorStart("","gray") > > local >mesResauxSociaux,mySelection,mTitle,mSummary,mURL,mImage,pageToGo,tproduct >s_scan,tsharedproduct,tproducts_url,tsharedproduct_image > > if the platform is "iphone" then > answer tolocalisation("S?lection du r?seau social :") with >"Facebook" or "Google+" or "Pinterest" or "Twitter" or >tolocalisation("Annuler") > if it is tolocalisation("Annuler") then > ### answer tolocalisation("Op?ration annul?e ? votre demande.") > exit module_socialshare > else put it into mySelection > else > put "Facebook" & return & "Google+" & return & "Pinterest" & >return & "Twitter" into mesResauxSociaux > # put "Facebook" & return & "Google+" & return & "Pinterest" & >return & "Twitter" & return & "@Mail" into mesResauxSociaux > mobilePick mesResauxSociaux, 1, "cancelDone" > if the result is "0" then > ### answer tolocalisation("Op?ration annul?e ? votre demande.") > exit module_socialshare > else put line (the result) of mesResauxSociaux into mySelection > end if > > if mySelection is "@Mail" then > > myCustomBusyIndicatorStop > socialshare_mail > > else > > put url ("http://ecows.widestep.fr/" & gAppVars["MobileAppName"] & >"_" & gAppVars["activecatalog"] & "/") into tproducts_scan > put lineoffset("'>" & trim(line 2 of fld "page_title") & >"", tproducts_scan) into tsharedproduct > put lineoffset("alt=" & setquote(trim(line 2 of fld "page_title")), >tproducts_scan) into tsharedproduct_image > > if tsharedproduct > 0 then > > set itemdel to "/" > put "http://ecows.widestep.fr/" & item 2 to 6 of line >tsharedproduct of tproducts_scan & "/" into tproducts_url > set itemdel to quote > put "http://ecows.widestep.fr/" & item 4 of line >tsharedproduct_image of tproducts_scan into tsharedproduct_image > > if mySelection is "Facebook" then > > put "https://www.facebook.com/sharer/sharer.php?u=" & \ > tproducts_url & \ > "&title="& \ > urlencode(trim(line 2 of fld "page_title")) & \ > "&desc="& \ > urlencode("So high end, my Redskins...") into pageToGo > > else if mySelection is "Google+" then > > put "https://plus.google.com/share?url=" & tproducts_url & \ > "&title="& \ > urlencode(trim(line 2 of fld "page_title")) & \ > "&content=" & \ > urlencode("So high end, my Redskins...") into pageToGo > > else if mySelection is "Pinterest" then > > put "http://pinterest.com/pin/create/button/?url=" & \ > tproducts_url & \ > "&description="& \ > urlencode("So high end, my Redskins...") & \ > "&media=" & \ > tsharedproduct_image into pageToGo > > else if mySelection is "Twitter" then > > put "https://twitter.com/intent/tweet?text=" & \ > urlencode("So high end, my Redskins...") & \ > "&url=" & \ > tproducts_url into pageToGo > > end if > > mobileControlSet "MySocialShare", "url", pageToGo > mobileControlSet "MySocialShare", "visible", true > > else > > myCustomBusyIndicatorStop > answer tolocalisation("Oops. R?f?rence produit erron?e. Partage >du mod?le s?lectionn? sur les r?seaux sociaux impossible.") > > end if > > end if > > myCustomBusyIndicatorStop > >end module_socialshare > >Best, > >Pierre > >Le 25 sept. 2014 ? 01:01, Scott Rossi a ?crit : > >> Hi List: >> >> Anyone know if it's possible on mobile to launch the local Facebook app >> from a LiveCode standalone? >> >> I'm using Monte Goulding's mergSocial external for FB posting which >>works >> fine, as long as the user is signed into Facebook via their iOS >>settings. >> If they're not signed in, posting on Facebook is not available. This >> makes sense, but is also a limitation for the user, since their native >>FB >> app continues to operate as expected. >> >> I'm hoping to provide a second FB posting alternative for users by >> offering to launch the native FB app if mergSocial is unable to connect >>to >> the service. Is this possible? Does anyone know if/how this usability >> issue is handled in other apps? >> >> Thanks for suggestions. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > >-- >Pierre Sahores >mobile : 06 03 95 77 70 >www.sahores-conseil.com > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Sep 24 20:06:59 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 24 Sep 2014 17:06:59 -0700 Subject: Behaviors In-Reply-To: References: Message-ID: Thanks Scott. I've come across that situation before but this is different. The behaviors all work fine when the stack is first opened, Then, after some time using the stack and adding new controls which refer to the behaviors, the behaviors suddenly stop being resolved. I'd file a QCC report but I don't have a reliable recipe to reproduce the problem. I recall seeing a post a while back suggesting it would be good to have a method of re-connecting behaviors when things like this happen. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 24, 2014 at 4:08 PM, Scott Rossi wrote: > Hi Pete: > > Not sure if this is true in your case, but one reason why this can > sometimes happen is if, for whatever reason, a control that has a behavior > assigned to it gets opened before is associated behavior is present in > memory. You might check if there is any delay occurring when launching > the library stack. > > You can usually get around this without exiting LiveCode by using a script > to set a control's behavior to the same behavior reference. You can also > try setting the control's behavior to empty first. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 9/24/14 3:46 PM, "Peter Haworth" wrote: > > >I'm working with lots of controls that have behaviors. The behavior > >buttons are all in a library stack. All works fine most of the time but > >every now and again, none of the behavior scripts are executed (as > >verified > >with breakpoints at the start of them). The message box shows the library > >stack is still in use and the behavior properties all look valid > > > >I can't pin down exactly what causes this but I think that editing a lot > >of > >the behavior scripts might cause this, but I'm pretty sure that shouldn't > >happen. When it happens, the only way to get the behaviors to work again > >is > >to quit LC and run again. > > > >Anyone else's applications' guilty of bad behavior like this and if so is > >there a way to correct their behavior? > > > >Pete > >lcSQL Software > >Home of lcStackBrowser and > >SQLiteAdmin > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Sep 24 20:16:33 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 24 Sep 2014 17:16:33 -0700 Subject: Behaviors In-Reply-To: <54234F91.10707@fourthworld.com> References: <54234F91.10707@fourthworld.com> Message-ID: Hi Richard, Our posts crossed, thanks for the QCC reference. Your QCC report describes a situation very similar to mine - using a library stack to hold the behaviors. However, my behaviors start off behaving themselves and only start misbehaving at some point later in using the stack. I think perhaps the library problem is not biting me because I set up a reference to the library stack in my mainstack's stackFiles property. Maybe that forces the library stack to be opened in time for the behaviors to be resolved? I still issue a "start using" command because the library has a bunch of handlers in it in addition to the behavior buttons. In spite of all that I agree with your QCC report and have added myself to the list of interested folks. Mark's solution seems to be a nice way to resolve it. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 24, 2014 at 4:11 PM, Richard Gaskin wrote: > Peter Haworth wrote: > >> Anyone else's applications' guilty of bad behavior like this and if so is >> there a way to correct their behavior? >> > > May be relevant: > > Behavior resolution is too strict and is confusing > http://quality.runrev.com/show_bug.cgi?id=8993 > > The only workaround I've used is to walk through all objects, setting > their behavior property to the value of their behavior property. Yes, > silly, but it works. It's like behaviors need a kick start under certain > circumstances. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Wed Sep 24 20:17:19 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 25 Sep 2014 10:17:19 +1000 Subject: Behaviors In-Reply-To: References: Message-ID: On 25 Sep 2014, at 10:06 am, Peter Haworth wrote: > The behaviors all work fine when the stack is first opened, > Then, after some time using the stack and adding new controls which refer > to the behaviors, the behaviors suddenly stop being resolved. Hmm... behaviors are stored as an id and a stack name. If they are resolved already the only way I can thing they might stop being resolved is if something is changing either of those things about the behavior button. There was at one time an idea to expose a resolveBehaviors command but I think Mark Waddingham had some other ideas he wanted to look at to make it more automatic. It certainly would be lovely to be able to change a stack name without having to set all the behaviors again... Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pete at lcsql.com Wed Sep 24 20:21:07 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 24 Sep 2014 17:21:07 -0700 Subject: Scroll Line Into View in a Datagrid In-Reply-To: <542353E3.6090509@LinkIt.Com> References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> <542353E3.6090509@LinkIt.Com> Message-ID: Syntax looks good. Couple of things you've probably already checked - what's in the "it" variable after dispatch (should be "handled"), and are you sure 20 is a valid line number. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: > Has anybody had any luck with scrollLineIntoView? > > I'm trying all kinds of variations in syntax of: > > dispatch "scrollLineIntoView" to group "MyGroup" with 20 > > but with no results and nothing in 'the result' > > Is there something else I need to to do prepare for this? > > ____________________________________________________________ > > Note: I'm not sure if this got posted earlier. I can never get that > "receive your own posts" subscription option to work so please excuse me if > this was already posted. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Wed Sep 24 20:38:11 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Wed, 24 Sep 2014 20:38:11 -0400 Subject: Behaviors In-Reply-To: References: Message-ID: <002d01cfd858$fc1c2ba0$f45482e0$@net> Peter, If this only happens in the IDE it might be related to bug http://quality.runrev.com/show_bug.cgi?id=12508 ???? I couldn't nail this one down until today. I created a recipe for support. Hanson reproduced it in the lab. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Haworth Sent: Wednesday, September 24, 2014 6:47 PM To: How to use LiveCode Subject: Behaviors I'm working with lots of controls that have behaviors. The behavior buttons are all in a library stack. All works fine most of the time but every now and again, none of the behavior scripts are executed (as verified with breakpoints at the start of them). The message box shows the library stack is still in use and the behavior properties all look valid I can't pin down exactly what causes this but I think that editing a lot of the behavior scripts might cause this, but I'm pretty sure that shouldn't happen. When it happens, the only way to get the behaviors to work again is to quit LC and run again. Anyone else's applications' guilty of bad behavior like this and if so is there a way to correct their behavior? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Sep 24 20:51:42 2014 From: ray at linkit.com (Ray) Date: Wed, 24 Sep 2014 21:51:42 -0300 Subject: Scroll Line Into View in a Datagrid In-Reply-To: References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> <542353E3.6090509@LinkIt.Com> Message-ID: <5423671E.4000504@LinkIt.Com> Pete, Thanks for the response. I've checked the it variable and I'm getting "handled" returned, which I assume is good. Regarding the line number, I've definitely got over 20 lines of data in the grid. I do only have one line of data for the first two columns with about 23 lines of data in the third. Do you think that could be the problem? Ray Horsley LinkIt! Software On 9/24/2014 9:21 PM, Peter Haworth wrote: > Syntax looks good. Couple of things you've probably already checked - > what's in the "it" variable after dispatch (should be "handled"), and are > you sure 20 is a valid line number. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: > >> Has anybody had any luck with scrollLineIntoView? >> >> I'm trying all kinds of variations in syntax of: >> >> dispatch "scrollLineIntoView" to group "MyGroup" with 20 >> >> but with no results and nothing in 'the result' >> >> Is there something else I need to to do prepare for this? >> >> ____________________________________________________________ >> >> Note: I'm not sure if this got posted earlier. I can never get that >> "receive your own posts" subscription option to work so please excuse me if >> this was already posted. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Sep 24 20:55:50 2014 From: ray at linkit.com (Ray) Date: Wed, 24 Sep 2014 21:55:50 -0300 Subject: Scroll Line Into View in a Datagrid In-Reply-To: References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> <542353E3.6090509@LinkIt.Com> Message-ID: <54236816.5050701@LinkIt.Com> Pete, One more weird thing. Even using the scroll bar I can only 'jump' to one extreme or the other. That is, when I drag the scroll bar even just a little bit down it immediately 'pops' all the data so the last line in it is at the top of the screen. Is there a way to set some sort of scale so scrolling actually works as expected? On 9/24/2014 9:21 PM, Peter Haworth wrote: > Syntax looks good. Couple of things you've probably already checked - > what's in the "it" variable after dispatch (should be "handled"), and are > you sure 20 is a valid line number. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: > >> Has anybody had any luck with scrollLineIntoView? >> >> I'm trying all kinds of variations in syntax of: >> >> dispatch "scrollLineIntoView" to group "MyGroup" with 20 >> >> but with no results and nothing in 'the result' >> >> Is there something else I need to to do prepare for this? >> >> ____________________________________________________________ >> >> Note: I'm not sure if this got posted earlier. I can never get that >> "receive your own posts" subscription option to work so please excuse me if >> this was already posted. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Wed Sep 24 21:35:20 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 25 Sep 2014 03:35:20 +0200 Subject: LiveCode to Facebook? In-Reply-To: References: <38AD8A96-091B-4291-A272-D701CD8ED067@sahores-conseil.com> Message-ID: Scott, way 2 : the web sites of these services in a mobile browser with this one set in a standard manner : mobileControlCreate "browser", "MySocialShare" mobileControlSet "MySocialShare", "visible", false ### created at preOpenStack time ### mobileControlSet "MySocialShare", "canBounce", false mobileControlSet "MySocialShare", "scrollingEnabled", true mobileControlSet "MySocialShare", "vIndicator", false mobileControlSet "MySocialShare", "hIndicator", false mobileControlSet "MySocialShare", "rect", the rect of grc "browser_rect" of cd 3 works fine on both iOS and Android platforms. Best, Pierre Le 25 sept. 2014 ? 01:37, Scott Rossi a ?crit : > Thanks Pierre. > > A question -- I'm not following all the code entirely below, but does your > routine launch the local applications on the device or the web sites of > these services in a browser? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 9/24/14 4:20 PM, "Pierre Sahores" wrote: > >> Hi Scott, >> >> Here is the way it goes on one of my project on the way to be published >> along october : >> >> on module_socialshare >> >> if url MIAS is "" then >> answer tolocalisation("D?sol?. Vos r?seaux sociaux ne sont >> accessibles qu'en mode connect?.") >> exit module_socialshare >> end if >> >> get myCustomBusyIndicatorStart("","gray") >> >> local >> mesResauxSociaux,mySelection,mTitle,mSummary,mURL,mImage,pageToGo,tproduct >> s_scan,tsharedproduct,tproducts_url,tsharedproduct_image >> >> if the platform is "iphone" then >> answer tolocalisation("S?lection du r?seau social :") with >> "Facebook" or "Google+" or "Pinterest" or "Twitter" or >> tolocalisation("Annuler") >> if it is tolocalisation("Annuler") then >> ### answer tolocalisation("Op?ration annul?e ? votre demande.") >> exit module_socialshare >> else put it into mySelection >> else >> put "Facebook" & return & "Google+" & return & "Pinterest" & >> return & "Twitter" into mesResauxSociaux >> # put "Facebook" & return & "Google+" & return & "Pinterest" & >> return & "Twitter" & return & "@Mail" into mesResauxSociaux >> mobilePick mesResauxSociaux, 1, "cancelDone" >> if the result is "0" then >> ### answer tolocalisation("Op?ration annul?e ? votre demande.") >> exit module_socialshare >> else put line (the result) of mesResauxSociaux into mySelection >> end if >> >> if mySelection is "@Mail" then >> >> myCustomBusyIndicatorStop >> socialshare_mail >> >> else >> >> put url ("http://ecows.widestep.fr/" & gAppVars["MobileAppName"] & >> "_" & gAppVars["activecatalog"] & "/") into tproducts_scan >> put lineoffset("'>" & trim(line 2 of fld "page_title") & >> "", tproducts_scan) into tsharedproduct >> put lineoffset("alt=" & setquote(trim(line 2 of fld "page_title")), >> tproducts_scan) into tsharedproduct_image >> >> if tsharedproduct > 0 then >> >> set itemdel to "/" >> put "http://ecows.widestep.fr/" & item 2 to 6 of line >> tsharedproduct of tproducts_scan & "/" into tproducts_url >> set itemdel to quote >> put "http://ecows.widestep.fr/" & item 4 of line >> tsharedproduct_image of tproducts_scan into tsharedproduct_image >> >> if mySelection is "Facebook" then >> >> put "https://www.facebook.com/sharer/sharer.php?u=" & \ >> tproducts_url & \ >> "&title="& \ >> urlencode(trim(line 2 of fld "page_title")) & \ >> "&desc="& \ >> urlencode("So high end, my Redskins...") into pageToGo >> >> else if mySelection is "Google+" then >> >> put "https://plus.google.com/share?url=" & tproducts_url & \ >> "&title="& \ >> urlencode(trim(line 2 of fld "page_title")) & \ >> "&content=" & \ >> urlencode("So high end, my Redskins...") into pageToGo >> >> else if mySelection is "Pinterest" then >> >> put "http://pinterest.com/pin/create/button/?url=" & \ >> tproducts_url & \ >> "&description="& \ >> urlencode("So high end, my Redskins...") & \ >> "&media=" & \ >> tsharedproduct_image into pageToGo >> >> else if mySelection is "Twitter" then >> >> put "https://twitter.com/intent/tweet?text=" & \ >> urlencode("So high end, my Redskins...") & \ >> "&url=" & \ >> tproducts_url into pageToGo >> >> end if >> >> mobileControlSet "MySocialShare", "url", pageToGo >> mobileControlSet "MySocialShare", "visible", true >> >> else >> >> myCustomBusyIndicatorStop >> answer tolocalisation("Oops. R?f?rence produit erron?e. Partage >> du mod?le s?lectionn? sur les r?seaux sociaux impossible.") >> >> end if >> >> end if >> >> myCustomBusyIndicatorStop >> >> end module_socialshare >> >> Best, >> >> Pierre >> >> Le 25 sept. 2014 ? 01:01, Scott Rossi a ?crit : >> >>> Hi List: >>> >>> Anyone know if it's possible on mobile to launch the local Facebook app >>> from a LiveCode standalone? >>> >>> I'm using Monte Goulding's mergSocial external for FB posting which >>> works >>> fine, as long as the user is signed into Facebook via their iOS >>> settings. >>> If they're not signed in, posting on Facebook is not available. This >>> makes sense, but is also a limitation for the user, since their native >>> FB >>> app continues to operate as expected. >>> >>> I'm hoping to provide a second FB posting alternative for users by >>> offering to launch the native FB app if mergSocial is unable to connect >>> to >>> the service. Is this possible? Does anyone know if/how this usability >>> issue is handled in other apps? >>> >>> Thanks for suggestions. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> -- >> Pierre Sahores >> mobile : 06 03 95 77 70 >> www.sahores-conseil.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From pete at lcsql.com Wed Sep 24 21:49:55 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 24 Sep 2014 18:49:55 -0700 Subject: Scroll Line Into View in a Datagrid In-Reply-To: <5423671E.4000504@LinkIt.Com> References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> <542353E3.6090509@LinkIt.Com> <5423671E.4000504@LinkIt.Com> Message-ID: Hi Ray, So this is a datagrid form, not a table? Have to admit I'm not that familiar with dg forms so not sure what else to suggest, sorry. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: > Pete, > > Thanks for the response. I've checked the it variable and I'm getting > "handled" returned, which I assume is good. Regarding the line number, > I've definitely got over 20 lines of data in the grid. I do only have one > line of data for the first two columns with about 23 lines of data in the > third. Do you think that could be the problem? > > Ray Horsley > LinkIt! Software > > On 9/24/2014 9:21 PM, Peter Haworth wrote: > >> Syntax looks good. Couple of things you've probably already checked - >> what's in the "it" variable after dispatch (should be "handled"), and are >> you sure 20 is a valid line number. >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> >> >> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: >> >> Has anybody had any luck with scrollLineIntoView? >>> >>> I'm trying all kinds of variations in syntax of: >>> >>> dispatch "scrollLineIntoView" to group "MyGroup" with 20 >>> >>> but with no results and nothing in 'the result' >>> >>> Is there something else I need to to do prepare for this? >>> >>> ____________________________________________________________ >>> >>> Note: I'm not sure if this got posted earlier. I can never get that >>> "receive your own posts" subscription option to work so please excuse me >>> if >>> this was already posted. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Sep 24 21:56:49 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 24 Sep 2014 18:56:49 -0700 Subject: Behaviors In-Reply-To: References: Message-ID: Thanks Monte. Richard posted the link to the QCC report for the resolveBehaviors enhancement and Mark's subsequent thoughts on it. I don't think anything about the behaviors is being changed. That's born out by the fact that if I quit LC and re-run with the same stack, everything works again. There's another scenario that might be causing this. I occasionally stop code execution in the midst of stepping through code in debug mode. In the past, I've noticed odd side effects from doing that so maybe this is another one of them. I' ll try to pay more attention to things I do in this stack to help pin it down. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 24, 2014 at 5:17 PM, Monte Goulding wrote: > > On 25 Sep 2014, at 10:06 am, Peter Haworth wrote: > > > The behaviors all work fine when the stack is first opened, > > Then, after some time using the stack and adding new controls which refer > > to the behaviors, the behaviors suddenly stop being resolved. > > Hmm... behaviors are stored as an id and a stack name. If they are > resolved already the only way I can thing they might stop being resolved is > if something is changing either of those things about the behavior button. > > There was at one time an idea to expose a resolveBehaviors command but I > think Mark Waddingham had some other ideas he wanted to look at to make it > more automatic. It certainly would be lovely to be able to change a stack > name without having to set all the behaviors again... > > Cheers > > Monte > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Sep 24 21:59:50 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 24 Sep 2014 18:59:50 -0700 Subject: Behaviors In-Reply-To: <002d01cfd858$fc1c2ba0$f45482e0$@net> References: <002d01cfd858$fc1c2ba0$f45482e0$@net> Message-ID: Thanks Ralph, I'll check into that. This happens in a plugin so there won't ever be a standalone to check. And of course it's in one that is about to go into beta proving yet again that those little buglets just bide their time before surfacing at a time that guarantees they cause the most frustration :-) Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Wed, Sep 24, 2014 at 5:38 PM, Ralph DiMola wrote: > Peter, > > If this only happens in the IDE it might be related to bug > http://quality.runrev.com/show_bug.cgi?id=12508 ???? > I couldn't nail this one down until today. I created a recipe for support. > Hanson reproduced it in the lab. > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Peter Haworth > Sent: Wednesday, September 24, 2014 6:47 PM > To: How to use LiveCode > Subject: Behaviors > > I'm working with lots of controls that have behaviors. The behavior > buttons > are all in a library stack. All works fine most of the time but every now > and again, none of the behavior scripts are executed (as verified with > breakpoints at the start of them). The message box shows the library stack > is still in use and the behavior properties all look valid > > I can't pin down exactly what causes this but I think that editing a lot of > the behavior scripts might cause this, but I'm pretty sure that shouldn't > happen. When it happens, the only way to get the behaviors to work again is > to quit LC and run again. > > Anyone else's applications' guilty of bad behavior like this and if so is > there a way to correct their behavior? > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ray at linkit.com Wed Sep 24 22:28:37 2014 From: ray at linkit.com (Ray) Date: Wed, 24 Sep 2014 23:28:37 -0300 Subject: Scroll Line Into View in a Datagrid In-Reply-To: References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> <542353E3.6090509@LinkIt.Com> <5423671E.4000504@LinkIt.Com> Message-ID: <54237DD5.8010807@LinkIt.Com> Pete - my mistake in calling it a "grid". It actually is a "Table". On 9/24/2014 10:49 PM, Peter Haworth wrote: > Hi Ray, > So this is a datagrid form, not a table? Have to admit I'm not that > familiar with dg forms so not sure what else to suggest, sorry. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: > >> Pete, >> >> Thanks for the response. I've checked the it variable and I'm getting >> "handled" returned, which I assume is good. Regarding the line number, >> I've definitely got over 20 lines of data in the grid. I do only have one >> line of data for the first two columns with about 23 lines of data in the >> third. Do you think that could be the problem? >> >> Ray Horsley >> LinkIt! Software >> >> On 9/24/2014 9:21 PM, Peter Haworth wrote: >> >>> Syntax looks good. Couple of things you've probably already checked - >>> what's in the "it" variable after dispatch (should be "handled"), and are >>> you sure 20 is a valid line number. >>> >>> Pete >>> lcSQL Software >>> Home of lcStackBrowser and >>> SQLiteAdmin >>> >>> >>> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: >>> >>> Has anybody had any luck with scrollLineIntoView? >>>> I'm trying all kinds of variations in syntax of: >>>> >>>> dispatch "scrollLineIntoView" to group "MyGroup" with 20 >>>> >>>> but with no results and nothing in 'the result' >>>> >>>> Is there something else I need to to do prepare for this? >>>> >>>> ____________________________________________________________ >>>> >>>> Note: I'm not sure if this got posted earlier. I can never get that >>>> "receive your own posts" subscription option to work so please excuse me >>>> if >>>> this was already posted. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Sep 24 22:32:30 2014 From: ray at linkit.com (Ray) Date: Wed, 24 Sep 2014 23:32:30 -0300 Subject: Scroll Line Into View in a Datagrid In-Reply-To: References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> <542353E3.6090509@LinkIt.Com> <5423671E.4000504@LinkIt.Com> Message-ID: <54237EBE.9060000@LinkIt.Com> Pete, Now wait a minute. I've sometimes gotten a bit confused with Livecode's terms. When l look at it in the properties palette it's a "group" with a "style" of "Table" which I can change to "Form" (but I don't). But when I created it I dragged over a "Data Grid" as oposed to a "Basic Table Field" or a "Scrolling Field" for example. So what is it? On 9/24/2014 10:49 PM, Peter Haworth wrote: > Hi Ray, > So this is a datagrid form, not a table? Have to admit I'm not that > familiar with dg forms so not sure what else to suggest, sorry. > > Pete > lcSQL Software > Home of lcStackBrowser and > SQLiteAdmin > > On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: > >> Pete, >> >> Thanks for the response. I've checked the it variable and I'm getting >> "handled" returned, which I assume is good. Regarding the line number, >> I've definitely got over 20 lines of data in the grid. I do only have one >> line of data for the first two columns with about 23 lines of data in the >> third. Do you think that could be the problem? >> >> Ray Horsley >> LinkIt! Software >> >> On 9/24/2014 9:21 PM, Peter Haworth wrote: >> >>> Syntax looks good. Couple of things you've probably already checked - >>> what's in the "it" variable after dispatch (should be "handled"), and are >>> you sure 20 is a valid line number. >>> >>> Pete >>> lcSQL Software >>> Home of lcStackBrowser and >>> SQLiteAdmin >>> >>> >>> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: >>> >>> Has anybody had any luck with scrollLineIntoView? >>>> I'm trying all kinds of variations in syntax of: >>>> >>>> dispatch "scrollLineIntoView" to group "MyGroup" with 20 >>>> >>>> but with no results and nothing in 'the result' >>>> >>>> Is there something else I need to to do prepare for this? >>>> >>>> ____________________________________________________________ >>>> >>>> Note: I'm not sure if this got posted earlier. I can never get that >>>> "receive your own posts" subscription option to work so please excuse me >>>> if >>>> this was already posted. >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Wed Sep 24 23:28:31 2014 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 24 Sep 2014 20:28:31 -0700 (PDT) Subject: OS X Mavericks In-Reply-To: References: <3F9F23AC-6DA9-44F0-A510-AA9DCA9E5A46@btinternet.com> <92FFFD6E-2868-4CD6-BFD9-5E9D48C38B64@mac.com> Message-ID: <1411615711581-4683735.post@n4.nabble.com> Mike, thanks for mentioning that. I am about to upgrade to Mavericks myself and will make sure I check that LC is pointing to the right Xcode. What about the SDK? Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OS-X-Mavericks-tp4671455p4683735.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Thu Sep 25 00:21:53 2014 From: pete at lcsql.com (Peter Haworth) Date: Wed, 24 Sep 2014 21:21:53 -0700 Subject: Scroll Line Into View in a Datagrid In-Reply-To: <54237EBE.9060000@LinkIt.Com> References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> <542353E3.6090509@LinkIt.Com> <5423671E.4000504@LinkIt.Com> <54237EBE.9060000@LinkIt.Com> Message-ID: Datagrids come in 2 flavors, table and form. So you have a datagrid table not an LC basic table control. I asked about a form because of your comment about multiple lines. Normally a datagrid table has one line per row with a return character marking the end of a line. If you're trying to put multiple lines in a single datagrid row, I don't think you can do that. Pete lcSQL Software On Sep 24, 2014 7:32 PM, "Ray" wrote: > Pete, > > Now wait a minute. I've sometimes gotten a bit confused with Livecode's > terms. When l look at it in the properties palette it's a "group" with a > "style" of "Table" which I can change to "Form" (but I don't). > > But when I created it I dragged over a "Data Grid" as oposed to a "Basic > Table Field" or a "Scrolling Field" for example. > > So what is it? > > On 9/24/2014 10:49 PM, Peter Haworth wrote: > >> Hi Ray, >> So this is a datagrid form, not a table? Have to admit I'm not that >> familiar with dg forms so not sure what else to suggest, sorry. >> >> Pete >> lcSQL Software >> Home of lcStackBrowser and >> SQLiteAdmin >> >> On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: >> >> Pete, >>> >>> Thanks for the response. I've checked the it variable and I'm getting >>> "handled" returned, which I assume is good. Regarding the line number, >>> I've definitely got over 20 lines of data in the grid. I do only have one >>> line of data for the first two columns with about 23 lines of data in the >>> third. Do you think that could be the problem? >>> >>> Ray Horsley >>> LinkIt! Software >>> >>> On 9/24/2014 9:21 PM, Peter Haworth wrote: >>> >>> Syntax looks good. Couple of things you've probably already checked - >>>> what's in the "it" variable after dispatch (should be "handled"), and >>>> are >>>> you sure 20 is a valid line number. >>>> >>>> Pete >>>> lcSQL Software >>>> Home of lcStackBrowser and >>>> SQLiteAdmin >>>> >>>> >>>> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: >>>> >>>> Has anybody had any luck with scrollLineIntoView? >>>> >>>>> I'm trying all kinds of variations in syntax of: >>>>> >>>>> dispatch "scrollLineIntoView" to group "MyGroup" with 20 >>>>> >>>>> but with no results and nothing in 'the result' >>>>> >>>>> Is there something else I need to to do prepare for this? >>>>> >>>>> ____________________________________________________________ >>>>> >>>>> Note: I'm not sure if this got posted earlier. I can never get that >>>>> "receive your own posts" subscription option to work so please excuse >>>>> me >>>>> if >>>>> this was already posted. >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From selander at tkf.att.ne.jp Thu Sep 25 00:40:42 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Thu, 25 Sep 2014 13:40:42 +0900 Subject: Using Livecode to burn DVDs on demand? Message-ID: <54239CCA.8080102@tkf.att.ne.jp> I work for a TV production house, and we offer past programs to our audience on DVDs. Sell maybe 100 a month. I would like to use Livecode to catalog the programs (no problem there, I can do that), and then be able to burn a DVD. All our programs are on HDD, ready to burn. I can handle everything but burning to DVD. Are there any commands/libraries/externals that would let me, from within Livecode, send the data I've picked up to a DVD burner? Thanks, Tim Selander Tokyo, Japan From richmondmathewson at gmail.com Thu Sep 25 01:56:16 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 25 Sep 2014 08:56:16 +0300 Subject: Mavericks Message-ID: <5423AE80.8040708@gmail.com> Confirmed: Standalones built with LC 4.5 don't run on Mac OS 10.9 Sad, really Richmond. From mwieder at ahsoftware.net Thu Sep 25 02:19:07 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 24 Sep 2014 23:19:07 -0700 Subject: Mavericks In-Reply-To: <5423AE80.8040708@gmail.com> References: <5423AE80.8040708@gmail.com> Message-ID: <21938872561.20140924231907@ahsoftware.net> Richmond- Wednesday, September 24, 2014, 10:56:16 PM, you wrote: > Confirmed: Standalones built with LC 4.5 don't run on Mac OS 10.9 > Sad, really Why is that? The last of the 4.5 line (4.5.3) was released in January of 2011. That was almost four years ago, and predates not only Mavericks, but Mountain Lion (10.8) and even Lion (10.7). At that time, Ubuntu was at version 10.04.1 (Lucid Lynx), and that version was end-of-lifed in May of last year. Since that time Microsoft has end-of-lifed XP, and LiveCode has gone through the 5.x, 6.x, and 7.0 series. The oldest LC version I keep installed is 4.6.3, and that's really just to ensure that I can maintain the older file format. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From hello at simonsmith.co Thu Sep 25 02:45:34 2014 From: hello at simonsmith.co (Simon Smith) Date: Thu, 25 Sep 2014 08:45:34 +0200 Subject: Using Livecode to burn DVDs on demand? In-Reply-To: <54239CCA.8080102@tkf.att.ne.jp> References: <54239CCA.8080102@tkf.att.ne.jp> Message-ID: Hi There are a number of command line applications that you could integrate to handle the writing of cd's. Should be relatively easy to integrate with LiveCode. e.g. commandburner.com for windows. Kind Regards Simon On Thu, Sep 25, 2014 at 6:40 AM, Tim Selander wrote: > I work for a TV production house, and we offer past programs to our > audience on DVDs. Sell maybe 100 a month. > > I would like to use Livecode to catalog the programs (no problem there, I > can do that), and then be able to burn a DVD. All our programs are on HDD, > ready to burn. I can handle everything but burning to DVD. > > Are there any commands/libraries/externals that would let me, from within > Livecode, send the data I've picked up to a DVD burner? > > Thanks, > > Tim Selander > Tokyo, Japan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From th.douez at gmail.com Thu Sep 25 02:58:52 2014 From: th.douez at gmail.com (Thierry Douez) Date: Thu, 25 Sep 2014 08:58:52 +0200 Subject: Using Livecode to burn DVDs on demand? In-Reply-To: <54239CCA.8080102@tkf.att.ne.jp> References: <54239CCA.8080102@tkf.att.ne.jp> Message-ID: On Mac, you can check: hdiutil burn image.iso Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage From matthias_livecode_150811 at m-r-d.de Thu Sep 25 03:21:04 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 25 Sep 2014 09:21:04 +0200 Subject: Anyone using Livecode Server for sending PushNotifications? Message-ID: <3C038EBC-FB65-4F87-B7D0-7840C377D48B@m-r-d.de> Hi, i am new to PushNotifications. I?ve looked into it many months ago, but gave up because of the php stuff. Is someone doing PushNotifications with LC server instead of PHP and would like to share how this can be done? Regards, Matthias From toolbook at kestner.de Thu Sep 25 05:29:40 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 25 Sep 2014 11:29:40 +0200 Subject: AW: How to create an OS X 10.9 alias by script? In-Reply-To: <542039CD.6050005@researchware.com> References: <005d01cfd669$0fd437b0$2f7ca710$@de> <542039CD.6050005@researchware.com> Message-ID: <005101cfd8a3$3c1df9a0$b459ece0$@de> Hi Paul, your scripts works really great! When restarting the Dock, all open applications, which has been minimized open their windows, which can be a little irritating for the user. Do you know, if there is any option to control this? To show the new dock item, without changing the state of other open apps? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Paul Dupuis > Gesendet: Montag, 22. September 2014 17:02 > An: use-livecode at lists.runrev.com > Betreff: Re: How to create an OS X 10.9 alias by script? > > On 9/22/2014 9:28 AM, Tiemo Hollmann TB wrote: > > Hi, > > > > can somebody give me a hint on how to add an alias of a program by > > script > > (shell) to the dock? > > > > > > The command below should do it for you. NOTE: The 2 filters are to handle > differences between versions of OSX - tested from Leopard to Mavericks. It > presents a dialog to alert if an identical alias is already on the dock. > Comment out the answer if you don't want that. > > command CreateOSXDockAlias pDockItem -- pDockItem is the fill path and name of > the app > local tPreserveLockScreen > local tDockItem, tInstalledDockItems, tInstallDockItem > put the lockScreen into tPreserveLockScreen > if not tPreserveLockScreen then lock screen > put pDockItem into tDockItemFilter1 > put pDockItem into tDockItemFilter2 > replace space with "%20" in tDockItemFilter2 -- effectively Percent Encode > string > put shell("defaults read com.apple.dock persistent-apps") into > tInstalledDockItems > put tInstalledDockItems into tTestFormat1 -- to use without %20 replacement > for space > put tInstalledDockItems into tTestFormat2 -- to use with %20 replacement for > space > filter tTestFormat1 with ("*"&tDockItemFilter1&"*") -- filter to just this > version of the app > filter tTestFormat2 with ("*"&tDockItemFilter2&"*") -- filter to just this > version of the app > if (tTestFormat1 is empty) AND (tTestFormat2 is empty) then -- not already > in dock > put "defaults write com.apple.dock persistent-apps -array-add " into > tInstallDockItem > put "'tile-datafile-data" > after tInstallDockItem > put "_CFURLString"&pDockItem&"" after > tInstallDockItem > put > "_CFURLStringType0'" > after tInstallDockItem > put shell(tInstallDockItem) into tResult -- install into the Dock > put shell("killall -HUP Dock") into tResult -- restart Dock to show new > item > else > answer information pDockItem && "is already installed on the Dock" > with "OK" > end if > if not tPreserveLockScreen then unlock screen end CreateOSXDockAlias > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at splash21.com Thu Sep 25 06:02:47 2014 From: john at splash21.com (John Craig) Date: Thu, 25 Sep 2014 11:02:47 +0100 Subject: Anyone using Livecode Server for sending PushNotifications? In-Reply-To: <3C038EBC-FB65-4F87-B7D0-7840C377D48B@m-r-d.de> References: <3C038EBC-FB65-4F87-B7D0-7840C377D48B@m-r-d.de> Message-ID: <5423E847.5050002@splash21.com> Hi, Matthias. Here's an old message on the subject.. http://article.gmane.org/gmane.comp.ide.revolution.user/175914/ the files mentioned in the post have been renamed to .lcx as LiveCode Server is now running on that machine. On 25/09/2014 08:21, Matthias Rebbe | M-R-D wrote: > Hi, > > i am new to PushNotifications. I?ve looked into it many months ago, but gave up because of the php stuff. > > Is someone doing PushNotifications with LC server instead of PHP and would like to share how this can be done? > > Regards, > > Matthias > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paul at researchware.com Thu Sep 25 08:23:33 2014 From: paul at researchware.com (Paul Dupuis) Date: Thu, 25 Sep 2014 08:23:33 -0400 Subject: AW: How to create an OS X 10.9 alias by script? In-Reply-To: <005101cfd8a3$3c1df9a0$b459ece0$@de> References: <005d01cfd669$0fd437b0$2f7ca710$@de> <542039CD.6050005@researchware.com> <005101cfd8a3$3c1df9a0$b459ece0$@de> Message-ID: <54240945.3030906@researchware.com> On 9/25/2014 5:29 AM, Tiemo Hollmann TB wrote: > Hi Paul, > > your scripts works really great! > When restarting the Dock, all open applications, which has been minimized > open their windows, which can be a little irritating for the user. > Do you know, if there is any option to control this? To show the new dock > item, without changing the state of other open apps? > Thanks > Tiemo > You might try this http://apple.stackexchange.com/questions/64307/alternative-to-additemtodock-from-henri-shustak It is an AppleScript that executes the same 'defaults write...' I do with the new dock item alias, but tells the dock to quit before the write and then startup after the write. A proper dock exit and restart (vs killing the process) may do a better job of preserving the dock state. Use the 'do as applescript' command to execute it (see the 'do' entry in the dictionary) I'm sorry I don't have time myself at the moment to try it. If you d and it works better, please let me know. From toolbook at kestner.de Thu Sep 25 08:53:33 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 25 Sep 2014 14:53:33 +0200 Subject: AW: AW: How to create an OS X 10.9 alias by script? In-Reply-To: <54240945.3030906@researchware.com> References: <005d01cfd669$0fd437b0$2f7ca710$@de> <542039CD.6050005@researchware.com> <005101cfd8a3$3c1df9a0$b459ece0$@de> <54240945.3030906@researchware.com> Message-ID: <006901cfd8bf$b7945ae0$26bd10a0$@de> Hi Paul, Thanks for your ideas! quitting and activating the Dock via AppleScript also works, but shows just the same behavior. All minimized apps get into front, even the dock shows more "action" Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Paul Dupuis > Gesendet: Donnerstag, 25. September 2014 14:24 > An: use-livecode at lists.runrev.com > Betreff: Re: AW: How to create an OS X 10.9 alias by script? > > On 9/25/2014 5:29 AM, Tiemo Hollmann TB wrote: > > Hi Paul, > > > > your scripts works really great! > > When restarting the Dock, all open applications, which has been > > minimized open their windows, which can be a little irritating for the user. > > Do you know, if there is any option to control this? To show the new > > dock item, without changing the state of other open apps? > > Thanks > > Tiemo > > > > You might try this > http://apple.stackexchange.com/questions/64307/alternative-to-additemtodock- > from-henri-shustak > It is an AppleScript that executes the same 'defaults write...' I do with the > new dock item alias, but tells the dock to quit before the write and then > startup after the write. A proper dock exit and restart (vs killing the > process) may do a better job of preserving the dock state. Use the 'do > as applescript' command to execute it (see the 'do' entry in the > dictionary) > > I'm sorry I don't have time myself at the moment to try it. If you d and it > works better, please let me know. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Thu Sep 25 09:12:40 2014 From: ray at linkit.com (Ray) Date: Thu, 25 Sep 2014 10:12:40 -0300 Subject: Scroll Line Into View in a Datagrid In-Reply-To: References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> <542353E3.6090509@LinkIt.Com> <5423671E.4000504@LinkIt.Com> <54237EBE.9060000@LinkIt.Com> Message-ID: <542414C8.5030301@LinkIt.Com> Pete - thanks for the clarification. I definitely have a datagird table then, not a form. I'm going to experiment recreating similar datagrid tables from scratch to see if I can resolve these scrolling problems. I'll post something after doing so. Thanks, Ray Horsley LinkIt! Software On 9/25/2014 1:21 AM, Peter Haworth wrote: > Datagrids come in 2 flavors, table and form. So you have a datagrid table > not an LC basic table control. > > I asked about a form because of your comment about multiple lines. Normally > a datagrid table has one line per row with a return character marking the > end of a line. If you're trying to put multiple lines in a single > datagrid row, I don't think you can do that. > > Pete > lcSQL Software > On Sep 24, 2014 7:32 PM, "Ray" wrote: > >> Pete, >> >> Now wait a minute. I've sometimes gotten a bit confused with Livecode's >> terms. When l look at it in the properties palette it's a "group" with a >> "style" of "Table" which I can change to "Form" (but I don't). >> >> But when I created it I dragged over a "Data Grid" as oposed to a "Basic >> Table Field" or a "Scrolling Field" for example. >> >> So what is it? >> >> On 9/24/2014 10:49 PM, Peter Haworth wrote: >> >>> Hi Ray, >>> So this is a datagrid form, not a table? Have to admit I'm not that >>> familiar with dg forms so not sure what else to suggest, sorry. >>> >>> Pete >>> lcSQL Software >>> Home of lcStackBrowser and >>> SQLiteAdmin >>> >>> On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: >>> >>> Pete, >>>> Thanks for the response. I've checked the it variable and I'm getting >>>> "handled" returned, which I assume is good. Regarding the line number, >>>> I've definitely got over 20 lines of data in the grid. I do only have one >>>> line of data for the first two columns with about 23 lines of data in the >>>> third. Do you think that could be the problem? >>>> >>>> Ray Horsley >>>> LinkIt! Software >>>> >>>> On 9/24/2014 9:21 PM, Peter Haworth wrote: >>>> >>>> Syntax looks good. Couple of things you've probably already checked - >>>>> what's in the "it" variable after dispatch (should be "handled"), and >>>>> are >>>>> you sure 20 is a valid line number. >>>>> >>>>> Pete >>>>> lcSQL Software >>>>> Home of lcStackBrowser and >>>>> SQLiteAdmin >>>>> >>>>> >>>>> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: >>>>> >>>>> Has anybody had any luck with scrollLineIntoView? >>>>> >>>>>> I'm trying all kinds of variations in syntax of: >>>>>> >>>>>> dispatch "scrollLineIntoView" to group "MyGroup" with 20 >>>>>> >>>>>> but with no results and nothing in 'the result' >>>>>> >>>>>> Is there something else I need to to do prepare for this? >>>>>> >>>>>> ____________________________________________________________ >>>>>> >>>>>> Note: I'm not sure if this got posted earlier. I can never get that >>>>>> "receive your own posts" subscription option to work so please excuse >>>>>> me >>>>>> if >>>>>> this was already posted. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Sep 25 10:25:27 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Sep 2014 07:25:27 -0700 Subject: Using Livecode to burn DVDs on demand? In-Reply-To: <54239CCA.8080102@tkf.att.ne.jp> References: <54239CCA.8080102@tkf.att.ne.jp> Message-ID: <542425D7.5050808@fourthworld.com> Tim Selander wrote: > I work for a TV production house, and we offer past programs to our > audience on DVDs. Sell maybe 100 a month. > > I would like to use Livecode to catalog the programs (no problem there, > I can do that), and then be able to burn a DVD. All our programs are on > HDD, ready to burn. I can handle everything but burning to DVD. > > Are there any commands/libraries/externals that would let me, from > within Livecode, send the data I've picked up to a DVD burner? What platform are you using? The simplest method may be to use some intermediary scripting language, like shell scripts, AppleScript, or VBScript to send the parameters to the DVD software. In Ubuntu (and most other Linux flavors) this could be done through Brassero's command-line interface, making shell calls from LiveCode. I would imagine most similar DVD packages on other platforms are also scriptable. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Thu Sep 25 10:55:49 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Sep 2014 07:55:49 -0700 Subject: AW: AW: How to create an OS X 10.9 alias by script? In-Reply-To: <006901cfd8bf$b7945ae0$26bd10a0$@de> References: <006901cfd8bf$b7945ae0$26bd10a0$@de> Message-ID: <54242CF5.1020205@fourthworld.com> Tiemo Hollmann wrote: > quitting and activating the Dock via AppleScript also works, but shows just > the same behavior. All minimized apps get into front, even the dock shows > more "action" One of the reasons Apple provides no straightforward way for an app to add its icon to the Dock may be that historically they consider the Dock as user-controlled element, something they prefer apps don't alter. While the current HIG no longer includes an explicit recommendation against an app adding its icon to the Dock, the App Store submission guidelines do: 2.28 Apps that add their icons to the Dock or leave short cuts on the user desktop will be rejected This seems reasonable enough when we consider how cramped the Dock would quickly become if every app we installed added its icon there. With Expos?, the Applications flyout panel, and the user's ability to move your icon into the persistent space in the Dock when it's running, there are plenty of ways users can get to your app when they want to - one less thing to have to worry about in development. :) -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From toolbook at kestner.de Thu Sep 25 11:18:57 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 25 Sep 2014 17:18:57 +0200 Subject: AW: AW: AW: How to create an OS X 10.9 alias by script? In-Reply-To: <54242CF5.1020205@fourthworld.com> References: <006901cfd8bf$b7945ae0$26bd10a0$@de> <54242CF5.1020205@fourthworld.com> Message-ID: <006a01cfd8d4$084d1710$18e74530$@de> Thanks Richard for jumping in. That's indeed a very valuable information I didn't knew. I will remove this feature. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Richard Gaskin > Gesendet: Donnerstag, 25. September 2014 16:56 > An: use-livecode at lists.runrev.com > Betreff: Re: AW: AW: How to create an OS X 10.9 alias by script? > > Tiemo Hollmann wrote: > > quitting and activating the Dock via AppleScript also works, but shows > > just the same behavior. All minimized apps get into front, even the > > dock shows more "action" > > One of the reasons Apple provides no straightforward way for an app to add its > icon to the Dock may be that historically they consider the Dock as user- > controlled element, something they prefer apps don't alter. > > While the current HIG no longer includes an explicit recommendation against an > app adding its icon to the Dock, the App Store submission guidelines do: > > 2.28 Apps that add their icons to the Dock or leave short cuts on > the user desktop will be rejected store/review/guidelines/mac/#functionality> > > This seems reasonable enough when we consider how cramped the Dock would > quickly become if every app we installed added its icon there. > > With Expos?, the Applications flyout panel, and the user's ability to move > your icon into the persistent space in the Dock when it's running, there are > plenty of ways users can get to your app when they want to - one less thing to > have to worry about in development. :) > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Thu Sep 25 11:41:51 2014 From: ray at linkit.com (Ray) Date: Thu, 25 Sep 2014 12:41:51 -0300 Subject: Scroll Line Into View in a Datagrid In-Reply-To: References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> <542353E3.6090509@LinkIt.Com> <5423671E.4000504@LinkIt.Com> <54237EBE.9060000@LinkIt.Com> Message-ID: <542437BF.80908@LinkIt.Com> Pete - I wanted to get back with you since you were so kind to respond and shed some light on things. I've discovered [once again] that Livecode data grids are really complicated, convoluted things. I had set the behavior of the grid in question to a button whose script was a slightly altered version of the default button. This in turn broke the ability to scroll, either from a script or manually. Why? Who knows? I'm rebuilding the grid now from scratch and I'll come up with a work-around other than setting the grid's behavior. Thanks for your help! Ray Horsley LinkIt! Software On 9/25/2014 1:21 AM, Peter Haworth wrote: > Datagrids come in 2 flavors, table and form. So you have a datagrid table > not an LC basic table control. > > I asked about a form because of your comment about multiple lines. Normally > a datagrid table has one line per row with a return character marking the > end of a line. If you're trying to put multiple lines in a single > datagrid row, I don't think you can do that. > > Pete > lcSQL Software > On Sep 24, 2014 7:32 PM, "Ray" wrote: > >> Pete, >> >> Now wait a minute. I've sometimes gotten a bit confused with Livecode's >> terms. When l look at it in the properties palette it's a "group" with a >> "style" of "Table" which I can change to "Form" (but I don't). >> >> But when I created it I dragged over a "Data Grid" as oposed to a "Basic >> Table Field" or a "Scrolling Field" for example. >> >> So what is it? >> >> On 9/24/2014 10:49 PM, Peter Haworth wrote: >> >>> Hi Ray, >>> So this is a datagrid form, not a table? Have to admit I'm not that >>> familiar with dg forms so not sure what else to suggest, sorry. >>> >>> Pete >>> lcSQL Software >>> Home of lcStackBrowser and >>> SQLiteAdmin >>> >>> On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: >>> >>> Pete, >>>> Thanks for the response. I've checked the it variable and I'm getting >>>> "handled" returned, which I assume is good. Regarding the line number, >>>> I've definitely got over 20 lines of data in the grid. I do only have one >>>> line of data for the first two columns with about 23 lines of data in the >>>> third. Do you think that could be the problem? >>>> >>>> Ray Horsley >>>> LinkIt! Software >>>> >>>> On 9/24/2014 9:21 PM, Peter Haworth wrote: >>>> >>>> Syntax looks good. Couple of things you've probably already checked - >>>>> what's in the "it" variable after dispatch (should be "handled"), and >>>>> are >>>>> you sure 20 is a valid line number. >>>>> >>>>> Pete >>>>> lcSQL Software >>>>> Home of lcStackBrowser and >>>>> SQLiteAdmin >>>>> >>>>> >>>>> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: >>>>> >>>>> Has anybody had any luck with scrollLineIntoView? >>>>> >>>>>> I'm trying all kinds of variations in syntax of: >>>>>> >>>>>> dispatch "scrollLineIntoView" to group "MyGroup" with 20 >>>>>> >>>>>> but with no results and nothing in 'the result' >>>>>> >>>>>> Is there something else I need to to do prepare for this? >>>>>> >>>>>> ____________________________________________________________ >>>>>> >>>>>> Note: I'm not sure if this got posted earlier. I can never get that >>>>>> "receive your own posts" subscription option to work so please excuse >>>>>> me >>>>>> if >>>>>> this was already posted. >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Thu Sep 25 12:00:58 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 25 Sep 2014 09:00:58 -0700 Subject: Embed Image Using mobileComposeHTMLMail Message-ID: Hi List Folks: Am wondering if it's possible to create an email with an embedded image using mobileComposeHTMLMail, instead of simply attaching the image? When an email is created using mobileComposeHTMLMail, the preview displays with the image embedded, but once sent, the image arrives as an attachment. I would think that mobileComposeHTMLMail would do this automatically, compared to using mobileComposeMail. Does anyone have a way to do this? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From jiml at netrin.com Thu Sep 25 13:18:47 2014 From: jiml at netrin.com (Jim Lambert) Date: Thu, 25 Sep 2014 10:18:47 -0700 Subject: LiveCode to Facebook? In-Reply-To: References: Message-ID: <517EB486-C97A-47DD-940B-FB217FC4DD13@netrin.com> Hi Scott, http://handleopenurl.com/scheme lists a bunch of custom URL schemes that can be used to launch other apps, including Facebook. Jim Lambert From jiml at netrin.com Thu Sep 25 13:29:59 2014 From: jiml at netrin.com (Jim Lambert) Date: Thu, 25 Sep 2014 10:29:59 -0700 Subject: Anyone using Livecode Server for sending PushNotifications? In-Reply-To: References: Message-ID: <4DDD65EB-B8AC-436F-8AAC-9981E7198834@netrin.com> About a year ago I used John?s lcx files for doing push notifications and they worked beautifully. If you only need to send a single notification to a single device here?s a variation on John?s script that will do it. Jim Lambert remove relevant line from code). # Replace XXXXX with your Passphrase local tPassphrase = "XXXXX" # create the notificaion put pAlert into tBodyA["aps"]["alert"] put pBadge into tBodyA["aps"]["badge"] put pSound into tBodyA["aps"]["sound"] put pPayload into tBodyA["payload"] # convert to json - Mark Smith's library put arrayToJson(tBodyA) into tNotification # build the binary notification to send repeat for each item tCode in "0,0,32" put numToChar(tCode) after tBinary end repeat put binaryEncode("H*", tDevice) after tBinary put binaryEncode("n", length(tNotification)) after tBinary put tNotification after tBinary # write the binary to a file and send via openssl put (pDevice & the seconds) & ".bin" into tFile put tBinary into URL("binfile:APNs/" & tFile) get shell("cat APNs/" & tFile & " | openssl s_client -connect" && tHost & ":" & tPort && "-cert" && tCert && "-pass pass:" & tPassphrase) end sendNotification From richmondmathewson at gmail.com Thu Sep 25 13:39:23 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 25 Sep 2014 20:39:23 +0300 Subject: Mavericks In-Reply-To: <5423AE80.8040708@gmail.com> References: <5423AE80.8040708@gmail.com> Message-ID: <5424534B.6010902@gmail.com> On 25/09/14 08:56, Richmond wrote: > Confirmed: Standalones built with LC 4.5 don't run on Mac OS 10.9 > > Sad, really > > Richmond. Would anybody happen to know exactly WHAT it is about standalones built with LiveCode 4.5 that Mac OS 10.9 [Mavericks] objects to? Richmond. From jacque at hyperactivesw.com Thu Sep 25 14:09:53 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 25 Sep 2014 13:09:53 -0500 Subject: Mavericks In-Reply-To: <5424534B.6010902@gmail.com> References: <5423AE80.8040708@gmail.com> <5424534B.6010902@gmail.com> Message-ID: <54245A71.2090903@hyperactivesw.com> On 9/25/2014, 12:39 PM, Richmond wrote: > Would anybody happen to know exactly WHAT it is about standalones built > with LiveCode 4.5 > that Mac OS 10.9 [Mavericks] objects to? I don't know exactly what, but I do know that many companies had to scramble to make their apps compatible when Mavericks was released. I remember the outcry when Photoshop stopped working for a while. Roaring Apps keeps track of which apps are compatible (http://roaringapps.com/) so you can check before you decided to upgrade to Mavericks. The changes in that OS affected lots and lots of software. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Thu Sep 25 14:18:37 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 25 Sep 2014 11:18:37 -0700 Subject: LiveCode to Facebook? In-Reply-To: <517EB486-C97A-47DD-940B-FB217FC4DD13@netrin.com> References: <517EB486-C97A-47DD-940B-FB217FC4DD13@netrin.com> Message-ID: Thanks Jim. The other item I was considering was launching the Settings app, and it looks like there's an entry for this on the site. Best Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 9/25/14 10:18 AM, "Jim Lambert" wrote: >Hi Scott, > >http://handleopenurl.com/scheme lists a bunch of custom URL schemes >that can be used to launch other apps, including Facebook. > >Jim Lambert >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Thu Sep 25 14:21:27 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 25 Sep 2014 11:21:27 -0700 Subject: "ShellShock" - what are you doing? Message-ID: <54245D27.1070704@fourthworld.com> I've been spending the morning reading up on the recently-discovered "Shell Shock" vulnerability. Most of my Ubuntu machines were already patched, but it seems Apple hasn't issued a patch as of this writing. Anyone here heard any definitive word on when Apple will provide a patch, or when the second round of patches for other systems will become available? -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Thu Sep 25 14:24:06 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 25 Sep 2014 21:24:06 +0300 Subject: Shellshock Message-ID: <54245DC6.3010503@gmail.com> Any one running Mac OS X or Linux needs to know about this: https://www.us-cert.gov/ncas/alerts/TA14-268A and do something about it as soon as possible. Richmond. From MikeKerner at roadrunner.com Thu Sep 25 14:30:27 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Sep 2014 14:30:27 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: <54245D27.1070704@fourthworld.com> References: <54245D27.1070704@fourthworld.com> Message-ID: Watch the patches. The white hats are discovering that many of them are incomplete. I've seen at least two follow-up scripts that try to exploit the patches. You can always dump bash for another shell, and avoid the issue until it's fixed for realzies. On Thu, Sep 25, 2014 at 2:21 PM, Richard Gaskin wrote: > I've been spending the morning reading up on the recently-discovered > "Shell Shock" vulnerability. > > Most of my Ubuntu machines were already patched, but it seems Apple hasn't > issued a patch as of this writing. > > Anyone here heard any definitive word on when Apple will provide a patch, > or when the second round of patches for other systems will become available? > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Thu Sep 25 14:30:47 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Sep 2014 14:30:47 -0400 Subject: Shellshock In-Reply-To: <54245DC6.3010503@gmail.com> References: <54245DC6.3010503@gmail.com> Message-ID: See other post on this. On Thu, Sep 25, 2014 at 2:24 PM, Richmond wrote: > Any one running Mac OS X or Linux needs to know about this: > > https://www.us-cert.gov/ncas/alerts/TA14-268A > > and do something about it as soon as possible. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From userev at canelasoftware.com Thu Sep 25 14:36:20 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 25 Sep 2014 11:36:20 -0700 Subject: "ShellShock" - what are you doing? In-Reply-To: <54245D27.1070704@fourthworld.com> References: <54245D27.1070704@fourthworld.com> Message-ID: <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> > On Sep 25, 2014, at 11:21 AM, Richard Gaskin wrote: > > Anyone here heard any definitive word on when Apple will provide a patch, or when the second round of patches for other systems will become available? Apple just pushed a security update. Installing now. Mark Talluto From dirk.cleenwerck at gmail.com Thu Sep 25 14:36:58 2014 From: dirk.cleenwerck at gmail.com (Dirk prive) Date: Thu, 25 Sep 2014 20:36:58 +0200 Subject: "ShellShock" - what are you doing? In-Reply-To: References: <54245D27.1070704@fourthworld.com> Message-ID: You can find a tester for it at https://shellshocker.net/ Dirk Cleenwerck On Thu, Sep 25, 2014 at 8:30 PM, Mike Kerner wrote: > Watch the patches. The white hats are discovering that many of them are > incomplete. I've seen at least two follow-up scripts that try to exploit > the patches. > > You can always dump bash for another shell, and avoid the issue until it's > fixed for realzies. > > On Thu, Sep 25, 2014 at 2:21 PM, Richard Gaskin < > ambassador at fourthworld.com> > wrote: > > > I've been spending the morning reading up on the recently-discovered > > "Shell Shock" vulnerability. > > > > Most of my Ubuntu machines were already patched, but it seems Apple > hasn't > > issued a patch as of this writing. > > > > Anyone here heard any definitive word on when Apple will provide a patch, > > or when the second round of patches for other systems will become > available? > > > > -- > > Richard Gaskin > > Fourth World Systems > > Software Design and Development for the Desktop, Mobile, and the Web > > ____________________________________________________________________ > > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Sep 25 14:40:03 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 25 Sep 2014 21:40:03 +0300 Subject: "ShellShock" - what are you doing? In-Reply-To: References: <54245D27.1070704@fourthworld.com> Message-ID: <54246183.50602@gmail.com> On 25/09/14 21:36, Dirk prive wrote: > You can find a tester for it at > https://shellshocker.net/ Having updated my Linux machines, and then running: env x='() { :;}; echo vulnerable' bash -c "echo this is a test" I get "vulnerable" currently filling my knickers. Richmond. > > Dirk Cleenwerck > > On Thu, Sep 25, 2014 at 8:30 PM, Mike Kerner > wrote: > >> Watch the patches. The white hats are discovering that many of them are >> incomplete. I've seen at least two follow-up scripts that try to exploit >> the patches. >> >> You can always dump bash for another shell, and avoid the issue until it's >> fixed for realzies. >> >> On Thu, Sep 25, 2014 at 2:21 PM, Richard Gaskin < >> ambassador at fourthworld.com> >> wrote: >> >>> I've been spending the morning reading up on the recently-discovered >>> "Shell Shock" vulnerability. >>> >>> Most of my Ubuntu machines were already patched, but it seems Apple >> hasn't >>> issued a patch as of this writing. >>> >>> Anyone here heard any definitive word on when Apple will provide a patch, >>> or when the second round of patches for other systems will become >> available? >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> ____________________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From userev at canelasoftware.com Thu Sep 25 14:45:33 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 25 Sep 2014 11:45:33 -0700 Subject: "ShellShock" - what are you doing? In-Reply-To: <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> Message-ID: On Sep 25, 2014, at 11:36 AM, Mark Talluto wrote: > >> On Sep 25, 2014, at 11:21 AM, Richard Gaskin wrote: >> >> Anyone here heard any definitive word on when Apple will provide a patch, or when the second round of patches for other systems will become available? > > Apple just pushed a security update. Installing now. Looks like the recent update does not fix the issue. Bummer. Best regards, Mark Talluto livecloud.io canelasoftware.com From mickclns at mac.com Thu Sep 25 15:15:24 2014 From: mickclns at mac.com (Mick Collins) Date: Thu, 25 Sep 2014 15:15:24 -0400 Subject: Population puzzle In-Reply-To: References: Message-ID: <2755EAD7-BF3C-403F-AE29-D35740E14C77@mac.com> I?ve been working on this one for a few minutes, a few there and finally got it, a month later. Great puzzle, Michael, thanks! > From: Michael Doub > To: How To use LiveCode use LiveCode > Subject: Population puzzle > Message-ID: <23AF2370-8161-458A-91C6-22153C15F895 at gmail.com> > Content-Type: text/plain; charset=windows-1252 > > I know that some of the folks on this list enjoy puzzles. A friend sent me this one this afternoon and I thought it would be interesting to see the different approaches folks come up with and how fast it can be solved. enjoy? > > The 2010 Census puts populations of 26 largest US metro areas at 18897109, 12828837, 9461105, 6371773, 5965343,5946800, 5582170, 5564635, 5268860, 4552402, 4335391, 4296250, 4224851, 4192887, 3439809, 3279833, 3095313,2812896, 2783243, 2710489, 2543482, 2356285, 2226009, 2149127, 2142508, and 2134411. > > Can you find a subset of these areas where a total of exactly 100,000,000 people live, assuming the census estimates are exactly right? > le live, assuming the census estimates are exactly >> right? > > This was in the mongodb certification, if I remember correctly, and > the python code was fun to write. > I worked on this using a reduced set of smaller numbers You can see them in the code. This finds ALL sets of numbers adding to the goal With the small group, there were 6 groups of numbers adding to 100 (instantaneous) 1 29 70 1 4 8 19 68 13 19 68 1 8 19 21 22 29 1 8 21 70 8 22 70 I wasn?t sure this was working for the original sum (100 M) so I tried a number around 30M that I had constructed from some of the given numbers. In about 3 or 4 seconds it came up with: 02149127 02543482 03279833 04296250 05582170 12828837 That gave me more confidence so I went back to 100M and after about 10 minutes it gave me 02134411 02142508 02226009 02543482 02812896 03095313 03279833 04224851 04296250 04335391 04552402 05268860 05582170 05946800 06371773 09461105 12828837 18897109 The reason it took relatively so long was that any sums larger than the goal are thrown away before combining them and with the larger goal few of those were tossed so there were many more to work with. So, here?s the code: global goalSum, GSmod1, GSmod2 -- the mods in above and below lines are used -- to cut down on computation, the sum of the -- mods for lower and upper part are added. -- if not equal to mods of goalSum, then -- that combo is not used constant modulus1=31, modulus2=7 on doTest put 100000000 into goalSum put 30679699 into goalSum put \ "18897109, 12828837, 09461105, 06371773, 05965343, 05946800, 05582170, 05564635, " & \ "05268860, 04552402, 04335391, 04296250, 04224851, 04192887, 03439809, 03279833, " & \ "03095313, 02812896, 02783243, 02710489, 02543482, 02356285, 02226009, 02149127, " & \ "02142508, 02134411" into theNums -- put 100 into goalSum put goalSum mod modulus1 into GSmod1 put goalSum mod modulus2 into GSmod2 -- put "1,4,8,13,19,21,22, 29, 68, 70" into theNums replace " " with empty in theNums -- so the sort will work sort items of theNums ascending numeric put the number of items in theNums into nNums -- put sumsOfAllIndex(theNums,nNums,0,5) into bottomGroup put sumsOfAllIndex(theNums,nNums,0,10) into bottomGroup sort lines of sumAllTo5 numeric by (10 * (word 3 of each) + word 4 of each) -- put sumsOfAllIndex(theNums,nNums,5,10) into topGroup put sumsOfAllIndex(theNums,nNums,10,26) into topGroup sort lines of topGroup numeric by (10 * (word 3 of each) + word 4 of each) put 0 into lineNum put empty into goodSums repeat for each line L1 in topGroup put word 3 of L1 into mod1_1 put word 4 of L1 into mod1_2 if GSmod1 >= mod1_1 then put GSmod1 - mod1_1 into mod1LookFor else put GSmod1+modulus1 - mod1_1 into mod1LookFor end if if GSmod2 >= mod1_2 then put GSmod2 - mod1_2 into mod2LookFor else put GSmod2+modulus2 - mod1_2 into mod2LookFor end if repeat for each line L2 in bottomGroup if word 3 of L2 = mod1Lookfor then if word 4 of L2 = mod2Lookfor then put word 2 of L1 into w1 put word 2 of L2 into w2 if w1 + w2 = GoalSum then add 1 to lineNum put word 5 of L1 && word 5 of L2 into line lineNum of goodSums end if end if end if end repeat end repeat put unpack(goodSums, theNums, nNums) into goodSums2 replace "," with space in goodSums2 put goodSums2 & cr & cr & cr & cr & cr before fld "Content" end doTest function sumsOfAllIndex theNums,nNums,nL,nH -- nL and nH are the exponents of the Low and High -- repeat limits -- -- for a given number (which is a sum), each of the -- 26 given numbers used in the sum -- is represented by a bit in a binary number -- called i2 (i base 2) a few lines below put empty into theSums put 0 into lineNum put 2^nL into twoTonL put 1024 * twoTonL into Ltimes1024 put 2^nH into twoTonH repeat with i = twoTonL to twoTonH step twoTonL put baseConvert(i,10,2) into i2 put sumConstruct(theNums,nNums, i2) into thisSum if thisSum <= goalSum then add 1 to lineNum put i && thisSum && (thisSum mod modulus1) && (thisSum mod modulus2) && i2 into thisLine put thisLine into line lineNum of theSums end if end repeat return theSums end sumsOfAllIndex function sumConstruct theNums,nNums, i2 -- constructs the sum of the numbers represented -- by the string of bits, i2 put len(i2) +1 into leni2p1 put 0 into theSum repeat with i = 1 to len(i2) if char leni2p1-i of i2 = 1 then add item i of theNums to theSum end if end repeat return theSum end sumConstruct function unpack goodSums, theNums, nNums -- turns a list of lines, each with two bit strings into list -- of lines, each with numbers summing to the goal sum put empty into toGoodSums repeat with i =1 to the number of lines in goodSums put unpackone(line i of goodSums, theNums, nNums) into line i of toGoodSums end repeat return toGoodSums end unpack function unpackone theLine,theNums,nNums -- unpacks a line of two (bit strings), one from the upper -- group and one from the lower, constructing a concatenation -- of numbers from the original list which will sum -- to the goal sum put empty into lineOfNums repeat with i12 = 1 to 2 put word i12 of theLine into wordBase2 put len(wordBase2) +1 into lenWB2p1 repeat with i = 1 to lenWB2p1 -1 if char lenWB2p1-i of wordBase2 = 1 then put (item i of theNums) & comma after lineOfNums end if end repeat end repeat delete last char of lineOfNums sort items of lineOfNums numeric ascending return lineOfNums end unpackone From jhj at jhj.com Thu Sep 25 15:21:13 2014 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 25 Sep 2014 12:21:13 -0700 Subject: Scroll Line Into View in a Datagrid In-Reply-To: <542437BF.80908@LinkIt.Com> References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> <542353E3.6090509@LinkIt.Com> <5423671E.4000504@LinkIt.Com> <54237EBE.9060000@LinkIt.Com> <542437BF.80908@LinkIt.Com> Message-ID: <91F635E9-3AF5-4F94-B8A9-E87873130DA8@jhj.com> Ray - have you tried out Bernd's modTableField? It does quite a lot of what a datagrid table does for you, and its a lot simpler. .Jerry On Sep 25, 2014, at 8:41 AM, Ray wrote: > Pete - I wanted to get back with you since you were so kind to respond and shed some light on things. > > I've discovered [once again] that Livecode data grids are really complicated, convoluted things. I had set the behavior of the grid in question to a button whose script was a slightly altered version of the default button. This in turn broke the ability to scroll, either from a script or manually. Why? Who knows? > > I'm rebuilding the grid now from scratch and I'll come up with a work-around other than setting the grid's behavior. > > Thanks for your help! > > Ray Horsley > LinkIt! Software > > On 9/25/2014 1:21 AM, Peter Haworth wrote: >> Datagrids come in 2 flavors, table and form. So you have a datagrid table >> not an LC basic table control. >> >> I asked about a form because of your comment about multiple lines. Normally >> a datagrid table has one line per row with a return character marking the >> end of a line. If you're trying to put multiple lines in a single >> datagrid row, I don't think you can do that. >> >> Pete >> lcSQL Software >> On Sep 24, 2014 7:32 PM, "Ray" wrote: >> >>> Pete, >>> >>> Now wait a minute. I've sometimes gotten a bit confused with Livecode's >>> terms. When l look at it in the properties palette it's a "group" with a >>> "style" of "Table" which I can change to "Form" (but I don't). >>> >>> But when I created it I dragged over a "Data Grid" as oposed to a "Basic >>> Table Field" or a "Scrolling Field" for example. >>> >>> So what is it? >>> >>> On 9/24/2014 10:49 PM, Peter Haworth wrote: >>> >>>> Hi Ray, >>>> So this is a datagrid form, not a table? Have to admit I'm not that >>>> familiar with dg forms so not sure what else to suggest, sorry. >>>> >>>> Pete >>>> lcSQL Software >>>> Home of lcStackBrowser and >>>> SQLiteAdmin >>>> >>>> On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: >>>> >>>> Pete, >>>>> Thanks for the response. I've checked the it variable and I'm getting >>>>> "handled" returned, which I assume is good. Regarding the line number, >>>>> I've definitely got over 20 lines of data in the grid. I do only have one >>>>> line of data for the first two columns with about 23 lines of data in the >>>>> third. Do you think that could be the problem? >>>>> >>>>> Ray Horsley >>>>> LinkIt! Software >>>>> >>>>> On 9/24/2014 9:21 PM, Peter Haworth wrote: >>>>> >>>>> Syntax looks good. Couple of things you've probably already checked - >>>>>> what's in the "it" variable after dispatch (should be "handled"), and >>>>>> are >>>>>> you sure 20 is a valid line number. >>>>>> >>>>>> Pete >>>>>> lcSQL Software >>>>>> Home of lcStackBrowser and >>>>>> SQLiteAdmin >>>>>> >>>>>> >>>>>> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: >>>>>> >>>>>> Has anybody had any luck with scrollLineIntoView? >>>>>> >>>>>>> I'm trying all kinds of variations in syntax of: >>>>>>> >>>>>>> dispatch "scrollLineIntoView" to group "MyGroup" with 20 >>>>>>> >>>>>>> but with no results and nothing in 'the result' >>>>>>> >>>>>>> Is there something else I need to to do prepare for this? >>>>>>> >>>>>>> ____________________________________________________________ >>>>>>> >>>>>>> Note: I'm not sure if this got posted earlier. I can never get that >>>>>>> "receive your own posts" subscription option to work so please excuse >>>>>>> me >>>>>>> if >>>>>>> this was already posted. >>>>>>> >>>>>>> _______________________________________________ >>>>>>> use-livecode mailing list >>>>>>> use-livecode at lists.runrev.com >>>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>>> subscription preferences: >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>>> >>>>>>> _______________________________________________ >>>>>>> >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Thu Sep 25 15:42:25 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Sep 2014 15:42:25 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> Message-ID: Yes, Richmond, that's today's version. Yesterday's version is supposed to be patched. On Thu, Sep 25, 2014 at 2:45 PM, Mark Talluto wrote: > On Sep 25, 2014, at 11:36 AM, Mark Talluto > wrote: > > > > >> On Sep 25, 2014, at 11:21 AM, Richard Gaskin < > ambassador at fourthworld.com> wrote: > >> > >> Anyone here heard any definitive word on when Apple will provide a > patch, or when the second round of patches for other systems will become > available? > > > > Apple just pushed a security update. Installing now. > > > Looks like the recent update does not fix the issue. Bummer. > > > Best regards, > > Mark Talluto > livecloud.io > canelasoftware.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Thu Sep 25 15:44:24 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Sep 2014 15:44:24 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> Message-ID: Here's the email I just got from CERT: [image: NCCIC / US-CERT] National Cyber Awareness System: TA14-268A: GNU Bourne Again Shell (Bash) ?Shellshock? Vulnerability (CVE-2014-6271,CVE-2014-7169) 09/25/2014 12:56 PM EDT Original release date: September 25, 2014 Systems Affected - GNU Bash through 4.3. - Linux, BSD, and UNIX distributions including but not limited to: - CentOS 5 through 7 - Debian - Mac OS X - Red Hat Enterprise Linux 4 through 7 - Ubuntu 10.04 LTS, 12.04 LTS, and 14.04 LTS Overview A critical vulnerability has been reported in the GNU Bourne Again Shell (Bash), the common command-line shell used in most Linux/UNIX operating systems and Apple?s Mac OS X. The flaw could allow an attacker to remotely execute shell commands by attaching malicious code in environment variables used by the operating system [1] . The United States Department of Homeland Security (DHS) is releasing this Technical Alert to provide further information about the GNU Bash vulnerability. Description GNU Bash versions 1.14 through 4.3 contain a flaw that processes commands placed after function definitions in the added environment variable, allowing remote attackers to execute arbitrary code via a crafted environment which enables network-based exploitation. [2 , 3 ] Critical instances where the vulnerability may be exposed include: [4 , 5 ] - Apache HTTP Server using mod_cgi or mod_cgid scripts either written in bash, or spawn subshells. - Override or Bypass ForceCommand feature in OpenSSH sshd and limited protection for some Git and Subversion deployments used to restrict shells and allows arbitrary command execution capabilities. - Allow arbitrary commands to run on a DHCP client machine, various Daemons and SUID/privileged programs. - Exploit servers and other Unix and Linux devices via Web requests, secure shell, telnet sessions, or other programs that use Bash to execute scripts. Impact This vulnerability is classified by industry standards as ?High? impact with CVSS Impact Subscore 10 and ?Low? on complexity, which means it takes little skill to perform. This flaw allows attackers to provide specially crafted environment variables containing arbitrary commands that can be executed on vulnerable systems. It is especially dangerous because of the prevalent use of the Bash shell and its ability to be called by an application in numerous ways. Solution Patches have been released to fix this vulnerability by major Linux vendors for affected versions. Solutions for CVE-2014-6271 do not completely resolve the vulnerability. It is advised to install existing patches and pay attention for updated patches to address CVE-2014-7169. Many UNIX-like operating systems, including Linux distributions, BSD variants, and Apple Mac OS X include Bash and are likely to be affected. Contact your vendor for updated information. A list of vendors can be found in CERT Vulnerability NoteVU#252743 [6] . US-CERT recommends system administrators review the vendor patches and the NIST Vulnerability Summary for CVE-2014-7169 , to mitigate damage caused by the exploit. References - Ars Technica, Bug in Bash shell creates big security hole on anything with *nix in it; - DHS NCSD; Vulnerability Summary for CVE-2014-6271 - DHS NCSD; Vulnerability Summary for CVE-2014-7169 - Red Hat, CVE-2014-6271 - Red Hat, Bash specially-crafted environment variables code injection attack - CERT Vulnerability Note VU#252743 Revision History - September 25, 2014 - Initial Release ------------------------------ From pete at lcsql.com Thu Sep 25 15:50:51 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 25 Sep 2014 12:50:51 -0700 Subject: Scroll Line Into View in a Datagrid In-Reply-To: <91F635E9-3AF5-4F94-B8A9-E87873130DA8@jhj.com> References: <91584BBC080B4A078B66D730919B5221@userd204a4d61c> <8D1A5BC3A26626B-1164-CB78@webmail-va217.sysops.aol.com> <5422F191.9080800@hyperactivesw.com> <1E1B3D83-6376-466A-B80C-F37BE2D2D066@gmail.com> <542353E3.6090509@LinkIt.Com> <5423671E.4000504@LinkIt.Com> <54237EBE.9060000@LinkIt.Com> <542437BF.80908@LinkIt.Com> <91F635E9-3AF5-4F94-B8A9-E87873130DA8@jhj.com> Message-ID: +1 Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Sep 25, 2014 at 12:21 PM, Jerry Jensen wrote: > Ray - have you tried out Bernd's modTableField? It does quite a lot of > what a datagrid table does for you, and its a lot simpler. > .Jerry > > On Sep 25, 2014, at 8:41 AM, Ray wrote: > > > Pete - I wanted to get back with you since you were so kind to respond > and shed some light on things. > > > > I've discovered [once again] that Livecode data grids are really > complicated, convoluted things. I had set the behavior of the grid in > question to a button whose script was a slightly altered version of the > default button. This in turn broke the ability to scroll, either from a > script or manually. Why? Who knows? > > > > I'm rebuilding the grid now from scratch and I'll come up with a > work-around other than setting the grid's behavior. > > > > Thanks for your help! > > > > Ray Horsley > > LinkIt! Software > > > > On 9/25/2014 1:21 AM, Peter Haworth wrote: > >> Datagrids come in 2 flavors, table and form. So you have a datagrid > table > >> not an LC basic table control. > >> > >> I asked about a form because of your comment about multiple lines. > Normally > >> a datagrid table has one line per row with a return character marking > the > >> end of a line. If you're trying to put multiple lines in a single > >> datagrid row, I don't think you can do that. > >> > >> Pete > >> lcSQL Software > >> On Sep 24, 2014 7:32 PM, "Ray" wrote: > >> > >>> Pete, > >>> > >>> Now wait a minute. I've sometimes gotten a bit confused with > Livecode's > >>> terms. When l look at it in the properties palette it's a "group" > with a > >>> "style" of "Table" which I can change to "Form" (but I don't). > >>> > >>> But when I created it I dragged over a "Data Grid" as oposed to a > "Basic > >>> Table Field" or a "Scrolling Field" for example. > >>> > >>> So what is it? > >>> > >>> On 9/24/2014 10:49 PM, Peter Haworth wrote: > >>> > >>>> Hi Ray, > >>>> So this is a datagrid form, not a table? Have to admit I'm not that > >>>> familiar with dg forms so not sure what else to suggest, sorry. > >>>> > >>>> Pete > >>>> lcSQL Software > >>>> Home of lcStackBrowser and > >>>> SQLiteAdmin > >>>> > >>>> On Wed, Sep 24, 2014 at 5:51 PM, Ray wrote: > >>>> > >>>> Pete, > >>>>> Thanks for the response. I've checked the it variable and I'm > getting > >>>>> "handled" returned, which I assume is good. Regarding the line > number, > >>>>> I've definitely got over 20 lines of data in the grid. I do only > have one > >>>>> line of data for the first two columns with about 23 lines of data > in the > >>>>> third. Do you think that could be the problem? > >>>>> > >>>>> Ray Horsley > >>>>> LinkIt! Software > >>>>> > >>>>> On 9/24/2014 9:21 PM, Peter Haworth wrote: > >>>>> > >>>>> Syntax looks good. Couple of things you've probably already > checked - > >>>>>> what's in the "it" variable after dispatch (should be "handled"), > and > >>>>>> are > >>>>>> you sure 20 is a valid line number. > >>>>>> > >>>>>> Pete > >>>>>> lcSQL Software > >>>>>> Home of lcStackBrowser > and > >>>>>> SQLiteAdmin > >>>>>> > >>>>>> > >>>>>> On Wed, Sep 24, 2014 at 4:29 PM, Ray wrote: > >>>>>> > >>>>>> Has anybody had any luck with scrollLineIntoView? > >>>>>> > >>>>>>> I'm trying all kinds of variations in syntax of: > >>>>>>> > >>>>>>> dispatch "scrollLineIntoView" to group "MyGroup" with 20 > >>>>>>> > >>>>>>> but with no results and nothing in 'the result' > >>>>>>> > >>>>>>> Is there something else I need to to do prepare for this? > >>>>>>> > >>>>>>> ____________________________________________________________ > >>>>>>> > >>>>>>> Note: I'm not sure if this got posted earlier. I can never get > that > >>>>>>> "receive your own posts" subscription option to work so please > excuse > >>>>>>> me > >>>>>>> if > >>>>>>> this was already posted. > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> use-livecode mailing list > >>>>>>> use-livecode at lists.runrev.com > >>>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>>>> subscription preferences: > >>>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>>> subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>>> > >>>>> _______________________________________________ > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Thu Sep 25 16:01:45 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 25 Sep 2014 16:01:45 -0400 Subject: LiveCode to Facebook? In-Reply-To: References: <517EB486-C97A-47DD-940B-FB217FC4DD13@netrin.com> Message-ID: Jim, That is a VERY handy list and resource. Thank you for sharing! SKIP On Thu, Sep 25, 2014 at 2:18 PM, Scott Rossi wrote: > Thanks Jim. The other item I was considering was launching the Settings > app, and it looks like there's an entry for this on the site. > > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 9/25/14 10:18 AM, "Jim Lambert" wrote: > > >Hi Scott, > > > >http://handleopenurl.com/scheme lists a bunch of custom URL schemes > >that can be used to launch other apps, including Facebook. > > > >Jim Lambert > >_______________________________________________ > >use-livecode mailing list > >use-livecode at lists.runrev.com > >Please visit this url to subscribe, unsubscribe and manage your > >subscription preferences: > >http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Thu Sep 25 16:12:51 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 25 Sep 2014 22:12:51 +0200 Subject: "ShellShock" - what are you doing? In-Reply-To: <54245D27.1070704@fourthworld.com> References: <54245D27.1070704@fourthworld.com> Message-ID: <54247743.4080207@economy-x-talk.com> Hi everyone, I did a few tests on devices that I have available. Mac OS X 10.4.11 is vulnerable. Mac OS X 10.6.8 is not vulnerable. Mac OS X 10.7.11 is vulerable. After installing the latest security update, 10.7.11 is still vulnerable. As you know, Ubuntu, most other Linux flavours, and Android are all vulnerable. For now, I don't see a reason to panic. I'll just disconnect the machine with 10.4.11 from the internet and won't use 10.7.11 until Apple fixes the problem. I'm more worried about an old Android device of mine that I can't update as well as all those routers, modems etc. for which no new software is available. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/25/2014 20:21, Richard Gaskin wrote: > I've been spending the morning reading up on the recently-discovered > "Shell Shock" vulnerability. > > Most of my Ubuntu machines were already patched, but it seems Apple > hasn't issued a patch as of this writing. > > Anyone here heard any definitive word on when Apple will provide a > patch, or when the second round of patches for other systems will become > available? > From sundown at pacifier.com Thu Sep 25 16:08:56 2014 From: sundown at pacifier.com (JB) Date: Thu, 25 Sep 2014 13:08:56 -0700 Subject: Mavericks In-Reply-To: <5424534B.6010902@gmail.com> References: <5423AE80.8040708@gmail.com> <5424534B.6010902@gmail.com> Message-ID: <2BEB11EB-9471-43F5-AF1E-829DB7BC88BE@pacifier.com> Hi Richmond, Do your Revolution standalones work with Mavericks? Mine do so I was wondering if for some reason they won?t work on your computer with Mavericks. John Balgenorth On Sep 25, 2014, at 10:39 AM, Richmond wrote: > On 25/09/14 08:56, Richmond wrote: >> Confirmed: Standalones built with LC 4.5 don't run on Mac OS 10.9 >> >> Sad, really >> >> Richmond. > > Would anybody happen to know exactly WHAT it is about standalones built with LiveCode 4.5 > that Mac OS 10.9 [Mavericks] objects to? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From matthias_livecode_150811 at m-r-d.de Thu Sep 25 16:24:52 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 25 Sep 2014 22:24:52 +0200 Subject: Anyone using Livecode Server for sending PushNotifications? In-Reply-To: <5423E847.5050002@splash21.com> References: <3C038EBC-FB65-4F87-B7D0-7840C377D48B@m-r-d.de> <5423E847.5050002@splash21.com> Message-ID: Hi John, thank you very much. I will try at the weekend. Matthias Am 25.09.2014 um 12:02 schrieb John Craig : > Hi, Matthias. Here's an old message on the subject.. > > http://article.gmane.org/gmane.comp.ide.revolution.user/175914/ > > the files mentioned in the post have been renamed to .lcx as LiveCode Server is now running on that machine. > > > > On 25/09/2014 08:21, Matthias Rebbe | M-R-D wrote: >> Hi, >> >> i am new to PushNotifications. I?ve looked into it many months ago, but gave up because of the php stuff. >> >> Is someone doing PushNotifications with LC server instead of PHP and would like to share how this can be done? >> >> Regards, >> >> Matthias >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Sep 25 16:26:18 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Thu, 25 Sep 2014 22:26:18 +0200 Subject: Anyone using Livecode Server for sending PushNotifications? In-Reply-To: <4DDD65EB-B8AC-436F-8AAC-9981E7198834@netrin.com> References: <4DDD65EB-B8AC-436F-8AAC-9981E7198834@netrin.com> Message-ID: <29085748-267F-487C-A8EB-A000109FE907@m-r-d.de> Jim, thanks for that. Matthias Am 25.09.2014 um 19:29 schrieb Jim Lambert : > > About a year ago I used John?s lcx files for doing push notifications and they worked beautifully. > > If you only need to send a single notification to a single device here?s a variation on John?s script that will do it. > > Jim Lambert > > include "includes/json.lc" > > command sendNotification pDevice, pAlert, pBadge, pSound, pPayload > # Provide the Host Information. > local tHost = "gateway.sandbox.push.apple.com" > local tPort = 2195 > > # Provide the Certificate and Key Data. > local tCert = "AppCertKey.pem" > > # Provide the Private Key Passphrase (alternatively you can keep this secrete and > # enter the key manually on the terminal -> remove relevant line from code). > # Replace XXXXX with your Passphrase > local tPassphrase = "XXXXX" > > # create the notificaion > put pAlert into tBodyA["aps"]["alert"] > put pBadge into tBodyA["aps"]["badge"] > put pSound into tBodyA["aps"]["sound"] > put pPayload into tBodyA["payload"] > > # convert to json - Mark Smith's library > put arrayToJson(tBodyA) into tNotification > > # build the binary notification to send > repeat for each item tCode in "0,0,32" > put numToChar(tCode) after tBinary > end repeat > put binaryEncode("H*", tDevice) after tBinary > put binaryEncode("n", length(tNotification)) after tBinary > put tNotification after tBinary > > # write the binary to a file and send via openssl > put (pDevice & the seconds) & ".bin" into tFile > put tBinary into URL("binfile:APNs/" & tFile) > get shell("cat APNs/" & tFile & " | openssl s_client -connect" && tHost & ":" & tPort && "-cert" && tCert && "-pass pass:" & tPassphrase) > > end sendNotification > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Sep 25 16:33:20 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 25 Sep 2014 23:33:20 +0300 Subject: Mavericks In-Reply-To: <2BEB11EB-9471-43F5-AF1E-829DB7BC88BE@pacifier.com> References: <5423AE80.8040708@gmail.com> <5424534B.6010902@gmail.com> <2BEB11EB-9471-43F5-AF1E-829DB7BC88BE@pacifier.com> Message-ID: <54247C10.7000002@gmail.com> On 25/09/14 23:08, JB wrote: > Hi Richmond, > > Do your Revolution standalones work with Mavericks? > Mine do so I was wondering if for some reason they > won?t work on your computer with Mavericks. > > John Balgenorth > > I don't have a computer running Mavericks, but I do have confirmation from people who do that my Standalones generated with Livecode 4.5 won't run. Your standalones may be generated from a later version of Livecode. Richmond. From harrison at all-auctions.com Thu Sep 25 16:33:28 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 25 Sep 2014 16:33:28 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> Message-ID: <3EDE39BE-A7D3-479B-A0D0-B26853684B8A@all-auctions.com> Pulling the computer from the internet until I hear Apple has fixed it! I don?t have time to mess with different shells hoping they work. I?ll check back in a day or so, and do something analog until then. Thanks for the head?s up! Rick From mwieder at ahsoftware.net Thu Sep 25 16:31:11 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 25 Sep 2014 13:31:11 -0700 Subject: Mavericks In-Reply-To: <5424534B.6010902@gmail.com> References: <5423AE80.8040708@gmail.com> <5424534B.6010902@gmail.com> Message-ID: <1711989995534.20140925133111@ahsoftware.net> Richmond- Thursday, September 25, 2014, 10:39:23 AM, you wrote: > Would anybody happen to know exactly WHAT it is about standalones built > with LiveCode 4.5 > that Mac OS 10.9 [Mavericks] objects to? As a guess, without knowing what I'm talking about, I'd say maybe building a universal binary, since non-Intel binaries don't run on Mavericks. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From richmondmathewson at gmail.com Thu Sep 25 16:36:54 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 25 Sep 2014 23:36:54 +0300 Subject: Mavericks In-Reply-To: <1711989995534.20140925133111@ahsoftware.net> References: <5423AE80.8040708@gmail.com> <5424534B.6010902@gmail.com> <1711989995534.20140925133111@ahsoftware.net> Message-ID: <54247CE6.1080505@gmail.com> On 25/09/14 23:31, Mark Wieder wrote: > Richmond- > > Thursday, September 25, 2014, 10:39:23 AM, you wrote: > >> Would anybody happen to know exactly WHAT it is about standalones built >> with LiveCode 4.5 >> that Mac OS 10.9 [Mavericks] objects to? > As a guess, without knowing what I'm talking about, I'd say maybe > building a universal binary, since non-Intel binaries don't run on > Mavericks. > Mark! I am NOT that daft. I am referring to Mac Intel builds not running on Mavericks. Richmond. From francois.chaplais at mines-paristech.fr Thu Sep 25 16:41:41 2014 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 25 Sep 2014 22:41:41 +0200 Subject: Mavericks In-Reply-To: <54247CE6.1080505@gmail.com> References: <5423AE80.8040708@gmail.com> <5424534B.6010902@gmail.com> <1711989995534.20140925133111@ahsoftware.net> <54247CE6.1080505@gmail.com> Message-ID: <3DCCF055-9FE3-4003-B2B4-A060FF0E55D6@mines-paristech.fr> Richmond, maybe it is time for the person who built the standalone to upgrade to a more recent version of Livecode. I have been told this is how livecode makes money. Not to mention the community edition. Best, Fran?ois Le 25 sept. 2014 ? 22:36, Richmond a ?crit : > On 25/09/14 23:31, Mark Wieder wrote: >> Richmond- >> >> Thursday, September 25, 2014, 10:39:23 AM, you wrote: >> >>> Would anybody happen to know exactly WHAT it is about standalones built >>> with LiveCode 4.5 >>> that Mac OS 10.9 [Mavericks] objects to? >> As a guess, without knowing what I'm talking about, I'd say maybe >> building a universal binary, since non-Intel binaries don't run on >> Mavericks. >> > > Mark! > > I am NOT that daft. I am referring to Mac Intel builds not running on Mavericks. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Sep 25 16:43:24 2014 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 25 Sep 2014 23:43:24 +0300 Subject: Mavericks In-Reply-To: <3DCCF055-9FE3-4003-B2B4-A060FF0E55D6@mines-paristech.fr> References: <5423AE80.8040708@gmail.com> <5424534B.6010902@gmail.com> <1711989995534.20140925133111@ahsoftware.net> <54247CE6.1080505@gmail.com> <3DCCF055-9FE3-4003-B2B4-A060FF0E55D6@mines-paristech.fr> Message-ID: <54247E6C.8070509@gmail.com> On 25/09/14 23:41, Fran?ois Chaplais wrote: > Richmond, maybe it is time for the person who built the standalone to upgrade to a more recent version of Livecode. I have been told this is how livecode makes money. Not to mention the community edition. > Best, > Fran?ois > When I make enough money from my software I will buy a new Commercial licence. I don't know which comes first: the chicken or the egg. Richmond. From sundown at pacifier.com Thu Sep 25 16:46:10 2014 From: sundown at pacifier.com (JB) Date: Thu, 25 Sep 2014 13:46:10 -0700 Subject: Mavericks In-Reply-To: <54247E6C.8070509@gmail.com> References: <5423AE80.8040708@gmail.com> <5424534B.6010902@gmail.com> <1711989995534.20140925133111@ahsoftware.net> <54247CE6.1080505@gmail.com> <3DCCF055-9FE3-4003-B2B4-A060FF0E55D6@mines-paristech.fr> <54247E6C.8070509@gmail.com> Message-ID: <5EED2540-8C0F-4D1C-852A-8D4AB99BCF8B@pacifier.com> As for what comes first the chicken or the egg I think it really depends on what is closer in your time zone, breakfast or dinner. John Balgenorth On Sep 25, 2014, at 1:43 PM, Richmond wrote: > On 25/09/14 23:41, Fran?ois Chaplais wrote: >> Richmond, maybe it is time for the person who built the standalone to upgrade to a more recent version of Livecode. I have been told this is how livecode makes money. Not to mention the community edition. >> Best, >> Fran?ois >> > > When I make enough money from my software I will buy a new Commercial licence. > > I don't know which comes first: the chicken or the egg. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Thu Sep 25 17:01:17 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Sep 2014 17:01:17 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: <3EDE39BE-A7D3-479B-A0D0-B26853684B8A@all-auctions.com> References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> <3EDE39BE-A7D3-479B-A0D0-B26853684B8A@all-auctions.com> Message-ID: Well, RedHat was patched early this morning, and appears to be ok. On Thu, Sep 25, 2014 at 4:33 PM, Rick Harrison wrote: > Pulling the computer from the internet until I hear Apple has fixed it! > I don?t have time to mess with different shells hoping they work. > I?ll check back in a day or so, and do something analog until then. > Thanks for the head?s up! > > Rick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Thu Sep 25 17:16:15 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Sep 2014 17:16:15 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> <3EDE39BE-A7D3-479B-A0D0-B26853684B8A@all-auctions.com> Message-ID: Hmm. RedHat says their patch is incomplete. I wonder what script that I haven't seen, yet, works. On Thu, Sep 25, 2014 at 5:01 PM, Mike Kerner wrote: > Well, RedHat was patched early this morning, and appears to be ok. > > On Thu, Sep 25, 2014 at 4:33 PM, Rick Harrison > wrote: > >> Pulling the computer from the internet until I hear Apple has fixed it! >> I don?t have time to mess with different shells hoping they work. >> I?ll check back in a day or so, and do something analog until then. >> Thanks for the head?s up! >> >> Rick >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Thu Sep 25 17:41:36 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Sep 2014 17:41:36 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> <3EDE39BE-A7D3-479B-A0D0-B26853684B8A@all-auctions.com> Message-ID: Here's the full explanation from RedHat, https://access.redhat.com/articles/1200223 which is pretty extensive, including a section on mitigation steps On Thu, Sep 25, 2014 at 5:16 PM, Mike Kerner wrote: > Hmm. RedHat says their patch is incomplete. I wonder what script that I > haven't seen, yet, works. > > On Thu, Sep 25, 2014 at 5:01 PM, Mike Kerner > wrote: > >> Well, RedHat was patched early this morning, and appears to be ok. >> >> On Thu, Sep 25, 2014 at 4:33 PM, Rick Harrison > > wrote: >> >>> Pulling the computer from the internet until I hear Apple has fixed it! >>> I don?t have time to mess with different shells hoping they work. >>> I?ll check back in a day or so, and do something analog until then. >>> Thanks for the head?s up! >>> >>> Rick >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From Mark_Smith at cpe.umanitoba.ca Thu Sep 25 18:01:25 2014 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Thu, 25 Sep 2014 15:01:25 -0700 (PDT) Subject: Xcode, which one? Message-ID: <1411682485620-4683786.post@n4.nabble.com> Hi there, Was running LC 5.5.5 on iOS 10.7.5 (Lion), Xcode 4.5.1, SDK 6.1 and iOS 6 on the phone and tablet - everything worked well. Wasn't able to run the latest MobGUI so thought, hmmmm, maybe I should upgrade (this IS always an adventure, isn't it ) First, upgraded the mobiles to iOS 7. Next upgraded iOS on the laptop to 10.9.5 (Mavericks) Then updated LC to 6.6.3 - hmmm, doesn't like my Xcode and SDK Go to Apple site. Latest Xcode is 6.0. Check the boards.... doesn't seem to work with LC yet. Previous versions are 5.1.1, 5.1, 5.0.2 and 5.0.1. Which one would you recommend? A book I am reviewing suggests 5.0.2 and SDK 7. Sound right? Thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Xcode-which-one-tp4683786.html Sent from the Revolution - User mailing list archive at Nabble.com. From rdimola at evergreeninfo.net Thu Sep 25 18:07:45 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 25 Sep 2014 18:07:45 -0400 Subject: Xcode, which one? In-Reply-To: <1411682485620-4683786.post@n4.nabble.com> References: <1411682485620-4683786.post@n4.nabble.com> Message-ID: <009601cfd90d$230bc590$692350b0$@net> 5.5.1 works for me with Mavericks and LC 6.6.3 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Thursday, September 25, 2014 6:01 PM To: use-revolution at lists.runrev.com Subject: Xcode, which one? Hi there, Was running LC 5.5.5 on iOS 10.7.5 (Lion), Xcode 4.5.1, SDK 6.1 and iOS 6 on the phone and tablet - everything worked well. Wasn't able to run the latest MobGUI so thought, hmmmm, maybe I should upgrade (this IS always an adventure, isn't it ) First, upgraded the mobiles to iOS 7. Next upgraded iOS on the laptop to 10.9.5 (Mavericks) Then updated LC to 6.6.3 - hmmm, doesn't like my Xcode and SDK Go to Apple site. Latest Xcode is 6.0. Check the boards.... doesn't seem to work with LC yet. Previous versions are 5.1.1, 5.1, 5.0.2 and 5.0.1. Which one would you recommend? A book I am reviewing suggests 5.0.2 and SDK 7. Sound right? Thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Xcode-which-one-tp4683786.htm l Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Sep 25 18:07:45 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 25 Sep 2014 18:07:45 -0400 Subject: Xcode, which one? In-Reply-To: <1411682485620-4683786.post@n4.nabble.com> References: <1411682485620-4683786.post@n4.nabble.com> Message-ID: <009601cfd90d$230bc590$692350b0$@net> 5.5.1 works for me with Mavericks and LC 6.6.3 Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Thursday, September 25, 2014 6:01 PM To: use-revolution at lists.runrev.com Subject: Xcode, which one? Hi there, Was running LC 5.5.5 on iOS 10.7.5 (Lion), Xcode 4.5.1, SDK 6.1 and iOS 6 on the phone and tablet - everything worked well. Wasn't able to run the latest MobGUI so thought, hmmmm, maybe I should upgrade (this IS always an adventure, isn't it ) First, upgraded the mobiles to iOS 7. Next upgraded iOS on the laptop to 10.9.5 (Mavericks) Then updated LC to 6.6.3 - hmmm, doesn't like my Xcode and SDK Go to Apple site. Latest Xcode is 6.0. Check the boards.... doesn't seem to work with LC yet. Previous versions are 5.1.1, 5.1, 5.0.2 and 5.0.1. Which one would you recommend? A book I am reviewing suggests 5.0.2 and SDK 7. Sound right? Thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Xcode-which-one-tp4683786.htm l Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Sep 25 18:08:36 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 25 Sep 2014 18:08:36 -0400 Subject: Xcode, which one? In-Reply-To: <1411682485620-4683786.post@n4.nabble.com> References: <1411682485620-4683786.post@n4.nabble.com> Message-ID: <009701cfd90d$418e49c0$c4aadd40$@net> 5.1.1 I mean Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Thursday, September 25, 2014 6:01 PM To: use-revolution at lists.runrev.com Subject: Xcode, which one? Hi there, Was running LC 5.5.5 on iOS 10.7.5 (Lion), Xcode 4.5.1, SDK 6.1 and iOS 6 on the phone and tablet - everything worked well. Wasn't able to run the latest MobGUI so thought, hmmmm, maybe I should upgrade (this IS always an adventure, isn't it ) First, upgraded the mobiles to iOS 7. Next upgraded iOS on the laptop to 10.9.5 (Mavericks) Then updated LC to 6.6.3 - hmmm, doesn't like my Xcode and SDK Go to Apple site. Latest Xcode is 6.0. Check the boards.... doesn't seem to work with LC yet. Previous versions are 5.1.1, 5.1, 5.0.2 and 5.0.1. Which one would you recommend? A book I am reviewing suggests 5.0.2 and SDK 7. Sound right? Thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Xcode-which-one-tp4683786.htm l Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Thu Sep 25 18:08:36 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 25 Sep 2014 18:08:36 -0400 Subject: Xcode, which one? In-Reply-To: <1411682485620-4683786.post@n4.nabble.com> References: <1411682485620-4683786.post@n4.nabble.com> Message-ID: <009701cfd90d$418e49c0$c4aadd40$@net> 5.1.1 I mean Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mark Smith Sent: Thursday, September 25, 2014 6:01 PM To: use-revolution at lists.runrev.com Subject: Xcode, which one? Hi there, Was running LC 5.5.5 on iOS 10.7.5 (Lion), Xcode 4.5.1, SDK 6.1 and iOS 6 on the phone and tablet - everything worked well. Wasn't able to run the latest MobGUI so thought, hmmmm, maybe I should upgrade (this IS always an adventure, isn't it ) First, upgraded the mobiles to iOS 7. Next upgraded iOS on the laptop to 10.9.5 (Mavericks) Then updated LC to 6.6.3 - hmmm, doesn't like my Xcode and SDK Go to Apple site. Latest Xcode is 6.0. Check the boards.... doesn't seem to work with LC yet. Previous versions are 5.1.1, 5.1, 5.0.2 and 5.0.1. Which one would you recommend? A book I am reviewing suggests 5.0.2 and SDK 7. Sound right? Thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Xcode-which-one-tp4683786.htm l Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Thu Sep 25 18:24:18 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 25 Sep 2014 18:24:18 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: <54246183.50602@gmail.com> References: <54245D27.1070704@fourthworld.com> <54246183.50602@gmail.com> Message-ID: <3EFB7712-416B-4422-B612-A01513C8BAE3@all-auctions.com> Hey there, How come if I run: env x='() { :;}; echo Not vulnerable' bash -c "echo this is a test? I get: Not vulnerable Is this a c/bash joke or what? I also went to the real website for Homeland Security: http://www.dhs.gov/news There is absolutely nothing about any vulnerability in bash in the news there! Stop spreading bogus rumors! Rick On Sep 25, 2014, at 2:40 PM, Richmond wrote: > env x='() { :;}; echo vulnerable' bash -c "echo this is a test" From scott at tactilemedia.com Thu Sep 25 19:03:40 2014 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 25 Sep 2014 16:03:40 -0700 Subject: Embed Image Using mobileComposeHTMLMail In-Reply-To: References: Message-ID: OK, responding to my own question. The first few times I tried this, I got nothing visible in the emails, but attachment indications. Now, images are suddenly showing up embedded in the test emails. Sunspots? Microwaves? I don't know. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design Recently I wrote: >Hi List Folks: > >Am wondering if it's possible to create an email with an embedded image >using mobileComposeHTMLMail, instead of simply attaching the image? When >an email is created using mobileComposeHTMLMail, the preview displays >with >the image embedded, but once sent, the image arrives as an attachment. > >I would think that mobileComposeHTMLMail would do this automatically, >compared to using mobileComposeMail. > >Does anyone have a way to do this? > >Thanks & Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design From andrew at ctech.me Thu Sep 25 19:38:41 2014 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 25 Sep 2014 18:38:41 -0500 Subject: variable trouble In-Reply-To: <00F07F8EBC13442297E8C6BFD5333D12@userd204a4d61c> References: <00F07F8EBC13442297E8C6BFD5333D12@userd204a4d61c> Message-ID: Larry, I'd try copy and pasting some more of the code around it and we can try and figure out what you are trying to accomplish. Andrew On Sep 24, 2014 2:10 AM, wrote: > Hi Scott, > I meant to say "inexplicable to me." > Your solution works great. > However, I cannot figure out the next part: > I want to put the value of thisKey into a variable when it matches. > So I tried a few iterations of: > > put value(thisVar[thisKey]) & space after newVar > > but could not get anything to work - with the parenthesis in different > places. > > Do you know the syntax for adding the bracketed thisKey ?? > > Thanks, > Larry > > ----- Original Message ----- From: "Scott Rossi" > To: "LiveCode Mail List" > Sent: Wednesday, September 24, 2014 12:28 AM > Subject: Re: variable trouble > > > Hi Larry: >> >> Your situation is very explicable. In your script you're treating >> "thisVar" as an array, instead of accessing the array that you put into >> thisVar. You're trying to use one variable to refer to another. >> >> If I understand the result you want, one way would be to use the value >> function, to retrieve the data of the array stored in thisVar: >> >> put "wgList0" & N into thisVar >> >> put the keys of value(thisVar) into theseKeys >> >> >> Hope this works for you. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 9/23/14 11:07 PM, "larry at significantplanet.org" >> wrote: >> >> Hello, >>> >>> I'm using 6.6.3 on Windows XP. >>> >>> This line of code works just fine: >>> put the keys of wgList03 into theseKeys >>> >>> but the following lines of code do NOT work: (where N is 3) -- and yes, >>> it IS a ZERO after wgList >>> >>> put "wgList0" & N into thisVar >>> >>> put the keys of thisVar into theseKeys >>> >>> To me, this is just inexplicable and very frustrating. Any help will be >>> greatly appreciated. >>> >>> Thanks, >>> >>> Larry >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bernd.gottwald at outrange.com Thu Sep 25 19:38:54 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 26 Sep 2014 01:38:54 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_132,_Issue_55?= Message-ID: <20140925233854.16359.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From sc at sahores-conseil.com Thu Sep 25 20:01:46 2014 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 26 Sep 2014 02:01:46 +0200 Subject: Xcode, which one? In-Reply-To: <009601cfd90d$230bc590$692350b0$@net> References: <1411682485620-4683786.post@n4.nabble.com> <009601cfd90d$230bc590$692350b0$@net> Message-ID: <65A3B2E0-6CD2-4680-B675-7FE7E87EDEEE@sahores-conseil.com> LC 6.6.3, Xcode Version 5.1.1 (5B1008), OS X 10.9.5 is OK here. Note : i had to remove Xcode 6 as soon as installed (yesterday) and to reload Xcode 5.1.1 from TimeMachine backup to get all back to OK. Best, Pierre Le 26 sept. 2014 ? 00:07, Ralph DiMola a ?crit : > 5.5.1 works for me with Mavericks and LC 6.6.3 > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Mark Smith > Sent: Thursday, September 25, 2014 6:01 PM > To: use-revolution at lists.runrev.com > Subject: Xcode, which one? > > Hi there, > > Was running LC 5.5.5 on iOS 10.7.5 (Lion), Xcode 4.5.1, SDK 6.1 and iOS 6 on > the phone and tablet - everything worked well. Wasn't able to run the latest > MobGUI so thought, hmmmm, maybe I should upgrade (this IS always an > adventure, isn't it ) > > First, upgraded the mobiles to iOS 7. > Next upgraded iOS on the laptop to 10.9.5 (Mavericks) Then updated LC to > 6.6.3 - hmmm, doesn't like my Xcode and SDK > > Go to Apple site. Latest Xcode is 6.0. Check the boards.... doesn't seem to > work with LC yet. Previous versions are 5.1.1, 5.1, 5.0.2 and 5.0.1. Which > one would you recommend? A book I am reviewing suggests 5.0.2 and SDK 7. > Sound right? > > Thanks > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Xcode-which-one-tp4683786.htm > l > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From pete at lcsql.com Thu Sep 25 20:20:20 2014 From: pete at lcsql.com (Peter Haworth) Date: Thu, 25 Sep 2014 17:20:20 -0700 Subject: variable trouble In-Reply-To: References: <00F07F8EBC13442297E8C6BFD5333D12@userd204a4d61c> Message-ID: > I want to put the value of thisKey into a variable when it matches. > > So I tried a few iterations of: > > > > put value(thisVar[thisKey]) & space after newVar > Little confused about what you want to do but let's say thisKey contains"abc" and the array element thisVar["abc"] contains 123. If you want to put "abc" into your other variable: put thiskey & space newVar. If you want to put 123 into your other variable: put thisVar[thisKey] & space after newVar Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From Mark_Smith at cpe.umanitoba.ca Thu Sep 25 20:55:47 2014 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Thu, 25 Sep 2014 17:55:47 -0700 (PDT) Subject: Xcode, which one? In-Reply-To: <65A3B2E0-6CD2-4680-B675-7FE7E87EDEEE@sahores-conseil.com> References: <1411682485620-4683786.post@n4.nabble.com> <009601cfd90d$230bc590$692350b0$@net> <65A3B2E0-6CD2-4680-B675-7FE7E87EDEEE@sahores-conseil.com> Message-ID: <1411692947876-4683795.post@n4.nabble.com> Ok thanks, reassuring to know what's been working. Just wanted to make sure I wasn't missing anything (the possible combinations and permutations are pretty huge). Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Xcode-which-one-tp4683786p4683795.html Sent from the Revolution - User mailing list archive at Nabble.com. From MikeKerner at roadrunner.com Thu Sep 25 21:22:45 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 25 Sep 2014 21:22:45 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: <3EFB7712-416B-4422-B612-A01513C8BAE3@all-auctions.com> References: <54245D27.1070704@fourthworld.com> <54246183.50602@gmail.com> <3EFB7712-416B-4422-B612-A01513C8BAE3@all-auctions.com> Message-ID: lmao Nice. On Thu, Sep 25, 2014 at 6:24 PM, Rick Harrison wrote: > Hey there, > > How come if I run: > > env x='() { :;}; echo Not vulnerable' bash -c "echo this is a test? > > I get: > > Not vulnerable > > Is this a c/bash joke or what? > > I also went to the real website for Homeland Security: > http://www.dhs.gov/news > > There is absolutely nothing about any vulnerability in bash in the news > there! > > Stop spreading bogus rumors! > > Rick > > > > On Sep 25, 2014, at 2:40 PM, Richmond wrote: > > > env x='() { :;}; echo vulnerable' bash -c "echo this is a test" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From Mark_Smith at cpe.umanitoba.ca Thu Sep 25 22:22:59 2014 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Thu, 25 Sep 2014 19:22:59 -0700 (PDT) Subject: Documentation Message-ID: <1411698179717-4683797.post@n4.nabble.com> I've just upgraded from 5.5.5 to 6.6.3. Surely there have been a few changes between then and now? But reading the Release Notes provides no hint. Is there one document I can read that tracks all of the additions, updates and changes from 5.5.5 to 6.6.3? Here's hoping! Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Documentation-tp4683797.html Sent from the Revolution - User mailing list archive at Nabble.com. From bogdanoff at me.com Fri Sep 26 00:24:38 2014 From: bogdanoff at me.com (Peter Bogdanoff) Date: Thu, 25 Sep 2014 21:24:38 -0700 Subject: Sorting a multidimensional array Message-ID: <674B1687-221F-41F4-91DA-820B0C9D063B@me.com> My first foray into arrays: I want to sort a 2D array by one of the keys. The data consists of several 2-line groups that are in a field. The lines contain styled and linked characters that I want to retain after sorting: peaches pears apples oranges plums grapes I want to sort the data by line 1 of each 2-line group, then display the sorted data as styled text. I build an array: repeat with x = 1 to (the number of lines of field ?tField" / 3) put line 1 of field ?tField" into tMultiArray[x][1] put the htmlText of line 1 of field ?tField" into tMultiArray[x][2] put the htmlText of line 2 of field ?tField" into tMultiArray[x][3] delete line 1 to 3 of field ?tField" end repeat How do I sort this array by line 1 of the plain text of each group? Then, how do I extract the data from the array?I need the 2nd & 3rd values only (the htmlText) to display again in the field (set the htmlText of line x of field ?tField? to??)? Is this the best method to sort this kind of data? The data comes as search results using Scott McDonald?s RunRev Planet Search tool, so I have to work with what the tool gives me. I do appreciate any help! Peter Bogdanoff UCLA From lan.kc.macmail at gmail.com Fri Sep 26 02:54:57 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Sep 2014 14:54:57 +0800 Subject: searching for chars within a string In-Reply-To: <3FBF4FD7444C4C6BBA8A2F16BA369854@userd204a4d61c> References: <3FBF4FD7444C4C6BBA8A2F16BA369854@userd204a4d61c> Message-ID: A simple way would be just to use basic matchText() for each single letter and regex matchText() for repeating letters. P.*P will find double Ps, P.*P.*P will find triple Ps etc. Seems to be relatively fast but if you have very large data sets other alternatives would need to be investigated. in the message box: put "ABCDEKLP" into X put "ABCDEKLLLLMMOOPP" into Y put 100000 into Z put 0 into a put 0 into b put 0 into c put 0 into d put the millisec into tStart repeat Z times if (matchText(X, "A") AND matchText(X, "E") AND matchText(X, "L") AND matchText(X, "P.*P")) then add 1 to a else add 1 to b end if if (matchText(Y, "A") AND matchText(Y, "E") AND matchText(Y, "L") AND matchText(Y, "P.*P")) then add 1 to c else add 1 to d end if end repeat put the millisec into tEnd put "X Passed " & a & " times." & cr into msg put "X Failed " & b & " times." & cr after msg put "Y Passed " & c & " times." & cr after msg put "Y Failed " & d & " times." & cr after msg put Z & " repeats took " & tEnd - tStart & " ms" after msg The above should take less than 1 sec but for a million repeats I got: X Passed 0 times. X Failed 1000000 times. Y Passed 1000000 times. Y Failed 0 times. 1000000 repeats took 1997 ms NOTE: the above only works if the letters you are looking for can appear in ANY order. If you need a specific order then you'd have to regex matchText() for all searches, ie if (matchText(X, "A.*E.*L.*P") AND matchText(X,"P.*P")) then Yes, the P must appear in both searches to ensure a P has both an L before it and a P after it. HTH On Wed, Sep 24, 2014 at 8:22 AM, wrote: > Hello, > > I have done a lot research and cannot find any way to do this: > > I have a string, "AELPP" and I want to see if all 5 of those letters are in "search string" > > If search string is: ABCDEKLP, then NO it isn't because there are two P's in the string I'm searching for. > > But if search string is: ABCDEKLLLMMOOPP, then YES the string I'm searching for is found in the search string. > > It is important to my program that I just find the 5 chars anywhere within the search string and they do not have to be sequential in the search string. > > Thanks for any help, > Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lan.kc.macmail at gmail.com Fri Sep 26 04:30:15 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Fri, 26 Sep 2014 16:30:15 +0800 Subject: sorting question In-Reply-To: <1411548007970-4683687.post@n4.nabble.com> References: <68C95E69B48149868A0CBBFEA459244A@userd204a4d61c> <575E381488AD4490862445FA259BF8D3@userd204a4d61c> <1411548007970-4683687.post@n4.nabble.com> Message-ID: On Wed, Sep 24, 2014 at 4:40 PM, Dave Kilroy wrote: > For others wondering what the cause was, it was likely that the spaces in > each item were confusing things It is impossible that the spaces in front of each item could cause the sort NOT to change the list at all, which is what Larry reported. In the message box: put " ID, NA, OD, OA, FE" into tStore sort items of tStore put tStore into msg The space character is just another character and LC will sort it correctly. Of the list given, only the first item may not have had a space in front of it, so this may have ended up in the wrong place but the rest should have sorted correctly. Whilst removing and replacing spaces is one option to correct this, it may not be suitable in every situation, especially if the existence or lack of a space has significance - i.e. if you have a list of file names and you are specifically looking for those names that have a space as a prefix or a suffix. put "ID, NA , OD,OA, FE" into tStore sort items of tStore put tStore into msg Will correctly sort the file names placing all those with a prefix space at the beginning and preserving all suffix spaces. If prefix and suffix spaces are irrelevant then you can save yourself the hassle of standardising your data by removing and replacing the spaces by simply specifying that you want to sort by word: put "ID, NA , OD,OA, FE" into tStore sort items of tStore by word 1 of each put tStore into msg From bernd.gottwald at outrange.com Fri Sep 26 06:00:10 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 26 Sep 2014 12:00:10 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_132,_Issue_56?= Message-ID: <20140926100010.2516.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From dick.kriesel at mail.com Fri Sep 26 06:06:10 2014 From: dick.kriesel at mail.com (Dick Kriesel) Date: Fri, 26 Sep 2014 03:06:10 -0700 Subject: Sorting a multidimensional array In-Reply-To: <674B1687-221F-41F4-91DA-820B0C9D063B@me.com> References: <674B1687-221F-41F4-91DA-820B0C9D063B@me.com> Message-ID: On Sep 25, 2014, at 9:24 PM, Peter Bogdanoff wrote: > My first foray into arrays Hi, Peter. For this foray, you could use a one-dimensional array, containing the three lines of html text for each plain text key: command sortGroupsOfLines local tText, tLineNumber, tGroup, tKey, tArray, tKeys, tSortedGroups put the text of fld 1 into tText split tText by cr and null repeat for each line tLine in the HTMLtext of fld 1 add 1 to tLineNumber switch tLineNumber wrap 3 case 1 put tText[ tLineNumber ] into tKey put tLine & cr into tGroup break case 2 put tLine & cr after tGroup break case 3 put tGroup & tLine & cr into tArray[ tKey ] end switch end repeat put the keys of tArray into tKeys sort tKeys repeat for each line tKey in tKeys put tArray[ tKey ] after tSortedGroups end repeat set the HTMLText of fld 2 to tSortedGroups end sortGroupsOfLines Because this approach has only three references to objects, it's faster. How's that, Peter? -- Dick From ambassador at fourthworld.com Fri Sep 26 09:23:17 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 26 Sep 2014 06:23:17 -0700 Subject: Documentation In-Reply-To: <1411698179717-4683797.post@n4.nabble.com> References: <1411698179717-4683797.post@n4.nabble.com> Message-ID: <542568C5.5030407@fourthworld.com> Mark Smith wrote: > I've just upgraded from 5.5.5 to 6.6.3. Surely there have been a few changes > between then and now? But reading the Release Notes provides no hint. Is > there one document I can read that tracks all of the additions, updates and > changes from 5.5.5 to 6.6.3? There's no single document outlining the changes between that specific range of versions, but the release notes for each version will bring you up to speed: -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From skip at magicgate.com Fri Sep 26 11:14:00 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 26 Sep 2014 11:14:00 -0400 Subject: Documentation In-Reply-To: <542568C5.5030407@fourthworld.com> References: <1411698179717-4683797.post@n4.nabble.com> <542568C5.5030407@fourthworld.com> Message-ID: Just a thought: One of pieces of software that we use in our office environment, we can go online and put in the version of the software you are using and the version that you have upgraded to and it will compile a complete feature / bug fix document for you on the fly based upon the version differences. It would be GREAT to have something like this.... Anybody care to take this on? :) SKIP On Fri, Sep 26, 2014 at 9:23 AM, Richard Gaskin wrote: > Mark Smith wrote: > >> I've just upgraded from 5.5.5 to 6.6.3. Surely there have been a few >> changes >> between then and now? But reading the Release Notes provides no hint. Is >> there one document I can read that tracks all of the additions, updates >> and >> changes from 5.5.5 to 6.6.3? >> > > There's no single document outlining the changes between that specific > range of versions, but the release notes for each version will bring you up > to speed: > > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pmbrig at gmail.com Fri Sep 26 11:41:35 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 26 Sep 2014 11:41:35 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: <3EFB7712-416B-4422-B612-A01513C8BAE3@all-auctions.com> References: <54245D27.1070704@fourthworld.com> <54246183.50602@gmail.com> <3EFB7712-416B-4422-B612-A01513C8BAE3@all-auctions.com> Message-ID: On Sep 25, 2014, at 6:24 PM, Rick Harrison wrote: > I also went to the real website for Homeland Security: http://www.dhs.gov/news > > There is absolutely nothing about any vulnerability in bash in the news there! Yes there is. Do a search on their site for "shellshock". Or is there a joke here I'm not getting? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From pmbrig at gmail.com Fri Sep 26 11:55:16 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 26 Sep 2014 11:55:16 -0400 Subject: Sorting a multidimensional array In-Reply-To: <674B1687-221F-41F4-91DA-820B0C9D063B@me.com> References: <674B1687-221F-41F4-91DA-820B0C9D063B@me.com> Message-ID: <9D0AA920-CF8B-4D31-97C1-24135D6E999C@gmail.com> On Sep 26, 2014, at 12:24 AM, Peter Bogdanoff wrote: > My first foray into arrays: > > I want to sort a 2D array by one of the keys. > > The data consists of several 2-line groups that are in a field. The lines contain styled and linked characters that I want to retain after sorting: > > peaches > pears > > apples > oranges > > plums > grapes > > I want to sort the data by line 1 of each 2-line group, then display the sorted data as styled text. > > I build an array: > > repeat with x = 1 to (the number of lines of field ?tField" / 3) > put line 1 of field ?tField" into tMultiArray[x][1] > put the htmlText of line 1 of field ?tField" into tMultiArray[x][2] > put the htmlText of line 2 of field ?tField" into tMultiArray[x][3] > delete line 1 to 3 of field ?tField" > end repeat > > How do I sort this array by line 1 of the plain text of each group? > > Then, how do I extract the data from the array?I need the 2nd & 3rd values only (the htmlText) to display again in the field (set the htmlText of line x of field ?tField? to??)? > > Is this the best method to sort this kind of data? The data comes as search results using Scott McDonald?s RunRev Planet Search tool, so I have to work with what the tool gives me. You could do it without any arrays: on sortIt tFldRef put the htmlText of tFldRef into tData put numtochar(4) into groupDiv put numtochar(5) into itemDiv replace "

" with groupDiv in tData replace"

" with itemDiv in tData replace groupDiv with cr in tData set the itemdel to itemDiv sort lines of tData by item 1 of each replace cr with "

" in tData replace itemDiv with "

" in tData set the htmltext of tFldRef to tData end sortIt Not tested, may need to do more parsing of HTMLtext before sorting?. But you get the idea. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From larry at significantplanet.org Fri Sep 26 11:58:26 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 26 Sep 2014 09:58:26 -0600 Subject: searching for chars within a string References: <3FBF4FD7444C4C6BBA8A2F16BA369854@userd204a4d61c> Message-ID: <65C49D5574814FE3B7B40DFDF27ABCCE@userd204a4d61c> Hello Kay, Good stuff. I did some time tests and offset() is about twice as fast as matchText(). Don't know why. Larry ----- Original Message ----- From: "Kay C Lan" To: "How to use LiveCode" Sent: Friday, September 26, 2014 12:54 AM Subject: Re: searching for chars within a string >A simple way would be just to use basic matchText() for each single > letter and regex matchText() for repeating letters. P.*P will find > double Ps, P.*P.*P will find triple Ps etc. Seems to be relatively > fast but if you have very large data sets other alternatives would > need to be investigated. > > in the message box: > > put "ABCDEKLP" into X > put "ABCDEKLLLLMMOOPP" into Y > put 100000 into Z > put 0 into a > put 0 into b > put 0 into c > put 0 into d > put the millisec into tStart > repeat Z times > if (matchText(X, "A") AND matchText(X, "E") AND matchText(X, "L") AND > matchText(X, "P.*P")) then > add 1 to a > else > add 1 to b > end if > if (matchText(Y, "A") AND matchText(Y, "E") AND matchText(Y, "L") AND > matchText(Y, "P.*P")) then > add 1 to c > else > add 1 to d > end if > end repeat > put the millisec into tEnd > put "X Passed " & a & " times." & cr into msg > put "X Failed " & b & " times." & cr after msg > put "Y Passed " & c & " times." & cr after msg > put "Y Failed " & d & " times." & cr after msg > put Z & " repeats took " & tEnd - tStart & " ms" after msg > > The above should take less than 1 sec but for a million repeats I got: > > X Passed 0 times. > X Failed 1000000 times. > Y Passed 1000000 times. > Y Failed 0 times. > 1000000 repeats took 1997 ms > > NOTE: the above only works if the letters you are looking for can > appear in ANY order. If you need a specific order then you'd have to > regex matchText() for all searches, ie > > if (matchText(X, "A.*E.*L.*P") AND matchText(X,"P.*P")) then > > Yes, the P must appear in both searches to ensure a P has both an L > before it and a P after it. > > HTH > > On Wed, Sep 24, 2014 at 8:22 AM, wrote: >> Hello, >> >> I have done a lot research and cannot find any way to do this: >> >> I have a string, "AELPP" and I want to see if all 5 of those letters are >> in "search string" >> >> If search string is: ABCDEKLP, then NO it isn't because there are two >> P's in the string I'm searching for. >> >> But if search string is: ABCDEKLLLMMOOPP, then YES the string I'm >> searching for is found in the search string. >> >> It is important to my program that I just find the 5 chars anywhere >> within the search string and they do not have to be sequential in the >> search string. >> >> Thanks for any help, >> Larry >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Fri Sep 26 13:53:29 2014 From: pmbrig at gmail.com (Peter M. Brigham) Date: Fri, 26 Sep 2014 13:53:29 -0400 Subject: searching for chars within a string In-Reply-To: <65C49D5574814FE3B7B40DFDF27ABCCE@userd204a4d61c> References: <3FBF4FD7444C4C6BBA8A2F16BA369854@userd204a4d61c> <65C49D5574814FE3B7B40DFDF27ABCCE@userd204a4d61c> Message-ID: <14365D47-3061-4C27-B458-C624F7E9DBBB@gmail.com> I'm curious, Larry -- how fast is this on your machine compared to the regex solutions? function isInString testStr, targetStr repeat for each char c in testStr add 1 to countArray[c] end repeat put the keys of countArray into letterList repeat for each line L in letterlist put countArray[L] into nbrCharsTest put howMany(c,targetStr,comma) into nbrCharsNeeded if nbrCharsNeeded < nbrCharsTest then return false end repeat return true end isInString function howmany tg,container,divChar -- how many tg = is in container replace tg with divChar in container set the itemdelimiter to divChar put the number of items of container into h if char -1 of container = divChar then return h -- trailing delimiter is ignored return h-1 end howmany -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Sep 26, 2014, at 11:58 AM, wrote: > Hello Kay, > Good stuff. > I did some time tests and offset() is about twice as fast as matchText(). Don't know why. > Larry > > ----- Original Message ----- From: "Kay C Lan" > To: "How to use LiveCode" > Sent: Friday, September 26, 2014 12:54 AM > Subject: Re: searching for chars within a string > > >> A simple way would be just to use basic matchText() for each single >> letter and regex matchText() for repeating letters. P.*P will find >> double Ps, P.*P.*P will find triple Ps etc. Seems to be relatively >> fast but if you have very large data sets other alternatives would >> need to be investigated. >> >> in the message box: >> >> put "ABCDEKLP" into X >> put "ABCDEKLLLLMMOOPP" into Y >> put 100000 into Z >> put 0 into a >> put 0 into b >> put 0 into c >> put 0 into d >> put the millisec into tStart >> repeat Z times >> if (matchText(X, "A") AND matchText(X, "E") AND matchText(X, "L") AND >> matchText(X, "P.*P")) then >> add 1 to a >> else >> add 1 to b >> end if >> if (matchText(Y, "A") AND matchText(Y, "E") AND matchText(Y, "L") AND >> matchText(Y, "P.*P")) then >> add 1 to c >> else >> add 1 to d >> end if >> end repeat >> put the millisec into tEnd >> put "X Passed " & a & " times." & cr into msg >> put "X Failed " & b & " times." & cr after msg >> put "Y Passed " & c & " times." & cr after msg >> put "Y Failed " & d & " times." & cr after msg >> put Z & " repeats took " & tEnd - tStart & " ms" after msg >> >> The above should take less than 1 sec but for a million repeats I got: >> >> X Passed 0 times. >> X Failed 1000000 times. >> Y Passed 1000000 times. >> Y Failed 0 times. >> 1000000 repeats took 1997 ms >> >> NOTE: the above only works if the letters you are looking for can >> appear in ANY order. If you need a specific order then you'd have to >> regex matchText() for all searches, ie >> >> if (matchText(X, "A.*E.*L.*P") AND matchText(X,"P.*P")) then >> >> Yes, the P must appear in both searches to ensure a P has both an L >> before it and a P after it. >> >> HTH >> >> On Wed, Sep 24, 2014 at 8:22 AM, wrote: >>> Hello, >>> >>> I have done a lot research and cannot find any way to do this: >>> >>> I have a string, "AELPP" and I want to see if all 5 of those letters are in "search string" >>> >>> If search string is: ABCDEKLP, then NO it isn't because there are two P's in the string I'm searching for. >>> >>> But if search string is: ABCDEKLLLMMOOPP, then YES the string I'm searching for is found in the search string. >>> >>> It is important to my program that I just find the 5 chars anywhere within the search string and they do not have to be sequential in the search string. From bobsneidar at iotecdigital.com Fri Sep 26 14:00:50 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Fri, 26 Sep 2014 18:00:50 +0000 Subject: 6.6.2 or 6.6.3??? Message-ID: <6BF261A0-D103-4A0C-BED9-5B4B03692655@iotecdigital.com> Hi all. I?m wondering if any other Windows users are encountering this: I downloaded and installed the 6.6.3 installer, the commercial version, to test in my Windows 7 environment. But when the app launches it reports that it is 6.6.2! So I get an alert that there is a new version, 6.6.3, so I install that over top. It still reports that it is version 6.6.2!!! So which is it? 6.6.2, or 6.6.3? Is this just a display bug? The About Livecode splash screen is indicating 6.6.2 build 4012. Bob S From dochawk at gmail.com Fri Sep 26 14:15:12 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 26 Sep 2014 11:15:12 -0700 Subject: getting a section cross-platform without utf Message-ID: I'm not ready to deal with general utf conversion yet. About the only thing I need is the section symbol, ? (on mac). With 5.5, is there a way to type this in that will render as a section symbol on both mac & pc -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From rdimola at evergreeninfo.net Fri Sep 26 14:20:40 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 26 Sep 2014 14:20:40 -0400 Subject: 6.6.2 or 6.6.3??? In-Reply-To: <6BF261A0-D103-4A0C-BED9-5B4B03692655@iotecdigital.com> References: <6BF261A0-D103-4A0C-BED9-5B4B03692655@iotecdigital.com> Message-ID: <005701cfd9b6$94000be0$bc0023a0$@net> There was no change in the Windows version from 6.6.2 to 6.6.3. After the Windows build the 6.6.2 was noticed. RR did not want to crunch for 6 hours of CPU to rebuild for a simple cosmetic change. I am getting the update notification also. I guess this is a by-product of the version being reported as 6.6.2. I don't get the update notification on Mac. I just ignored this version on Windows. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar Sent: Friday, September 26, 2014 2:01 PM To: How to use LiveCode Subject: 6.6.2 or 6.6.3??? Hi all. I'm wondering if any other Windows users are encountering this: I downloaded and installed the 6.6.3 installer, the commercial version, to test in my Windows 7 environment. But when the app launches it reports that it is 6.6.2! So I get an alert that there is a new version, 6.6.3, so I install that over top. It still reports that it is version 6.6.2!!! So which is it? 6.6.2, or 6.6.3? Is this just a display bug? The About Livecode splash screen is indicating 6.6.2 build 4012. Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri Sep 26 14:19:31 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 26 Sep 2014 21:19:31 +0300 Subject: getting a section cross-platform without utf In-Reply-To: References: Message-ID: <5425AE33.9000709@gmail.com> On 26/09/14 21:15, Dr. Hawkins wrote: > I'm not ready to deal with general utf conversion yet. About the only > thing I need is the section symbol, ? (on mac). > > With 5.5, is there a way to type this in that will render as a section > symbol on both mac & pc > You can do this: Put numToChar(167) Richmond. From cmsheffield at icloud.com Fri Sep 26 14:23:56 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 26 Sep 2014 12:23:56 -0600 Subject: iOS app submission error - "invalid segment alignment" Message-ID: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> Has anyone run into this? Suddenly I?m getting this error when trying to upload a build with Application Loader. I?ve tried both AL 2.9.1 and 3.0 (actually, version 3.0 gives me a ?redundant binary? error, but I think it?s a bug in AL itself). The strange thing is I created and uploaded a build for a different app just fine a week ago, using the same version of LC (6.6.3). Thoughts? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From larry at significantplanet.org Fri Sep 26 14:24:38 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 26 Sep 2014 12:24:38 -0600 Subject: 6.6.2 or 6.6.3??? References: <6BF261A0-D103-4A0C-BED9-5B4B03692655@iotecdigital.com> Message-ID: <7C0579CFC9A640A89CF350EC22A59E6F@userd204a4d61c> Hi Bob, I had the exact same experience that you did. I just assumed it was a display bug with LC and ignored it. When I got the alert about 6.6.3, I just chose "Skip this version." Maybe you or someone will report it as a bug. Larry ----- Original Message ----- From: "Bob Sneidar" To: "How to use LiveCode" Sent: Friday, September 26, 2014 12:00 PM Subject: 6.6.2 or 6.6.3??? Hi all. I?m wondering if any other Windows users are encountering this: I downloaded and installed the 6.6.3 installer, the commercial version, to test in my Windows 7 environment. But when the app launches it reports that it is 6.6.2! So I get an alert that there is a new version, 6.6.3, so I install that over top. It still reports that it is version 6.6.2!!! So which is it? 6.6.2, or 6.6.3? Is this just a display bug? The About Livecode splash screen is indicating 6.6.2 build 4012. Bob S _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From fraser.gordon at livecode.com Fri Sep 26 14:38:16 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Fri, 26 Sep 2014 19:38:16 +0100 Subject: 6.6.2 or 6.6.3??? In-Reply-To: <7C0579CFC9A640A89CF350EC22A59E6F@userd204a4d61c> References: <6BF261A0-D103-4A0C-BED9-5B4B03692655@iotecdigital.com> <7C0579CFC9A640A89CF350EC22A59E6F@userd204a4d61c> Message-ID: <5425B298.2050705@livecode.com> On 26/09/2014 19:24, larry at significantplanet.org wrote: > Hi Bob, > I had the exact same experience that you did. > I just assumed it was a display bug with LC and ignored it. When I got > the alert about 6.6.3, I just chose "Skip this version." > Maybe you or someone will report it as a bug. > Larry That's exactly what it is - a minor bug caused by an oversight on my part (I forgot to update the version information file on the Windows build machine). Given the relative urgency of getting 6.6.3 out, it didn't seem worthwhile delaying the release (it would have been all platforms because the standalone engine version is wrong too). If you submit a bug report, it would immediately get set to AWAITING_BUILD; after all, it will be fixed in the next build ;) Regards, Fraser From coiin at verizon.net Fri Sep 26 14:54:13 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 26 Sep 2014 14:54:13 -0400 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> Message-ID: I happen to know a lot about this, but hoped that LiveCode wouldn?t be affected. Apple changed the way that the linker works. If LiveCode is using its own linker, it?s likely to be doing it in an old way that is no longer valid. Using the Apple linker that is at /usr/bin/ln solves the problem for other tools. Don?t know if that will apply to LiveCode. Now, if LiveCode is already using the system linker, then you should be able to fix things by updating to Xcode 6.0.1. From cmsheffield at icloud.com Fri Sep 26 15:51:22 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 26 Sep 2014 13:51:22 -0600 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> Message-ID: <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> Colin, I thought I saw your name on one of the forums where someone else (I believe a Flash Builder user) had reported this same issue. I do have Xcode 6.0.1 installed, and I?ve made sure the command line tools are set to Xcode 6.0.1 in Xcode's Preferences -> Locations (not sure if that has anything to do with it or not), but I?m still getting the same error. It looked like on that Adobe forum (is that what it was?) they had a workaround, but I didn?t quite understand it. Did you? If so, could you explain it here? I can?t possibly be the only one affected by this. I will probably email LC support here pretty soon if I can?t figure out anything else. Thanks, Chris > On Sep 26, 2014, at 12:54 PM, Colin Holgate wrote: > > I happen to know a lot about this, but hoped that LiveCode wouldn?t be affected. > > Apple changed the way that the linker works. If LiveCode is using its own linker, it?s likely to be doing it in an old way that is no longer valid. > > Using the Apple linker that is at /usr/bin/ln solves the problem for other tools. Don?t know if that will apply to LiveCode. > > Now, if LiveCode is already using the system linker, then you should be able to fix things by updating to Xcode 6.0.1. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Fri Sep 26 16:01:22 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 26 Sep 2014 16:01:22 -0400 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> Message-ID: <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> One interesting thing about the Adobe thread is the number of people who seemed to be submitting apps right now, and were hit with the problem. In Adobe?s case they have their own version of the linker, because they need to be able to publish to iOS from Windows, amongst other reasons. The work around for now is to replace the Adobe ln64 file with the system?s ln file (renamed), then when you compile an iOS app it ends up using Apple?s linker. The solution doesn?t work for Windows, Adobe will have to update their own linker to fix things there. From what you say it could be that LiveCode does use its own linker, or it has an engine that your stack gets bundled with, and that engine was created with an older Xcode. From skip at magicgate.com Fri Sep 26 16:04:30 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 26 Sep 2014 16:04:30 -0400 Subject: Regex Help Message-ID: Hey LC / Regex gurus, I need help creating a regular expression that will filter out all instances where the pattern looks like this: /point-XXXXXXX-landed.html Obviously the "XXXXXX" section varies from item to item and is also of different character lengths. Anybody willing to give this a shot? SKIP From MikeKerner at roadrunner.com Fri Sep 26 16:05:38 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 26 Sep 2014 16:05:38 -0400 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> Message-ID: bug 13536 by the way, round 2 of The Patch is being tested, as we speak. On Fri, Sep 26, 2014 at 3:51 PM, Chris Sheffield wrote: > Colin, > > I thought I saw your name on one of the forums where someone else (I > believe a Flash Builder user) had reported this same issue. > > I do have Xcode 6.0.1 installed, and I?ve made sure the command line tools > are set to Xcode 6.0.1 in Xcode's Preferences -> Locations (not sure if > that has anything to do with it or not), but I?m still getting the same > error. It looked like on that Adobe forum (is that what it was?) they had a > workaround, but I didn?t quite understand it. Did you? If so, could you > explain it here? I can?t possibly be the only one affected by this. > > I will probably email LC support here pretty soon if I can?t figure out > anything else. > > Thanks, > Chris > > > On Sep 26, 2014, at 12:54 PM, Colin Holgate wrote: > > > > I happen to know a lot about this, but hoped that LiveCode wouldn?t be > affected. > > > > Apple changed the way that the linker works. If LiveCode is using its > own linker, it?s likely to be doing it in an old way that is no longer > valid. > > > > Using the Apple linker that is at /usr/bin/ln solves the problem for > other tools. Don?t know if that will apply to LiveCode. > > > > Now, if LiveCode is already using the system linker, then you should be > able to fix things by updating to Xcode 6.0.1. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From cmsheffield at icloud.com Fri Sep 26 16:09:23 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 26 Sep 2014 14:09:23 -0600 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> Message-ID: Here?s something that?s strange though, and maybe I?m just not totally understanding the problem exactly. LiveCode 6.6.3 supports Xcode 5.1.1, and builds against the iOS SDK included with that. Apple is supposedly still accepting apps built against that SDK (at least, that?s what iTunes Connect says). But I?m getting this error even when building my app with LC 6.6.3. So I don?t get why it?s an issue. Something else going on? But it sounds like RunRev are aware of the problem and working on a fix, according to Mike Kerner just a minute ago. > On Sep 26, 2014, at 2:01 PM, Colin Holgate wrote: > > One interesting thing about the Adobe thread is the number of people who seemed to be submitting apps right now, and were hit with the problem. > > In Adobe?s case they have their own version of the linker, because they need to be able to publish to iOS from Windows, amongst other reasons. The work around for now is to replace the Adobe ln64 file with the system?s ln file (renamed), then when you compile an iOS app it ends up using Apple?s linker. > > The solution doesn?t work for Windows, Adobe will have to update their own linker to fix things there. > > From what you say it could be that LiveCode does use its own linker, or it has an engine that your stack gets bundled with, and that engine was created with an older Xcode. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Fri Sep 26 16:17:10 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 26 Sep 2014 22:17:10 +0200 Subject: Regex Help In-Reply-To: References: Message-ID: <5425C9C6.8010603@economy-x-talk.com> Hi, It could be something like this: on mouseUp put "*/point-*-landed.html" into myFilter put fld 1 into myData filter myData without myFilter put myData end mouseUp but if this doesn't work, you'll have to post an actual sample of your data. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/26/2014 22:04, Magicgate Software - Skip Kimpel wrote: > Hey LC / Regex gurus, > > I need help creating a regular expression that will filter out all > instances where the pattern looks like this: > > /point-XXXXXXX-landed.html > > Obviously the "XXXXXX" section varies from item to item and is also of > different character lengths. > > Anybody willing to give this a shot? > > SKIP From larry at significantplanet.org Fri Sep 26 16:18:41 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 26 Sep 2014 14:18:41 -0600 Subject: searching for chars within a string References: <3FBF4FD7444C4C6BBA8A2F16BA369854@userd204a4d61c><65C49D5574814FE3B7B40DFDF27ABCCE@userd204a4d61c> <14365D47-3061-4C27-B458-C624F7E9DBBB@gmail.com> Message-ID: <5DEA43B0D5F34389B65DACAEFE67E423@userd204a4d61c> Hello Peter, Thanks for sending your functions. I'm still sort of a newbie and I had to get a programming friend give me a quick course in how functions work (especially the local variables.) Anyway, I ran a test using your functions against the offset() function in LC Searching 78 characters (the entire alphabet repeated 3 times) for all possible 7-ltr words (32,856 is the result) we have: your functions: 3045 milliseconds offset(): 1249 milliseconds But I'm going to file away your functions because I may use them later in some other manner - and what I learned today about functions was very helpful. So thanks again. Larry P.S. I'm using LC 6.6.3 on Windows XP with 4gb of ram. ----- Original Message ----- From: "Peter M. Brigham" To: "How to use LiveCode" Sent: Friday, September 26, 2014 11:53 AM Subject: Re: searching for chars within a string > I'm curious, Larry -- how fast is this on your machine compared to the > regex solutions? > > function isInString testStr, targetStr > repeat for each char c in testStr > add 1 to countArray[c] > end repeat > put the keys of countArray into letterList > repeat for each line L in letterlist > put countArray[L] into nbrCharsTest > put howMany(c,targetStr,comma) into nbrCharsNeeded > if nbrCharsNeeded < nbrCharsTest then return false > end repeat > return true > end isInString > > function howmany tg,container,divChar > -- how many tg = is in container > > replace tg with divChar in container > set the itemdelimiter to divChar > put the number of items of container into h > if char -1 of container = divChar then return h > -- trailing delimiter is ignored > return h-1 > end howmany > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Sep 26, 2014, at 11:58 AM, > wrote: > >> Hello Kay, >> Good stuff. >> I did some time tests and offset() is about twice as fast as matchText(). >> Don't know why. >> Larry >> >> ----- Original Message ----- From: "Kay C Lan" >> To: "How to use LiveCode" >> Sent: Friday, September 26, 2014 12:54 AM >> Subject: Re: searching for chars within a string >> >> >>> A simple way would be just to use basic matchText() for each single >>> letter and regex matchText() for repeating letters. P.*P will find >>> double Ps, P.*P.*P will find triple Ps etc. Seems to be relatively >>> fast but if you have very large data sets other alternatives would >>> need to be investigated. >>> >>> in the message box: >>> >>> put "ABCDEKLP" into X >>> put "ABCDEKLLLLMMOOPP" into Y >>> put 100000 into Z >>> put 0 into a >>> put 0 into b >>> put 0 into c >>> put 0 into d >>> put the millisec into tStart >>> repeat Z times >>> if (matchText(X, "A") AND matchText(X, "E") AND matchText(X, "L") AND >>> matchText(X, "P.*P")) then >>> add 1 to a >>> else >>> add 1 to b >>> end if >>> if (matchText(Y, "A") AND matchText(Y, "E") AND matchText(Y, "L") AND >>> matchText(Y, "P.*P")) then >>> add 1 to c >>> else >>> add 1 to d >>> end if >>> end repeat >>> put the millisec into tEnd >>> put "X Passed " & a & " times." & cr into msg >>> put "X Failed " & b & " times." & cr after msg >>> put "Y Passed " & c & " times." & cr after msg >>> put "Y Failed " & d & " times." & cr after msg >>> put Z & " repeats took " & tEnd - tStart & " ms" after msg >>> >>> The above should take less than 1 sec but for a million repeats I got: >>> >>> X Passed 0 times. >>> X Failed 1000000 times. >>> Y Passed 1000000 times. >>> Y Failed 0 times. >>> 1000000 repeats took 1997 ms >>> >>> NOTE: the above only works if the letters you are looking for can >>> appear in ANY order. If you need a specific order then you'd have to >>> regex matchText() for all searches, ie >>> >>> if (matchText(X, "A.*E.*L.*P") AND matchText(X,"P.*P")) then >>> >>> Yes, the P must appear in both searches to ensure a P has both an L >>> before it and a P after it. >>> >>> HTH >>> >>> On Wed, Sep 24, 2014 at 8:22 AM, wrote: >>>> Hello, >>>> >>>> I have done a lot research and cannot find any way to do this: >>>> >>>> I have a string, "AELPP" and I want to see if all 5 of those letters >>>> are in "search string" >>>> >>>> If search string is: ABCDEKLP, then NO it isn't because there are >>>> two P's in the string I'm searching for. >>>> >>>> But if search string is: ABCDEKLLLMMOOPP, then YES the string I'm >>>> searching for is found in the search string. >>>> >>>> It is important to my program that I just find the 5 chars anywhere >>>> within the search string and they do not have to be sequential in the >>>> search string. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Sep 26 16:20:19 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 26 Sep 2014 13:20:19 -0700 Subject: getting a section cross-platform without utf In-Reply-To: <5425AE33.9000709@gmail.com> References: <5425AE33.9000709@gmail.com> Message-ID: On Fri, Sep 26, 2014 at 11:19 AM, Richmond wrote: > > Put numToChar(167) > I just tried that on a mac. I think what it gave me was a german esset, the double s that looks like a beta . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From skip at magicgate.com Fri Sep 26 16:27:03 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 26 Sep 2014 16:27:03 -0400 Subject: Regex Help In-Reply-To: <5425C9C6.8010603@economy-x-talk.com> References: <5425C9C6.8010603@economy-x-talk.com> Message-ID: Thanks Mark, Actually look for the regex version as I will be applying that externally before feeding into LC. Here is a sample of the data: /point-item1-landed.html /point-about.html /point-test.html /point-item2-landed.html /point-item300-landed.html The results I want returned are: /point-item1-landed.html /point-item2-landed.html /point-item300-landed.html Thanks for your input! On Fri, Sep 26, 2014 at 4:17 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > It could be something like this: > > on mouseUp > put "*/point-*-landed.html" into myFilter > put fld 1 into myData > filter myData without myFilter > put myData > end mouseUp > > but if this doesn't work, you'll have to post an actual sample of your > data. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > > On 9/26/2014 22:04, Magicgate Software - Skip Kimpel wrote: > >> Hey LC / Regex gurus, >> >> I need help creating a regular expression that will filter out all >> instances where the pattern looks like this: >> >> /point-XXXXXXX-landed.html >> >> Obviously the "XXXXXX" section varies from item to item and is also of >> different character lengths. >> >> Anybody willing to give this a shot? >> >> SKIP >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Fri Sep 26 16:31:59 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 26 Sep 2014 16:31:59 -0400 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> Message-ID: See the bug report I referred to. This particular problem is with the linker. On Fri, Sep 26, 2014 at 4:09 PM, Chris Sheffield wrote: > Here?s something that?s strange though, and maybe I?m just not totally > understanding the problem exactly. LiveCode 6.6.3 supports Xcode 5.1.1, and > builds against the iOS SDK included with that. Apple is supposedly still > accepting apps built against that SDK (at least, that?s what iTunes Connect > says). But I?m getting this error even when building my app with LC 6.6.3. > > So I don?t get why it?s an issue. Something else going on? > > But it sounds like RunRev are aware of the problem and working on a fix, > according to Mike Kerner just a minute ago. > > > > On Sep 26, 2014, at 2:01 PM, Colin Holgate wrote: > > > > One interesting thing about the Adobe thread is the number of people who > seemed to be submitting apps right now, and were hit with the problem. > > > > In Adobe?s case they have their own version of the linker, because they > need to be able to publish to iOS from Windows, amongst other reasons. The > work around for now is to replace the Adobe ln64 file with the system?s ln > file (renamed), then when you compile an iOS app it ends up using Apple?s > linker. > > > > The solution doesn?t work for Windows, Adobe will have to update their > own linker to fix things there. > > > > From what you say it could be that LiveCode does use its own linker, or > it has an engine that your stack gets bundled with, and that engine was > created with an older Xcode. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Fri Sep 26 16:32:49 2014 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 26 Sep 2014 23:32:49 +0300 Subject: getting a section cross-platform without utf In-Reply-To: References: <5425AE33.9000709@gmail.com> Message-ID: <5425CD71.3070005@gmail.com> On 26/09/14 23:20, Dr. Hawkins wrote: > On Fri, Sep 26, 2014 at 11:19 AM, Richmond > wrote: > >> Put numToChar(167) >> > I just tried that on a mac. I think what it gave me was a german esset, > the double s that looks like a beta . . . > > That makes no sense at all as the Unicode char 'siglum' ? is U+00A7 Decimal 167 While the 'esset' ? is U+00DF Decimal 223 Richmond. From m.schonewille at economy-x-talk.com Fri Sep 26 16:37:37 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 26 Sep 2014 22:37:37 +0200 Subject: Regex Help In-Reply-To: References: <5425C9C6.8010603@economy-x-talk.com> Message-ID: <5425CE91.40301@economy-x-talk.com> Hi, Then you can try this: on mouseUp put "/point-item[0-9]+-landed.html" into myFilter put fld 1 into myData filter myData with regex pattern myFilter put myData end mouseUp This is a LiveCode example, but you can apply the regex "/point-item[0-9]+-landed.html" in PHP or Perl. I tried this with and without escaping the slash and dashes, but escaping seems unnecesary. If the regex doesn't work in PHP or Perl, maybe you could try \/point\-item[0-9]+\-landed.html but I haven't tested if this would be necessary. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/26/2014 22:27, Magicgate Software - Skip Kimpel wrote: > The results I want returned are: From skip at magicgate.com Fri Sep 26 16:49:04 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 26 Sep 2014 16:49:04 -0400 Subject: Regex Help In-Reply-To: <5425CE91.40301@economy-x-talk.com> References: <5425C9C6.8010603@economy-x-talk.com> <5425CE91.40301@economy-x-talk.com> Message-ID: The middle item "XXXXX" does not always have a number in it. The common denominator between all the items I WANT to keep start with "page-" and end with "-landed.html" On Fri, Sep 26, 2014 at 4:37 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > Then you can try this: > > on mouseUp > put "/point-item[0-9]+-landed.html" into myFilter > put fld 1 into myData > filter myData with regex pattern myFilter > put myData > end mouseUp > > This is a LiveCode example, but you can apply the regex > "/point-item[0-9]+-landed.html" in PHP or Perl. I tried this with and > without escaping the slash and dashes, but escaping seems unnecesary. If > the regex doesn't work in PHP or Perl, maybe you could try > > \/point\-item[0-9]+\-landed.html > > but I haven't tested if this would be necessary. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 9/26/2014 22:27, Magicgate Software - Skip Kimpel wrote: > >> The results I want returned are: >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Fri Sep 26 16:51:02 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 26 Sep 2014 22:51:02 +0200 Subject: Regex Help In-Reply-To: References: <5425C9C6.8010603@economy-x-talk.com> <5425CE91.40301@economy-x-talk.com> Message-ID: <5425D1B6.4090307@economy-x-talk.com> Then what exactly does the middle item contain? Numbers and letters? Special symbols? Chinese? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/26/2014 22:49, Magicgate Software - Skip Kimpel wrote: > The middle item "XXXXX" does not always have a number in it. The common > denominator between all the items I WANT to keep start with "page-" and end > with "-landed.html" > > On Fri, Sep 26, 2014 at 4:37 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Hi, >> >> Then you can try this: >> >> on mouseUp >> put "/point-item[0-9]+-landed.html" into myFilter >> put fld 1 into myData >> filter myData with regex pattern myFilter >> put myData >> end mouseUp >> >> This is a LiveCode example, but you can apply the regex >> "/point-item[0-9]+-landed.html" in PHP or Perl. I tried this with and >> without escaping the slash and dashes, but escaping seems unnecesary. If >> the regex doesn't work in PHP or Perl, maybe you could try >> >> \/point\-item[0-9]+\-landed.html >> >> but I haven't tested if this would be necessary. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Installer Maker for LiveCode: >> http://qery.us/468 >> >> Buy my new book "Programming LiveCode for the Real Beginner" >> http://qery.us/3fi >> >> LiveCode on Facebook: >> https://www.facebook.com/groups/runrev/ >> >> On 9/26/2014 22:27, Magicgate Software - Skip Kimpel wrote: >> >>> The results I want returned are: >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Fri Sep 26 16:55:18 2014 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 26 Sep 2014 16:55:18 -0400 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> Message-ID: <006101cfd9cc$2e2339d0$8a69ad70$@net> I just had an iOS app approved for the store today. I submitted it on 9/16 and was reviewed and approved today. I submitted it with Mountain Lion/LC 6.6.3/Xcode 5.1.1 I have since upgraded to Mavericks. Is this an OSX issue? Have the rules changed since 9/16? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Chris Sheffield Sent: Friday, September 26, 2014 4:09 PM To: How to use LiveCode Subject: Re: iOS app submission error - "invalid segment alignment" Here's something that's strange though, and maybe I'm just not totally understanding the problem exactly. LiveCode 6.6.3 supports Xcode 5.1.1, and builds against the iOS SDK included with that. Apple is supposedly still accepting apps built against that SDK (at least, that's what iTunes Connect says). But I'm getting this error even when building my app with LC 6.6.3. So I don't get why it's an issue. Something else going on? But it sounds like RunRev are aware of the problem and working on a fix, according to Mike Kerner just a minute ago. > On Sep 26, 2014, at 2:01 PM, Colin Holgate wrote: > > One interesting thing about the Adobe thread is the number of people who seemed to be submitting apps right now, and were hit with the problem. > > In Adobe's case they have their own version of the linker, because they need to be able to publish to iOS from Windows, amongst other reasons. The work around for now is to replace the Adobe ln64 file with the system's ln file (renamed), then when you compile an iOS app it ends up using Apple's linker. > > The solution doesn't work for Windows, Adobe will have to update their own linker to fix things there. > > From what you say it could be that LiveCode does use its own linker, or it has an engine that your stack gets bundled with, and that engine was created with an older Xcode. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Fri Sep 26 16:54:51 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 26 Sep 2014 16:54:51 -0400 Subject: Regex Help In-Reply-To: <5425D1B6.4090307@economy-x-talk.com> References: <5425C9C6.8010603@economy-x-talk.com> <5425CE91.40301@economy-x-talk.com> <5425D1B6.4090307@economy-x-talk.com> Message-ID: Sorry... it contains letters. Sorry for the confusion. I should have been more complete with my explanation and sample data. SKIP On Fri, Sep 26, 2014 at 4:51 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Then what exactly does the middle item contain? Numbers and letters? > Special symbols? Chinese? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 9/26/2014 22:49, Magicgate Software - Skip Kimpel wrote: > >> The middle item "XXXXX" does not always have a number in it. The common >> denominator between all the items I WANT to keep start with "page-" and >> end >> with "-landed.html" >> >> On Fri, Sep 26, 2014 at 4:37 PM, Mark Schonewille < >> m.schonewille at economy-x-talk.com> wrote: >> >> Hi, >>> >>> Then you can try this: >>> >>> on mouseUp >>> put "/point-item[0-9]+-landed.html" into myFilter >>> put fld 1 into myData >>> filter myData with regex pattern myFilter >>> put myData >>> end mouseUp >>> >>> This is a LiveCode example, but you can apply the regex >>> "/point-item[0-9]+-landed.html" in PHP or Perl. I tried this with and >>> without escaping the slash and dashes, but escaping seems unnecesary. If >>> the regex doesn't work in PHP or Perl, maybe you could try >>> >>> \/point\-item[0-9]+\-landed.html >>> >>> but I haven't tested if this would be necessary. >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/xtalkprogrammer >>> KvK: 50277553 >>> >>> Installer Maker for LiveCode: >>> http://qery.us/468 >>> >>> Buy my new book "Programming LiveCode for the Real Beginner" >>> http://qery.us/3fi >>> >>> LiveCode on Facebook: >>> https://www.facebook.com/groups/runrev/ >>> >>> On 9/26/2014 22:27, Magicgate Software - Skip Kimpel wrote: >>> >>> The results I want returned are: >>>> >>>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Fri Sep 26 16:58:09 2014 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 26 Sep 2014 22:58:09 +0200 Subject: Regex Help In-Reply-To: References: <5425C9C6.8010603@economy-x-talk.com> <5425CE91.40301@economy-x-talk.com> <5425D1B6.4090307@economy-x-talk.com> Message-ID: <5425D361.9040303@economy-x-talk.com> Hi Skip, If it contains numbers and letters, it could be /point-item[0-9a-zA-Z]+-landed.html and if it contains anything except whitespace, it could be /point-item[\w]+-landed.html Both options work with the sample data you provided. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Installer Maker for LiveCode: http://qery.us/468 Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi LiveCode on Facebook: https://www.facebook.com/groups/runrev/ On 9/26/2014 22:54, Magicgate Software - Skip Kimpel wrote: > Sorry... it contains letters. Sorry for the confusion. I should have been > more complete with my explanation and sample data. > > SKIP > > On Fri, Sep 26, 2014 at 4:51 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Then what exactly does the middle item contain? Numbers and letters? >> Special symbols? Chinese? >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Installer Maker for LiveCode: >> http://qery.us/468 >> >> Buy my new book "Programming LiveCode for the Real Beginner" >> http://qery.us/3fi >> >> LiveCode on Facebook: >> https://www.facebook.com/groups/runrev/ >> >> On 9/26/2014 22:49, Magicgate Software - Skip Kimpel wrote: >> >>> The middle item "XXXXX" does not always have a number in it. The common >>> denominator between all the items I WANT to keep start with "page-" and >>> end >>> with "-landed.html" >>> >>> On Fri, Sep 26, 2014 at 4:37 PM, Mark Schonewille < >>> m.schonewille at economy-x-talk.com> wrote: >>> >>> Hi, >>>> >>>> Then you can try this: >>>> >>>> on mouseUp >>>> put "/point-item[0-9]+-landed.html" into myFilter >>>> put fld 1 into myData >>>> filter myData with regex pattern myFilter >>>> put myData >>>> end mouseUp >>>> >>>> This is a LiveCode example, but you can apply the regex >>>> "/point-item[0-9]+-landed.html" in PHP or Perl. I tried this with and >>>> without escaping the slash and dashes, but escaping seems unnecesary. If >>>> the regex doesn't work in PHP or Perl, maybe you could try >>>> >>>> \/point\-item[0-9]+\-landed.html >>>> >>>> but I haven't tested if this would be necessary. >>>> >>>> -- >>>> Best regards, >>>> >>>> Mark Schonewille >>>> >>>> Economy-x-Talk Consulting and Software Engineering >>>> Homepage: http://economy-x-talk.com >>>> Twitter: http://twitter.com/xtalkprogrammer >>>> KvK: 50277553 >>>> >>>> Installer Maker for LiveCode: >>>> http://qery.us/468 >>>> >>>> Buy my new book "Programming LiveCode for the Real Beginner" >>>> http://qery.us/3fi >>>> >>>> LiveCode on Facebook: >>>> https://www.facebook.com/groups/runrev/ >>>> >>>> On 9/26/2014 22:27, Magicgate Software - Skip Kimpel wrote: >>>> >>>> The results I want returned are: >>>>> >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Fri Sep 26 16:58:50 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 26 Sep 2014 16:58:50 -0400 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: <006101cfd9cc$2e2339d0$8a69ad70$@net> References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> <006101cfd9cc$2e2339d0$8a69ad70$@net> Message-ID: There is something new with the linker. Adobe is having the same issues. On Fri, Sep 26, 2014 at 4:55 PM, Ralph DiMola wrote: > I just had an iOS app approved for the store today. I submitted it on 9/16 > and was reviewed and approved today. > > I submitted it with Mountain Lion/LC 6.6.3/Xcode 5.1.1 > I have since upgraded to Mavericks. Is this an OSX issue? Have the rules > changed since 9/16? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > Phone: 518-636-3998 Ex:11 > Cell: 518-796-9332 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf > Of Chris Sheffield > Sent: Friday, September 26, 2014 4:09 PM > To: How to use LiveCode > Subject: Re: iOS app submission error - "invalid segment alignment" > > Here's something that's strange though, and maybe I'm just not totally > understanding the problem exactly. LiveCode 6.6.3 supports Xcode 5.1.1, and > builds against the iOS SDK included with that. Apple is supposedly still > accepting apps built against that SDK (at least, that's what iTunes Connect > says). But I'm getting this error even when building my app with LC 6.6.3. > > So I don't get why it's an issue. Something else going on? > > But it sounds like RunRev are aware of the problem and working on a fix, > according to Mike Kerner just a minute ago. > > > > On Sep 26, 2014, at 2:01 PM, Colin Holgate wrote: > > > > One interesting thing about the Adobe thread is the number of people who > seemed to be submitting apps right now, and were hit with the problem. > > > > In Adobe's case they have their own version of the linker, because they > need to be able to publish to iOS from Windows, amongst other reasons. The > work around for now is to replace the Adobe ln64 file with the system's ln > file (renamed), then when you compile an iOS app it ends up using Apple's > linker. > > > > The solution doesn't work for Windows, Adobe will have to update their > own > linker to fix things there. > > > > From what you say it could be that LiveCode does use its own linker, or > it > has an engine that your stack gets bundled with, and that engine was > created > with an older Xcode. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From cmsheffield at icloud.com Fri Sep 26 17:00:00 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 26 Sep 2014 15:00:00 -0600 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: <006101cfd9cc$2e2339d0$8a69ad70$@net> References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> <006101cfd9cc$2e2339d0$8a69ad70$@net> Message-ID: <9FE9F1EE-DC65-472C-BA9E-829C1669775A@icloud.com> Ralph, I?m glad to hear your app got approved. We?ve got another one waiting for review right now. I built it and submitted it last Friday, using Mavericks, LC 6.6.3, and Xcode 5.1.1. So I?m hoping it won?t get rejected because of this. Knowing that yours wasn?t gives me hope. :-) It doesn?t appear to be an OS X issue, so you should be fine once RunRev release LC 6.6.4. You can read more about it here http://quality.runrev.com/show_bug.cgi?id=13536 . > On Sep 26, 2014, at 2:55 PM, Ralph DiMola wrote: > > I just had an iOS app approved for the store today. I submitted it on 9/16 > and was reviewed and approved today. > > I submitted it with Mountain Lion/LC 6.6.3/Xcode 5.1.1 > I have since upgraded to Mavericks. Is this an OSX issue? Have the rules > changed since 9/16? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > Phone: 518-636-3998 Ex:11 > Cell: 518-796-9332 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Chris Sheffield > Sent: Friday, September 26, 2014 4:09 PM > To: How to use LiveCode > Subject: Re: iOS app submission error - "invalid segment alignment" > > Here's something that's strange though, and maybe I'm just not totally > understanding the problem exactly. LiveCode 6.6.3 supports Xcode 5.1.1, and > builds against the iOS SDK included with that. Apple is supposedly still > accepting apps built against that SDK (at least, that's what iTunes Connect > says). But I'm getting this error even when building my app with LC 6.6.3. > > So I don't get why it's an issue. Something else going on? > > But it sounds like RunRev are aware of the problem and working on a fix, > according to Mike Kerner just a minute ago. > > >> On Sep 26, 2014, at 2:01 PM, Colin Holgate wrote: >> >> One interesting thing about the Adobe thread is the number of people who > seemed to be submitting apps right now, and were hit with the problem. >> >> In Adobe's case they have their own version of the linker, because they > need to be able to publish to iOS from Windows, amongst other reasons. The > work around for now is to replace the Adobe ln64 file with the system's ln > file (renamed), then when you compile an iOS app it ends up using Apple's > linker. >> >> The solution doesn't work for Windows, Adobe will have to update their own > linker to fix things there. >> >> From what you say it could be that LiveCode does use its own linker, or it > has an engine that your stack gets bundled with, and that engine was created > with an older Xcode. >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Fri Sep 26 17:11:38 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 26 Sep 2014 17:11:38 -0400 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: <9FE9F1EE-DC65-472C-BA9E-829C1669775A@icloud.com> References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> <006101cfd9cc$2e2339d0$8a69ad70$@net> <9FE9F1EE-DC65-472C-BA9E-829C1669775A@icloud.com> Message-ID: <4F526459-DCAA-404F-B1B4-F6C827BCD2B8@verizon.net> The requirement of Xcode 5.1.1 was how things were at the start of the week. The new problem has happened since then. My suspicion is that as part of the failed update to iOS 8.0.1 something bad was discovered, and Xcode 6.0.1 was released on the 17th to counter some malicious attack kinda thing. So, I think it?s quite a recent issue. The ld file that is used by Xcode 6.0.1 is only a day old. Ralph was lucky to get through. I know of another developer who submitted their app a few days ago, and it got through the initially checking, but then was rejected during the review stage, because the new requirements had kicked in by then. From mwieder at ahsoftware.net Fri Sep 26 17:14:08 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 26 Sep 2014 14:14:08 -0700 Subject: "ShellShock" - what are you doing? In-Reply-To: References: <54245D27.1070704@fourthworld.com> <54246183.50602@gmail.com> <3EFB7712-416B-4422-B612-A01513C8BAE3@all-auctions.com> Message-ID: <2960045720.20140926141408@ahsoftware.net> Peter- Friday, September 26, 2014, 8:41:35 AM, you wrote: > Or is there a joke here I'm not getting? Yeah, Rick was just trolling. Move along, nothing to see here. Shellshock is a level 10 alert, and there is no 11. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From MikeKerner at roadrunner.com Fri Sep 26 17:19:07 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 26 Sep 2014 17:19:07 -0400 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> <006101cfd9cc$2e2339d0$8a69ad70$@net> Message-ID: never mind, the new patch doesn't fix it, either. On Fri, Sep 26, 2014 at 4:58 PM, Mike Kerner wrote: > There is something new with the linker. Adobe is having the same issues. > > On Fri, Sep 26, 2014 at 4:55 PM, Ralph DiMola > wrote: > >> I just had an iOS app approved for the store today. I submitted it on 9/16 >> and was reviewed and approved today. >> >> I submitted it with Mountain Lion/LC 6.6.3/Xcode 5.1.1 >> I have since upgraded to Mavericks. Is this an OSX issue? Have the rules >> changed since 9/16? >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> Phone: 518-636-3998 Ex:11 >> Cell: 518-796-9332 >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf >> Of Chris Sheffield >> Sent: Friday, September 26, 2014 4:09 PM >> To: How to use LiveCode >> Subject: Re: iOS app submission error - "invalid segment alignment" >> >> Here's something that's strange though, and maybe I'm just not totally >> understanding the problem exactly. LiveCode 6.6.3 supports Xcode 5.1.1, >> and >> builds against the iOS SDK included with that. Apple is supposedly still >> accepting apps built against that SDK (at least, that's what iTunes >> Connect >> says). But I'm getting this error even when building my app with LC 6.6.3. >> >> So I don't get why it's an issue. Something else going on? >> >> But it sounds like RunRev are aware of the problem and working on a fix, >> according to Mike Kerner just a minute ago. >> >> >> > On Sep 26, 2014, at 2:01 PM, Colin Holgate wrote: >> > >> > One interesting thing about the Adobe thread is the number of people who >> seemed to be submitting apps right now, and were hit with the problem. >> > >> > In Adobe's case they have their own version of the linker, because they >> need to be able to publish to iOS from Windows, amongst other reasons. The >> work around for now is to replace the Adobe ln64 file with the system's ln >> file (renamed), then when you compile an iOS app it ends up using Apple's >> linker. >> > >> > The solution doesn't work for Windows, Adobe will have to update their >> own >> linker to fix things there. >> > >> > From what you say it could be that LiveCode does use its own linker, or >> it >> has an engine that your stack gets bundled with, and that engine was >> created >> with an older Xcode. >> > >> > >> > >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at lists.runrev.com >> > Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From devin_asay at byu.edu Fri Sep 26 17:26:42 2014 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 26 Sep 2014 21:26:42 +0000 Subject: getting a section cross-platform without utf In-Reply-To: References: <5425AE33.9000709@gmail.com> Message-ID: <183F0475-E681-433E-8841-AE8A91783AA6@byu.edu> On Sep 26, 2014, at 2:20 PM, Dr. Hawkins wrote: > On Fri, Sep 26, 2014 at 11:19 AM, Richmond > wrote: > >> >> Put numToChar(167) >> > > I just tried that on a mac. I think what it gave me was a german esset, > the double s that looks like a beta . . . > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 Richard, You can use htmlText. Have you tried: set the htmltext of fld 1 to "

§

? Works for me here on 5.5.4. Devin Devin Asay Office of Digital Humanities Brigham Young University From coiin at verizon.net Fri Sep 26 17:27:53 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 26 Sep 2014 17:27:53 -0400 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> <006101cfd9cc$2e2339d0$8a69ad70$@net> Message-ID: <9C995EC9-77FC-44C1-ABC3-10FECBA41F6E@verizon.net> I read the notes, and Mark quotes me a few times! As I?ve said in a note to that bug, taking the system linker and using it in place of the Xcode linker won?t do you any good, it?s the same linker. If you?re not on Xcode 6.0.1 the linker is too old. If LiveCode can?t build against 6.0.1 it may still be worth trying the linker from 6.0.1 on the Xcode that LiveCode can use. I have that file if you want to give it a try. From bruceap at comcast.net Fri Sep 26 17:33:12 2014 From: bruceap at comcast.net (Bruce Pokras) Date: Fri, 26 Sep 2014 17:33:12 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> <3EDE39BE-A7D3-479B-A0D0-B26853684B8A@all-auctions.com> Message-ID: <1B89B48E-A55A-4C34-AFF9-EEFD414BB93C@comcast.net> Can anyone explain exactly what this means? What are those "special, advanced Unix services? "But Apple said in an emailed statement that most of its users aren't affected, as OS X's "systems are safe by default and not exposed to remote exploits of Bash" -- unless users have actively turned on special, advanced Unix services." Bruce Pokras Blazing Dawn Software www.blazingdawn.com On Sep 25, 2014, at 5:41 PM, Mike Kerner wrote: > Here's the full explanation from RedHat, > https://access.redhat.com/articles/1200223 > > which is pretty extensive, including a section on mitigation steps > > > On Thu, Sep 25, 2014 at 5:16 PM, Mike Kerner > wrote: > >> Hmm. RedHat says their patch is incomplete. I wonder what script that I >> haven't seen, yet, works. >> >> On Thu, Sep 25, 2014 at 5:01 PM, Mike Kerner >> wrote: >> >>> Well, RedHat was patched early this morning, and appears to be ok. >>> >>> On Thu, Sep 25, 2014 at 4:33 PM, Rick Harrison >>> wrote: >>> >>>> Pulling the computer from the internet until I hear Apple has fixed it! >>>> I don?t have time to mess with different shells hoping they work. >>>> I?ll check back in a day or so, and do something analog until then. >>>> Thanks for the head?s up! >>>> >>>> Rick >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Fri Sep 26 17:34:31 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 26 Sep 2014 17:34:31 -0400 Subject: Regex Help In-Reply-To: <5425D361.9040303@economy-x-talk.com> References: <5425C9C6.8010603@economy-x-talk.com> <5425CE91.40301@economy-x-talk.com> <5425D1B6.4090307@economy-x-talk.com> <5425D361.9040303@economy-x-talk.com> Message-ID: Thank you Mark! On Fri, Sep 26, 2014 at 4:58 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Skip, > > If it contains numbers and letters, it could be > > /point-item[0-9a-zA-Z]+-landed.html > > and if it contains anything except whitespace, it could be > > /point-item[\w]+-landed.html > > Both options work with the sample data you provided. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 9/26/2014 22:54, Magicgate Software - Skip Kimpel wrote: > >> Sorry... it contains letters. Sorry for the confusion. I should have >> been >> more complete with my explanation and sample data. >> >> SKIP >> >> On Fri, Sep 26, 2014 at 4:51 PM, Mark Schonewille < >> m.schonewille at economy-x-talk.com> wrote: >> >> Then what exactly does the middle item contain? Numbers and letters? >>> Special symbols? Chinese? >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/xtalkprogrammer >>> KvK: 50277553 >>> >>> Installer Maker for LiveCode: >>> http://qery.us/468 >>> >>> Buy my new book "Programming LiveCode for the Real Beginner" >>> http://qery.us/3fi >>> >>> LiveCode on Facebook: >>> https://www.facebook.com/groups/runrev/ >>> >>> On 9/26/2014 22:49, Magicgate Software - Skip Kimpel wrote: >>> >>> The middle item "XXXXX" does not always have a number in it. The common >>>> denominator between all the items I WANT to keep start with "page-" and >>>> end >>>> with "-landed.html" >>>> >>>> On Fri, Sep 26, 2014 at 4:37 PM, Mark Schonewille < >>>> m.schonewille at economy-x-talk.com> wrote: >>>> >>>> Hi, >>>> >>>>> >>>>> Then you can try this: >>>>> >>>>> on mouseUp >>>>> put "/point-item[0-9]+-landed.html" into myFilter >>>>> put fld 1 into myData >>>>> filter myData with regex pattern myFilter >>>>> put myData >>>>> end mouseUp >>>>> >>>>> This is a LiveCode example, but you can apply the regex >>>>> "/point-item[0-9]+-landed.html" in PHP or Perl. I tried this with and >>>>> without escaping the slash and dashes, but escaping seems unnecesary. >>>>> If >>>>> the regex doesn't work in PHP or Perl, maybe you could try >>>>> >>>>> \/point\-item[0-9]+\-landed.html >>>>> >>>>> but I haven't tested if this would be necessary. >>>>> >>>>> -- >>>>> Best regards, >>>>> >>>>> Mark Schonewille >>>>> >>>>> Economy-x-Talk Consulting and Software Engineering >>>>> Homepage: http://economy-x-talk.com >>>>> Twitter: http://twitter.com/xtalkprogrammer >>>>> KvK: 50277553 >>>>> >>>>> Installer Maker for LiveCode: >>>>> http://qery.us/468 >>>>> >>>>> Buy my new book "Programming LiveCode for the Real Beginner" >>>>> http://qery.us/3fi >>>>> >>>>> LiveCode on Facebook: >>>>> https://www.facebook.com/groups/runrev/ >>>>> >>>>> On 9/26/2014 22:27, Magicgate Software - Skip Kimpel wrote: >>>>> >>>>> The results I want returned are: >>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> _______________________________________________ >>>>> >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cmsheffield at icloud.com Fri Sep 26 17:39:53 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 26 Sep 2014 15:39:53 -0600 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: <9C995EC9-77FC-44C1-ABC3-10FECBA41F6E@verizon.net> References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> <006101cfd9cc$2e2339d0$8a69ad70$@net> <9C995EC9-77FC-44C1-ABC3-10FECBA41F6E@verizon.net> Message-ID: <4F7CBE56-3CAD-430C-97C9-6EE1B4E5687F@icloud.com> Okay, so if we just take the ld file from Xcode 6.0.1 and place it inside the older SDKs, theoretically that should take care of the problem? Will that cause weird incompatibilities? Guess it?s worth a try. :-) > On Sep 26, 2014, at 3:27 PM, Colin Holgate wrote: > > I read the notes, and Mark quotes me a few times! As I?ve said in a note to that bug, taking the system linker and using it in place of the Xcode linker won?t do you any good, it?s the same linker. If you?re not on Xcode 6.0.1 the linker is too old. If LiveCode can?t build against 6.0.1 it may still be worth trying the linker from 6.0.1 on the Xcode that LiveCode can use. > > I have that file if you want to give it a try. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matsastrom at yahoo.se Fri Sep 26 17:44:44 2014 From: matsastrom at yahoo.se (=?iso-8859-1?Q?Mats_=C5str=F6m?=) Date: Fri, 26 Sep 2014 23:44:44 +0200 Subject: HTTPProyy In-Reply-To: References: Message-ID: <9764222F-6214-47F8-8C1C-1C078E4FA15D@yahoo.se> Hi all, having read up on, and tried, most posts with suggestions on how to make LiveCode access the web through a proxy, I'm in a cul-de-sac. It works fine (POST-ing a SOAP web service) without going through a proxy. Although I get "error timeout" when HTTPProxy is set to my clients proxy server IP or DNS. Maybe I did not search the posts thoroughly enough and missed something obvious (the LiveCode posts and community are both the reason I am still in business?) Has anyone managed to go through a proxy? If so how? /Mats From mwieder at ahsoftware.net Fri Sep 26 17:41:18 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 26 Sep 2014 14:41:18 -0700 Subject: "ShellShock" - what are you doing? In-Reply-To: <1B89B48E-A55A-4C34-AFF9-EEFD414BB93C@comcast.net> References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> <3EDE39BE-A7D3-479B-A0D0-B26853684B8A@all-auctions.com> <1B89B48E-A55A-4C34-AFF9-EEFD414BB93C@comcast.net> Message-ID: <6261675425.20140926144118@ahsoftware.net> Bruce- Friday, September 26, 2014, 2:33:12 PM, you wrote: > Can anyone explain exactly what this means? What are those > "special, advanced Unix services? > "But Apple said in an emailed statement that most of its users > aren't affected, as OS X's "systems are safe by default and not > exposed to remote exploits of Bash" -- unless users have actively > turned on special, advanced Unix services." http://localhost -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From cmsheffield at icloud.com Fri Sep 26 17:48:40 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 26 Sep 2014 15:48:40 -0600 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: <4F7CBE56-3CAD-430C-97C9-6EE1B4E5687F@icloud.com> References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> <006101cfd9cc$2e2339d0$8a69ad70$@net> <9C995EC9-77FC-44C1-ABC3-10FECBA41F6E@verizon.net> <4F7CBE56-3CAD-430C-97C9-6EE1B4E5687F@icloud.com> Message-ID: Nope, didn?t work. :-( Unless I did something wrong... > On Sep 26, 2014, at 3:39 PM, Chris Sheffield wrote: > > Okay, so if we just take the ld file from Xcode 6.0.1 and place it inside the older SDKs, theoretically that should take care of the problem? Will that cause weird incompatibilities? Guess it?s worth a try. :-) > > >> On Sep 26, 2014, at 3:27 PM, Colin Holgate wrote: >> >> I read the notes, and Mark quotes me a few times! As I?ve said in a note to that bug, taking the system linker and using it in place of the Xcode linker won?t do you any good, it?s the same linker. If you?re not on Xcode 6.0.1 the linker is too old. If LiveCode can?t build against 6.0.1 it may still be worth trying the linker from 6.0.1 on the Xcode that LiveCode can use. >> >> I have that file if you want to give it a try. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Fri Sep 26 17:49:22 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 26 Sep 2014 14:49:22 -0700 Subject: Keeping a group of controls "active" while using edit tool Message-ID: I recall some fields I had years ago that stayed "live" with the edit tool, much to my dismay. I now have an editing tool panel on couple of my stacks for controls to choose and center the group I'm using or want to use. These are stacks the user will never see, but it would be nice for m own convenience. I thought of storing the tool type on mouseEnter, setting to browse, and restory on mouseLeave, but those don't get sent without the browse toool. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Fri Sep 26 17:52:22 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 26 Sep 2014 14:52:22 -0700 Subject: getting a section cross-platform without utf In-Reply-To: <183F0475-E681-433E-8841-AE8A91783AA6@byu.edu> References: <5425AE33.9000709@gmail.com> <183F0475-E681-433E-8841-AE8A91783AA6@byu.edu> Message-ID: On Fri, Sep 26, 2014 at 2:26 PM, Devin Asay wrote: > set the htmltext of fld 1 to "

§

? So I would put "It's in § 506(a)" into the field, and then when in the period loop through the stack in deveopments, set the htlmlText of fld i to the test of fld i ? That could work, with minimal effort on my part. Thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From MikeKerner at roadrunner.com Fri Sep 26 17:51:55 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 26 Sep 2014 17:51:55 -0400 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> <006101cfd9cc$2e2339d0$8a69ad70$@net> <9C995EC9-77FC-44C1-ABC3-10FECBA41F6E@verizon.net> <4F7CBE56-3CAD-430C-97C9-6EE1B4E5687F@icloud.com> Message-ID: New patch doesn't fix the picker, and the annoying bug where the app insists that it's a different size than what it is wasn't fixed, either. On Fri, Sep 26, 2014 at 5:48 PM, Chris Sheffield wrote: > Nope, didn?t work. :-( > > Unless I did something wrong... > > > On Sep 26, 2014, at 3:39 PM, Chris Sheffield > wrote: > > > > Okay, so if we just take the ld file from Xcode 6.0.1 and place it > inside the older SDKs, theoretically that should take care of the problem? > Will that cause weird incompatibilities? Guess it?s worth a try. :-) > > > > > >> On Sep 26, 2014, at 3:27 PM, Colin Holgate wrote: > >> > >> I read the notes, and Mark quotes me a few times! As I?ve said in a > note to that bug, taking the system linker and using it in place of the > Xcode linker won?t do you any good, it?s the same linker. If you?re not on > Xcode 6.0.1 the linker is too old. If LiveCode can?t build against 6.0.1 it > may still be worth trying the linker from 6.0.1 on the Xcode that LiveCode > can use. > >> > >> I have that file if you want to give it a try. > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dochawk at gmail.com Fri Sep 26 17:53:29 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 26 Sep 2014 14:53:29 -0700 Subject: getting a section cross-platform without utf In-Reply-To: <5425CD71.3070005@gmail.com> References: <5425AE33.9000709@gmail.com> <5425CD71.3070005@gmail.com> Message-ID: On Fri, Sep 26, 2014 at 1:32 PM, Richmond wrote: > That makes no sense at all as the Unicode char 'siglum' ? is U+00A7 > Decimal 167 > > While the 'esset' ? is U+00DF Decimal 223 > I'm a bankruptcy lawyer. I stop expecting things to make sense every day before I start work. :) Anyway, those both appear as they should on osx/firefox/gmail -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From terry.judd at unimelb.edu.au Fri Sep 26 18:19:49 2014 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Fri, 26 Sep 2014 22:19:49 +0000 Subject: getting a section cross-platform without utf In-Reply-To: <5425CD71.3070005@gmail.com> References: <5425AE33.9000709@gmail.com> <5425CD71.3070005@gmail.com> Message-ID: It?s numToChar(164) on a Mac and numToChar(167) on Windows. Terry... On 27/09/2014 6:32 am, "Richmond" wrote: >On 26/09/14 23:20, Dr. Hawkins wrote: >> On Fri, Sep 26, 2014 at 11:19 AM, Richmond >> wrote: >> >>> Put numToChar(167) >>> >> I just tried that on a mac. I think what it gave me was a german esset, >> the double s that looks like a beta . . . >> >> > >That makes no sense at all as the Unicode char 'siglum' ? is U+00A7 >Decimal 167 > >While the 'esset' ? is U+00DF Decimal 223 > >Richmond. >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From bogdanoff at me.com Fri Sep 26 18:46:37 2014 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 26 Sep 2014 15:46:37 -0700 Subject: Sorting a multidimensional array In-Reply-To: <9D0AA920-CF8B-4D31-97C1-24135D6E999C@gmail.com> References: <674B1687-221F-41F4-91DA-820B0C9D063B@me.com> <9D0AA920-CF8B-4D31-97C1-24135D6E999C@gmail.com> Message-ID: Thanks very much, Dick and Peter! I'll try these out. On Sep 26, 2014, at 8:55 AM, "Peter M. Brigham" wrote: > On Sep 26, 2014, at 12:24 AM, Peter Bogdanoff wrote: > >> My first foray into arrays: >> >> I want to sort a 2D array by one of the keys. >> >> The data consists of several 2-line groups that are in a field. The lines contain styled and linked characters that I want to retain after sorting: >> >> peaches >> pears >> >> apples >> oranges >> >> plums >> grapes >> >> I want to sort the data by line 1 of each 2-line group, then display the sorted data as styled text. >> >> I build an array: >> >> repeat with x = 1 to (the number of lines of field ?tField" / 3) >> put line 1 of field ?tField" into tMultiArray[x][1] >> put the htmlText of line 1 of field ?tField" into tMultiArray[x][2] >> put the htmlText of line 2 of field ?tField" into tMultiArray[x][3] >> delete line 1 to 3 of field ?tField" >> end repeat >> >> How do I sort this array by line 1 of the plain text of each group? >> >> Then, how do I extract the data from the array?I need the 2nd & 3rd values only (the htmlText) to display again in the field (set the htmlText of line x of field ?tField? to??)? >> >> Is this the best method to sort this kind of data? The data comes as search results using Scott McDonald?s RunRev Planet Search tool, so I have to work with what the tool gives me. > > You could do it without any arrays: > > on sortIt tFldRef > put the htmlText of tFldRef into tData > put numtochar(4) into groupDiv > put numtochar(5) into itemDiv > replace "

" with groupDiv in tData > replace"

" with itemDiv in tData > replace groupDiv with cr in tData > set the itemdel to itemDiv > sort lines of tData by item 1 of each > replace cr with "

" in tData > replace itemDiv with "

" in tData > set the htmltext of tFldRef to tData > end sortIt > > Not tested, may need to do more parsing of HTMLtext before sorting?. But you get the idea. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mikedoub at gmail.com Fri Sep 26 19:23:13 2014 From: mikedoub at gmail.com (Michael Doub) Date: Fri, 26 Sep 2014 19:23:13 -0400 Subject: Regex Help In-Reply-To: References: <5425C9C6.8010603@economy-x-talk.com> <5425CE91.40301@economy-x-talk.com> <5425D1B6.4090307@economy-x-talk.com> <5425D361.9040303@economy-x-talk.com> Message-ID: Guys, I have been using these 2 sites lately and they are really a huge help in understanding regex: http://regex101.com/#pcre http://www.regexr.com Give them a try? Mike On Sep 26, 2014, at 5:34 PM, Magicgate Software - Skip Kimpel wrote: > Thank you Mark! > > On Fri, Sep 26, 2014 at 4:58 PM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Hi Skip, >> >> If it contains numbers and letters, it could be >> >> /point-item[0-9a-zA-Z]+-landed.html >> >> and if it contains anything except whitespace, it could be >> >> /point-item[\w]+-landed.html >> >> Both options work with the sample data you provided. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Installer Maker for LiveCode: >> http://qery.us/468 >> >> Buy my new book "Programming LiveCode for the Real Beginner" >> http://qery.us/3fi >> >> LiveCode on Facebook: >> https://www.facebook.com/groups/runrev/ >> >> On 9/26/2014 22:54, Magicgate Software - Skip Kimpel wrote: >> >>> Sorry... it contains letters. Sorry for the confusion. I should have >>> been >>> more complete with my explanation and sample data. >>> >>> SKIP >>> >>> On Fri, Sep 26, 2014 at 4:51 PM, Mark Schonewille < >>> m.schonewille at economy-x-talk.com> wrote: >>> >>> Then what exactly does the middle item contain? Numbers and letters? >>>> Special symbols? Chinese? >>>> >>>> -- >>>> Best regards, >>>> >>>> Mark Schonewille >>>> >>>> Economy-x-Talk Consulting and Software Engineering >>>> Homepage: http://economy-x-talk.com >>>> Twitter: http://twitter.com/xtalkprogrammer >>>> KvK: 50277553 >>>> >>>> Installer Maker for LiveCode: >>>> http://qery.us/468 >>>> >>>> Buy my new book "Programming LiveCode for the Real Beginner" >>>> http://qery.us/3fi >>>> >>>> LiveCode on Facebook: >>>> https://www.facebook.com/groups/runrev/ >>>> >>>> On 9/26/2014 22:49, Magicgate Software - Skip Kimpel wrote: >>>> >>>> The middle item "XXXXX" does not always have a number in it. The common >>>>> denominator between all the items I WANT to keep start with "page-" and >>>>> end >>>>> with "-landed.html" >>>>> >>>>> On Fri, Sep 26, 2014 at 4:37 PM, Mark Schonewille < >>>>> m.schonewille at economy-x-talk.com> wrote: >>>>> >>>>> Hi, >>>>> >>>>>> >>>>>> Then you can try this: >>>>>> >>>>>> on mouseUp >>>>>> put "/point-item[0-9]+-landed.html" into myFilter >>>>>> put fld 1 into myData >>>>>> filter myData with regex pattern myFilter >>>>>> put myData >>>>>> end mouseUp >>>>>> >>>>>> This is a LiveCode example, but you can apply the regex >>>>>> "/point-item[0-9]+-landed.html" in PHP or Perl. I tried this with and >>>>>> without escaping the slash and dashes, but escaping seems unnecesary. >>>>>> If >>>>>> the regex doesn't work in PHP or Perl, maybe you could try >>>>>> >>>>>> \/point\-item[0-9]+\-landed.html >>>>>> >>>>>> but I haven't tested if this would be necessary. >>>>>> >>>>>> -- >>>>>> Best regards, >>>>>> >>>>>> Mark Schonewille >>>>>> >>>>>> Economy-x-Talk Consulting and Software Engineering >>>>>> Homepage: http://economy-x-talk.com >>>>>> Twitter: http://twitter.com/xtalkprogrammer >>>>>> KvK: 50277553 >>>>>> >>>>>> Installer Maker for LiveCode: >>>>>> http://qery.us/468 >>>>>> >>>>>> Buy my new book "Programming LiveCode for the Real Beginner" >>>>>> http://qery.us/3fi >>>>>> >>>>>> LiveCode on Facebook: >>>>>> https://www.facebook.com/groups/runrev/ >>>>>> >>>>>> On 9/26/2014 22:27, Magicgate Software - Skip Kimpel wrote: >>>>>> >>>>>> The results I want returned are: >>>>>> >>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>>> _______________________________________________ >>>>>> >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Fri Sep 26 19:51:50 2014 From: coiin at verizon.net (Colin Holgate) Date: Fri, 26 Sep 2014 19:51:50 -0400 Subject: iOS app submission error - "invalid segment alignment" In-Reply-To: References: <6C25DD64-E9F8-4542-AE32-CC4239460937@icloud.com> <9D5500FE-7F2E-442F-A7AE-D470D1BC441C@icloud.com> <1C6A7829-A2C8-46DF-A2CA-558ABD87F16E@verizon.net> <006101cfd9cc$2e2339d0$8a69ad70$@net> <9C995EC9-77FC-44C1-ABC3-10FECBA41F6E@verizon.net> <4F7CBE56-3CAD-430C-97C9-6EE1B4E5687F@icloud.com> Message-ID: <619C8673-20E5-4907-A8F2-389D4234E6BB@verizon.net> Here?s the Marmalade forum discussion about the problem: https://answers.madewithmarmalade.com/questions/25466/invalid-segment-alignment-after-uploading-binary-t.html After they posted a fix I asked if the problem was linker related, and it seems it was. From gcanyon at gmail.com Fri Sep 26 21:22:47 2014 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 26 Sep 2014 20:22:47 -0500 Subject: Population puzzle In-Reply-To: <2755EAD7-BF3C-403F-AE29-D35740E14C77@mac.com> References: <2755EAD7-BF3C-403F-AE29-D35740E14C77@mac.com> Message-ID: This is a fun problem. My first, nearly brute force solution simply maintained an array with the keys being the sum of the value lists stored in the array -- so X[5] might contain 2,3. The only optimization inherent in this is that it doesn't worry about duplicate sums along the way. So if there are many duplicate sums, it will work okay. It won't solve this 26-value problem in a reasonable time (or maybe at all -- likely it will crash): function subsetSumBrute L,T repeat for each item N in L repeat for each line K in the keys of R if R[K+N] is empty then put R[K],N into R[K+N] end repeat put N into R[N] if R[T] is not empty then return R[T] end repeat return "no solution" end subsetSumBrute The obvious optimization is not to worry about sums greater than the target value. That helps, but it's still slow: checking only the first 22 populations (which doesn't return a solution) takes about 14 seconds on my laptop, and the resulting working array hits over 2 million entries. Trying to run it on the full 26 value list crashes after about 30 seconds, and it seems the working array might be trying to reach >30 million entries. Here it is: function subsetSumBetter L,T repeat for each item N in L repeat for each line K in the keys of R if K+N <= T and R[K+N] is empty then put R[K],N into R[K+N] end repeat put N into R[N] if R[T] is not empty then return R[T] end repeat return "no solution" end subsetSumBetter I sorted the numbers in descending order, which improves the "larger than the goal" optimization, but the optimization that did the trick was to maintain the overall sum of the remaining numbers, and delete any entries in the working array that can no longer reach the total. For the 26 values here it reduced the maximum size reached by the working array to just 217,523 elements, 1/10th the number subsetSumBetter used just for 22 values. Further, where subsetSumBetter takes about 14 seconds to check 22 values, this function solves the 26 value problem in under 1.5 seconds. function subsetSum L,T sort items of L descending numeric put sum(L) into S repeat for each item N in L repeat for each line K in the keys of R if K + S < T then delete variable R[K] next repeat end if if K+N <= T and R[K+N] is empty then put R[K],N into R[K+N] end repeat put N into R[N] if R[T] is not empty then return R[T] subtract N from S end repeat return "no solution" end subsetSum Those are all mine, and I like that last one, but it's not as good as this solution, which I created after reading the wikipedia article at https://en.wikipedia.org/wiki/Subset_sum_problem This splits the original list in two by size, largest values in one, smallest in the other. It calculates all the possible sums for each list. It parses through the lists, largest to smallest for the large value list, and smallest to largest for the small value list. It checks each pair to see if it's a solution, and bails on the low list when the sum exceeds the target because the values from the small value are getting larger and no more will work. It also checks each list to see if the target value is in one of them alone. For this problem it builds two arrays of about 8,000 elements each and then pairs them off. It finds the solution in about 0.16 seconds on my computer. function subsetSumBi L,T sort items of L descending numeric put (the number of items of L) div 2 into B put allSubsetSums(item 1 to B of L) into highList put the keys of highList into HLK sort lines of HLK descending numeric put allSubsetSums(item B + 1 to -1 of L) into lowList put the keys of lowList into LLK sort lines of LLK ascending numeric repeat for each line LL in LLK if LL = T then return lowList[LL] end repeat repeat for each line HL in HLK if HL = T then return highList[HL] repeat for each line LL in LLK if HL + LL = T then return highList[HL],lowList[LL] if HL + LL > T then exit repeat end repeat end repeat return "no solution" end subsetSumBi function allSubsetSums L repeat for each item N in L repeat for each line K in the keys of R if R[K+N] is empty then put R[K],N into R[K+N] end repeat put N into R[N] end repeat return R end allSubsetSums From Mark_Smith at cpe.umanitoba.ca Fri Sep 26 21:33:52 2014 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Fri, 26 Sep 2014 18:33:52 -0700 (PDT) Subject: Documentation In-Reply-To: <542568C5.5030407@fourthworld.com> References: <1411698179717-4683797.post@n4.nabble.com> <542568C5.5030407@fourthworld.com> Message-ID: <1411781632409-4683856.post@n4.nabble.com> Richard Gaskin wrote > There's no single document outlining the changes between that specific > range of versions, but the release notes for each version will bring you > up to speed: > > <http://downloads.livecode.com/livecode/> Thanks for the link Richard. Very useful -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Documentation-tp4683797p4683856.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Fri Sep 26 21:35:08 2014 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Fri, 26 Sep 2014 18:35:08 -0700 (PDT) Subject: Documentation In-Reply-To: References: <1411698179717-4683797.post@n4.nabble.com> <542568C5.5030407@fourthworld.com> Message-ID: <1411781708328-4683857.post@n4.nabble.com> skiplondon wrote > Just a thought: One of pieces of software that we use in our office > environment, we can go online and put in the version of the software you > are using and the version that you have upgraded to and it will compile a > complete feature / bug fix document for you on the fly based upon the > version differences. Thanks Skip, great suggestion. I might give it a try (need the practice anyway) Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Documentation-tp4683797p4683857.html Sent from the Revolution - User mailing list archive at Nabble.com. From dochawk at gmail.com Fri Sep 26 21:36:23 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 26 Sep 2014 18:36:23 -0700 Subject: getting a section cross-platform without utf In-Reply-To: References: <5425AE33.9000709@gmail.com> <5425CD71.3070005@gmail.com> Message-ID: On Fri, Sep 26, 2014 at 3:19 PM, Terry Judd wrote: > It?s numToChar(164) on a Mac and numToChar(167) on Windows. > Ahh, the infamous window's curly-apostrophe . . . in grad school I had an ISN line (no, not IDSN; 9600 baud ISN). That apostrophe is a ^S with bit 7 high. It would hang my line until I did a hard-reset of the hardware, or got a ^Q. Ultimately, I wrote a script that hiccuped a ^Q every five seconds or so. Anyway, I'm trying to make strings in fields that will work on either platform; legal blurbs tend to use section marks a *lot* -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From Mark_Smith at cpe.umanitoba.ca Fri Sep 26 22:21:17 2014 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Fri, 26 Sep 2014 19:21:17 -0700 (PDT) Subject: Documentation In-Reply-To: <1411781632409-4683856.post@n4.nabble.com> References: <1411698179717-4683797.post@n4.nabble.com> <542568C5.5030407@fourthworld.com> <1411781632409-4683856.post@n4.nabble.com> Message-ID: <1411784477145-4683859.post@n4.nabble.com> One more thing I forgot to ask. Now that I've upgraded from 5.5.5 to 6.3.3 is there any stack format issues that I need to be aware of? All compatible? Thanks Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Documentation-tp4683797p4683859.html Sent from the Revolution - User mailing list archive at Nabble.com. From paulhibbert at mac.com Fri Sep 26 23:17:50 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Fri, 26 Sep 2014 20:17:50 -0700 Subject: Keeping a group of controls "active" while using edit tool In-Reply-To: References: Message-ID: <49A0137A-132C-46A9-AF37-3129F4CC6AE2@mac.com> Not sure if it's what you are looking for, but if these tool panels are on separate stacks or substacks you could try: palette stack "myToolPanel" --For the (sub)stack to become a palette and topLevel stack "myToolPanel" --to revert back to an editable (sub)stack Paul On Sep 26, 2014, at 2:49 PM, Dr. Hawkins wrote: > I recall some fields I had years ago that stayed "live" with the edit tool, > much to my dismay. > > I now have an editing tool panel on couple of my stacks for controls to > choose and center the group I'm using or want to use. > > These are stacks the user will never see, but it would be nice for m own > convenience. I thought of storing the tool type on mouseEnter, setting to > browse, and restory on mouseLeave, but those don't get sent without the > browse toool. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From selander at tkf.att.ne.jp Fri Sep 26 23:35:47 2014 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 27 Sep 2014 12:35:47 +0900 Subject: Using Livecode to burn DVDs on demand? In-Reply-To: References: <54239CCA.8080102@tkf.att.ne.jp> Message-ID: <54263093.7050300@tkf.att.ne.jp> Thanks Thierry, Richard and Simon, Our programs are all in 'raw' Video_TS/Audio_TS folders, so first I had to make .iso images from those. That took the most tinkering with in order to get a DVD that would play in both a computer and DVD deck. For posterity, here is the Terminal command that worked (I'm on OSX). hdiutil makehybrid -joliet -iso -udf -udf-volume-name DVDLABELNAME -o /path/to/newISOname.iso /path/to/folder_that_contain_Video_TS (the -joliet and -iso switches were needed to get the DVD burned from the newly created .iso to play in a deck) Once the .iso is created, from Livecode it was a simple put shell("hdiutil burn /path/to/newISOname.iso") The success (or failure) messages from hdiutil end up in the message box. (And of course you can put the path to the .iso in a variable as well.) Thanks for the help! Tim On 9/25/14, 3:58 PM, Thierry Douez wrote: > On Mac, you can check: > > hdiutil burn image.iso > > Regards, > > Thierry > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Sat Sep 27 00:26:21 2014 From: sundown at pacifier.com (JB) Date: Fri, 26 Sep 2014 21:26:21 -0700 Subject: Replacing Characters Message-ID: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> I want to replace every third character in a text string if it is a certain character. So lets say I have a list of characters there range from A thru F and the list is possibly 10,000 characters long. I want to check every third character in the list and if it is a D then I want to change it to a +. I can probably do it with a repeat and use a variable for a counter that resets every three times and then check the character when the counter gets to three but I was wondering if it could be done faster somehow. John Balgenorth From harrison at all-auctions.com Sat Sep 27 00:34:05 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Sat, 27 Sep 2014 00:34:05 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: <1B89B48E-A55A-4C34-AFF9-EEFD414BB93C@comcast.net> References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> <3EDE39BE-A7D3-479B-A0D0-B26853684B8A@all-auctions.com> <1B89B48E-A55A-4C34-AFF9-EEFD414BB93C@comcast.net> Message-ID: <0D20B321-3125-4F78-A321-ADAE74835223@all-auctions.com> Hi Bruce, I believe those special advanced Unix services Apple is referring to involves people who have set up their machines to use Unix SSH to remotely control their machines. This is not set up by default by Apple. You have to know something about using the Terminal and Unix commands to set it up. I think Apple wanted to be somewhat cryptic to not come out and tell the bad guys exactly what to do step by step to take anyone?s computer. So, no big worries for now as long as you aren?t running any serious web-servers with remote access set up in Unix. I still think it is odd that Homeland Security didn?t have a news item clearly marked on their front page about ShellShock.Our tax money really at work there. One shouldn?t have to dig deep for this important information. Apple Inc., didn?t have anything in their ?Hot News? either. Apparently they only want to talk about positive experiences, not holes they are trying to patch. Good luck digging for the really important information. I think Google organizes Apple?s website better than Apple does! LOL Ok, that?s my 2 cents for the day. Let?s hope the patching geniuses get the job done soon! Cheers, Rick On Sep 26, 2014, at 5:33 PM, Bruce Pokras wrote: > Can anyone explain exactly what this means? What are those "special, advanced Unix services? > > "But Apple said in an emailed statement that most of its users aren't affected, as OS X's "systems are safe by default and not exposed to remote exploits of Bash" -- unless users have actively turned on special, advanced Unix services." > > Bruce Pokras > Blazing Dawn Software > www.blazingdawn.com From larry at significantplanet.org Sat Sep 27 00:50:47 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Fri, 26 Sep 2014 22:50:47 -0600 Subject: Replacing Characters References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> Message-ID: My experience is that when doing string searching offset() is by far the fastest way. But I don't know everything. Larry ----- Original Message ----- From: "JB" To: "How to use LiveCode" Sent: Friday, September 26, 2014 10:26 PM Subject: Replacing Characters >I want to replace every third character in > a text string if it is a certain character. So > lets say I have a list of characters there > range from A thru F and the list is possibly > 10,000 characters long. > > I want to check every third character in the > list and if it is a D then I want to change it > to a +. > > I can probably do it with a repeat and use a > variable for a counter that resets every three > times and then check the character when the > counter gets to three but I was wondering if it > could be done faster somehow. > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Sat Sep 27 01:10:02 2014 From: sundown at pacifier.com (JB) Date: Fri, 26 Sep 2014 22:10:02 -0700 Subject: Replacing Characters In-Reply-To: References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> Message-ID: Thank you for the info. I knew someone who knew everything once but with the rapid pace of change in technology it became impossible for him to keep up and everyday he ended up knowing a little bit less. John Balgenorth On Sep 26, 2014, at 9:50 PM, wrote: > My experience is that when doing string searching offset() is by far the fastest way. > But I don't know everything. > Larry > > ----- Original Message ----- From: "JB" > To: "How to use LiveCode" > Sent: Friday, September 26, 2014 10:26 PM > Subject: Replacing Characters > > >> I want to replace every third character in >> a text string if it is a certain character. So >> lets say I have a list of characters there >> range from A thru F and the list is possibly >> 10,000 characters long. >> >> I want to check every third character in the >> list and if it is a D then I want to change it >> to a +. >> >> I can probably do it with a repeat and use a >> variable for a counter that resets every three >> times and then check the character when the >> counter gets to three but I was wondering if it >> could be done faster somehow. >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gbojsza at gmail.com Sat Sep 27 01:17:10 2014 From: gbojsza at gmail.com (Glen Bojsza) Date: Sat, 27 Sep 2014 01:17:10 -0400 Subject: Best way to convert XML to datagrid Message-ID: Hello everyone, I am trying to help with an old system that returns thousands of lines similar to the text below. The only thing I need to do is convert it to a datagrid.I can prebuild the datagrid with the correct cloumns but what is the best way in extracting the data out of the xml format? I was pretty certain a couple of years ago you could take xml data directly into a datagrid if the datagrid was already built with the correct column headers matching the nodes ; in a single command? I could do repeat loops similar to * put* field "xmlResponse" into tResponse *put* revCreateXMLTree(tResponse, false, true, false) into tDocID *put* revXMLNodeContents(tDocID, "/Envelope/Body/GetCPEBySerialSearchResponse/CPEList/CPE/id") --changing the "id" to serial and then username ..etc Any suggestions on the best method is appreciated. regards, ============================================================ Sample of xml response is below ============================================================ 2 CP1238RA52F 192.168.1.254 3 4 2014-09-10T04:28:59Z 2014-09-10T04:28:59Z 2014-09-10T01:55:45Z 3 CP1238RA52G 3 4 2014-09-20T11:33:29Z 2014-09-20T11:33:29Z 2014-09-20T11:33:29Z From lan.kc.macmail at gmail.com Sat Sep 27 02:19:38 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sat, 27 Sep 2014 14:19:38 +0800 Subject: Replacing Characters In-Reply-To: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> Message-ID: Assuming tBigList contains your data and it is a tab separated list. set the itemDelimiter to tab repeat for each item tSearchThis in tBigList if (char 3 of tSearchThis = "D") then put "+" into char 3 of tSearchThis end if put tSearchThis & tab after tNewList end repeat --remove the trailing tab put word 1 to -1 of tNewList into tNewList set the itemDelimiter to comma tNewList should now be your corrected list HTH On Sat, Sep 27, 2014 at 12:26 PM, JB wrote: > I want to replace every third character in > a text string if it is a certain character. So > lets say I have a list of characters there > range from A thru F and the list is possibly > 10,000 characters long. > > I want to check every third character in the > list and if it is a D then I want to change it > to a +. > > I can probably do it with a repeat and use a > variable for a counter that resets every three > times and then check the character when the > counter gets to three but I was wondering if it > could be done faster somehow. > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Sat Sep 27 02:31:33 2014 From: sundown at pacifier.com (JB) Date: Fri, 26 Sep 2014 23:31:33 -0700 Subject: Replacing Characters In-Reply-To: References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> Message-ID: <31FCD145-0A5E-4E53-B784-0F9694E83BFF@pacifier.com> Thanks, Kay! The problem is there are no delimiters. It is a string of only chars A to F and there are no spaces etc. John Balgenorth On Sep 26, 2014, at 11:19 PM, Kay C Lan wrote: > Assuming tBigList contains your data and it is a tab separated list. > > set the itemDelimiter to tab > repeat for each item tSearchThis in tBigList > if (char 3 of tSearchThis = "D") then > put "+" into char 3 of tSearchThis > end if > put tSearchThis & tab after tNewList > end repeat > --remove the trailing tab > put word 1 to -1 of tNewList into tNewList > set the itemDelimiter to comma > > tNewList should now be your corrected list > > HTH > > On Sat, Sep 27, 2014 at 12:26 PM, JB wrote: >> I want to replace every third character in >> a text string if it is a certain character. So >> lets say I have a list of characters there >> range from A thru F and the list is possibly >> 10,000 characters long. >> >> I want to check every third character in the >> list and if it is a D then I want to change it >> to a +. >> >> I can probably do it with a repeat and use a >> variable for a counter that resets every three >> times and then check the character when the >> counter gets to three but I was wondering if it >> could be done faster somehow. >> >> John Balgenorth >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Sat Sep 27 03:23:08 2014 From: sundown at pacifier.com (JB) Date: Sat, 27 Sep 2014 00:23:08 -0700 Subject: Replacing Characters In-Reply-To: <31FCD145-0A5E-4E53-B784-0F9694E83BFF@pacifier.com> References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> <31FCD145-0A5E-4E53-B784-0F9694E83BFF@pacifier.com> Message-ID: Another thing to consider is the characters are not in any specific crder. It could be cfacded or anything else. If is use a repeat for each char and the variable as a counter that resets every three times then I only need to make one pass through to make the changes. But there might be a faster way. John Balgenorth On Sep 26, 2014, at 11:31 PM, JB wrote: > Thanks, Kay! > > The problem is there are no delimiters. It > is a string of only chars A to F and there > are no spaces etc. > > John Balgenorth > > > On Sep 26, 2014, at 11:19 PM, Kay C Lan wrote: > >> Assuming tBigList contains your data and it is a tab separated list. >> >> set the itemDelimiter to tab >> repeat for each item tSearchThis in tBigList >> if (char 3 of tSearchThis = "D") then >> put "+" into char 3 of tSearchThis >> end if >> put tSearchThis & tab after tNewList >> end repeat >> --remove the trailing tab >> put word 1 to -1 of tNewList into tNewList >> set the itemDelimiter to comma >> >> tNewList should now be your corrected list >> >> HTH >> >> On Sat, Sep 27, 2014 at 12:26 PM, JB wrote: >>> I want to replace every third character in >>> a text string if it is a certain character. So >>> lets say I have a list of characters there >>> range from A thru F and the list is possibly >>> 10,000 characters long. >>> >>> I want to check every third character in the >>> list and if it is a D then I want to change it >>> to a +. >>> >>> I can probably do it with a repeat and use a >>> variable for a counter that resets every three >>> times and then check the character when the >>> counter gets to three but I was wondering if it >>> could be done faster somehow. >>> >>> John Balgenorth >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dick.kriesel at mail.com Sat Sep 27 04:49:52 2014 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 27 Sep 2014 01:49:52 -0700 Subject: Replacing Characters In-Reply-To: References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> <31FCD145-0A5E-4E53-B784-0F9694E83BFF@pacifier.com> Message-ID: <79529E9D-25BB-4971-9DD3-1A00156A1027@mail.com> On Sep 27, 2014, at 12:23 AM, JB wrote: > But there might be a faster way. Hi, John. Here's a way that works in under a millisecond on my iMac, and a way to test its speed. command replace_maybe @rString repeat with i = 3 to length( rString ) step 3 if char i of rString is "D" then put "+" into char i of rString end if end repeat end replace_maybe on mouseUp local tString, tMilliseconds repeat 1000 -- strings put empty into tString repeat 10000 -- characters put any char of "abcdef" after tString end repeat subtract the long milliseconds from tMilliseconds replace_maybe tString add the long milliseconds to tMilliseconds end repeat answer "milliseconds per string:" && tMilliseconds / 1000 end mouseUp How's that, John? -- Dick From fraser.gordon at livecode.com Sat Sep 27 05:45:38 2014 From: fraser.gordon at livecode.com (Fraser Gordon) Date: Sat, 27 Sep 2014 10:45:38 +0100 Subject: getting a section cross-platform without utf In-Reply-To: <5425CD71.3070005@gmail.com> References: <5425AE33.9000709@gmail.com> <5425CD71.3070005@gmail.com> Message-ID: <54268742.6010001@livecode.com> On 26/09/2014 21:32, Richmond wrote: > On 26/09/14 23:20, Dr. Hawkins wrote: >> On Fri, Sep 26, 2014 at 11:19 AM, Richmond >> wrote: >> >>> Put numToChar(167) >>> >> I just tried that on a mac. I think what it gave me was a german esset, >> the double s that looks like a beta . . . >> >> > > That makes no sense at all as the Unicode char 'siglum' ? is U+00A7 > Decimal 167 > > While the 'esset' ? is U+00DF Decimal 223 That's the problem with numToChar: it doesn't produce Unicode characters; it produces a byte with the given value. So instead of getting U+00A7 SECTION SIGN you get byte 0xA7 which in the MacRoman encoding is a sharp-S but in Windows codepage 1252 is the correct symbol (many other bytes with values >127 aren't correct on Windows). To get a section sign on Mac, you'll need to use numToChar(0xA4). It seems to work properly on Linux because the ISO-8859-1 text encoding we use there has all bytes correspond to the first 256 Unicode characters. And that's why we're deprecating numToChar - it produces text that is different depending on the platform you run it on. The Unicode replacement of numToCodepoint will produce the same character regardless of platform. (Deprecating doesn't mean it is going away - it is still there; doing the same as it always did. We're just discouraging its use in any new code). In case you're wondering, mixing the two is fine - you don't need to convert all of your code at once. LiveCode correctly converts the output from numToChar from a native-encoding byte to the corresponding Unicode character (e.g. doing codepointToNum(numToChar(0xA4)) on a Mac will produce 0x00A7 because it was mapped to the section sign). Regards, Fraser From bernd.gottwald at outrange.com Sat Sep 27 06:00:11 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 27 Sep 2014 12:00:11 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_132,_Issue_59?= Message-ID: <20140927100011.1493.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From sundown at pacifier.com Sat Sep 27 06:25:12 2014 From: sundown at pacifier.com (JB) Date: Sat, 27 Sep 2014 03:25:12 -0700 Subject: Replacing Characters In-Reply-To: <79529E9D-25BB-4971-9DD3-1A00156A1027@mail.com> References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> <31FCD145-0A5E-4E53-B784-0F9694E83BFF@pacifier.com> <79529E9D-25BB-4971-9DD3-1A00156A1027@mail.com> Message-ID: <61E75F2A-5A49-4FB7-818C-EEFCD5D8C721@pacifier.com> Hi Dick, That is really nice! Thank you. It works great. John Balgenorth On Sep 27, 2014, at 1:49 AM, Dick Kriesel wrote: > On Sep 27, 2014, at 12:23 AM, JB wrote: > >> But there might be a faster way. > > Hi, John. > > Here's a way that works in under a millisecond on my iMac, and a way to test its speed. > > command replace_maybe @rString > repeat with i = 3 to length( rString ) step 3 > if char i of rString is "D" then > put "+" into char i of rString > end if > end repeat > end replace_maybe > > on mouseUp > local tString, tMilliseconds > repeat 1000 -- strings > put empty into tString > repeat 10000 -- characters > put any char of "abcdef" after tString > end repeat > subtract the long milliseconds from tMilliseconds > replace_maybe tString > add the long milliseconds to tMilliseconds > end repeat > answer "milliseconds per string:" && tMilliseconds / 1000 > end mouseUp > > How's that, John? > > -- Dick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Sat Sep 27 08:23:05 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Sat, 27 Sep 2014 08:23:05 -0400 Subject: Regex Help In-Reply-To: References: <5425C9C6.8010603@economy-x-talk.com> <5425CE91.40301@economy-x-talk.com> <5425D1B6.4090307@economy-x-talk.com> <5425D361.9040303@economy-x-talk.com> Message-ID: Michael, those are two awesome resources! Thanks. SKIP On Fri, Sep 26, 2014 at 7:23 PM, Michael Doub wrote: > Guys, I have been using these 2 sites lately and they are really a huge > help in understanding regex: > > http://regex101.com/#pcre > http://www.regexr.com > > Give them a try? > Mike > > > > On Sep 26, 2014, at 5:34 PM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > > > Thank you Mark! > > > > On Fri, Sep 26, 2014 at 4:58 PM, Mark Schonewille < > > m.schonewille at economy-x-talk.com> wrote: > > > >> Hi Skip, > >> > >> If it contains numbers and letters, it could be > >> > >> /point-item[0-9a-zA-Z]+-landed.html > >> > >> and if it contains anything except whitespace, it could be > >> > >> /point-item[\w]+-landed.html > >> > >> Both options work with the sample data you provided. > >> > >> -- > >> Best regards, > >> > >> Mark Schonewille > >> > >> Economy-x-Talk Consulting and Software Engineering > >> Homepage: http://economy-x-talk.com > >> Twitter: http://twitter.com/xtalkprogrammer > >> KvK: 50277553 > >> > >> Installer Maker for LiveCode: > >> http://qery.us/468 > >> > >> Buy my new book "Programming LiveCode for the Real Beginner" > >> http://qery.us/3fi > >> > >> LiveCode on Facebook: > >> https://www.facebook.com/groups/runrev/ > >> > >> On 9/26/2014 22:54, Magicgate Software - Skip Kimpel wrote: > >> > >>> Sorry... it contains letters. Sorry for the confusion. I should have > >>> been > >>> more complete with my explanation and sample data. > >>> > >>> SKIP > >>> > >>> On Fri, Sep 26, 2014 at 4:51 PM, Mark Schonewille < > >>> m.schonewille at economy-x-talk.com> wrote: > >>> > >>> Then what exactly does the middle item contain? Numbers and letters? > >>>> Special symbols? Chinese? > >>>> > >>>> -- > >>>> Best regards, > >>>> > >>>> Mark Schonewille > >>>> > >>>> Economy-x-Talk Consulting and Software Engineering > >>>> Homepage: http://economy-x-talk.com > >>>> Twitter: http://twitter.com/xtalkprogrammer > >>>> KvK: 50277553 > >>>> > >>>> Installer Maker for LiveCode: > >>>> http://qery.us/468 > >>>> > >>>> Buy my new book "Programming LiveCode for the Real Beginner" > >>>> http://qery.us/3fi > >>>> > >>>> LiveCode on Facebook: > >>>> https://www.facebook.com/groups/runrev/ > >>>> > >>>> On 9/26/2014 22:49, Magicgate Software - Skip Kimpel wrote: > >>>> > >>>> The middle item "XXXXX" does not always have a number in it. The > common > >>>>> denominator between all the items I WANT to keep start with "page-" > and > >>>>> end > >>>>> with "-landed.html" > >>>>> > >>>>> On Fri, Sep 26, 2014 at 4:37 PM, Mark Schonewille < > >>>>> m.schonewille at economy-x-talk.com> wrote: > >>>>> > >>>>> Hi, > >>>>> > >>>>>> > >>>>>> Then you can try this: > >>>>>> > >>>>>> on mouseUp > >>>>>> put "/point-item[0-9]+-landed.html" into myFilter > >>>>>> put fld 1 into myData > >>>>>> filter myData with regex pattern myFilter > >>>>>> put myData > >>>>>> end mouseUp > >>>>>> > >>>>>> This is a LiveCode example, but you can apply the regex > >>>>>> "/point-item[0-9]+-landed.html" in PHP or Perl. I tried this with > and > >>>>>> without escaping the slash and dashes, but escaping seems > unnecesary. > >>>>>> If > >>>>>> the regex doesn't work in PHP or Perl, maybe you could try > >>>>>> > >>>>>> \/point\-item[0-9]+\-landed.html > >>>>>> > >>>>>> but I haven't tested if this would be necessary. > >>>>>> > >>>>>> -- > >>>>>> Best regards, > >>>>>> > >>>>>> Mark Schonewille > >>>>>> > >>>>>> Economy-x-Talk Consulting and Software Engineering > >>>>>> Homepage: http://economy-x-talk.com > >>>>>> Twitter: http://twitter.com/xtalkprogrammer > >>>>>> KvK: 50277553 > >>>>>> > >>>>>> Installer Maker for LiveCode: > >>>>>> http://qery.us/468 > >>>>>> > >>>>>> Buy my new book "Programming LiveCode for the Real Beginner" > >>>>>> http://qery.us/3fi > >>>>>> > >>>>>> LiveCode on Facebook: > >>>>>> https://www.facebook.com/groups/runrev/ > >>>>>> > >>>>>> On 9/26/2014 22:27, Magicgate Software - Skip Kimpel wrote: > >>>>>> > >>>>>> The results I want returned are: > >>>>>> > >>>>>>> > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>> use-livecode mailing list > >>>>>> use-livecode at lists.runrev.com > >>>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>>> subscription preferences: > >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>>> > >>>>>> _______________________________________________ > >>>>>> > >>>>> use-livecode mailing list > >>>>> use-livecode at lists.runrev.com > >>>>> Please visit this url to subscribe, unsubscribe and manage your > >>>>> subscription preferences: > >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>>> > >>>>> > >>>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode at lists.runrev.com > >>>> Please visit this url to subscribe, unsubscribe and manage your > >>>> subscription preferences: > >>>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>>> > >>>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >>> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >>> > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From williamdesmet at gmail.com Sat Sep 27 09:38:50 2014 From: williamdesmet at gmail.com (William de Smet) Date: Sat, 27 Sep 2014 15:38:50 +0200 Subject: Problem/strange behavior with older version of Mergpop (2.0.7) and Retina screens? Message-ID: Hi there, Yesterday I got an e-mail about a problem with one of my apps. I am trying to debug the problem now and maybe anyone can help me. In my app I use MergPop (MergExt) for saving an image. When putting my app through Xcode on my iPad the image is saved nicely using MergPop. But when I download the app from the Appstore (I never did before until today) only a part of the image is saved using MergPop. This is on a iPad 3 with retina screen with iOS 7. On a non Retina screen (iPad mini) with iOS 8 the behavior is normal and the entire image is saved. My app was uploaded to the App store in februari 2014 and today I noticed that MergPop was updated on 3/24/14. Does anyone recognize my problem. Is it due to an older version of Mergpop (2.0.7?) and retina screens? I also contacted Monty but he didn't respond yet.. greetings, William From bruceap at comcast.net Sat Sep 27 10:30:39 2014 From: bruceap at comcast.net (Bruce Pokras) Date: Sat, 27 Sep 2014 10:30:39 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: <0D20B321-3125-4F78-A321-ADAE74835223@all-auctions.com> References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> <3EDE39BE-A7D3-479B-A0D0-B26853684B8A@all-auctions.com> <1B89B48E-A55A-4C34-AFF9-EEFD414BB93C@comcast.net> <0D20B321-3125-4F78-A321-ADAE74835223@all-auctions.com> Message-ID: Thanks Rick! I guess between Mark's link to "localhost" which simply gave me a "cannot connect" error in Safari, and your explanation, this is really a non-issue for the vast majority of OS X users. Regards, Bruce On Sep 27, 2014, at 12:34 AM, Rick Harrison wrote: > Hi Bruce, > > I believe those special advanced Unix services Apple is referring to > involves people who have set up their machines to use Unix SSH > to remotely control their machines. This is not set up by default by Apple. > You have to know something about using the Terminal and Unix commands > to set it up. I think Apple wanted to be somewhat cryptic to not come out > and tell the bad guys exactly what to do step by step to take anyone?s > computer. > > So, no big worries for now as long as you aren?t running any serious > web-servers with remote access set up in Unix. > > I still think it is odd that Homeland Security didn?t have a news item > clearly marked on their front page about ShellShock.Our tax money > really at work there. One shouldn?t have to dig deep for this important > information. > > Apple Inc., didn?t have anything in their ?Hot News? either. Apparently > they only want to talk about positive experiences, not holes they are > trying to patch. Good luck digging for the really important information. > I think Google organizes Apple?s website better than Apple does! LOL > > Ok, that?s my 2 cents for the day. Let?s hope the patching geniuses > get the job done soon! > > Cheers, > > Rick > > > > > On Sep 26, 2014, at 5:33 PM, Bruce Pokras wrote: > >> Can anyone explain exactly what this means? What are those "special, advanced Unix services? >> >> "But Apple said in an emailed statement that most of its users aren't affected, as OS X's "systems are safe by default and not exposed to remote exploits of Bash" -- unless users have actively turned on special, advanced Unix services." >> >> Bruce Pokras >> Blazing Dawn Software >> www.blazingdawn.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bruceap at comcast.net Sat Sep 27 11:15:39 2014 From: bruceap at comcast.net (Bruce Pokras) Date: Sat, 27 Sep 2014 11:15:39 -0400 Subject: HTTPProyy In-Reply-To: <9764222F-6214-47F8-8C1C-1C078E4FA15D@yahoo.se> References: <9764222F-6214-47F8-8C1C-1C078E4FA15D@yahoo.se> Message-ID: Mats, Pardon me if I do not understand all of the ramifications of corporate firewalls and proxy servers, but if your app is being used by your client behind his/her corporate firewall aren't the HTTP calls going through the proxy server by default? It that is the case, then you do not need to do anything special. I use one of my apps at my day job for a Fortune 100 company. I know that nothing going out in the normal course via HTTP can avoid our proxy server, yet I do not do anything special to my scripts to use the app. Regards, Bruce Pokras Blazing Dawn Software www.blazingdawn.com On Sep 26, 2014, at 5:44 PM, Mats ?str?m wrote: > Hi all, > > having read up on, and tried, most posts with suggestions on how to make LiveCode access the web through a proxy, I'm in a cul-de-sac. > > It works fine (POST-ing a SOAP web service) without going through a proxy. Although I get "error timeout" when HTTPProxy is set to my clients proxy server IP or DNS. > > Maybe I did not search the posts thoroughly enough and missed something obvious (the LiveCode posts and community are both the reason I am still in business?) > > Has anyone managed to go through a proxy? > > If so how? > > /Mats > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Sep 27 11:32:21 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 27 Sep 2014 08:32:21 -0700 Subject: getting a section cross-platform without utf In-Reply-To: <54268742.6010001@livecode.com> References: <5425AE33.9000709@gmail.com> <5425CD71.3070005@gmail.com> <54268742.6010001@livecode.com> Message-ID: On Sat, Sep 27, 2014 at 2:45 AM, Fraser Gordon wrote: > To get a > section sign on Mac, you'll need to use numToChar(0xA4). > This leads to the next question . . . if I use that character, will a pdf created by livecode be safely readable cross-platform, or am I going to have to use htmlText to do that? (For the moment, I need to stay with LC 5.5) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sat Sep 27 12:23:24 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 27 Sep 2014 09:23:24 -0700 Subject: Regex Help In-Reply-To: References: Message-ID: Hi Skip, Not sure what can come before /after the string but here's a start .*/point-.*-landed\.html.* That will find your string with any number of chars before or after it. If you need to check for it at the start of a line, replace ".*" with a "^" at the start of the regexp. Pete lcSQL Software On Sep 26, 2014 2:04 PM, "Magicgate Software - Skip Kimpel" < skip at magicgate.com> wrote: > Hey LC / Regex gurus, > > I need help creating a regular expression that will filter out all > instances where the pattern looks like this: > > /point-XXXXXXX-landed.html > > Obviously the "XXXXXX" section varies from item to item and is also of > different character lengths. > > Anybody willing to give this a shot? > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Sat Sep 27 14:22:32 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 27 Sep 2014 11:22:32 -0700 Subject: "ShellShock" - what are you =?UTF-8?Q?doing=3F?= Message-ID: Bruce Pokras wrote: > this is really a non-issue for the vast majority of OS X users. Most home CLIENT COMPUTERS are probably safe, but many other systems remain vulnerable, and with things like routers those can compromise internally-connected clients. Steven J. Vaughan-Nichols at ZDNet has a good overview of the current situation this morning, with new tests to be run to check the latest patches - from the article: If you're just running a Mac laptop or desktop, you shouldn't have any worries. What Apple doesn't say, but is nonetheless true, is that if you're running a Mac server to provide network services such as a Web or Dynamic Host Configuration Protocol (DHCP) server, you're wide open to being attacked. But most servers, which include some routers, will need to be updated. I've been wondering why Apple takes much longer than other OS vendors to release critical security patches for such things, and it seems Ars Technica may have the answer: Chet Ramey, the maintainer of bash, said in a post to Twitter that he had notified Apple of the vulnerability several times before it was made public, "and sent a patch they can apply. Several messages." So it's not certain why Apple hasn't already packaged that fix for release, other than Mac OS X uses version 3.2.51.(1) of GNU bash, released in 2007; the current GNU release of the shell is bash 4.3. However, the current version is released under the GNU Public License version 3 (GPLv3). Apple has avoided bundling GPLv3-licensed software because of its stricter license terms, even dropping the open-source Windows networking service Samba from OS X server in 2011 because Samba had shifted to a GPLv3 license. Therefore, although patches for the vulnerability have now been pushed out for most open-source operating systems, Apple executives may feel they have to have their own developers make modifications to the bash code. References: <49A0137A-132C-46A9-AF37-3129F4CC6AE2@mac.com> Message-ID: On Fri, Sep 26, 2014 at 8:17 PM, Paul Hibbert wrote: > Not sure if it's what you are looking for, but if these tool panels are on > separate stacks or substacks you could try: > Unfortunately, it's just a group of buttons and slider on the same stack. It's purpose is to pop the group I want to work on to the upper left, and the rest out of the way. Adding another palette stack is something I'd like to avoid . if at all possible . . . they're simple but clumsy tools, with a lot of "this stack" and "this card" to rewrite, and they're only there for my own editing, not the user. thanks -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Sep 27 14:49:12 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 27 Sep 2014 21:49:12 +0300 Subject: "ShellShock" - what are you doing? In-Reply-To: References: Message-ID: <542706A8.8010606@gmail.com> I just upgraded my machine with Ubuntu Studio from 14.04 to 14.10 and see that the BASH is 4.3-9, so, fingers crossed. Richmond. From MikeKerner at roadrunner.com Sat Sep 27 15:04:29 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 27 Sep 2014 15:04:29 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: <542706A8.8010606@gmail.com> References: <542706A8.8010606@gmail.com> Message-ID: For Bruce, unless you have your Mac set up as a server, bash should not be available remotely. For Richmond, RedHat just posted their supposedly full batch patch this AM, although the white hats have run into another issue with the parser, today that causes a heap overflow. I'm waiting for them to finish their analysis, now. On Sat, Sep 27, 2014 at 2:49 PM, Richmond wrote: > I just upgraded my machine with Ubuntu Studio from 14.04 to 14.10 > and see that the BASH is 4.3-9, so, fingers crossed. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From lists at mangomultimedia.com Sat Sep 27 15:12:26 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Sat, 27 Sep 2014 15:12:26 -0400 Subject: HTTPProyy In-Reply-To: <9764222F-6214-47F8-8C1C-1C078E4FA15D@yahoo.se> References: <9764222F-6214-47F8-8C1C-1C078E4FA15D@yahoo.se> Message-ID: On Fri, Sep 26, 2014 at 5:44 PM, Mats ?str?m wrote: > having read up on, and tried, most posts with suggestions on how to make > LiveCode access the web through a proxy, I'm in a cul-de-sac. > > It works fine (POST-ing a SOAP web service) without going through a proxy. > Although I get "error timeout" when HTTPProxy is set to my clients proxy > server IP or DNS. > > Maybe I did not search the posts thoroughly enough and missed something > obvious (the LiveCode posts and community are both the reason I am still in > business?) > > Has anyone managed to go through a proxy? LiveCode added support for more proxy setups in 6.7 and 7.0 (WPAD detection, PAC file support, etc.). Prior to that you were on your own to figure something out and LiveCode wouldn't work with https:// urls through a proxy. I do make a modified libURL available with the GLX Application Framework which works but some of the required scripts are part of the framework itself. 6.7 or 7.0 will work for you in most cases. One where it won't is where the network requires NTLM authentication to connect to the proxy server. You need an external in order for that to work. I made a library available at the RunRevLive conference this year that handles NTLM authentication and provides a username/password dialog for proxies that require it. The library uses an external that the guys at Altuit graciously made available years ago. Which version are you using and do you have the option of trying out 6.7 or 6.0? -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From jacque at hyperactivesw.com Sat Sep 27 15:30:26 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Sep 2014 14:30:26 -0500 Subject: HTTPProyy In-Reply-To: <9764222F-6214-47F8-8C1C-1C078E4FA15D@yahoo.se> References: <9764222F-6214-47F8-8C1C-1C078E4FA15D@yahoo.se> Message-ID: <54271052.2070901@hyperactivesw.com> On 9/26/2014, 4:44 PM, Mats ?str?m wrote: > having read up on, and tried, most posts with suggestions on how to > make LiveCode access the web through a proxy, I'm in a cul-de-sac. > > It works fine (POST-ing a SOAP web service) without going through a > proxy. Although I get "error timeout" when HTTPProxy is set to my > clients proxy server IP or DNS. > > Maybe I did not search the posts thoroughly enough and missed > something obvious (the LiveCode posts and community are both the > reason I am still in business?) > > Has anyone managed to go through a proxy? Like Bruce, I'm not doing anything special about proxies either. Have you tried it without setting the HTTPProxy? I think the new automatic proxy discovery doesn't need that any more. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From matsastrom at yahoo.se Sat Sep 27 17:32:36 2014 From: matsastrom at yahoo.se (=?iso-8859-1?Q?Mats_=C5str=F6m?=) Date: Sat, 27 Sep 2014 23:32:36 +0200 Subject: HTTPProxy Message-ID: Hi all, having read up on, and tried, most posts with suggestions on how to make LiveCode access the web through a proxy, I'm in a cul-de-sac. It works fine (POST-ing a SOAP web service) without going through a proxy. Although I get "error timeout" when HTTPProxy is set to my clients proxy server IP:port or DNS. Maybe I did not search the posts thoroughly enough and missed something obvious (the LiveCode posts and community are both the reason I am still alive an kicking?) Has anyone managed to go through a proxy? If so how? /Mats From bruceap at comcast.net Sat Sep 27 17:58:14 2014 From: bruceap at comcast.net (Bruce Pokras) Date: Sat, 27 Sep 2014 17:58:14 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: References: <542706A8.8010606@gmail.com> Message-ID: Some of the articles about the vulnerability make it sound like every Mac on the planet could be taken over by bad guys. Talk about spreading FUD! On Sep 27, 2014, at 3:04 PM, Mike Kerner wrote: > For Bruce, unless you have your Mac set up as a server, bash should not be > available remotely. > > For Richmond, RedHat just posted their supposedly full batch patch this AM, > although the white hats have run into another issue with the parser, today > that causes a heap overflow. I'm waiting for them to finish their > analysis, now. > > On Sat, Sep 27, 2014 at 2:49 PM, Richmond > wrote: > >> I just upgraded my machine with Ubuntu Studio from 14.04 to 14.10 >> and see that the BASH is 4.3-9, so, fingers crossed. >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sat Sep 27 19:31:45 2014 From: pete at lcsql.com (Peter Haworth) Date: Sat, 27 Sep 2014 16:31:45 -0700 Subject: Library Stacks Message-ID: Using a library stack for the first time and wondering the best practices for where to locate it. Application support folder, same folder as the application using it, somewhere else? Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin From Mark_Smith at cpe.umanitoba.ca Sat Sep 27 21:46:43 2014 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sat, 27 Sep 2014 18:46:43 -0700 (PDT) Subject: Stack format concerns Message-ID: <1411868803302-4683889.post@n4.nabble.com> Now that I have upgraded from 5.5.5 to 6.3.3 are there any stack format issues I need to be aware of? All compatible? I've been thinking.... Since I have 51 release notes to read between these 2 versions what this calls for is some sort of release note reader/stack that helps organize everything. Here's the plan. Read the release notes and use the table of contents as a guide to divide up the document. Put each section on its own card along with the version number, section title and release date. Provide a query card to search for a particular section (like 'engine changes' ) by version number range or date range. Ok, I've roughed out the stack with the query page and layout for the section browser. Problem is I don't know how to read the release notes using LC. Is there anything avail (Monte??) to read a PDF or word document (as parsable text) into LC? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Stack-format-concerns-tp4683889.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Sep 27 23:04:13 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Sep 2014 22:04:13 -0500 Subject: "ShellShock" - what are you doing? In-Reply-To: References: <542706A8.8010606@gmail.com> Message-ID: <54277AAD.9050003@hyperactivesw.com> On 9/27/2014, 4:58 PM, Bruce Pokras wrote: > Some of the articles about the vulnerability make it sound like every > Mac on the planet could be taken over by bad guys. Talk about > spreading FUD! Yeah. I think a lot of servers will be in trouble, but fewer consumers than the media makes it out to be. I have discovered: Android doesn't use a shell at all. iOS probably doesn't use a shell (but the article wasn't certain.) OS X isn't affected unless you're running a web server. Windows isn't affected. Most routers don't use bash because it is too large to fit into their relatively small amount of flash memory. (D-Link has a statement saying none of their routers use bash.) So it seems to me that Apache servers and 'nix users need updating but other consumers are for the most part okay, including mobile users. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Sat Sep 27 23:11:24 2014 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 27 Sep 2014 23:11:24 -0400 Subject: "ShellShock" - what are you doing? In-Reply-To: <54277AAD.9050003@hyperactivesw.com> References: <542706A8.8010606@gmail.com> <54277AAD.9050003@hyperactivesw.com> Message-ID: Now we're working on round 3, by the way. There are some more things that are coming out from fuzzing the parser. We'll see what the short and medium-term plans are, but if I read it right, there are probably 3-5 more patches, minimum, coming. On Sat, Sep 27, 2014 at 11:04 PM, J. Landman Gay wrote: > On 9/27/2014, 4:58 PM, Bruce Pokras wrote: > >> Some of the articles about the vulnerability make it sound like every >> Mac on the planet could be taken over by bad guys. Talk about >> spreading FUD! >> > > Yeah. I think a lot of servers will be in trouble, but fewer consumers > than the media makes it out to be. I have discovered: > > Android doesn't use a shell at all. > iOS probably doesn't use a shell (but the article wasn't certain.) > OS X isn't affected unless you're running a web server. > Windows isn't affected. > Most routers don't use bash because it is too large to fit into their > relatively small amount of flash memory. (D-Link has a statement saying > none of their routers use bash.) > > So it seems to me that Apache servers and 'nix users need updating but > other consumers are for the most part okay, including mobile users. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Sat Sep 27 23:30:55 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Sep 2014 22:30:55 -0500 Subject: Library Stacks In-Reply-To: References: Message-ID: <542780EF.9040806@hyperactivesw.com> On 9/27/2014, 6:31 PM, Peter Haworth wrote: > Using a library stack for the first time and wondering the best practices > for where to locate it. Application support folder, same folder as the > application using it, somewhere else? I always make them substacks. That way they are always available and never get lost. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lan.kc.macmail at gmail.com Sat Sep 27 23:34:08 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 28 Sep 2014 11:34:08 +0800 Subject: How to create a List of My Functions and My Commands Message-ID: I know how to get a list of LCs inbuilt function and commands but is there a quick way to get all my own handler names that are contained within an entire stack? I can get customProperties["mySet"], but I can't find customFunctions or customCommands. At this stage it looks like I have to step through each object, extract each script and then parse out the handler names; which of course is exactly what LC does extremely quickly and efficiently, but not as quick as if there is a command/function that already does it ;-) As an aside, as part of my fiddling around with this I've posted the following bug report for the Dictionary entry for 'functionNames' Bug 13547 The example code for the Dictionary entry functionNames is erroneous and confusing for several reasons: Actual entry: if myHandlerName is in the functions then answer "Choose another name." 'the functions' is wrong, it should be 'the functionNames' Unfortunately if you just change the example to: if myHandlerName is in the functionNames then answer "Choose another name." it is not clear if myHandlerName is a variable or the actual name. If it is the actual name this apparently works correctly as the answer dialog does not pop up, but if you change it to: if avgDev is in the functionNamess then answer "choose another name." you will get a compilation error, basically because any function/command name should be quoted if you don't want it interpreted as an actual function/command. So a correct and more useful example would be: if "avgDev" is in the functionNames then answer "Choose another name." repeat for each item nameToTest in listOfName if nameToTest is in the functionNames then answer "Function " & nameToTest & " is reserved by LC." end if end repeat From jacque at hyperactivesw.com Sat Sep 27 23:34:12 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 27 Sep 2014 22:34:12 -0500 Subject: Stack format concerns In-Reply-To: <1411868803302-4683889.post@n4.nabble.com> References: <1411868803302-4683889.post@n4.nabble.com> Message-ID: <542781B4.3050906@hyperactivesw.com> On 9/27/2014, 8:46 PM, Mark Smith wrote: > Now that I have upgraded from 5.5.5 to 6.3.3 are there any stack format > issues I need to be aware of? All compatible? Not yet. The next file format change is in 7.0. If you test that version, be sure to save stacks in the older format or keep backups. Not sure what to tell you about all the release notes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dick.kriesel at mail.com Sun Sep 28 01:21:52 2014 From: dick.kriesel at mail.com (Dick Kriesel) Date: Sat, 27 Sep 2014 22:21:52 -0700 Subject: How to create a List of My Functions and My Commands In-Reply-To: References: Message-ID: <1228FDDA-1ED9-43CA-8698-359398409266@mail.com> On Sep 27, 2014, at 8:34 PM, Kay C Lan wrote: > At this stage it looks like I have to step through each object, > extract each script and then parse out the handler names; which of > course is exactly what LC does extremely quickly and efficiently, but > not as quick as if there is a command/function that already does it > ;-) Hi, Kay. For each object, to discover all its available handler names, their types, and their line numbers in the script, you can use function handlerList( tObject, tIncludeBehaviorHandlers, tIncludePrivateHandlers ). So if you want to include behavior handlers and private handlers of tObject, the expression is handlerList( tObject, "true", "true" ). I've found code in the IDE that invokes function handlerList, but I haven't found the code for the function itself. Or you can use function revAvailableHandlers( tObject ). -- Dick From lan.kc.macmail at gmail.com Sun Sep 28 04:59:49 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Sun, 28 Sep 2014 16:59:49 +0800 Subject: How to create a List of My Functions and My Commands In-Reply-To: <1228FDDA-1ED9-43CA-8698-359398409266@mail.com> References: <1228FDDA-1ED9-43CA-8698-359398409266@mail.com> Message-ID: Dick, Thanks so much. Undocumented functions, you gotta love them. Actually, gotta love this List, so much hidden information revealed. Thanks again. On Sun, Sep 28, 2014 at 1:21 PM, Dick Kriesel wrote: > On Sep 27, 2014, at 8:34 PM, Kay C Lan wrote: > >> At this stage it looks like I have to step through each object, >> extract each script and then parse out the handler names; which of >> course is exactly what LC does extremely quickly and efficiently, but >> not as quick as if there is a command/function that already does it >> ;-) > > Hi, Kay. > > For each object, to discover all its available handler names, their types, and their line numbers in the script, you can use function handlerList( tObject, tIncludeBehaviorHandlers, tIncludePrivateHandlers ). So if you want to include behavior handlers and private handlers of tObject, the expression is handlerList( tObject, "true", "true" ). I've found code in the IDE that invokes function handlerList, but I haven't found the code for the function itself. > > Or you can use function revAvailableHandlers( tObject ). > > -- Dick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Sun Sep 28 05:53:32 2014 From: sundown at pacifier.com (JB) Date: Sun, 28 Sep 2014 02:53:32 -0700 Subject: Library Stacks In-Reply-To: <542780EF.9040806@hyperactivesw.com> References: <542780EF.9040806@hyperactivesw.com> Message-ID: <059E0849-87BA-43F2-AD0F-7890B5B7A6F2@pacifier.com> I was thinking of using a substack with the visible set to false to store preferences for a standalone. If I am correct you can do this and then not make a standalone out of the substaack and then you are able store them in a custom property. If this is a good approach should I make a new object for every custom property or would it be better to make one object to store all preferences? John Balgenorth On Sep 27, 2014, at 8:30 PM, J. Landman Gay wrote: > On 9/27/2014, 6:31 PM, Peter Haworth wrote: >> Using a library stack for the first time and wondering the best practices >> for where to locate it. Application support folder, same folder as the >> application using it, somewhere else? > > I always make them substacks. That way they are always available and never get lost. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bernd.gottwald at outrange.com Sun Sep 28 06:00:11 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 28 Sep 2014 12:00:11 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_132,_Issue_60?= Message-ID: <20140928100011.21291.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From sundown at pacifier.com Sun Sep 28 10:01:36 2014 From: sundown at pacifier.com (JB) Date: Sun, 28 Sep 2014 07:01:36 -0700 Subject: List Folders and Files Message-ID: I was using the List Files LiveCode tutorial to list folders and files using recursive but I found the limit for recursive is 400,000. Has anyone changed the non recursive to list all of the folders and files so you could list the whole hard drive if you wanted? John Balgenorth From sundown at pacifier.com Sun Sep 28 10:04:46 2014 From: sundown at pacifier.com (JB) Date: Sun, 28 Sep 2014 07:04:46 -0700 Subject: List Folders and Files In-Reply-To: References: Message-ID: The main thing I am interested in doing is lust list all of the folders on a hard drive and not the files. John Balgenorth On Sep 28, 2014, at 7:01 AM, JB wrote: > I was using the List Files LiveCode tutorial to list > folders and files using recursive but I found the > limit for recursive is 400,000. > > Has anyone changed the non recursive to list all > of the folders and files so you could list the whole > hard drive if you wanted? > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From Mark_Smith at cpe.umanitoba.ca Sun Sep 28 10:42:49 2014 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Sun, 28 Sep 2014 07:42:49 -0700 (PDT) Subject: Stack format concerns In-Reply-To: <542781B4.3050906@hyperactivesw.com> References: <1411868803302-4683889.post@n4.nabble.com> <542781B4.3050906@hyperactivesw.com> Message-ID: <1411915369598-4683901.post@n4.nabble.com> Thanks Jacque. On the release notes - I could just open and read all 51, or maybe the "stable" release notes summarize all the rc's and dp's (have asked) - I am going to try acrobat 11 to see how well it "saves as" a word document, and try converting to rtf from there. It would be nice to preserve some formatting in the conversion. I don't know how well LC will cope with this, as opposed to just straight text, but something new to learn! Thanks for the reassurance on file formats. Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Stack-format-concerns-tp4683889p4683901.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sun Sep 28 13:07:07 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 28 Sep 2014 10:07:07 -0700 Subject: "ShellShock" - what are you doing? In-Reply-To: <54277AAD.9050003@hyperactivesw.com> References: <542706A8.8010606@gmail.com> <54277AAD.9050003@hyperactivesw.com> Message-ID: <12561337054.20140928100707@ahsoftware.net> Jacque- Saturday, September 27, 2014, 8:04:13 PM, you wrote: > So it seems to me that Apache servers and 'nix users need updating but > other consumers are for the most part okay, including mobile users. Amazon updated and rebooted *all* their AWS servers the other day, one by one. I'm thankful I'm not an Amazone IT person when a day zero exploit comes to light. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From jacque at hyperactivesw.com Sun Sep 28 14:08:39 2014 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 28 Sep 2014 13:08:39 -0500 Subject: "ShellShock" - what are you doing? In-Reply-To: <12561337054.20140928100707@ahsoftware.net> References: <542706A8.8010606@gmail.com> <54277AAD.9050003@hyperactivesw.com> <12561337054.20140928100707@ahsoftware.net> Message-ID: My client will be happy about that. On September 28, 2014 12:07:07 PM CDT, Mark Wieder wrote: >Jacque- > >Saturday, September 27, 2014, 8:04:13 PM, you wrote: > >> So it seems to me that Apache servers and 'nix users need updating >but >> other consumers are for the most part okay, including mobile users. > >Amazon updated and rebooted *all* their AWS servers the other day, one >by one. I'm thankful I'm not an Amazone IT person when a day zero >exploit comes to light. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Sep 28 15:02:21 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 28 Sep 2014 22:02:21 +0300 Subject: Build Number? Message-ID: <54285B3D.8060600@gmail.com> Can anybody tell me how to ascertain the build number of a version of Livecode? Richmond. From sundown at pacifier.com Sun Sep 28 15:08:17 2014 From: sundown at pacifier.com (JB) Date: Sun, 28 Sep 2014 12:08:17 -0700 Subject: Build Number? In-Reply-To: <54285B3D.8060600@gmail.com> References: <54285B3D.8060600@gmail.com> Message-ID: <35106A0B-66B3-41FF-806E-E86C3D68BF26@pacifier.com> Hi Richmond, Maybe I am wrong and this is not what you are asking. I looked in the menubar and chose the About Livecode menu option and in the dialog on the top right it showed the current Build info. John Balgenorth On Sep 28, 2014, at 12:02 PM, Richmond wrote: > Can anybody tell me how to ascertain the build number of a version of Livecode? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Sep 28 15:31:19 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 28 Sep 2014 22:31:19 +0300 Subject: Build Number? In-Reply-To: <35106A0B-66B3-41FF-806E-E86C3D68BF26@pacifier.com> References: <54285B3D.8060600@gmail.com> <35106A0B-66B3-41FF-806E-E86C3D68BF26@pacifier.com> Message-ID: <54286207.7050506@gmail.com> On 28/09/14 22:08, JB wrote: > Hi Richmond, > > Maybe I am wrong and this is not what you are > asking. I looked in the menubar and chose the > About Livecode menu option and in the dialog > on the top right it showed the current Build info. > > John Balgenorth > > > Thanks. I'm a bit slow; after I posted my question I found that 'put the build number' did the trick. Now what I want to do is work out the build number for an unlicensed early Community version so I can set the numbers in the 'lclk' file. Richmond. From richmondmathewson at gmail.com Sun Sep 28 15:33:32 2014 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 28 Sep 2014 22:33:32 +0300 Subject: Build Number? In-Reply-To: <54286207.7050506@gmail.com> References: <54285B3D.8060600@gmail.com> <35106A0B-66B3-41FF-806E-E86C3D68BF26@pacifier.com> <54286207.7050506@gmail.com> Message-ID: <5428628C.4000804@gmail.com> On 28/09/14 22:31, Richmond wrote: > On 28/09/14 22:08, JB wrote: >> Hi Richmond, >> >> Maybe I am wrong and this is not what you are >> asking. I looked in the menubar and chose the >> About Livecode menu option and in the dialog >> on the top right it showed the current Build info. >> >> John Balgenorth >> >> >> > > Thanks. > > I'm a bit slow; after I posted my question I found that 'put the build > number' did the trick. > > Now what I want to do is work out the build number for an unlicensed > early Community > version so I can set the numbers in the 'lclk' file. > > Richmond. This is a bit "chicken and egg": http://lessons.runrev.com/m/2571/l/108543-livecode-6-community-manual-activation From sundown at pacifier.com Sun Sep 28 15:44:25 2014 From: sundown at pacifier.com (JB) Date: Sun, 28 Sep 2014 12:44:25 -0700 Subject: Build Number? In-Reply-To: <5428628C.4000804@gmail.com> References: <54285B3D.8060600@gmail.com> <35106A0B-66B3-41FF-806E-E86C3D68BF26@pacifier.com> <54286207.7050506@gmail.com> <5428628C.4000804@gmail.com> Message-ID: <59C2C1F4-721A-4343-B14B-787082CAE30A@pacifier.com> It says at the bottom of the page you should not have to license every time. When I upgraded to the latest community version it worked for me. I hope you get the problem solved because it sounds like they will be making some really good changes in the near future. John Balgenorth On Sep 28, 2014, at 12:33 PM, Richmond wrote: > On 28/09/14 22:31, Richmond wrote: >> On 28/09/14 22:08, JB wrote: >>> Hi Richmond, >>> >>> Maybe I am wrong and this is not what you are >>> asking. I looked in the menubar and chose the >>> About Livecode menu option and in the dialog >>> on the top right it showed the current Build info. >>> >>> John Balgenorth >>> >>> >>> >> >> Thanks. >> >> I'm a bit slow; after I posted my question I found that 'put the build number' did the trick. >> >> Now what I want to do is work out the build number for an unlicensed early Community >> version so I can set the numbers in the 'lclk' file. >> >> Richmond. > > This is a bit "chicken and egg": http://lessons.runrev.com/m/2571/l/108543-livecode-6-community-manual-activation > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From smudge.andy at googlemail.com Sun Sep 28 15:50:03 2014 From: smudge.andy at googlemail.com (AndyP) Date: Sun, 28 Sep 2014 12:50:03 -0700 (PDT) Subject: Build Number? In-Reply-To: <54285B3D.8060600@gmail.com> References: <54285B3D.8060600@gmail.com> Message-ID: <1411933803213-4683908.post@n4.nabble.com> Try this: put line 1 of fld "Version" of card "Main" of stack "Home" ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy My Tech site http://2108.co.uk PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Build-Number-tp4683904p4683908.html Sent from the Revolution - User mailing list archive at Nabble.com. From sundown at pacifier.com Sun Sep 28 18:44:16 2014 From: sundown at pacifier.com (JB) Date: Sun, 28 Sep 2014 15:44:16 -0700 Subject: Replacing Characters In-Reply-To: <79529E9D-25BB-4971-9DD3-1A00156A1027@mail.com> References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> <31FCD145-0A5E-4E53-B784-0F9694E83BFF@pacifier.com> <79529E9D-25BB-4971-9DD3-1A00156A1027@mail.com> Message-ID: Hi Dick, I found the char was getting off by 1 each line because of the EOL returns. Here is a regex to strip the EOL returns. put replacetext(theData,"[\0\cM\r\f\n]","") into theData and then here is some code to put the EOL returns back. put theData into tString --put fld id 1022 into tString put number of chars in tString into tChars put tChars / 72 into tLineNums put the round of tLineNums into tLineNums put 72 into i repeat for tLineNums times put return after char i of tString add 72 to i end repeat put tString into fld id 1022 end if I am sure this code can be improved but it does work. Of course the variables need to be renamed to work with the code you have posted. Thanks again, it is a great help. John Balgenorth On Sep 27, 2014, at 1:49 AM, Dick Kriesel wrote: > On Sep 27, 2014, at 12:23 AM, JB wrote: > >> But there might be a faster way. > > Hi, John. > > Here's a way that works in under a millisecond on my iMac, and a way to test its speed. > > command replace_maybe @rString > repeat with i = 3 to length( rString ) step 3 > if char i of rString is "D" then > put "+" into char i of rString > end if > end repeat > end replace_maybe > > on mouseUp > local tString, tMilliseconds > repeat 1000 -- strings > put empty into tString > repeat 10000 -- characters > put any char of "abcdef" after tString > end repeat > subtract the long milliseconds from tMilliseconds > replace_maybe tString > add the long milliseconds to tMilliseconds > end repeat > answer "milliseconds per string:" && tMilliseconds / 1000 > end mouseUp > > How's that, John? > > -- Dick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Sun Sep 28 18:55:57 2014 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 29 Sep 2014 08:55:57 +1000 Subject: Problem/strange behavior with older version of Mergpop (2.0.7) and Retina screens? In-Reply-To: References: Message-ID: Hi William I did respond but I guess there may be a spam filter in the way. mergPop doesn't actually do any saving of images. I'm guessing you're using mergPopActivity to share an image because it's the only mergPop command that deals with images. If that's the case you are passing a file path of an existing image to the command so it seems more likely that the code for saving the image would be at fault here. Cheers Monte On 27 Sep 2014, at 11:38 pm, William de Smet wrote: > Hi there, > > Yesterday I got an e-mail about a problem with one of my apps. > I am trying to debug the problem now and maybe anyone can help me. > > In my app I use MergPop (MergExt) for saving an image. > When putting my app through Xcode on my iPad the image is saved nicely > using MergPop. > But when I download the app from the Appstore (I never did before until > today) only a part of the image is saved using MergPop. > This is on a iPad 3 with retina screen with iOS 7. On a non Retina screen > (iPad mini) with iOS 8 the behavior is normal and the entire image is saved. > > My app was uploaded to the App store in februari 2014 and today I noticed > that MergPop was updated on 3/24/14. > Does anyone recognize my problem. Is it due to an older version of Mergpop > (2.0.7?) and retina screens? > I also contacted Monty but he didn't respond yet.. > > greetings, > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From larry at significantplanet.org Sun Sep 28 23:35:38 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Sun, 28 Sep 2014 21:35:38 -0600 Subject: sort question for today Message-ID: <139AB299DD8D4C6CAB1558664CD65FF0@userd204a4d61c> Hello, I am trying to sort lines 7 through the last line of a field. This doesn't work: sort lines (7 to last) of field myStats by word 2 of each Does anyone know the code that will work? Thanks, Larry From paulhibbert at mac.com Mon Sep 29 03:28:31 2014 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 29 Sep 2014 00:28:31 -0700 Subject: sort question for today In-Reply-To: <139AB299DD8D4C6CAB1558664CD65FF0@userd204a4d61c> References: <139AB299DD8D4C6CAB1558664CD65FF0@userd204a4d61c> Message-ID: Larry, This should work? put line 7 to -1 of fld myStats into tLinesToSort sort lines of tLinesToSort by word 2 of each put tLinesToSort into line 7 to -1 of fld myStats You can only sort all Lines or Items of a container, so if you need to sort specific lines or items, you must put them into a separate container to do the sort, then replace them. Paul On Sep 28, 2014, at 8:35 PM, larry at significantplanet.org wrote: > Hello, > > I am trying to sort lines 7 through the last line of a field. > > This doesn't work: > sort lines (7 to last) of field myStats by word 2 of each > > Does anyone know the code that will work? > > Thanks, Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Mon Sep 29 05:11:21 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 29 Sep 2014 11:11:21 +0200 Subject: OT: Need a quick look into your OS X 10.9 Message-ID: <003301cfdbc5$56723800$0356a800$@de> Hello, I accidentially changed the rights on my /users/ dir on OS X 10.9.5 with chmod and I am not sure what the original setting was. For testing my app with different user rights I need to know the original rights of the dirs: /Users/ and /Users/Shared/ for the different user groups. If you are running 10.9, would you be so kind to have a look into your dir informations and tell me what you see. Thank you Tiemo From th.douez at gmail.com Mon Sep 29 05:19:34 2014 From: th.douez at gmail.com (Thierry Douez) Date: Mon, 29 Sep 2014 11:19:34 +0200 Subject: OT: Need a quick look into your OS X 10.9 In-Reply-To: <003301cfdbc5$56723800$0356a800$@de> References: <003301cfdbc5$56723800$0356a800$@de> Message-ID: Hallo Tiemo, Send to you privately... Regards, Thierry ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage 2014-09-29 11:11 GMT+02:00 Tiemo Hollmann TB : > Hello, > > I accidentially changed the rights on my /users/ dir on OS X 10.9.5 with > chmod and I am not sure what the original setting was. > > For testing my app with different user rights I need to know the original > rights of the dirs: /Users/ and /Users/Shared/ for the different user > groups. > > If you are running 10.9, would you be so kind to have a look into your dir > informations and tell me what you see. > > Thank you > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larry at significantplanet.org Mon Sep 29 05:21:19 2014 From: larry at significantplanet.org (larry at significantplanet.org) Date: Mon, 29 Sep 2014 03:21:19 -0600 Subject: sort question for today References: <139AB299DD8D4C6CAB1558664CD65FF0@userd204a4d61c> Message-ID: Hi Paul, That is essentially what I did, but not as elegantly as your solution. But it works and it is very quick, so I'm happy. Thanks very much for helping me see an even better way. Larry ----- Original Message ----- From: "Paul Hibbert" To: "How to use LiveCode" Sent: Monday, September 29, 2014 1:28 AM Subject: Re: sort question for today Larry, This should work? put line 7 to -1 of fld myStats into tLinesToSort sort lines of tLinesToSort by word 2 of each put tLinesToSort into line 7 to -1 of fld myStats You can only sort all Lines or Items of a container, so if you need to sort specific lines or items, you must put them into a separate container to do the sort, then replace them. Paul On Sep 28, 2014, at 8:35 PM, larry at significantplanet.org wrote: > Hello, > > I am trying to sort lines 7 through the last line of a field. > > This doesn't work: > sort lines (7 to last) of field myStats by word 2 of each > > Does anyone know the code that will work? > > Thanks, Larry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bernd.gottwald at outrange.com Mon Sep 29 06:00:13 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 29 Sep 2014 12:00:13 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_132,_Issue_61?= Message-ID: <20140929100013.18184.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From sundown at pacifier.com Mon Sep 29 05:58:39 2014 From: sundown at pacifier.com (JB) Date: Mon, 29 Sep 2014 02:58:39 -0700 Subject: Replacing Characters In-Reply-To: References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> <31FCD145-0A5E-4E53-B784-0F9694E83BFF@pacifier.com> <79529E9D-25BB-4971-9DD3-1A00156A1027@mail.com> Message-ID: <480FBE07-5825-4293-8A66-9E065C1F177D@pacifier.com> The code I posted is not accurate. For one thing it should have been put 71 into i because the return will make the 72 char in the line. Another problem is it does not end with the last line being 72 chars or less. Anyway this is a start to the fix. John Balgenorth On Sep 28, 2014, at 3:44 PM, JB wrote: > Hi Dick, > > I found the char was getting off by 1 each line > because of the EOL returns. Here is a regex > to strip the EOL returns. > > put replacetext(theData,"[\0\cM\r\f\n]","") into theData > > and then here is some code to put the EOL returns back. > > put theData into tString > --put fld id 1022 into tString > put number of chars in tString into tChars > put tChars / 72 into tLineNums > put the round of tLineNums into tLineNums > put 72 into i > repeat for tLineNums times > put return after char i of tString > add 72 to i > end repeat > put tString into fld id 1022 > end if > > I am sure this code can be improved but it > does work. Of course the variables need to > be renamed to work with the code you have > posted. > > Thanks again, it is a great help. > > John Balgenorth > > > On Sep 27, 2014, at 1:49 AM, Dick Kriesel wrote: > >> On Sep 27, 2014, at 12:23 AM, JB wrote: >> >>> But there might be a faster way. >> >> Hi, John. >> >> Here's a way that works in under a millisecond on my iMac, and a way to test its speed. >> >> command replace_maybe @rString >> repeat with i = 3 to length( rString ) step 3 >> if char i of rString is "D" then >> put "+" into char i of rString >> end if >> end repeat >> end replace_maybe >> >> on mouseUp >> local tString, tMilliseconds >> repeat 1000 -- strings >> put empty into tString >> repeat 10000 -- characters >> put any char of "abcdef" after tString >> end repeat >> subtract the long milliseconds from tMilliseconds >> replace_maybe tString >> add the long milliseconds to tMilliseconds >> end repeat >> answer "milliseconds per string:" && tMilliseconds / 1000 >> end mouseUp >> >> How's that, John? >> >> -- Dick >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Mon Sep 29 07:47:36 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 29 Sep 2014 13:47:36 +0200 Subject: How do you grant executing rights to your app for all users? Message-ID: <004b01cfdbdb$2aa98ff0$7ffcafd0$@de> Hello, When creating a new standalone, this standalone doesn't have executing rights for other users on OS X. Everytime after creating the standalone I grant all users executing rights with "chmod -R a+rx *" This works for me, but because my OS X knowledge is very limited, I am interested, if this is the straight forward way of doing it, or if I am missing something usual? In one of my programs the standalone is a kind of a splash screen with some additional tasks and at the end I just go to a second stack, which is part of my app bundle. Now I experienced by accident, that I copied an updated version of this second stack into my finished bundle. When starting with the admin user, everything worked fine. But starting with a standard user, the splash stack just stopped at going to the second stack without message or error. After some research I found, that I forgot to execute the chmod again on my updated app and it appears that even a non executable stack within a bundle needs theses "rx" rights. Can you confirm this and is the manual chmod after each standalone build the way how to do this, or am I missing something more straight forward? Thanks for any insights Tiemo From sundown at pacifier.com Mon Sep 29 08:15:52 2014 From: sundown at pacifier.com (JB) Date: Mon, 29 Sep 2014 05:15:52 -0700 Subject: Replacing Characters In-Reply-To: <480FBE07-5825-4293-8A66-9E065C1F177D@pacifier.com> References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> <31FCD145-0A5E-4E53-B784-0F9694E83BFF@pacifier.com> <79529E9D-25BB-4971-9DD3-1A00156A1027@mail.com> <480FBE07-5825-4293-8A66-9E065C1F177D@pacifier.com> Message-ID: <0C58CA6A-051B-46B8-9354-D9BEC474A4CA@pacifier.com> Instead of my goofy repeat command your replace can be modified to some thing like the code below. command replace_maybe @rString repeat with i = 58 to length( rString ) step 58 put return after char i of rString end repeat end replace_maybe But the problem is similar to what my repeat was doing and that is the first line has one extra char and the last line has more chars than other lines. John Balgenorth On Sep 29, 2014, at 2:58 AM, JB wrote: > The code I posted is not accurate. > For one thing it should have been > put 71 into i > because the return will make the > 72 char in the line. > Another problem is it does not end > with the last line being 72 chars or > less. Anyway this is a start to the fix. > > John Balgenorth > > > On Sep 28, 2014, at 3:44 PM, JB wrote: > >> Hi Dick, >> >> I found the char was getting off by 1 each line >> because of the EOL returns. Here is a regex >> to strip the EOL returns. >> >> put replacetext(theData,"[\0\cM\r\f\n]","") into theData >> >> and then here is some code to put the EOL returns back. >> >> put theData into tString >> --put fld id 1022 into tString >> put number of chars in tString into tChars >> put tChars / 72 into tLineNums >> put the round of tLineNums into tLineNums >> put 72 into i >> repeat for tLineNums times >> put return after char i of tString >> add 72 to i >> end repeat >> put tString into fld id 1022 >> end if >> >> I am sure this code can be improved but it >> does work. Of course the variables need to >> be renamed to work with the code you have >> posted. >> >> Thanks again, it is a great help. >> >> John Balgenorth >> >> >> On Sep 27, 2014, at 1:49 AM, Dick Kriesel wrote: >> >>> On Sep 27, 2014, at 12:23 AM, JB wrote: >>> >>>> But there might be a faster way. >>> >>> Hi, John. >>> >>> Here's a way that works in under a millisecond on my iMac, and a way to test its speed. >>> >>> command replace_maybe @rString >>> repeat with i = 3 to length( rString ) step 3 >>> if char i of rString is "D" then >>> put "+" into char i of rString >>> end if >>> end repeat >>> end replace_maybe >>> >>> on mouseUp >>> local tString, tMilliseconds >>> repeat 1000 -- strings >>> put empty into tString >>> repeat 10000 -- characters >>> put any char of "abcdef" after tString >>> end repeat >>> subtract the long milliseconds from tMilliseconds >>> replace_maybe tString >>> add the long milliseconds to tMilliseconds >>> end repeat >>> answer "milliseconds per string:" && tMilliseconds / 1000 >>> end mouseUp >>> >>> How's that, John? >>> >>> -- Dick >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cmsheffield at icloud.com Mon Sep 29 10:29:52 2014 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 29 Sep 2014 08:29:52 -0600 Subject: Problem/strange behavior with older version of Mergpop (2.0.7) and Retina screens? In-Reply-To: References: Message-ID: <7D2D34FE-2E48-4B1E-9C10-82A8EA94D6B8@icloud.com> William, I?ve run into this as well. I?m still not totally sure where the problem lies. I don?t know how you?re saving your image, but in my case I am taking a screenshot. I finally got it to work correctly with: export snapshot from this card to file [file_path] as PNG Hopefully that?ll work for you as well. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com > On Sep 27, 2014, at 7:38 AM, William de Smet wrote: > > Hi there, > > Yesterday I got an e-mail about a problem with one of my apps. > I am trying to debug the problem now and maybe anyone can help me. > > In my app I use MergPop (MergExt) for saving an image. > When putting my app through Xcode on my iPad the image is saved nicely > using MergPop. > But when I download the app from the Appstore (I never did before until > today) only a part of the image is saved using MergPop. > This is on a iPad 3 with retina screen with iOS 7. On a non Retina screen > (iPad mini) with iOS 8 the behavior is normal and the entire image is saved. > > My app was uploaded to the App store in februari 2014 and today I noticed > that MergPop was updated on 3/24/14. > Does anyone recognize my problem. Is it due to an older version of Mergpop > (2.0.7?) and retina screens? > I also contacted Monty but he didn't respond yet.. > > greetings, > > William > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Mon Sep 29 10:55:25 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 29 Sep 2014 07:55:25 -0700 Subject: How do you grant executing rights to your app for all users? In-Reply-To: <004b01cfdbdb$2aa98ff0$7ffcafd0$@de> References: <004b01cfdbdb$2aa98ff0$7ffcafd0$@de> Message-ID: <72A57EC6-2904-4136-BA3B-F40298831805@earthednet.org> Tiemo, What I do is use the finder for this action. Single click on the app bundle, use the menu at the top to "get info". An info window comes up and there is a little popup at the bottom where you can set access rights. You should then use the adjacent popup to make all files in the same folder have the same permissions. Google is your friend. At least in this case. http://support.apple.com/kb/PH13799 Bill William Prothero http://es.earthednet.org > On Sep 29, 2014, at 4:47 AM, "Tiemo Hollmann TB" wrote: > > Hello, > > > > When creating a new standalone, this standalone doesn't have executing > rights for other users on OS X. > > Everytime after creating the standalone I grant all users executing rights > with "chmod -R a+rx *" This works for me, but because my OS X knowledge is > very limited, I am interested, if this is the straight forward way of doing > it, or if I am missing something usual? > > In one of my programs the standalone is a kind of a splash screen with some > additional tasks and at the end I just go to a second stack, which is part > of my app bundle. Now I experienced by accident, that I copied an updated > version of this second stack into my finished bundle. When starting with the > admin user, everything worked fine. But starting with a standard user, the > splash stack just stopped at going to the second stack without message or > error. After some research I found, that I forgot to execute the chmod again > on my updated app and it appears that even a non executable stack within a > bundle needs theses "rx" rights. Can you confirm this and is the manual > chmod after each standalone build the way how to do this, or am I missing > something more straight forward? > > Thanks for any insights > > Tiemo > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Mon Sep 29 11:01:26 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 29 Sep 2014 08:01:26 -0700 Subject: Problem/strange behavior with older version of Mergpop (2.0.7) and Retina screens? In-Reply-To: <7D2D34FE-2E48-4B1E-9C10-82A8EA94D6B8@icloud.com> References: <7D2D34FE-2E48-4B1E-9C10-82A8EA94D6B8@icloud.com> Message-ID: <8287889E-20E2-4F96-8A35-A14A59824C50@earthednet.org> There was a problem with snapshot that, I think, got fixed in 6.7, or possibly one of the 6.6 releases. I use snapshot heavily in my app, reported a bug a while ago, and it was verified and fixed. You might try one of the newer releases. I'm doing all of my work on 7.0 now, and the app I'm developing works well. Best, Bill William Prothero http://es.earthednet.org > On Sep 29, 2014, at 7:29 AM, Chris Sheffield wrote: > > William, > > I?ve run into this as well. I?m still not totally sure where the problem lies. > > I don?t know how you?re saving your image, but in my case I am taking a screenshot. I finally got it to work correctly with: > > export snapshot from this card to file [file_path] as PNG > > Hopefully that?ll work for you as well. > > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > >> On Sep 27, 2014, at 7:38 AM, William de Smet wrote: >> >> Hi there, >> >> Yesterday I got an e-mail about a problem with one of my apps. >> I am trying to debug the problem now and maybe anyone can help me. >> >> In my app I use MergPop (MergExt) for saving an image. >> When putting my app through Xcode on my iPad the image is saved nicely >> using MergPop. >> But when I download the app from the Appstore (I never did before until >> today) only a part of the image is saved using MergPop. >> This is on a iPad 3 with retina screen with iOS 7. On a non Retina screen >> (iPad mini) with iOS 8 the behavior is normal and the entire image is saved. >> >> My app was uploaded to the App store in februari 2014 and today I noticed >> that MergPop was updated on 3/24/14. >> Does anyone recognize my problem. Is it due to an older version of Mergpop >> (2.0.7?) and retina screens? >> I also contacted Monty but he didn't respond yet.. >> >> greetings, >> >> William >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Mon Sep 29 11:59:10 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 29 Sep 2014 15:59:10 +0000 Subject: File Walker Message-ID: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> Hi all. I remember reading in a post that someone had made a stack that would walk through a file folder and enumerate all the files and folders. I cannot for the life of me find it in the Livecode Share site or the forums. I cannot search for ?list files? or ?find all files? because the forum search complains the words I am searching for are too simple! I have written a command to do it and it works up through the files in the first folder it finds, but when it comes to going back to a prior recursion it does not seem to work. Here is the handler: on enumerateFilesAndFolders theCurrentPath, @theCurrentList set the defaultFolder to theCurrentPath put the files into theCurrentFileList put the folders into theCurrentFolderList put theCurrentFileList & theCurrentFolderList into theCurrentFilesAndFolders filter theCurrentFilesAndFolders without ".*" sort theCurrentFilesAndFolders Ascending repeat for each line theCurrentLine in theCurrentFilesAndFolders put theCurrentPath & "/" & theCurrentLine into thePath if there is a file thePath then put thePath & cr after theCurrentList else if there is a folder thePath then put thePath & ?/? & cr after theCurrentList put thePath into theCurrentPath enumerateFilesAndFolders theCurrentPath, theCurrentList end if end repeat end enumerateFilesAndFolders It seems after the recent iteration is finished, the value of theCurrentPath is not reverting to the version of the prior iteration instance. In other words, it seems to be global to all instances of the iterations of the handler. I was under the distinct impression that each iteration had it?s own copies of a given variable because of the implicit scoping used by Livecode. Apparently I am mistaken. I would like to see how anyone else has done a file walker. Bob S From ambassador at fourthworld.com Mon Sep 29 12:01:15 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Sep 2014 09:01:15 -0700 Subject: File Walker In-Reply-To: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> References: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> Message-ID: <5429824B.9070700@fourthworld.com> http://www.sonsothunder.com/devres/livecode/tips/file007.htm -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From bobsneidar at iotecdigital.com Mon Sep 29 12:14:38 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 29 Sep 2014 16:14:38 +0000 Subject: Delete columns... How? In-Reply-To: <003801cfc3bd$1c389820$54a9c860$@FlexibleLearning.com> References: <003801cfc3bd$1c389820$54a9c860$@FlexibleLearning.com> Message-ID: <5785E969-814C-4EFF-A620-9F1FAF3EF0E0@iotecdigital.com> Might just be simpler to put the data into a memory based sqLite table, then delete the column and put the data back into a string list. But of course that begs the question, why are you not using arrays and sql tables in the first place? I?ve pointed out before that the array retuned in Trevor DeVore?s sqlYoga is a numerically indexed array that a data grid?s data can be directly set to. They are identical in structure, making it very simple to display table data in a data grid. That being said, extra data in a data set doesn?t really hurt anything. I get all the columns in my SQL queries, and then set my data grid to only have the columns I want displayed. Now I have a ready made local instance of all my data which I can access without additional queries. It?s not efficient I admit, especially with a lot of data, or data containing large amounts of binary data in blobs, but if I were doing that I would adapt accordingly. Bob S From bobsneidar at iotecdigital.com Mon Sep 29 12:21:04 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 29 Sep 2014 16:21:04 +0000 Subject: General error function? (was Re: Should "dispatch" be extended for timers?) In-Reply-To: <5400AA22.90308@fourthworld.com> References: <5400AA22.90308@fourthworld.com> Message-ID: <4106DCF2-EE0D-4EF3-8470-E694945E565D@iotecdigital.com> Doesn?t Applescript have an On Error function handler? I was looking for something of this sort when I first began working with Revolution and of course was directed to try/catch, but having an on error function, and then being able to turn off debugging would be a cleaner way of doing it. This way, you could respond to different errors in different ways. For instance if a database operation failed, you could enter into a repeat loop and prompt the user to try again. If the user canceled you could gracefully bail out of the app. Other more critical errors you would alert the user and then bail out without retrying. Bob S On Aug 29, 2014, at 09:28 , Richard Gaskin > wrote: This raises another question: Should we have a general error function? Right now "the result" sometimes contains data, but sometimes contains error info. The "it" variable also sometimes contains data, but (almost?) never contains error info. Sometimes errors put error info in "the result", and other times they explicitly throw an error, requiring the use of try/catch in those cases but not others. That's a whole lotta "sometimes". We have a function for system errors in sysError, but that only applies to things happening outside of LC (file I/O, processes, etc.). Wouldn't life be much easier if we had one reliable way to obtain info whenever an error occurs in our scripts? Maybe simply: get scriptError() From bobsneidar at iotecdigital.com Mon Sep 29 12:24:15 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Mon, 29 Sep 2014 16:24:15 +0000 Subject: File Walker In-Reply-To: <5429824B.9070700@fourthworld.com> References: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> <5429824B.9070700@fourthworld.com> Message-ID: Thanks Richard! I will work this into what I am doing, and also take the time to study what it was I was doing wrong. Bob S On Sep 29, 2014, at 09:01 , Richard Gaskin wrote: > http://www.sonsothunder.com/devres/livecode/tips/file007.htm > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Mon Sep 29 13:10:18 2014 From: sundown at pacifier.com (JB) Date: Mon, 29 Sep 2014 10:10:18 -0700 Subject: File Walker In-Reply-To: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> References: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> Message-ID: <26F7DFEC-477F-40DB-A9E1-B8C104522405@pacifier.com> Here is a link for a file and folder lister that uses recursive. http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 It appears recursive is limited to 400,000. As for the File Walker link I tried it in one of my folders that has a lot of files and subfolders and it did not work for me but it did in other folders. If you get one that works please post it. John Balgenorth On Sep 29, 2014, at 8:59 AM, Bob Sneidar wrote: > Hi all. > > I remember reading in a post that someone had made a stack that would walk through a file folder and enumerate all the files and folders. I cannot for the life of me find it in the Livecode Share site or the forums. I cannot search for ?list files? or ?find all files? because the forum search complains the words I am searching for are too simple! > > I have written a command to do it and it works up through the files in the first folder it finds, but when it comes to going back to a prior recursion it does not seem to work. Here is the handler: > > on enumerateFilesAndFolders theCurrentPath, @theCurrentList > set the defaultFolder to theCurrentPath > put the files into theCurrentFileList > put the folders into theCurrentFolderList > put theCurrentFileList & theCurrentFolderList into theCurrentFilesAndFolders > filter theCurrentFilesAndFolders without ".*" > sort theCurrentFilesAndFolders Ascending > > repeat for each line theCurrentLine in theCurrentFilesAndFolders > put theCurrentPath & "/" & theCurrentLine into thePath > > if there is a file thePath then > put thePath & cr after theCurrentList > else if there is a folder thePath then > put thePath & ?/? & cr after theCurrentList > put thePath into theCurrentPath > enumerateFilesAndFolders theCurrentPath, theCurrentList > end if > end repeat > end enumerateFilesAndFolders > > It seems after the recent iteration is finished, the value of theCurrentPath is not reverting to the version of the prior iteration instance. In other words, it seems to be global to all instances of the iterations of the handler. I was under the distinct impression that each iteration had it?s own copies of a given variable because of the implicit scoping used by Livecode. Apparently I am mistaken. > > I would like to see how anyone else has done a file walker. > > Bob S > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Mon Sep 29 13:35:13 2014 From: sundown at pacifier.com (JB) Date: Mon, 29 Sep 2014 10:35:13 -0700 Subject: convertTextToBinary Message-ID: A few years ago there was a discussion about converting ascii to binary code and ff I am correct the code below was the final version. function convertTextToBinary varText --THE FASTEST repeat with n = 1 to the number of chars of varText put chartonum(char n of varText) into theNum put baseConvert(theNum,10,2) into tBaseConverted put char -8 to -1 of ("00000000" & tBaseConverted ) into tBaseConverted put tBaseConverted after tConverted end repeat return tConverted end convertTextToBinary Does anyone know how to change this code so it will put the converted text on more than one line? It appears there is a limit to how many characters you can put on one line in a field so if you have a large text file to read and convert when it is put in a field you end up losing part of it. John Balgenorth From sundown at pacifier.com Mon Sep 29 14:05:51 2014 From: sundown at pacifier.com (JB) Date: Mon, 29 Sep 2014 11:05:51 -0700 Subject: convertTextToBinary In-Reply-To: References: Message-ID: This will do it. function convertTextToBinary varText --THE FASTEST repeat with n = 1 to the number of chars of varText add 1 to x put chartonum(char n of varText) into theNum put baseConvert(theNum,10,2) into tBaseConverted put char -8 to -1 of ("00000000" & tBaseConverted ) into tBaseConverted if x = 8 then put return after tConverted put 1 into x end if put tBaseConverted after tConverted end repeat return tConverted end convertTextToBinary John Balgenorth On Sep 29, 2014, at 10:35 AM, JB wrote: > A few years ago there was a discussion about > converting ascii to binary code and ff I am > correct the code below was the final version. > > function convertTextToBinary varText --THE FASTEST > repeat with n = 1 to the number of chars of varText > put chartonum(char n of varText) into theNum > put baseConvert(theNum,10,2) into tBaseConverted > put char -8 to -1 of ("00000000" & tBaseConverted ) into tBaseConverted > put tBaseConverted after tConverted > end repeat > return tConverted > end convertTextToBinary > > > Does anyone know how to change this code so it > will put the converted text on more than one line? > It appears there is a limit to how many characters > you can put on one line in a field so if you have a > large text file to read and convert when it is put in > a field you end up losing part of it. > > John Balgenorth > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revdev at pdslabs.net Mon Sep 29 15:30:04 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 29 Sep 2014 12:30:04 -0700 Subject: getting data from the memory space of a "hung" app Message-ID: <5429B33C.6000202@pdslabs.net> Hi folks, Are you aware of any way to save the in-memory data of a standalone app that's currently not responding? This is on a Mac, probably OS 10.8.x or maybe 10.9.x. Right-clicking the app's icon in the Dock gives you the "force quit" option. The data is in an array. I created a stack my client can drag onto the app icon, which will [ideally] open it and save that array to disk, but I don't hold out a lot of hope that it'll open. I realize this is an extreme long shot but I told my client I would ask. Thanks - -- Phil Davis From dsimpson at dotcomsolutionsinc.net Mon Sep 29 15:32:20 2014 From: dsimpson at dotcomsolutionsinc.net (David Simpson) Date: Mon, 29 Sep 2014 12:32:20 -0700 Subject: getting data from the memory space of a "hung" app In-Reply-To: <5429B33C.6000202@pdslabs.net> References: <5429B33C.6000202@pdslabs.net> Message-ID: <5A60C00C-C499-4EC4-9D6E-3985F481294A@dotcomsolutionsinc.net> Phil, You would probably have to prepare in advance for a situation like this, and use arrayEncode to create a binary form of the array and save it to disk. Maybe you would do this as certain intervals in preparation for a possible crash. Otherwise, there are debugging/hacking tools which can scrape info out of memory to perform these kinds of tasks. David Simpson www.fmpromigrator.com On Sep 29, 2014, at 12:30 PM, Phil Davis wrote: > Hi folks, > > Are you aware of any way to save the in-memory data of a standalone app that's currently not responding? This is on a Mac, probably OS 10.8.x or maybe 10.9.x. Right-clicking the app's icon in the Dock gives you the "force quit" option. The data is in an array. > > I created a stack my client can drag onto the app icon, which will [ideally] open it and save that array to disk, but I don't hold out a lot of hope that it'll open. > > I realize this is an extreme long shot but I told my client I would ask. > > Thanks - > > -- > Phil Davis > > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev From revdev at pdslabs.net Mon Sep 29 15:40:24 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 29 Sep 2014 12:40:24 -0700 Subject: getting data from the memory space of a "hung" app In-Reply-To: <5A60C00C-C499-4EC4-9D6E-3985F481294A@dotcomsolutionsinc.net> References: <5429B33C.6000202@pdslabs.net> <5A60C00C-C499-4EC4-9D6E-3985F481294A@dotcomsolutionsinc.net> Message-ID: <5429B5A8.10401@pdslabs.net> Thanks David. Ah yes... I'm finding some of these as I Google "memory scraping tools". Phil On 9/29/14 12:32 PM, David Simpson wrote: > Phil, > You would probably have to prepare in advance for a situation like this, and use arrayEncode to create a binary form of the array and save it to disk. Maybe you would do this as certain intervals in preparation for a possible crash. > > Otherwise, there are debugging/hacking tools which can scrape info out of memory to perform these kinds of tasks. > > > David Simpson > www.fmpromigrator.com > > > > On Sep 29, 2014, at 12:30 PM, Phil Davis wrote: > >> Hi folks, >> >> Are you aware of any way to save the in-memory data of a standalone app that's currently not responding? This is on a Mac, probably OS 10.8.x or maybe 10.9.x. Right-clicking the app's icon in the Dock gives you the "force quit" option. The data is in an array. >> >> I created a stack my client can drag onto the app icon, which will [ideally] open it and save that array to disk, but I don't hold out a lot of hope that it'll open. >> >> I realize this is an extreme long shot but I told my client I would ask. >> >> Thanks - >> >> -- >> Phil Davis >> >> >> _______________________________________________ >> livecode-dev mailing list >> livecode-dev at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/livecode-dev > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev > -- Phil Davis From ambassador at fourthworld.com Mon Sep 29 15:55:55 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 29 Sep 2014 12:55:55 -0700 Subject: getting data from the memory space of a "hung" app In-Reply-To: <5429B5A8.10401@pdslabs.net> References: <5429B5A8.10401@pdslabs.net> Message-ID: <5429B94B.2070902@fourthworld.com> Phil Davis wrote: > Thanks David. Ah yes... I'm finding some of these as I Google "memory > scraping tools". Unfortunately, even if you could sort through a core dump, if my understanding of arrays is correct it'll be very difficult to piece together the many different memory locations where array data is stored. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From revdev at pdslabs.net Mon Sep 29 17:21:18 2014 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 29 Sep 2014 14:21:18 -0700 Subject: getting data from the memory space of a "hung" app In-Reply-To: <5429B94B.2070902@fourthworld.com> References: <5429B5A8.10401@pdslabs.net> <5429B94B.2070902@fourthworld.com> Message-ID: <5429CD4E.8030801@pdslabs.net> Good point, Richard. Thanks. Phil On 9/29/14 12:55 PM, Richard Gaskin wrote: > Phil Davis wrote: > > Thanks David. Ah yes... I'm finding some of these as I Google "memory > > scraping tools". > > Unfortunately, even if you could sort through a core dump, if my > understanding of arrays is correct it'll be very difficult to piece > together the many different memory locations where array data is stored. > -- Phil Davis From mikedoub at gmail.com Mon Sep 29 18:58:32 2014 From: mikedoub at gmail.com (Michael Doub) Date: Mon, 29 Sep 2014 18:58:32 -0400 Subject: Delete columns... How? In-Reply-To: <5785E969-814C-4EFF-A620-9F1FAF3EF0E0@iotecdigital.com> References: <003801cfc3bd$1c389820$54a9c860$@FlexibleLearning.com> <5785E969-814C-4EFF-A620-9F1FAF3EF0E0@iotecdigital.com> Message-ID: <0F3418B9-5C00-40F5-9D55-7E74C38C3A59@gmail.com> Bob, how do you control whether SQLite pages the table in from disk or maintains it entirely in memory? -= Mike On Sep 29, 2014, at 12:14 PM, Bob Sneidar wrote: > Might just be simpler to put the data into a memory based sqLite table, then delete the column and put the data back into a string list. But of course that begs the question, why are you not using arrays and sql tables in the first place? I?ve pointed out before that the array retuned in Trevor DeVore?s sqlYoga is a numerically indexed array that a data grid?s data can be directly set to. They are identical in structure, making it very simple to display table data in a data grid. > > That being said, extra data in a data set doesn?t really hurt anything. I get all the columns in my SQL queries, and then set my data grid to only have the columns I want displayed. Now I have a ready made local instance of all my data which I can access without additional queries. It?s not efficient I admit, especially with a lot of data, or data containing large amounts of binary data in blobs, but if I were doing that I would adapt accordingly. > > Bob S > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Mon Sep 29 19:10:01 2014 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 30 Sep 2014 00:10:01 +0100 Subject: File Walker In-Reply-To: <26F7DFEC-477F-40DB-A9E1-B8C104522405@pacifier.com> References: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> <26F7DFEC-477F-40DB-A9E1-B8C104522405@pacifier.com> Message-ID: <5429E6C9.60201@tweedly.net> "recursive is limited to 400,000" ? Is that 400,000 files, or folders, or ?? The File Walker link (i.e. http://www.sonsothunder.com/devres/livecode/tips/file007.htm ) should work - it would be very interesting to find out why it doesn't (maybe URL encoding of the file names??) However, it too is recursive. Here's a non-recursive version of it, which is somewhat faster in some cases: (be careful testing this - you need to run it repeatedly to avoid file-system caching effects). on dirWalk whatFolder local temp, tCount, tDirList, tDirsToDo set the itemDel to "/" set the directory to whatFolder put whatfolder &CR into tDirsToDo repeat forever put line 1 of tDirsToDo into whatFolder set the directory to whatFolder delete line 1 of tDirsToDo put the files into temp add the number of lines of temp to tCount sort temp repeat for each line x in temp put whatFolder & "/" & x & cr after gHierList end repeat put the folders into tDirList sort tDirList delete line 1 of tDirList repeat for each line x in tDirList put whatFolder & "/" & x & CR after tDirsToDo end repeat if the number of lines in tDirsToDo = 0 then exit repeat end repeat end dirWalk -- Alex. On 29/09/2014 18:10, JB wrote: > Here is a link for a file and folder lister > that uses recursive. > > http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 > > It appears recursive is limited to 400,000. > > As for the File Walker link I tried it in one of > my folders that has a lot of files and subfolders > and it did not work for me but it did in other > folders. > > If you get one that works please post it. > > John Balgenorth > > > > On Sep 29, 2014, at 8:59 AM, Bob Sneidar wrote: > >> Hi all. >> >> I remember reading in a post that someone had made a stack that would walk through a file folder and enumerate all the files and folders. I cannot for the life of me find it in the Livecode Share site or the forums. I cannot search for ?list files? or ?find all files? because the forum search complains the words I am searching for are too simple! >> >> I have written a command to do it and it works up through the files in the first folder it finds, but when it comes to going back to a prior recursion it does not seem to work. Here is the handler: >> >> on enumerateFilesAndFolders theCurrentPath, @theCurrentList >> set the defaultFolder to theCurrentPath >> put the files into theCurrentFileList >> put the folders into theCurrentFolderList >> put theCurrentFileList & theCurrentFolderList into theCurrentFilesAndFolders >> filter theCurrentFilesAndFolders without ".*" >> sort theCurrentFilesAndFolders Ascending >> >> repeat for each line theCurrentLine in theCurrentFilesAndFolders >> put theCurrentPath & "/" & theCurrentLine into thePath >> >> if there is a file thePath then >> put thePath & cr after theCurrentList >> else if there is a folder thePath then >> put thePath & ?/? & cr after theCurrentList >> put thePath into theCurrentPath >> enumerateFilesAndFolders theCurrentPath, theCurrentList >> end if >> end repeat >> end enumerateFilesAndFolders >> >> It seems after the recent iteration is finished, the value of theCurrentPath is not reverting to the version of the prior iteration instance. In other words, it seems to be global to all instances of the iterations of the handler. I was under the distinct impression that each iteration had it?s own copies of a given variable because of the implicit scoping used by Livecode. Apparently I am mistaken. >> >> I would like to see how anyone else has done a file walker. >> >> Bob S >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Mon Sep 29 19:47:57 2014 From: sundown at pacifier.com (JB) Date: Mon, 29 Sep 2014 16:47:57 -0700 Subject: File Walker In-Reply-To: <5429E6C9.60201@tweedly.net> References: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> <26F7DFEC-477F-40DB-A9E1-B8C104522405@pacifier.com> <5429E6C9.60201@tweedly.net> Message-ID: That is a good question. The way I found out it was limited is I was using the code supplied in the File Lister 2 tutorial. I was accessing a folder with a lot of files and subfolders but I do not think it had 400,000 files and sub folders in it so I am thinking it is limited to 400,000 recursive attempts. What happened is the script quit while trying to access the files and sub folders and a dialog appeared and said recursive is limited to 400,000. That is worse than being limited to 400,000 files and folders. I think we need to have the NSFIleManager. I have Xcode examples and I was going to try to write an extension since Trevor provided the link for Objective-C externals but I have Mavericks and the latest version of Xcode. I also have xcide 2.4 on this computer and it runs but when I try to compile using the code from Trevor it says something about I can?t use it with this version of OS X or whatever I do not remember, any way it makes me think I need to set up my old system to compile unless someone knows how to make it work with the latest Xcode and then I will probably need all of the older SDK software too. Since I really am not very familiar with any of the above yet I am working on other parts of my program but I will eventually work on putting it all together. With the NSFIleManager I would think we would be able to access directories as fast as Apple since they wrote the code. It looks like it will be pretty easy once I figure a few thing out and write a couple of sample externals with Objective-C. There is not much to using the NSFileManager itself from what I have seen. John Balgenorth On Sep 29, 2014, at 4:10 PM, Alex Tweedly wrote: > "recursive is limited to 400,000" ? Is that 400,000 files, or folders, or ?? > > The File Walker link (i.e. http://www.sonsothunder.com/devres/livecode/tips/file007.htm ) should work - it would be very interesting to find out why it doesn't (maybe URL encoding of the file names??) > > However, it too is recursive. Here's a non-recursive version of it, which is somewhat faster in some cases: (be careful testing this - you need to run it repeatedly to avoid file-system caching effects). > > > on dirWalk whatFolder > local temp, tCount, tDirList, tDirsToDo > set the itemDel to "/" > set the directory to whatFolder > put whatfolder &CR into tDirsToDo > repeat forever > put line 1 of tDirsToDo into whatFolder > set the directory to whatFolder > delete line 1 of tDirsToDo > put the files into temp > add the number of lines of temp to tCount > sort temp > repeat for each line x in temp > put whatFolder & "/" & x & cr after gHierList > end repeat > put the folders into tDirList > sort tDirList > delete line 1 of tDirList > repeat for each line x in tDirList > put whatFolder & "/" & x & CR after tDirsToDo > end repeat > if the number of lines in tDirsToDo = 0 then exit repeat > end repeat > end dirWalk > > -- Alex. > > On 29/09/2014 18:10, JB wrote: >> Here is a link for a file and folder lister >> that uses recursive. >> >> http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 >> >> It appears recursive is limited to 400,000. >> >> As for the File Walker link I tried it in one of >> my folders that has a lot of files and subfolders >> and it did not work for me but it did in other >> folders. >> >> If you get one that works please post it. >> >> John Balgenorth >> >> >> >> On Sep 29, 2014, at 8:59 AM, Bob Sneidar wrote: >> >>> Hi all. >>> >>> I remember reading in a post that someone had made a stack that would walk through a file folder and enumerate all the files and folders. I cannot for the life of me find it in the Livecode Share site or the forums. I cannot search for ?list files? or ?find all files? because the forum search complains the words I am searching for are too simple! >>> >>> I have written a command to do it and it works up through the files in the first folder it finds, but when it comes to going back to a prior recursion it does not seem to work. Here is the handler: >>> >>> on enumerateFilesAndFolders theCurrentPath, @theCurrentList >>> set the defaultFolder to theCurrentPath >>> put the files into theCurrentFileList >>> put the folders into theCurrentFolderList >>> put theCurrentFileList & theCurrentFolderList into theCurrentFilesAndFolders >>> filter theCurrentFilesAndFolders without ".*" >>> sort theCurrentFilesAndFolders Ascending >>> >>> repeat for each line theCurrentLine in theCurrentFilesAndFolders >>> put theCurrentPath & "/" & theCurrentLine into thePath >>> >>> if there is a file thePath then >>> put thePath & cr after theCurrentList >>> else if there is a folder thePath then >>> put thePath & ?/? & cr after theCurrentList >>> put thePath into theCurrentPath >>> enumerateFilesAndFolders theCurrentPath, theCurrentList >>> end if >>> end repeat >>> end enumerateFilesAndFolders >>> >>> It seems after the recent iteration is finished, the value of theCurrentPath is not reverting to the version of the prior iteration instance. In other words, it seems to be global to all instances of the iterations of the handler. I was under the distinct impression that each iteration had it?s own copies of a given variable because of the implicit scoping used by Livecode. Apparently I am mistaken. >>> >>> I would like to see how anyone else has done a file walker. >>> >>> Bob S >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Mon Sep 29 20:24:12 2014 From: sundown at pacifier.com (JB) Date: Mon, 29 Sep 2014 17:24:12 -0700 Subject: File Walker In-Reply-To: References: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> <26F7DFEC-477F-40DB-A9E1-B8C104522405@pacifier.com> <5429E6C9.60201@tweedly.net> Message-ID: <0092ADB3-B127-4DBE-BBB6-FE5AEFB9E8FE@pacifier.com> I found some folders buried tn the folder I was accessing and I forgot where I stored them. I do have more than 400,000 files in the folder so it might be files and folders it is counting. The script was going to list all files and all folders. John Balgenorth On Sep 29, 2014, at 4:47 PM, JB wrote: > That is a good question. The way I found out it was limited is > I was using the code supplied in the File Lister 2 tutorial. I was > accessing a folder with a lot of files and subfolders but I do not > think it had 400,000 files and sub folders in it so I am thinking it > is limited to 400,000 recursive attempts. What happened is the > script quit while trying to access the files and sub folders and a > dialog appeared and said recursive is limited to 400,000. That > is worse than being limited to 400,000 files and folders. > > I think we need to have the NSFIleManager. > > I have Xcode examples and I was going to try to write an extension > since Trevor provided the link for Objective-C externals but I have > Mavericks and the latest version of Xcode. I also have xcide 2.4 on > this computer and it runs but when I try to compile using the code > from Trevor it says something about I can?t use it with this version > of OS X or whatever I do not remember, any way it makes me think > I need to set up my old system to compile unless someone knows > how to make it work with the latest Xcode and then I will probably > need all of the older SDK software too. Since I really am not very > familiar with any of the above yet I am working on other parts of > my program but I will eventually work on putting it all together. > > With the NSFIleManager I would think we would be able to access > directories as fast as Apple since they wrote the code. It looks like > it will be pretty easy once I figure a few thing out and write a couple > of sample externals with Objective-C. There is not much to using > the NSFileManager itself from what I have seen. > > John Balgenorth > > On Sep 29, 2014, at 4:10 PM, Alex Tweedly wrote: > >> "recursive is limited to 400,000" ? Is that 400,000 files, or folders, or ?? >> >> The File Walker link (i.e. http://www.sonsothunder.com/devres/livecode/tips/file007.htm ) should work - it would be very interesting to find out why it doesn't (maybe URL encoding of the file names??) >> >> However, it too is recursive. Here's a non-recursive version of it, which is somewhat faster in some cases: (be careful testing this - you need to run it repeatedly to avoid file-system caching effects). >> >> >> on dirWalk whatFolder >> local temp, tCount, tDirList, tDirsToDo >> set the itemDel to "/" >> set the directory to whatFolder >> put whatfolder &CR into tDirsToDo >> repeat forever >> put line 1 of tDirsToDo into whatFolder >> set the directory to whatFolder >> delete line 1 of tDirsToDo >> put the files into temp >> add the number of lines of temp to tCount >> sort temp >> repeat for each line x in temp >> put whatFolder & "/" & x & cr after gHierList >> end repeat >> put the folders into tDirList >> sort tDirList >> delete line 1 of tDirList >> repeat for each line x in tDirList >> put whatFolder & "/" & x & CR after tDirsToDo >> end repeat >> if the number of lines in tDirsToDo = 0 then exit repeat >> end repeat >> end dirWalk >> >> -- Alex. >> >> On 29/09/2014 18:10, JB wrote: >>> Here is a link for a file and folder lister >>> that uses recursive. >>> >>> http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 >>> >>> It appears recursive is limited to 400,000. >>> >>> As for the File Walker link I tried it in one of >>> my folders that has a lot of files and subfolders >>> and it did not work for me but it did in other >>> folders. >>> >>> If you get one that works please post it. >>> >>> John Balgenorth >>> >>> >>> >>> On Sep 29, 2014, at 8:59 AM, Bob Sneidar wrote: >>> >>>> Hi all. >>>> >>>> I remember reading in a post that someone had made a stack that would walk through a file folder and enumerate all the files and folders. I cannot for the life of me find it in the Livecode Share site or the forums. I cannot search for ?list files? or ?find all files? because the forum search complains the words I am searching for are too simple! >>>> >>>> I have written a command to do it and it works up through the files in the first folder it finds, but when it comes to going back to a prior recursion it does not seem to work. Here is the handler: >>>> >>>> on enumerateFilesAndFolders theCurrentPath, @theCurrentList >>>> set the defaultFolder to theCurrentPath >>>> put the files into theCurrentFileList >>>> put the folders into theCurrentFolderList >>>> put theCurrentFileList & theCurrentFolderList into theCurrentFilesAndFolders >>>> filter theCurrentFilesAndFolders without ".*" >>>> sort theCurrentFilesAndFolders Ascending >>>> >>>> repeat for each line theCurrentLine in theCurrentFilesAndFolders >>>> put theCurrentPath & "/" & theCurrentLine into thePath >>>> >>>> if there is a file thePath then >>>> put thePath & cr after theCurrentList >>>> else if there is a folder thePath then >>>> put thePath & ?/? & cr after theCurrentList >>>> put thePath into theCurrentPath >>>> enumerateFilesAndFolders theCurrentPath, theCurrentList >>>> end if >>>> end repeat >>>> end enumerateFilesAndFolders >>>> >>>> It seems after the recent iteration is finished, the value of theCurrentPath is not reverting to the version of the prior iteration instance. In other words, it seems to be global to all instances of the iterations of the handler. I was under the distinct impression that each iteration had it?s own copies of a given variable because of the implicit scoping used by Livecode. Apparently I am mistaken. >>>> >>>> I would like to see how anyone else has done a file walker. >>>> >>>> Bob S >>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bernd.gottwald at outrange.com Mon Sep 29 20:33:22 2014 From: bernd.gottwald at outrange.com (bernd.gottwald at outrange.com) Date: 30 Sep 2014 02:33:22 +0200 Subject: =?utf-8?Q?Re:_use=2Dlivecode_Digest,_Vol_132,_Issue_62?= Message-ID: <20140930003322.9304.qmail@divico2.ch-meta.net> Bis zum 12.10.2014 bin ich nicht verf?gbar. Ich werde meine Emails nicht lesen. In dringenden F?llen erreichen Sie mich ?ber mein Mobiltelefon. I will be out of office until 12.10.2014. I won't read me emails. In urgent matter please call me on my mobile. From lan.kc.macmail at gmail.com Mon Sep 29 23:02:31 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 30 Sep 2014 11:02:31 +0800 Subject: File Walker In-Reply-To: <0092ADB3-B127-4DBE-BBB6-FE5AEFB9E8FE@pacifier.com> References: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> <26F7DFEC-477F-40DB-A9E1-B8C104522405@pacifier.com> <5429E6C9.60201@tweedly.net> <0092ADB3-B127-4DBE-BBB6-FE5AEFB9E8FE@pacifier.com> Message-ID: If I enter the following into OS X's Terminal: find $PWD the output is the over half a million folders and files in my /Users/[your name here]/ directory. So none of the System level stuff or anything from other User accounts if they exist on your computer. It does include though all hidden files and folders. But if I do this in the message box: put the millisec into tStart put shell("find $PWD") into tStore put the millisec into tEnd put the number of lines of tStore & cr into msg put tEnd - tStart after msg The output is 17795 lines (which is the equivalent of files and folders) in 231 ms. Why is LC truncating the output by over half a million lines? If I compare the outputs it doesn't appear to be memory related, unless it happens to be a 1 in a billion coincidence. The first folder whose full contents, including subfolders, is listed is ~/Applications/Developer/ - this is at the User level not the System Level Applications folder. The output from Terminal and LC are identical. The next folder to be listed from Terminal is ~/Applications/Games/ but there is not a single entry from the folder, or any other folder listed by LC. It's as if LC has chosen just one folder and then listed it's full contents, but I know this is illogical, the LC shell command is outside of LC's control, all it should be doing is taking the result. From john at onechip.com Tue Sep 30 00:58:01 2014 From: john at onechip.com (John) Date: Mon, 29 Sep 2014 21:58:01 -0700 Subject: User scroll direction preference Message-ID: <64820D57-8E31-4C68-BCB1-ACB3CC8D5E8B@onechip.com> I have a group with a scroll bar. Groups with scroll bars, as near as I can tell, don?t support a mouse scroll wheel so I wrote a script (handling the rawKeyDown) to provide my own. So far so good. In OSX, the user can set an OS preference to either scroll the content with the direction of the mouse scroll wheel or scroll in the opposite direction. How do find out what the user preference is? Thanks, John From yoshino at sys.wakayama-u.ac.jp Tue Sep 30 02:58:05 2014 From: yoshino at sys.wakayama-u.ac.jp (Takashi Yoshino) Date: Tue, 30 Sep 2014 15:58:05 +0900 Subject: Save my data in Android In-Reply-To: References: <42AF2473-6ED0-4D73-A00E-F0C82BE0D8A7@sys.wakayama-u.ac.jp> Message-ID: <9E34F382-6D0B-4142-834E-F91FC040FCB6@sys.wakayama-u.ac.jp> Thank you for your help! _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 On 2014/09/23, at 19:34, Klaus major-k wrote: > Konichi-wa Takashi-san, > > Am 23.09.2014 um 08:58 schrieb Takashi Yoshino : > >> Hi, >> >> I would like to save my data in Android. >> >> I wrote some texts in the field in my App on Android. >> When I quit my App, next time the text is lost. >> >> Could you tell me how to save my text in the field on Android. > > you are allowed to write in -> specialfolderpath("documents"), > so use something like this when the stack closes or whenever: > ... > ## Create a filename > put specialfolderpath("documents") & "/my_saved_text.text" into tFile > put the text of fld "your field here" into url("file:" & tFile) > ... > > To read the data in again, you first need to check if the file is present: > ... > put specialfolderpath("documents") & "/my_saved_text.text" into tFile > if there is a file tFile then > put url("file:" & tFile) into fld "your field here" > end if > ... > > Hope that helps! > >> Best regards, >> >> Takashi > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Tue Sep 30 04:03:50 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 30 Sep 2014 10:03:50 +0200 Subject: AW: How do you grant executing rights to your app for all users? In-Reply-To: <72A57EC6-2904-4136-BA3B-F40298831805@earthednet.org> References: <004b01cfdbdb$2aa98ff0$7ffcafd0$@de> <72A57EC6-2904-4136-BA3B-F40298831805@earthednet.org> Message-ID: <001401cfdc85$12a925f0$37fb71d0$@de> Hi Bill, with chmod I set "rx" - read and execute rights. With the finder information menu I only see the options to set "read and write" and "read only". How do you set execution right via the info menu? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Earthednet-wp > Gesendet: Montag, 29. September 2014 16:55 > An: How to use LiveCode > Betreff: Re: How do you grant executing rights to your app for all users? > > Tiemo, > What I do is use the finder for this action. Single click on the app bundle, > use the menu at the top to "get info". An info window comes up and there is a > little popup at the bottom where you can set access rights. You should then > use the adjacent popup to make all files in the same folder have the same > permissions. > > Google is your friend. At least in this case. > http://support.apple.com/kb/PH13799 > Bill > > William Prothero > http://es.earthednet.org > > > On Sep 29, 2014, at 4:47 AM, "Tiemo Hollmann TB" > wrote: > > > > Hello, > > > > > > > > When creating a new standalone, this standalone doesn't have executing > > rights for other users on OS X. > > > > Everytime after creating the standalone I grant all users executing > > rights with "chmod -R a+rx *" This works for me, but because my OS X > > knowledge is very limited, I am interested, if this is the straight > > forward way of doing it, or if I am missing something usual? > > > > In one of my programs the standalone is a kind of a splash screen with > > some additional tasks and at the end I just go to a second stack, > > which is part of my app bundle. Now I experienced by accident, that I > > copied an updated version of this second stack into my finished > > bundle. When starting with the admin user, everything worked fine. But > > starting with a standard user, the splash stack just stopped at going > > to the second stack without message or error. After some research I > > found, that I forgot to execute the chmod again on my updated app and > > it appears that even a non executable stack within a bundle needs > > theses "rx" rights. Can you confirm this and is the manual chmod after > > each standalone build the way how to do this, or am I missing something more > straight forward? > > > > Thanks for any insights > > > > Tiemo > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From hello at simonsmith.co Tue Sep 30 07:03:17 2014 From: hello at simonsmith.co (Simon Smith) Date: Tue, 30 Sep 2014 13:03:17 +0200 Subject: "ShellShock" - what are you doing? Message-ID: More issues with shellshock :( http://mashable.com/2014/09/29/shellshock-additional-vulnerabilities/ On Sun, Sep 28, 2014 at 8:08 PM, J. Landman Gay wrote: > My client will be happy about that. > > On September 28, 2014 12:07:07 PM CDT, Mark Wieder > wrote: > >Jacque- > > > >Saturday, September 27, 2014, 8:04:13 PM, you wrote: > > > >> So it seems to me that Apache servers and 'nix users need updating > >but > >> other consumers are for the most part okay, including mobile users. > > > >Amazon updated and rebooted *all* their AWS servers the other day, one > >by one. I'm thankful I'm not an Amazone IT person when a day zero > >exploit comes to light. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- From skip at magicgate.com Tue Sep 30 09:21:52 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 30 Sep 2014 09:21:52 -0400 Subject: Merging PDF files through LC Message-ID: Good morning, Anybody know of a way (on Windows) to merge two PDF documents together via scripting? Any insight would be helpful if you have done this before. Thank you! SKIP From skip at magicgate.com Tue Sep 30 09:31:31 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 30 Sep 2014 09:31:31 -0400 Subject: Merging PDF files through LC In-Reply-To: References: Message-ID: I have not tried this yet but I just found this link posted online: http://quartam.blogspot.com/2010/12/concatenating-pdf-files.html On Tue, Sep 30, 2014 at 9:21 AM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Good morning, > > Anybody know of a way (on Windows) to merge two PDF documents together via > scripting? > > Any insight would be helpful if you have done this before. > > Thank you! > > SKIP > From matthias_livecode_150811 at m-r-d.de Tue Sep 30 09:39:32 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 30 Sep 2014 15:39:32 +0200 Subject: Merging PDF files through LC In-Reply-To: References: Message-ID: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> You could use 3rd party tool ghostscript. Here?s a short how to http://www.rgagnon.com/gp/gp-0015.html Regards, Matthias Am 30.09.2014 um 15:31 schrieb Magicgate Software - Skip Kimpel : > I have not tried this yet but I just found this link posted online: > > http://quartam.blogspot.com/2010/12/concatenating-pdf-files.html > > > > On Tue, Sep 30, 2014 at 9:21 AM, Magicgate Software - Skip Kimpel < > skip at magicgate.com> wrote: > >> Good morning, >> >> Anybody know of a way (on Windows) to merge two PDF documents together via >> scripting? >> >> Any insight would be helpful if you have done this before. >> >> Thank you! >> >> SKIP >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From roger.e.eller at sealedair.com Tue Sep 30 09:48:29 2014 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 30 Sep 2014 09:48:29 -0400 Subject: Merging PDF files through LC In-Reply-To: References: Message-ID: Way back in Adobe Acrobat Pro 5, there was a built-in adobe scripting feature that could combine pages. In later versions that option disappeared. So I now provide my users a "collect" button which fetches all the files that need combined into a folder on the Desktop, and they combine them using the Acrobat Pro menus. This is still more efficient than having users navigate all over to find and get the files they need. With standardized file naming, it is less error-prone as well. ~Roger On Tue, Sep 30, 2014 at 9:21 AM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > Good morning, > > Anybody know of a way (on Windows) to merge two PDF documents together via > scripting? > > Any insight would be helpful if you have done this before. > > Thank you! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revolution at derbrill.de Tue Sep 30 10:30:05 2014 From: revolution at derbrill.de (Malte Brill) Date: Tue, 30 Sep 2014 16:30:05 +0200 Subject: User scroll direction preference In-Reply-To: References: Message-ID: <7BBD0CF3-0315-40DC-8ECE-BACFEC54263B@derbrill.de> Hi John, you don't. The Os switches the rawKeyCodes if the preference is changed. All the best, Malte > How do find out what the user preference is? From ambassador at fourthworld.com Tue Sep 30 10:31:59 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Sep 2014 07:31:59 -0700 Subject: File Walker In-Reply-To: References: Message-ID: <542ABEDF.5010704@fourthworld.com> I would encourage you to file a bug report on that. Even if there turns out to be a good explanation, it needs to be documented. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com Kay C Lan wrote: > If I enter the following into OS X's Terminal: > > find $PWD > > the output is the over half a million folders and files in my > /Users/[your name here]/ directory. So none of the System level stuff > or anything from other User accounts if they exist on your computer. > It does include though all hidden files and folders. > > But if I do this in the message box: > > put the millisec into tStart > put shell("find $PWD") into tStore > put the millisec into tEnd > put the number of lines of tStore & cr into msg > put tEnd - tStart after msg > > The output is 17795 lines (which is the equivalent of files and > folders) in 231 ms. Why is LC truncating the output by over half a > million lines? > > If I compare the outputs it doesn't appear to be memory related, > unless it happens to be a 1 in a billion coincidence. The first folder > whose full contents, including subfolders, is listed is > ~/Applications/Developer/ - this is at the User level not the System > Level Applications folder. The output from Terminal and LC are > identical. The next folder to be listed from Terminal is > ~/Applications/Games/ but there is not a single entry from the folder, > or any other folder listed by LC. It's as if LC has chosen just one > folder and then listed it's full contents, but I know this is > illogical, the LC shell command is outside of LC's control, all it > should be doing is taking the result. > From matthias_livecode_150811 at m-r-d.de Tue Sep 30 10:37:07 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 30 Sep 2014 16:37:07 +0200 Subject: LC does not accept Android SDK Message-ID: <342C09ED-0E6E-4416-8329-BDD83C0D8725@m-r-d.de> Hi, today i downloaded the newest Android SDK android-sdk_r23.0.2-macosx. In the Android SDK Manager i downloaded Android 2.2 (Api 8), Android 2.3.3 (Api 10) and Android 3.1 (Api 12). After that i opened LC and in the mobile preferences for Android i selected the root folder of the Android SDK. But LC always tells me "The chosen folder is not a valid Android SDK. Please ensure you have insalled it correctly, and enabled support for Android 2.2 (Froyo)." I have an older version of the SDK installed which works fine, but as soon as i download updates for that version i have the same error. That?s why i tried to use a fresh version of the Android SDK. Am i missing something? Does anyone have a solution for me? I am working with LC 6.6.3 under Mac OS X 10.9.5. Regards, Matthias From alex at tweedly.net Tue Sep 30 10:43:15 2014 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 30 Sep 2014 15:43:15 +0100 Subject: File Walker In-Reply-To: References: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> <26F7DFEC-477F-40DB-A9E1-B8C104522405@pacifier.com> <5429E6C9.60201@tweedly.net> Message-ID: <542AC183.8090701@tweedly.net> OK, that really does sound like you are encountering a problem with the combination of the code and your file system - not an inherent limit. "File Lister 2" should only recurse as deeply as your file system (i.e. it enters a recursion for each level of subfolder - but then exits it again), so to see a "recursion limit" error suggests that it is failing, rather than hitting an actual limit. Following is a wild guess, and a request / suggestion for an investigation attempt. The start of the code in question (from http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 ) is *function*listFiles pFolder, pRecurse * local*tTotalFiles, tCurrentFiles, tFolders * set*thedefaultFoldertopFolder * put*filteredFiles()intotCurrentFiles Now that is risky code !! If the "set the defaultfolder to pFolder" fails, then you remain in the same directory, and redo the same work, and get stuck in infinite recursion. This could (maybe??) happen because of permission failures, or maybe folder naming issues, or something else I haven't thought of :-) So I would change it by adding as follows set the defaultfolder to pFolder if the defaultfolder <> pFolder then put "Failure :" && the defaultfolder && "::" && pFolder &CR after msg exit listFiles end if ... and see what that does. Thanks -- Alex.** On 30/09/2014 00:47, JB wrote: > That is a good question. The way I found out it was limited is > I was using the code supplied in the File Lister 2 tutorial. I was > accessing a folder with a lot of files and subfolders but I do not > think it had 400,000 files and sub folders in it so I am thinking it > is limited to 400,000 recursive attempts. What happened is the > script quit while trying to access the files and sub folders and a > dialog appeared and said recursive is limited to 400,000. That > is worse than being limited to 400,000 files and folders. > > I think we need to have the NSFIleManager. > > I have Xcode examples and I was going to try to write an extension > since Trevor provided the link for Objective-C externals but I have > Mavericks and the latest version of Xcode. I also have xcide 2.4 on > this computer and it runs but when I try to compile using the code > from Trevor it says something about I can?t use it with this version > of OS X or whatever I do not remember, any way it makes me think > I need to set up my old system to compile unless someone knows > how to make it work with the latest Xcode and then I will probably > need all of the older SDK software too. Since I really am not very > familiar with any of the above yet I am working on other parts of > my program but I will eventually work on putting it all together. > > With the NSFIleManager I would think we would be able to access > directories as fast as Apple since they wrote the code. It looks like > it will be pretty easy once I figure a few thing out and write a couple > of sample externals with Objective-C. There is not much to using > the NSFileManager itself from what I have seen. > > John Balgenorth > > On Sep 29, 2014, at 4:10 PM, Alex Tweedly wrote: > >> "recursive is limited to 400,000" ? Is that 400,000 files, or folders, or ?? >> >> The File Walker link (i.e. http://www.sonsothunder.com/devres/livecode/tips/file007.htm ) should work - it would be very interesting to find out why it doesn't (maybe URL encoding of the file names??) >> >> However, it too is recursive. Here's a non-recursive version of it, which is somewhat faster in some cases: (be careful testing this - you need to run it repeatedly to avoid file-system caching effects). >> >> >> on dirWalk whatFolder >> local temp, tCount, tDirList, tDirsToDo >> set the itemDel to "/" >> set the directory to whatFolder >> put whatfolder &CR into tDirsToDo >> repeat forever >> put line 1 of tDirsToDo into whatFolder >> set the directory to whatFolder >> delete line 1 of tDirsToDo >> put the files into temp >> add the number of lines of temp to tCount >> sort temp >> repeat for each line x in temp >> put whatFolder & "/" & x & cr after gHierList >> end repeat >> put the folders into tDirList >> sort tDirList >> delete line 1 of tDirList >> repeat for each line x in tDirList >> put whatFolder & "/" & x & CR after tDirsToDo >> end repeat >> if the number of lines in tDirsToDo = 0 then exit repeat >> end repeat >> end dirWalk >> >> -- Alex. >> From lan.kc.macmail at gmail.com Tue Sep 30 10:45:47 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 30 Sep 2014 22:45:47 +0800 Subject: File Walker In-Reply-To: <542ABEDF.5010704@fourthworld.com> References: <542ABEDF.5010704@fourthworld.com> Message-ID: On Tue, Sep 30, 2014 at 10:31 PM, Richard Gaskin wrote: > I would encourage you to file a bug report on that. > > Even if there turns out to be a good explanation, it needs to be documented. > Are you indicating that you are or aren't seeing the same thing on Linux. I'm on OS X 10.9.5, and this was seen with LC 6.6.3 If other's are seeing truncated results I'd be happy to file a bug report but I first want to confirm that it isn't just me. From matsastrom at yahoo.se Tue Sep 30 11:16:52 2014 From: matsastrom at yahoo.se (=?iso-8859-1?Q?Mats_=C5str=F6m?=) Date: Tue, 30 Sep 2014 17:16:52 +0200 Subject: HTTPProxy Message-ID: <942A6BA2-D661-40E0-93CE-E964A8E148E6@yahoo.se> I have now tried builds in both 6.7 and 7.0 - without setting HTTPProxy. The proxy does not require NTLM authentication so it should work but doesn't. I get this message: ERROR: error socket timeout So still no luck (it is a time consuming task since I have to travel to my client and test any new build on their network). /Mats On 9/26/2014, 4:44 PM, Mats Astrom wrote: > having read up on, and tried, most posts with suggestions on how to > make LiveCode access the web through a proxy, I'm in a cul-de-sac. > > It works fine (POST-ing a SOAP web service) without going through a > proxy. Although I get "error timeout" when HTTPProxy is set to my > clients proxy server IP or DNS. > > Maybe I did not search the posts thoroughly enough and missed > something obvious (the LiveCode posts and community are both the > reason I am still in business?) > > Has anyone managed to go through a proxy? From ambassador at fourthworld.com Tue Sep 30 11:20:32 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Sep 2014 08:20:32 -0700 Subject: File Walker In-Reply-To: <542AC183.8090701@tweedly.net> References: <542AC183.8090701@tweedly.net> Message-ID: <542ACA40.6010404@fourthworld.com> Alex Tweedly wrote: > Following is a wild guess, and a request / suggestion for an > investigation attempt. > > The start of the code in question (from > http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 ) > is > > *function*listFiles pFolder, pRecurse > * local*tTotalFiles, tCurrentFiles, tFolders > > * set*thedefaultFoldertopFolder > * put*filteredFiles()intotCurrentFiles > > Now that is risky code !! > If the "set the defaultfolder to pFolder" fails, then you remain in > the > same directory, and redo the same work, and get stuck in infinite > recursion. This could (maybe??) happen because of permission > failures, or maybe folder naming issues, or something else I haven't > thought of :-) > > So I would change it by adding as follows > set the defaultfolder to pFolder > if the defaultfolder <> pFolder then > put "Failure :" && the defaultfolder && "::" && pFolder &CR after msg > exit listFiles > end if > ... > > and see what that does. Good catch. 400000 is a deep folder hierarchy, and I've seen the recursion error very early on, suggesting that the problem isn't traversing the folders at all, but merely that it can't access some because of permission errors. It might be nice to have that sample stack updated to skip folders it doesn't have permission to access (or can't access for some other reason), while returning all files it can access successfully. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From toolbook at kestner.de Tue Sep 30 11:39:50 2014 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 30 Sep 2014 17:39:50 +0200 Subject: AW: HTTPProxy In-Reply-To: <942A6BA2-D661-40E0-93CE-E964A8E148E6@yahoo.se> References: <942A6BA2-D661-40E0-93CE-E964A8E148E6@yahoo.se> Message-ID: <003401cfdcc4$c6438c10$52caa430$@de> Hi Mats, Perhaps you might need to set additionally the httpHeaders with the proxy authorization? I am using a software proxy for testing Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Mats ?str?m > Gesendet: Dienstag, 30. September 2014 17:17 > An: use-livecode at lists.runrev.com > Betreff: Re: HTTPProxy > > I have now tried builds in both 6.7 and 7.0 - without setting HTTPProxy. The > proxy does not require NTLM authentication so it should work but doesn't. > > I get this message: ERROR: error socket timeout > > So still no luck (it is a time consuming task since I have to travel to my > client and test any new build on their network). > > /Mats > > > On 9/26/2014, 4:44 PM, Mats Astrom wrote: > > having read up on, and tried, most posts with suggestions on how to > > make LiveCode access the web through a proxy, I'm in a cul-de-sac. > > > > It works fine (POST-ing a SOAP web service) without going through a > > proxy. Although I get "error timeout" when HTTPProxy is set to my > > clients proxy server IP or DNS. > > > > Maybe I did not search the posts thoroughly enough and missed > > something obvious (the LiveCode posts and community are both the > > reason I am still in business?) > > > > Has anyone managed to go through a proxy? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Sep 30 11:43:46 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 30 Sep 2014 08:43:46 -0700 Subject: File Walker In-Reply-To: <542ACA40.6010404@fourthworld.com> References: <542AC183.8090701@tweedly.net> <542ACA40.6010404@fourthworld.com> Message-ID: On Tue, Sep 30, 2014 at 8:20 AM, Richard Gaskin wrote: > Good catch. 400000 is a deep folder hierarchy, and I've seen the > recursion error very early on, suggesting that the problem isn't traversing > the folders at all, but merely that it can't access some because of > permission errors. If it is following symbolic links, it's downright common to find "loops" . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Tue Sep 30 11:44:39 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Sep 2014 08:44:39 -0700 Subject: File Walker Message-ID: <1166a6dae0c90baa5aae9417604e7bd0@fourthworld.com> Kay C Lan wrote: > On Tue, Sep 30, 2014 at 10:31 PM, Richard Gaskin wrote: >> >> I would encourage you to file a bug report on that. >> >> Even if there turns out to be a good explanation, it needs to be >> documented. > > Are you indicating that you are or aren't seeing the same thing on > Linux. No, I was suggesting that it would be helpful to file a bug report. Any time we see differences between call a shell function within LC and using the same shell call in Terminal, IMO it warrants either explanation or repair. At the time I wrote that I hadn't tested it, but I just did a quick test in Linux. In Terminal I dumped it to a file so I could get the line count in LC, and ran your LC script directly in LC. LC shell call: 113079 lines Terminal output: 113041 lines Not sure why they're different, and I haven't yet bothered to diff them to see where the differences lie, but it seems at least worth noting in the docs that there may be permission differences or other factors which can yield difference results when using the shell function in LC. -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From prothero at earthednet.org Tue Sep 30 11:48:15 2014 From: prothero at earthednet.org (Earthednet-wp) Date: Tue, 30 Sep 2014 08:48:15 -0700 Subject: AW: How do you grant executing rights to your app for all users? In-Reply-To: <001401cfdc85$12a925f0$37fb71d0$@de> References: <004b01cfdbdb$2aa98ff0$7ffcafd0$@de> <72A57EC6-2904-4136-BA3B-F40298831805@earthednet.org> <001401cfdc85$12a925f0$37fb71d0$@de> Message-ID: <9ED1E081-81A1-4663-A6C3-7CD7CB95D60B@earthednet.org> Tiemo, For applications that everybody uses, they should be in the Applications folder at the root of the system drive. There may also be an applications folder in each user account and applications in it are only available to that user. Try this link, http://www.jmu.edu/computing/mac/filestructureOSX.shtml Bill William Prothero http://es.earthednet.org > On Sep 30, 2014, at 1:03 AM, "Tiemo Hollmann TB" wrote: > > Hi Bill, > with chmod I set "rx" - read and execute rights. With the finder information > menu I only see the options to set "read and write" and "read only". How do > you set execution right via the info menu? > Tiemo > > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag >> von Earthednet-wp >> Gesendet: Montag, 29. September 2014 16:55 >> An: How to use LiveCode >> Betreff: Re: How do you grant executing rights to your app for all users? >> >> Tiemo, >> What I do is use the finder for this action. Single click on the app > bundle, >> use the menu at the top to "get info". An info window comes up and there > is a >> little popup at the bottom where you can set access rights. You should > then >> use the adjacent popup to make all files in the same folder have the same >> permissions. >> >> Google is your friend. At least in this case. >> http://support.apple.com/kb/PH13799 >> Bill >> >> William Prothero >> http://es.earthednet.org >> >>>> On Sep 29, 2014, at 4:47 AM, "Tiemo Hollmann TB" >>> wrote: >>> >>> Hello, >>> >>> >>> >>> When creating a new standalone, this standalone doesn't have executing >>> rights for other users on OS X. >>> >>> Everytime after creating the standalone I grant all users executing >>> rights with "chmod -R a+rx *" This works for me, but because my OS X >>> knowledge is very limited, I am interested, if this is the straight >>> forward way of doing it, or if I am missing something usual? >>> >>> In one of my programs the standalone is a kind of a splash screen with >>> some additional tasks and at the end I just go to a second stack, >>> which is part of my app bundle. Now I experienced by accident, that I >>> copied an updated version of this second stack into my finished >>> bundle. When starting with the admin user, everything worked fine. But >>> starting with a standard user, the splash stack just stopped at going >>> to the second stack without message or error. After some research I >>> found, that I forgot to execute the chmod again on my updated app and >>> it appears that even a non executable stack within a bundle needs >>> theses "rx" rights. Can you confirm this and is the manual chmod after >>> each standalone build the way how to do this, or am I missing something > more >> straight forward? >>> >>> Thanks for any insights >>> >>> Tiemo >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your > subscription >> preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Tue Sep 30 11:48:32 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 30 Sep 2014 08:48:32 -0700 Subject: Merging PDF files through LC In-Reply-To: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> Message-ID: On Tue, Sep 30, 2014 at 6:39 AM, Matthias Rebbe | M-R-D < matthias_livecode_150811 at m-r-d.de> wrote: > You could use 3rd party tool ghostscript. > I used to use ghostscript from my scripts. Sometimes it takes just far too long (minutes)< others it doesn't like files (but every pdf program refuses to play nice with every onter one). The least difficulties I have had have been with pdftk, and it can "fix" some other program's leavings. I've used it on unix & mac; never on windows. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Tue Sep 30 12:05:06 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 30 Sep 2014 09:05:06 -0700 Subject: Delete columns... How? In-Reply-To: <0F3418B9-5C00-40F5-9D55-7E74C38C3A59@gmail.com> References: <003801cfc3bd$1c389820$54a9c860$@FlexibleLearning.com> <5785E969-814C-4EFF-A620-9F1FAF3EF0E0@iotecdigital.com> <0F3418B9-5C00-40F5-9D55-7E74C38C3A59@gmail.com> Message-ID: On Mon, Sep 29, 2014 at 3:58 PM, Michael Doub wrote: > Bob, how do you control whether SQLite pages the table in from disk or > maintains it entirely in memory? > use :memory: as the file name. Blindingly fast. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From bobsneidar at iotecdigital.com Tue Sep 30 12:06:33 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 16:06:33 +0000 Subject: Is Binfile broken? Message-ID: <4B5BB852-E8FF-4B58-A02E-D78248CC8A46@iotecdigital.com> I have 2 variables: theSourceFile which is binfile:/Users/bobsneidar/Documents/Livecode Projects/Forms Generator/Installs/1105 Media Inc/Chatsworth/20140805-Service Invoice.pdf TheDestFile which is binfile:/Users/bobsneidar/Desktop/Install Forms/1105 Media Inc/Chatsworth/20140805-Service Invoice.pdf I issue the command: put URL theSource into URL theDestination. Nothing happens. No file gets copied. Is URL bin file deprecated?? I then, thinking I misunderstood the put URL command, opened theSourceFile (after removing the binfile: part) for binary read. I then read the data until eof (the it variable shows binary data). I then opened theDestFile for write (also after removing the binfile: part) and wrote it then closed the file. STILL there is nothing! I?ve run into this before. I changed permissions to everyone write, still nothing. What am I doing wrong? Here is the code: open file theSourceFile for binary read read from file theSourceFile until eof close file theSourceFile put it into theSourceData open file theDestFile for binary write write theSourceData to file theDestFile close file theDestFile Bob S From ambassador at fourthworld.com Tue Sep 30 12:13:04 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Sep 2014 09:13:04 -0700 Subject: Is Binfile broken? In-Reply-To: <4B5BB852-E8FF-4B58-A02E-D78248CC8A46@iotecdigital.com> References: <4B5BB852-E8FF-4B58-A02E-D78248CC8A46@iotecdigital.com> Message-ID: <542AD690.8070801@fourthworld.com> Bob Sneidar wrote: > I have 2 variables: > > theSourceFile which is binfile:/Users/bobsneidar/Documents/Livecode > Projects/Forms Generator/Installs/1105 Media Inc/Chatsworth/20140805 >-Service Invoice.pdf > TheDestFile which is binfile:/Users/bobsneidar/Desktop/Install > Forms/1105 Media Inc/Chatsworth/20140805-Service Invoice.pdf > > I issue the command: put URL theSource into URL theDestination. > Nothing happens. No file gets copied. Is URL bin file deprecated?? > > I then, thinking I misunderstood the put URL command, opened > theSourceFile (after removing the binfile: part) for binary read. > I then read the data until eof (the it variable shows binary data). > I then opened theDestFile for write (also after removing the binfile: > part) and wrote it then closed the file. STILL there is nothing! > > I?ve run into this before. I changed permissions to everyone write, > still nothing. What am I doing wrong? Here is the code: > > open file theSourceFile for binary read > read from file theSourceFile until eof > close file theSourceFile > put it into theSourceData > > open file theDestFile for binary write > write theSourceData to file theDestFile > close file theDestFile You're not using the URL syntax, but both the URL method and open/write/close should work, with both text and binary modes. To diagnose problems with file access (and many other circumstances where error-checking is useful), check the result after attempting the action. With file access it can be very help to include a call to sysError there, so you can see what the OS is complaining about, .e.g: open file theDestFile for binary write if the result is not empty then answer the result &"("& sysError() &")" end if -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From userev at canelasoftware.com Tue Sep 30 12:36:58 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 30 Sep 2014 09:36:58 -0700 Subject: HTTPProxy In-Reply-To: <942A6BA2-D661-40E0-93CE-E964A8E148E6@yahoo.se> References: <942A6BA2-D661-40E0-93CE-E964A8E148E6@yahoo.se> Message-ID: Hi Mats, We released a proxy library here: http://livecloud.io/extras/ It works well for pre 6.7 releases as it solved problems that can now be done natively in 6.7+ It comes with a demo stack that will help you verify that it is working. Please feel free to give it a try and see how it goes. Best regards, Mark Talluto livecloud.io canelasoftware.com On Sep 30, 2014, at 8:16 AM, Mats ?str?m wrote: > I have now tried builds in both 6.7 and 7.0 - without setting HTTPProxy. The proxy does not require NTLM authentication so it should work but doesn't. > > I get this message: ERROR: error socket timeout > > So still no luck (it is a time consuming task since I have to travel to my client and test any new build on their network). > > /Mats > > > On 9/26/2014, 4:44 PM, Mats Astrom wrote: >> having read up on, and tried, most posts with suggestions on how to >> make LiveCode access the web through a proxy, I'm in a cul-de-sac. >> >> It works fine (POST-ing a SOAP web service) without going through a >> proxy. Although I get "error timeout" when HTTPProxy is set to my >> clients proxy server IP or DNS. >> >> Maybe I did not search the posts thoroughly enough and missed >> something obvious (the LiveCode posts and community are both the >> reason I am still in business?) >> >> Has anyone managed to go through a proxy? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Tue Sep 30 13:14:41 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 10:14:41 -0700 Subject: File Walker In-Reply-To: <542AC183.8090701@tweedly.net> References: <2C907893-1FFE-4876-AD8E-DD0797E3F902@iotecdigital.com> <26F7DFEC-477F-40DB-A9E1-B8C104522405@pacifier.com> <5429E6C9.60201@tweedly.net> <542AC183.8090701@tweedly.net> Message-ID: Okay I changed it. When I checked my documents folder it showed the message box and took a long time but finally put something in it. The message looked like some question marks and other stuff and maybe even some file names. When I checked my applications folder which I know has more than 400,000 files it got stuck in a loop and I finally forced quit the program. For now I will not use recursive to list files or folders. I don?t need this to happen to people who use my program even if they have files that are named wrong since they are used to Apple finder listing it. They want things like reading the directory to be consistent. We should not see any problems with listing the directory unless they also see it with the finder. John Balgenorth On Sep 30, 2014, at 7:43 AM, Alex Tweedly wrote: > > OK, that really does sound like you are encountering a problem with the combination of the code and your file system - not an inherent limit. > > "File Lister 2" should only recurse as deeply as your file system (i.e. it enters a recursion for each level of subfolder - but then exits it again), so to see a "recursion limit" error suggests that it is failing, rather than hitting an actual limit. > > Following is a wild guess, and a request / suggestion for an investigation attempt. > > The start of the code in question (from http://lessons.runrev.com/m/4071/l/17080-files-and-folders-part-2 ) is > > *function*listFiles pFolder, pRecurse > * local*tTotalFiles, tCurrentFiles, tFolders > > * set*thedefaultFoldertopFolder > * put*filteredFiles()intotCurrentFiles > > Now that is risky code !! > If the "set the defaultfolder to pFolder" fails, then you remain in the same directory, and redo the same work, and get stuck in infinite recursion. This could (maybe??) happen because of permission failures, or maybe folder naming issues, or something else I haven't thought of :-) > > So I would change it by adding as follows > set the defaultfolder to pFolder > if the defaultfolder <> pFolder then > put "Failure :" && the defaultfolder && "::" && pFolder &CR after msg > exit listFiles > end if > ... > > and see what that does. > > Thanks > -- Alex.** > > On 30/09/2014 00:47, JB wrote: >> That is a good question. The way I found out it was limited is >> I was using the code supplied in the File Lister 2 tutorial. I was >> accessing a folder with a lot of files and subfolders but I do not >> think it had 400,000 files and sub folders in it so I am thinking it >> is limited to 400,000 recursive attempts. What happened is the >> script quit while trying to access the files and sub folders and a >> dialog appeared and said recursive is limited to 400,000. That >> is worse than being limited to 400,000 files and folders. >> >> I think we need to have the NSFIleManager. >> >> I have Xcode examples and I was going to try to write an extension >> since Trevor provided the link for Objective-C externals but I have >> Mavericks and the latest version of Xcode. I also have xcide 2.4 on >> this computer and it runs but when I try to compile using the code >> from Trevor it says something about I can?t use it with this version >> of OS X or whatever I do not remember, any way it makes me think >> I need to set up my old system to compile unless someone knows >> how to make it work with the latest Xcode and then I will probably >> need all of the older SDK software too. Since I really am not very >> familiar with any of the above yet I am working on other parts of >> my program but I will eventually work on putting it all together. >> >> With the NSFIleManager I would think we would be able to access >> directories as fast as Apple since they wrote the code. It looks like >> it will be pretty easy once I figure a few thing out and write a couple >> of sample externals with Objective-C. There is not much to using >> the NSFileManager itself from what I have seen. >> >> John Balgenorth >> On Sep 29, 2014, at 4:10 PM, Alex Tweedly wrote: >> >>> "recursive is limited to 400,000" ? Is that 400,000 files, or folders, or ?? >>> >>> The File Walker link (i.e. http://www.sonsothunder.com/devres/livecode/tips/file007.htm ) should work - it would be very interesting to find out why it doesn't (maybe URL encoding of the file names??) >>> >>> However, it too is recursive. Here's a non-recursive version of it, which is somewhat faster in some cases: (be careful testing this - you need to run it repeatedly to avoid file-system caching effects). >>> >>> >>> on dirWalk whatFolder >>> local temp, tCount, tDirList, tDirsToDo >>> set the itemDel to "/" >>> set the directory to whatFolder >>> put whatfolder &CR into tDirsToDo >>> repeat forever >>> put line 1 of tDirsToDo into whatFolder >>> set the directory to whatFolder >>> delete line 1 of tDirsToDo >>> put the files into temp >>> add the number of lines of temp to tCount >>> sort temp >>> repeat for each line x in temp >>> put whatFolder & "/" & x & cr after gHierList >>> end repeat >>> put the folders into tDirList >>> sort tDirList >>> delete line 1 of tDirList >>> repeat for each line x in tDirList >>> put whatFolder & "/" & x & CR after tDirsToDo >>> end repeat >>> if the number of lines in tDirsToDo = 0 then exit repeat >>> end repeat >>> end dirWalk >>> >>> -- Alex. >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Sep 30 13:25:28 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 17:25:28 +0000 Subject: Is Binfile broken? In-Reply-To: <542AD690.8070801@fourthworld.com> References: <4B5BB852-E8FF-4B58-A02E-D78248CC8A46@iotecdigital.com> <542AD690.8070801@fourthworld.com> Message-ID: <3B5F0C1B-ABE4-4DDC-A2F1-2AD21D7E8E08@iotecdigital.com> Thanks Richard. I get ?Can?t open that file.? in the result for the write. Very informative. ;-) Now I have to figure out *why* it can?t open that file. I fear it might be Mavericks sandboxing that is getting in the way. It is a folder on my desktop, and while I changed the Everyone permissions to write, it still seems to be giving me fits. Bob S On Sep 30, 2014, at 09:13 , Richard Gaskin > wrote: Bob Sneidar wrote: > I have 2 variables: > > theSourceFile which is binfile:/Users/bobsneidar/Documents/Livecode > Projects/Forms Generator/Installs/1105 Media Inc/Chatsworth/20140805 >-Service Invoice.pdf > TheDestFile which is binfile:/Users/bobsneidar/Desktop/Install > Forms/1105 Media Inc/Chatsworth/20140805-Service Invoice.pdf > > I issue the command: put URL theSource into URL theDestination. > Nothing happens. No file gets copied. Is URL bin file deprecated?? > > I then, thinking I misunderstood the put URL command, opened > theSourceFile (after removing the binfile: part) for binary read. > I then read the data until eof (the it variable shows binary data). > I then opened theDestFile for write (also after removing the binfile: > part) and wrote it then closed the file. STILL there is nothing! > > I?ve run into this before. I changed permissions to everyone write, > still nothing. What am I doing wrong? Here is the code: > > open file theSourceFile for binary read > read from file theSourceFile until eof > close file theSourceFile > put it into theSourceData > > open file theDestFile for binary write > write theSourceData to file theDestFile > close file theDestFile You're not using the URL syntax, but both the URL method and open/write/close should work, with both text and binary modes. To diagnose problems with file access (and many other circumstances where error-checking is useful), check the result after attempting the action. With file access it can be very help to include a call to sysError there, so you can see what the OS is complaining about, .e.g: open file theDestFile for binary write if the result is not empty then answer the result &"("& sysError() &")" end if -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Sep 30 13:44:06 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 17:44:06 +0000 Subject: Is Binfile broken? In-Reply-To: <3B5F0C1B-ABE4-4DDC-A2F1-2AD21D7E8E08@iotecdigital.com> References: <4B5BB852-E8FF-4B58-A02E-D78248CC8A46@iotecdigital.com> <542AD690.8070801@fourthworld.com> <3B5F0C1B-ABE4-4DDC-A2F1-2AD21D7E8E08@iotecdigital.com> Message-ID: <1F90B7E9-E17F-4747-A136-2F3BF92487E4@iotecdigital.com> It?s not sandboxing. I cannot write to a server I am logged in as the Enterprise Administrator on! I cannot create folders either using the Create Folder command. Anyone else having difficulty doing low level file writes? I have the same code working in another directory on my local hard drive and they seem to work. I?m completely stymied here. Bob S On Sep 30, 2014, at 10:25 , Bob Sneidar > wrote: Thanks Richard. I get ?Can?t open that file.? in the result for the write. Very informative. ;-) Now I have to figure out *why* it can?t open that file. I fear it might be Mavericks sandboxing that is getting in the way. It is a folder on my desktop, and while I changed the Everyone permissions to write, it still seems to be giving me fits. Bob S From ambassador at fourthworld.com Tue Sep 30 13:47:17 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Sep 2014 10:47:17 -0700 Subject: Is Binfile =?UTF-8?Q?broken=3F?= Message-ID: Bob Sneidar wrote: > On Sep 30, 2014, at 09:13 , Richard Gaskin wrote: > >> To diagnose problems with file access (and many other circumstances >> where error-checking is useful), check the result after attempting >> the action. With file access it can be very help to include a call >> to sysError there, so you can see what the OS is complaining about, >> .e.g: >> >> open file theDestFile for binary write >> if the result is not empty then >> answer the result &"("& sysError() &")" >> end if > > Thanks Richard. I get ?Can?t open that file.? in the result for the > write. Very informative. ;-) > > Now I have to figure out *why* it can?t open that file. What was the OS error number returned from sysError()? -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys From userev at canelasoftware.com Tue Sep 30 14:02:03 2014 From: userev at canelasoftware.com (Mark Talluto) Date: Tue, 30 Sep 2014 11:02:03 -0700 Subject: LC does not accept Android SDK In-Reply-To: <342C09ED-0E6E-4416-8329-BDD83C0D8725@m-r-d.de> References: <342C09ED-0E6E-4416-8329-BDD83C0D8725@m-r-d.de> Message-ID: On Sep 30, 2014, at 7:37 AM, Matthias Rebbe | M-R-D wrote: > Hi, > > today i downloaded the newest Android SDK android-sdk_r23.0.2-macosx. > In the Android SDK Manager i downloaded Android 2.2 (Api 8), Android 2.3.3 (Api 10) and Android 3.1 (Api 12). > > After that i opened LC and in the mobile preferences for Android i selected the root folder of the Android SDK. But LC always tells me > "The chosen folder is not a valid Android SDK. Please ensure you have insalled it correctly, and enabled support for Android 2.2 (Froyo)." > > I have an older version of the SDK installed which works fine, but as soon as i download updates for that version i have the same error. > That?s why i tried to use a fresh version of the Android SDK. > > Am i missing something? Does anyone have a solution for me? > I am working with LC 6.6.3 under Mac OS X 10.9.5. Did you make sure you have the zipalign file in the right place? http://forums.livecode.com/viewtopic.php?f=53&t=20966 Best regards, Mark Talluto livecloud.io canelasoftware.com From mikedoub at gmail.com Tue Sep 30 14:12:51 2014 From: mikedoub at gmail.com (Michael Doub) Date: Tue, 30 Sep 2014 14:12:51 -0400 Subject: Delete columns... How? In-Reply-To: References: <003801cfc3bd$1c389820$54a9c860$@FlexibleLearning.com> <5785E969-814C-4EFF-A620-9F1FAF3EF0E0@iotecdigital.com> <0F3418B9-5C00-40F5-9D55-7E74C38C3A59@gmail.com> Message-ID: <73715F73-F504-49B9-B6A5-78DCEE49C4B2@gmail.com> I think that puts the whole database (multiple tables) in memory. Bob mentioned only the table so I thought he might know of some other magic incantation. :-) -= Mike On Sep 30, 2014, at 12:05 PM, Dr. Hawkins wrote: > On Mon, Sep 29, 2014 at 3:58 PM, Michael Doub wrote: > >> Bob, how do you control whether SQLite pages the table in from disk or >> maintains it entirely in memory? >> > > use :memory: as the file name. Blindingly fast. > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Sep 30 14:30:05 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Tue, 30 Sep 2014 20:30:05 +0200 Subject: LC does not accept Android SDK In-Reply-To: References: <342C09ED-0E6E-4416-8329-BDD83C0D8725@m-r-d.de> Message-ID: Am 30.09.2014 um 20:02 schrieb Mark Talluto : > > Did you make sure you have the zipalign file in the right place? > > http://forums.livecode.com/viewtopic.php?f=53&t=20966 > Mark, thank you very much! That did it. It seems updating a working version deletes this file and makes the working version not working anymore. And the actual version of the SDK which can be downloaded does not contain this file anymore. Thanks again. Matthias > > Best regards, > > Mark Talluto > livecloud.io > canelasoftware.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Sep 30 15:49:20 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 19:49:20 +0000 Subject: Is Binfile broken? In-Reply-To: References: Message-ID: <77116993-9D0A-49AF-8113-F1FB753206D5@iotecdigital.com> For creation of a folder the sys error() returned 0. Following is the actual handler in full. on syncFiles theSourceFiles, theDestFiles if the last char of theDestPath is "/" then delete the last char of theDestPath set the itemDelimiter to "/" repeat for each line theSourceFile in theSourceFiles put theSourceFile into theDestFile replace theSourcePath with theDestPath in theDestFile if not there is a file theDestFile then open file theSourceFile for binary read put the result into theError read from file theSourceFile until eof close file theSourceFile put it into theSourceData put item 1 to -2 of theDestFile & "/" into theCurrentPath if not there is a folder theCurrentPath then create folder theCurrentPath put the result into theError if theError is not empty then put syserror() answer error "Cannot create directory. Check permissions." as sheet close file theSourceFile exit syncFiles end if end if open file theDestFile for binary write put the result into theError if theError is not empty then put syserror() answer error "Cannot write to this directory. Check the file path and permissions." as sheet close file theDestFile exit syncFiles end if write theSourceData to file theDestFile close file theDestFile end if end repeat end syncFiles Bob S On Sep 30, 2014, at 10:47 , Richard Gaskin wrote: > Bob Sneidar wrote: > >> On Sep 30, 2014, at 09:13 , Richard Gaskin wrote: >>> To diagnose problems with file access (and many other circumstances >>> where error-checking is useful), check the result after attempting >>> the action. With file access it can be very help to include a call >>> to sysError there, so you can see what the OS is complaining about, >>> .e.g: >>> open file theDestFile for binary write >>> if the result is not empty then >>> answer the result &"("& sysError() &")" >>> end if >> Thanks Richard. I get ?Can?t open that file.? in the result for the >> write. Very informative. ;-) >> Now I have to figure out *why* it can?t open that file. > > What was the OS error number returned from sysError()? > > -- > Richard Gaskin > Fourth World Systems > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alex at tweedly.net Tue Sep 30 16:10:12 2014 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 30 Sep 2014 21:10:12 +0100 Subject: File Walker In-Reply-To: References: <542AC183.8090701@tweedly.net> <542ACA40.6010404@fourthworld.com> Message-ID: <542B0E24.2030001@tweedly.net> On 30/09/2014 16:43, Dr. Hawkins wrote: > On Tue, Sep 30, 2014 at 8:20 AM, Richard Gaskin > wrote: > >> Good catch. 400000 is a deep folder hierarchy, and I've seen the >> recursion error very early on, suggesting that the problem isn't traversing >> the folders at all, but merely that it can't access some because of >> permission errors. > > If it is following symbolic links, it's downright common to find "loops" . > . . > > Yes, but this check should detect those too .... the resolved symblic link won't have the same FQN as the link itself had. OK - it could differentiate with a better error message :-), but at least it should prevent the looping ... -- Alex. From ambassador at fourthworld.com Tue Sep 30 16:19:52 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Sep 2014 13:19:52 -0700 Subject: File Walker In-Reply-To: References: Message-ID: <542B1068.2040001@fourthworld.com> JB wrote: > For now I will not use recursive to list files or folders. I think we've established that recursion errors are the symptom but not the problem (that is, unless you have directory structures deeper than 400,000 levels, but then I suspect you'd see inode problems long before you'd have a chance to walk through them with LC). The question is: How do we handle error conditions when a folder cannot be accessed? The original code you had bails because it isn't doing appropriate error checking, and Alex' modification bails whenever it encounters a folder it can't access. Unless you write some code to handle that differently, it's bailing either way. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From ambassador at fourthworld.com Tue Sep 30 16:26:18 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Sep 2014 13:26:18 -0700 Subject: Is Binfile broken? In-Reply-To: <77116993-9D0A-49AF-8113-F1FB753206D5@iotecdigital.com> References: <77116993-9D0A-49AF-8113-F1FB753206D5@iotecdigital.com> Message-ID: <542B11EA.7060909@fourthworld.com> It's curious that sysError is returning 0 when the error occurs. You might also check if the paths exist - maybe something got amiss in loading the params to that handler? Another option might be to use rsync via LC's shell function instead of rolling your own. It's not available for Windows, but for OS X and Linux it's super-efficient for mirroring folders. If nothing else, if you run rsync in Terminal its diagnostics should tell you if your paths are amiss, so if may be useful if only to debug this issue. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web ____________________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com > > Is Binfile broken? > Bob Sneidar bobsneidar at iotecdigital.com > Tue Sep 30 21:49:20 CEST 2014 > > Previous message: Is Binfile broken? > Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > > For creation of a folder the sys error() returned 0. Following is the actual handler in full. > > on syncFiles theSourceFiles, theDestFiles > if the last char of theDestPath is "/" then delete the last char of theDestPath > set the itemDelimiter to "/" > > repeat for each line theSourceFile in theSourceFiles > put theSourceFile into theDestFile > replace theSourcePath with theDestPath in theDestFile > > if not there is a file theDestFile then > open file theSourceFile for binary read > put the result into theError > read from file theSourceFile until eof > close file theSourceFile > put it into theSourceData > > put item 1 to -2 of theDestFile & "/" into theCurrentPath > if not there is a folder theCurrentPath then > create folder theCurrentPath > put the result into theError > > if theError is not empty then > put syserror() > answer error "Cannot create directory. Check permissions." as sheet > close file theSourceFile > exit syncFiles > end if > end if > > open file theDestFile for binary write > put the result into theError > > if theError is not empty then > put syserror() > answer error "Cannot write to this directory. Check the file path and permissions." as sheet > close file theDestFile > exit syncFiles > end if > > write theSourceData to file theDestFile > close file theDestFile > end if > > end repeat > end syncFiles From bogdanoff at me.com Tue Sep 30 16:33:01 2014 From: bogdanoff at me.com (Peter Bogdanoff) Date: Tue, 30 Sep 2014 13:33:01 -0700 Subject: Sorting a multidimensional array In-Reply-To: References: <674B1687-221F-41F4-91DA-820B0C9D063B@me.com> Message-ID: Dick, this works very well. Good to learn about the wrap operator. Peter, your solution didn?t work because the htmlText contains various characters in the link tags that messes up the sorting. Thanks both! Peter On Sep 26, 2014, at 3:06 AM, Dick Kriesel wrote: > On Sep 25, 2014, at 9:24 PM, Peter Bogdanoff wrote: > >> My first foray into arrays > > > Hi, Peter. > > For this foray, you could use a one-dimensional array, containing the three lines of html text for each plain text key: > > command sortGroupsOfLines > local tText, tLineNumber, tGroup, tKey, tArray, tKeys, tSortedGroups > put the text of fld 1 into tText > split tText by cr and null > > repeat for each line tLine in the HTMLtext of fld 1 > add 1 to tLineNumber > switch tLineNumber wrap 3 > case 1 > put tText[ tLineNumber ] into tKey > put tLine & cr into tGroup > break > case 2 > put tLine & cr after tGroup > break > case 3 > put tGroup & tLine & cr into tArray[ tKey ] > end switch > end repeat > > put the keys of tArray into tKeys > sort tKeys > repeat for each line tKey in tKeys > put tArray[ tKey ] after tSortedGroups > end repeat > set the HTMLText of fld 2 to tSortedGroups > end sortGroupsOfLines > > Because this approach has only three references to objects, it's faster. > > How's that, Peter? > > -- Dick > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Tue Sep 30 16:32:40 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 13:32:40 -0700 Subject: File Walker In-Reply-To: <542B1068.2040001@fourthworld.com> References: <542B1068.2040001@fourthworld.com> Message-ID: And what do you mean by folders that cannot be accessed? Since when are they not able to be accessed? I access them all of the time. I am a typical user who accesses files & folders everyday the same way. So you are telling me they cannot be accessed and I encourage you to put a program on the market and explain that to those who access their folders every day and your program does not allow them to access it. They will read your response and quit your program and continue to access their folders as usual and you will not hear from them again because they do not want to spend their time explaining to you they are able to access their folders without your program. If it causes me problems it will cause someone else problems and I am not going to explain to them do not use those folders with my program or block it and give them a dialog stating it cannot be accessed. I liked the idea of recursive but it does not work good for me. John Balgenorth On Sep 30, 2014, at 1:19 PM, Richard Gaskin wrote: > JB wrote: > >> For now I will not use recursive to list files or folders. > > I think we've established that recursion errors are the symptom but not the problem (that is, unless you have directory structures deeper than 400,000 levels, but then I suspect you'd see inode problems long before you'd have a chance to walk through them with LC). > > The question is: How do we handle error conditions when a folder cannot be accessed? > > The original code you had bails because it isn't doing appropriate error checking, and Alex' modification bails whenever it encounters a folder it can't access. > > Unless you write some code to handle that differently, it's bailing either way. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web > ____________________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Sep 30 16:54:25 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 20:54:25 +0000 Subject: Is Binfile broken? In-Reply-To: <542B11EA.7060909@fourthworld.com> References: <77116993-9D0A-49AF-8113-F1FB753206D5@iotecdigital.com> <542B11EA.7060909@fourthworld.com> Message-ID: Okay I think I know what the problem is. You can only create one folder at a time it seems. If I begin at /Users/bobsneidar/Desktop/Install Forms/, I can create a folder /Users/bobsneidar/Desktop/Install Forms/Chatsworth/ but *NOT* /Users/bobsneidar/Desktop/Install Forms/Chatsworth/18990/ Chatsworth and 18990 have to be created each with their own command. I see there is a comment added in the dictionary somewhat to this effect. It is surprising as you would not come to this conclusion just reading the dictionary entry by itself. At any rate, I know now I have to loop through each folder level and create them. Also, the Open File function will *NOT* create it?s parent folders in the path specified. The parent folder has to already exist. I dunno, but it seems it ought to be able to. Bob S On Sep 30, 2014, at 13:26 , Richard Gaskin wrote: > It's curious that sysError is returning 0 when the error occurs. > > You might also check if the paths exist - maybe something got amiss in loading the params to that handler? > > Another option might be to use rsync via LC's shell function instead of rolling your own. It's not available for Windows, but for OS X and Linux it's super-efficient for mirroring folders. > > If nothing else, if you run rsync in Terminal its diagnostics should tell you if your paths are amiss, so if may be useful if only to debug this issue. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for the Desktop, Mobile, and the Web From lists at mangomultimedia.com Tue Sep 30 16:55:26 2014 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 30 Sep 2014 16:55:26 -0400 Subject: HTTPProxy In-Reply-To: <942A6BA2-D661-40E0-93CE-E964A8E148E6@yahoo.se> References: <942A6BA2-D661-40E0-93CE-E964A8E148E6@yahoo.se> Message-ID: On Tue, Sep 30, 2014 at 11:16 AM, Mats ?str?m wrote: > I have now tried builds in both 6.7 and 7.0 - without setting HTTPProxy. > The proxy does not require NTLM authentication so it should work but > doesn't. > > I get this message: ERROR: error socket timeout > > So still no luck (it is a time consuming task since I have to travel to my > client and test any new build on their network). > Mats, When working with the internet it is a good idea to add lots of logging to your application. See this thread where I describe a means of logging libURL network activity so you can get a better idea of what is going on: http://runtime-revolution.278305.n4.nabble.com/NOT-using-a-proxy-with-6-7-on-Windows-tt4682799.html#a4682818 Based on the log information we should get a better idea of what is going on. -- Trevor DeVore ScreenSteps www.screensteps.com - www.clarify-it.com From bobsneidar at iotecdigital.com Tue Sep 30 17:03:04 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 21:03:04 +0000 Subject: File Walker In-Reply-To: References: <542B1068.2040001@fourthworld.com> Message-ID: <44F1C2AF-F31F-489F-887F-9E368756139D@iotecdigital.com> I think you are missing the point JB. Permissions are a tricky thing. The user is accessing the folders based upon his security token created at the time he logged in. Suppose this is a file server, and midway through, the IT person changed permissions? You will get an error trying to open that folder unless the new permissions include you. Other issues can involve another application currently accessing the file in a copy or move process. What they are saying is, instead of bailing out with an error message, pass over the problem folder. Maybe make a list and write it out to a log, then alert the user afterwards they those files/folders cannot be accessed. I?ll give you a GREAT example of how this can happen. I upgraded an OS X server which employed XSAN volumes, and in the process I had to upgrade my XSAN volumes themselves. Unbeknownst to me, but beknownst to Apple, the new XSAN volumes were cASE sENSITIVE! My backup software was NOT! So when some users decided to rename their existing files by simply correcting the case, the backup software began throwing errors because the file existed, but wasn?t the same file, because it didn?t have the same name? exactly. So the backup software had to rewrite their algorithms to either ignore case, or correct for it. The point is, when dealing with files and folders, it will behoove you to write some really robust error checking before putting your software out there. Bob S On Sep 30, 2014, at 13:32 , JB wrote: > And what do you mean by folders that cannot > be accessed? Since when are they not able > to be accessed? I access them all of the time. > I am a typical user who accesses files & folders > everyday the same way. > > So you are telling me they cannot be accessed > and I encourage you to put a program on the > market and explain that to those who access > their folders every day and your program does > not allow them to access it. > > They will read your response and quit your program > and continue to access their folders as usual and you > will not hear from them again because they do not want > to spend their time explaining to you they are able to > access their folders without your program. > > If it causes me problems it will cause someone else > problems and I am not going to explain to them do > not use those folders with my program or block it > and give them a dialog stating it cannot be accessed. > > I liked the idea of recursive but it does not work good > for me. > > John Balgenorth > > > > On Sep 30, 2014, at 1:19 PM, Richard Gaskin wrote: > >> JB wrote: >> >>> For now I will not use recursive to list files or folders. >> >> I think we've established that recursion errors are the symptom but not the problem (that is, unless you have directory structures deeper than 400,000 levels, but then I suspect you'd see inode problems long before you'd have a chance to walk through them with LC). >> >> The question is: How do we handle error conditions when a folder cannot be accessed? >> >> The original code you had bails because it isn't doing appropriate error checking, and Alex' modification bails whenever it encounters a folder it can't access. >> >> Unless you write some code to handle that differently, it's bailing either way. >> >> -- >> Richard Gaskin >> Fourth World Systems >> Software Design and Development for the Desktop, Mobile, and the Web >> ____________________________________________________________________ >> Ambassador at FourthWorld.com http://www.FourthWorld.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Tue Sep 30 17:14:13 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 14:14:13 -0700 Subject: File Walker In-Reply-To: <44F1C2AF-F31F-489F-887F-9E368756139D@iotecdigital.com> References: <542B1068.2040001@fourthworld.com> <44F1C2AF-F31F-489F-887F-9E368756139D@iotecdigital.com> Message-ID: I am the only user on this Mac. If someone else uses my mac they use my settings. For me there is not much needed to understand when I list the file not using recursive it works and sometimes when I list them using recursive it does not work. It is the sometimes that bothers me and that is enough that I will not offer the option. We can get into examining my computer and the fact I am using a external USB drive and it is not really a fast drive and maybe the looping is too fast or what else it could be on my side. The fact is as a typical user I know with the finder and other programs I can access my folders. If I bought your program and you gave me that technical answer and I wasted my time trying to figure out why your program will not access my folders and examine permissions or other things when others do access them I would not be happy. On that basis for the very few like me who will have a problem I will not use it. John Balgenorth On Sep 30, 2014, at 2:03 PM, Bob Sneidar wrote: > I think you are missing the point JB. Permissions are a tricky thing. The user is accessing the folders based upon his security token created at the time he logged in. Suppose this is a file server, and midway through, the IT person changed permissions? You will get an error trying to open that folder unless the new permissions include you. > > Other issues can involve another application currently accessing the file in a copy or move process. What they are saying is, instead of bailing out with an error message, pass over the problem folder. Maybe make a list and write it out to a log, then alert the user afterwards they those files/folders cannot be accessed. > > I?ll give you a GREAT example of how this can happen. I upgraded an OS X server which employed XSAN volumes, and in the process I had to upgrade my XSAN volumes themselves. Unbeknownst to me, but beknownst to Apple, the new XSAN volumes were cASE sENSITIVE! My backup software was NOT! So when some users decided to rename their existing files by simply correcting the case, the backup software began throwing errors because the file existed, but wasn?t the same file, because it didn?t have the same name? exactly. > > So the backup software had to rewrite their algorithms to either ignore case, or correct for it. The point is, when dealing with files and folders, it will behoove you to write some really robust error checking before putting your software out there. > > Bob S > > > On Sep 30, 2014, at 13:32 , JB wrote: > >> And what do you mean by folders that cannot >> be accessed? Since when are they not able >> to be accessed? I access them all of the time. >> I am a typical user who accesses files & folders >> everyday the same way. >> >> So you are telling me they cannot be accessed >> and I encourage you to put a program on the >> market and explain that to those who access >> their folders every day and your program does >> not allow them to access it. >> >> They will read your response and quit your program >> and continue to access their folders as usual and you >> will not hear from them again because they do not want >> to spend their time explaining to you they are able to >> access their folders without your program. >> >> If it causes me problems it will cause someone else >> problems and I am not going to explain to them do >> not use those folders with my program or block it >> and give them a dialog stating it cannot be accessed. >> >> I liked the idea of recursive but it does not work good >> for me. >> >> John Balgenorth >> >> >> >> On Sep 30, 2014, at 1:19 PM, Richard Gaskin wrote: >> >>> JB wrote: >>> >>>> For now I will not use recursive to list files or folders. >>> >>> I think we've established that recursion errors are the symptom but not the problem (that is, unless you have directory structures deeper than 400,000 levels, but then I suspect you'd see inode problems long before you'd have a chance to walk through them with LC). >>> >>> The question is: How do we handle error conditions when a folder cannot be accessed? >>> >>> The original code you had bails because it isn't doing appropriate error checking, and Alex' modification bails whenever it encounters a folder it can't access. >>> >>> Unless you write some code to handle that differently, it's bailing either way. >>> >>> -- >>> Richard Gaskin >>> Fourth World Systems >>> Software Design and Development for the Desktop, Mobile, and the Web >>> ____________________________________________________________________ >>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Sep 30 17:36:57 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 21:36:57 +0000 Subject: File Walker In-Reply-To: References: <542B1068.2040001@fourthworld.com> <44F1C2AF-F31F-489F-887F-9E368756139D@iotecdigital.com> Message-ID: Lovely. Bob S On Sep 30, 2014, at 14:14 , JB wrote: > I am the only user on this Mac. If someone else > uses my mac they use my settings. > > For me there is not much needed to understand > when I list the file not using recursive it works and > sometimes when I list them using recursive it does > not work. It is the sometimes that bothers me and > that is enough that I will not offer the option. > > We can get into examining my computer and the fact > I am using a external USB drive and it is not really a > fast drive and maybe the looping is too fast or what > else it could be on my side. The fact is as a typical > user I know with the finder and other programs I can > access my folders. If I bought your program and you > gave me that technical answer and I wasted my time > trying to figure out why your program will not access > my folders and examine permissions or other things > when others do access them I would not be happy. > > On that basis for the very few like me who will have > a problem I will not use it. > > John Balgenorth > > > On Sep 30, 2014, at 2:03 PM, Bob Sneidar wrote: > >> I think you are missing the point JB. Permissions are a tricky thing. The user is accessing the folders based upon his security token created at the time he logged in. Suppose this is a file server, and midway through, the IT person changed permissions? You will get an error trying to open that folder unless the new permissions include you. >> >> Other issues can involve another application currently accessing the file in a copy or move process. What they are saying is, instead of bailing out with an error message, pass over the problem folder. Maybe make a list and write it out to a log, then alert the user afterwards they those files/folders cannot be accessed. >> >> I?ll give you a GREAT example of how this can happen. I upgraded an OS X server which employed XSAN volumes, and in the process I had to upgrade my XSAN volumes themselves. Unbeknownst to me, but beknownst to Apple, the new XSAN volumes were cASE sENSITIVE! My backup software was NOT! So when some users decided to rename their existing files by simply correcting the case, the backup software began throwing errors because the file existed, but wasn?t the same file, because it didn?t have the same name? exactly. >> >> So the backup software had to rewrite their algorithms to either ignore case, or correct for it. The point is, when dealing with files and folders, it will behoove you to write some really robust error checking before putting your software out there. >> >> Bob S >> >> >> On Sep 30, 2014, at 13:32 , JB wrote: >> >>> And what do you mean by folders that cannot >>> be accessed? Since when are they not able >>> to be accessed? I access them all of the time. >>> I am a typical user who accesses files & folders >>> everyday the same way. >>> >>> So you are telling me they cannot be accessed >>> and I encourage you to put a program on the >>> market and explain that to those who access >>> their folders every day and your program does >>> not allow them to access it. >>> >>> They will read your response and quit your program >>> and continue to access their folders as usual and you >>> will not hear from them again because they do not want >>> to spend their time explaining to you they are able to >>> access their folders without your program. >>> >>> If it causes me problems it will cause someone else >>> problems and I am not going to explain to them do >>> not use those folders with my program or block it >>> and give them a dialog stating it cannot be accessed. >>> >>> I liked the idea of recursive but it does not work good >>> for me. >>> >>> John Balgenorth >>> >>> >>> >>> On Sep 30, 2014, at 1:19 PM, Richard Gaskin wrote: >>> >>>> JB wrote: >>>> >>>>> For now I will not use recursive to list files or folders. >>>> >>>> I think we've established that recursion errors are the symptom but not the problem (that is, unless you have directory structures deeper than 400,000 levels, but then I suspect you'd see inode problems long before you'd have a chance to walk through them with LC). >>>> >>>> The question is: How do we handle error conditions when a folder cannot be accessed? >>>> >>>> The original code you had bails because it isn't doing appropriate error checking, and Alex' modification bails whenever it encounters a folder it can't access. >>>> >>>> Unless you write some code to handle that differently, it's bailing either way. >>>> >>>> -- >>>> Richard Gaskin >>>> Fourth World Systems >>>> Software Design and Development for the Desktop, Mobile, and the Web >>>> ____________________________________________________________________ >>>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Tue Sep 30 18:06:53 2014 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 30 Sep 2014 18:06:53 -0400 Subject: File Walker In-Reply-To: References: <542B1068.2040001@fourthworld.com> <44F1C2AF-F31F-489F-887F-9E368756139D@iotecdigital.com> Message-ID: <9CCC07E9-F54D-434D-ACEF-3E5278D62DFB@all-auctions.com> Hi there, I think sometimes people on this list need to: 1: Put a cool washcloth on their foreheads. 2. Go and take a nap. 3. Calm down and be able to laugh a little more. 4. (I sometimes need to do this myself, and it helps!) Cheer up guys! Rick On Sep 30, 2014, at 5:36 PM, Bob Sneidar wrote: > Lovely. > > Bob S > > > On Sep 30, 2014, at 14:14 , JB wrote: > >> I am the only user on this Mac. If someone else >> uses my mac they use my settings. >> >> For me there is not much needed to understand >> when I list the file not using recursive it works and >> sometimes when I list them using recursive it does >> not work. It is the sometimes that bothers me and >> that is enough that I will not offer the option. >> >> We can get into examining my computer and the fact >> I am using a external USB drive and it is not really a >> fast drive and maybe the looping is too fast or what >> else it could be on my side. The fact is as a typical >> user I know with the finder and other programs I can >> access my folders. If I bought your program and you >> gave me that technical answer and I wasted my time >> trying to figure out why your program will not access >> my folders and examine permissions or other things >> when others do access them I would not be happy. >> >> On that basis for the very few like me who will have >> a problem I will not use it. >> >> John Balgenorth >> >> >> On Sep 30, 2014, at 2:03 PM, Bob Sneidar wrote: >> >>> I think you are missing the point JB. Permissions are a tricky thing. The user is accessing the folders based upon his security token created at the time he logged in. Suppose this is a file server, and midway through, the IT person changed permissions? You will get an error trying to open that folder unless the new permissions include you. >>> >>> Other issues can involve another application currently accessing the file in a copy or move process. What they are saying is, instead of bailing out with an error message, pass over the problem folder. Maybe make a list and write it out to a log, then alert the user afterwards they those files/folders cannot be accessed. >>> >>> I?ll give you a GREAT example of how this can happen. I upgraded an OS X server which employed XSAN volumes, and in the process I had to upgrade my XSAN volumes themselves. Unbeknownst to me, but beknownst to Apple, the new XSAN volumes were cASE sENSITIVE! My backup software was NOT! So when some users decided to rename their existing files by simply correcting the case, the backup software began throwing errors because the file existed, but wasn?t the same file, because it didn?t have the same name? exactly. >>> >>> So the backup software had to rewrite their algorithms to either ignore case, or correct for it. The point is, when dealing with files and folders, it will behoove you to write some really robust error checking before putting your software out there. >>> >>> Bob S >>> >>> >>> On Sep 30, 2014, at 13:32 , JB wrote: >>> >>>> And what do you mean by folders that cannot >>>> be accessed? Since when are they not able >>>> to be accessed? I access them all of the time. >>>> I am a typical user who accesses files & folders >>>> everyday the same way. >>>> >>>> So you are telling me they cannot be accessed >>>> and I encourage you to put a program on the >>>> market and explain that to those who access >>>> their folders every day and your program does >>>> not allow them to access it. >>>> >>>> They will read your response and quit your program >>>> and continue to access their folders as usual and you >>>> will not hear from them again because they do not want >>>> to spend their time explaining to you they are able to >>>> access their folders without your program. >>>> >>>> If it causes me problems it will cause someone else >>>> problems and I am not going to explain to them do >>>> not use those folders with my program or block it >>>> and give them a dialog stating it cannot be accessed. >>>> >>>> I liked the idea of recursive but it does not work good >>>> for me. >>>> >>>> John Balgenorth >>>> >>>> >>>> >>>> On Sep 30, 2014, at 1:19 PM, Richard Gaskin wrote: >>>> >>>>> JB wrote: >>>>> >>>>>> For now I will not use recursive to list files or folders. >>>>> >>>>> I think we've established that recursion errors are the symptom but not the problem (that is, unless you have directory structures deeper than 400,000 levels, but then I suspect you'd see inode problems long before you'd have a chance to walk through them with LC). >>>>> >>>>> The question is: How do we handle error conditions when a folder cannot be accessed? >>>>> >>>>> The original code you had bails because it isn't doing appropriate error checking, and Alex' modification bails whenever it encounters a folder it can't access. >>>>> >>>>> Unless you write some code to handle that differently, it's bailing either way. >>>>> >>>>> -- >>>>> Richard Gaskin >>>>> Fourth World Systems >>>>> Software Design and Development for the Desktop, Mobile, and the Web >>>>> ____________________________________________________________________ >>>>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Sep 30 18:18:17 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 22:18:17 +0000 Subject: Sorting a multidimensional array In-Reply-To: References: <674B1687-221F-41F4-91DA-820B0C9D063B@me.com> Message-ID: Consider however that you can get the keys of an array and sort them as an index to the array. put the keys of myArray into theKeys sort theKeys ascending numeric repeat for each line theCurrentKey in theKeys put myArray [theCurrentKey] into theValue ? do something with theValue end repeat If that serves your purpose, it?s easier *and* faster. Bob S On Sep 30, 2014, at 13:33 , Peter Bogdanoff wrote: > Dick, this works very well. Good to learn about the wrap operator. > > Peter, your solution didn?t work because the htmlText contains various characters in the link tags that messes up the sorting. > > Thanks both! > > Peter > > On Sep 26, 2014, at 3:06 AM, Dick Kriesel wrote: > >> On Sep 25, 2014, at 9:24 PM, Peter Bogdanoff wrote: >> >>> My first foray into arrays >> >> >> Hi, Peter. >> >> For this foray, you could use a one-dimensional array, containing the three lines of html text for each plain text key: >> >> command sortGroupsOfLines >> local tText, tLineNumber, tGroup, tKey, tArray, tKeys, tSortedGroups >> put the text of fld 1 into tText >> split tText by cr and null >> >> repeat for each line tLine in the HTMLtext of fld 1 >> add 1 to tLineNumber >> switch tLineNumber wrap 3 >> case 1 >> put tText[ tLineNumber ] into tKey >> put tLine & cr into tGroup >> break >> case 2 >> put tLine & cr after tGroup >> break >> case 3 >> put tGroup & tLine & cr into tArray[ tKey ] >> end switch >> end repeat >> >> put the keys of tArray into tKeys >> sort tKeys >> repeat for each line tKey in tKeys >> put tArray[ tKey ] after tSortedGroups >> end repeat >> set the HTMLText of fld 2 to tSortedGroups >> end sortGroupsOfLines >> >> Because this approach has only three references to objects, it's faster. >> >> How's that, Peter? >> >> -- Dick >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Tue Sep 30 18:13:47 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 15:13:47 -0700 Subject: File Walker In-Reply-To: <9CCC07E9-F54D-434D-ACEF-3E5278D62DFB@all-auctions.com> References: <542B1068.2040001@fourthworld.com> <44F1C2AF-F31F-489F-887F-9E368756139D@iotecdigital.com> <9CCC07E9-F54D-434D-ACEF-3E5278D62DFB@all-auctions.com> Message-ID: <94587AD9-3590-40FB-9D0F-263E2500C0FC@pacifier.com> I am not mad. Maybe the looping is too fast for my hard drive. I have a reasonably fast mac so that could be it. But that is enough for me to not use recursive even though I like it. John Balgenorth On Sep 30, 2014, at 3:06 PM, Rick Harrison wrote: > Hi there, > > I think sometimes people on this list need to: > > 1: Put a cool washcloth on their foreheads. > 2. Go and take a nap. > 3. Calm down and be able to laugh a little more. > 4. (I sometimes need to do this myself, and it helps!) > > Cheer up guys! > > Rick > > On Sep 30, 2014, at 5:36 PM, Bob Sneidar wrote: > >> Lovely. >> >> Bob S >> >> >> On Sep 30, 2014, at 14:14 , JB wrote: >> >>> I am the only user on this Mac. If someone else >>> uses my mac they use my settings. >>> >>> For me there is not much needed to understand >>> when I list the file not using recursive it works and >>> sometimes when I list them using recursive it does >>> not work. It is the sometimes that bothers me and >>> that is enough that I will not offer the option. >>> >>> We can get into examining my computer and the fact >>> I am using a external USB drive and it is not really a >>> fast drive and maybe the looping is too fast or what >>> else it could be on my side. The fact is as a typical >>> user I know with the finder and other programs I can >>> access my folders. If I bought your program and you >>> gave me that technical answer and I wasted my time >>> trying to figure out why your program will not access >>> my folders and examine permissions or other things >>> when others do access them I would not be happy. >>> >>> On that basis for the very few like me who will have >>> a problem I will not use it. >>> >>> John Balgenorth >>> >>> >>> On Sep 30, 2014, at 2:03 PM, Bob Sneidar wrote: >>> >>>> I think you are missing the point JB. Permissions are a tricky thing. The user is accessing the folders based upon his security token created at the time he logged in. Suppose this is a file server, and midway through, the IT person changed permissions? You will get an error trying to open that folder unless the new permissions include you. >>>> >>>> Other issues can involve another application currently accessing the file in a copy or move process. What they are saying is, instead of bailing out with an error message, pass over the problem folder. Maybe make a list and write it out to a log, then alert the user afterwards they those files/folders cannot be accessed. >>>> >>>> I?ll give you a GREAT example of how this can happen. I upgraded an OS X server which employed XSAN volumes, and in the process I had to upgrade my XSAN volumes themselves. Unbeknownst to me, but beknownst to Apple, the new XSAN volumes were cASE sENSITIVE! My backup software was NOT! So when some users decided to rename their existing files by simply correcting the case, the backup software began throwing errors because the file existed, but wasn?t the same file, because it didn?t have the same name? exactly. >>>> >>>> So the backup software had to rewrite their algorithms to either ignore case, or correct for it. The point is, when dealing with files and folders, it will behoove you to write some really robust error checking before putting your software out there. >>>> >>>> Bob S >>>> >>>> >>>> On Sep 30, 2014, at 13:32 , JB wrote: >>>> >>>>> And what do you mean by folders that cannot >>>>> be accessed? Since when are they not able >>>>> to be accessed? I access them all of the time. >>>>> I am a typical user who accesses files & folders >>>>> everyday the same way. >>>>> >>>>> So you are telling me they cannot be accessed >>>>> and I encourage you to put a program on the >>>>> market and explain that to those who access >>>>> their folders every day and your program does >>>>> not allow them to access it. >>>>> >>>>> They will read your response and quit your program >>>>> and continue to access their folders as usual and you >>>>> will not hear from them again because they do not want >>>>> to spend their time explaining to you they are able to >>>>> access their folders without your program. >>>>> >>>>> If it causes me problems it will cause someone else >>>>> problems and I am not going to explain to them do >>>>> not use those folders with my program or block it >>>>> and give them a dialog stating it cannot be accessed. >>>>> >>>>> I liked the idea of recursive but it does not work good >>>>> for me. >>>>> >>>>> John Balgenorth >>>>> >>>>> >>>>> >>>>> On Sep 30, 2014, at 1:19 PM, Richard Gaskin wrote: >>>>> >>>>>> JB wrote: >>>>>> >>>>>>> For now I will not use recursive to list files or folders. >>>>>> >>>>>> I think we've established that recursion errors are the symptom but not the problem (that is, unless you have directory structures deeper than 400,000 levels, but then I suspect you'd see inode problems long before you'd have a chance to walk through them with LC). >>>>>> >>>>>> The question is: How do we handle error conditions when a folder cannot be accessed? >>>>>> >>>>>> The original code you had bails because it isn't doing appropriate error checking, and Alex' modification bails whenever it encounters a folder it can't access. >>>>>> >>>>>> Unless you write some code to handle that differently, it's bailing either way. >>>>>> >>>>>> -- >>>>>> Richard Gaskin >>>>>> Fourth World Systems >>>>>> Software Design and Development for the Desktop, Mobile, and the Web >>>>>> ____________________________________________________________________ >>>>>> Ambassador at FourthWorld.com http://www.FourthWorld.com >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Sep 30 18:25:27 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 22:25:27 +0000 Subject: Merging PDF files through LC In-Reply-To: References: Message-ID: <56C7E0ED-ED78-4E01-B15A-4F90667E2B09@iotecdigital.com> I wonder what would happen if you opened the two PDF?s as binary files, then wrote them back out to a single file? Bob S On Sep 30, 2014, at 06:21 , Magicgate Software - Skip Kimpel wrote: > Good morning, > > Anybody know of a way (on Windows) to merge two PDF documents together via > scripting? > > Any insight would be helpful if you have done this before. > > Thank you! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Sep 30 18:27:29 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 22:27:29 +0000 Subject: "ShellShock" - what are you doing? In-Reply-To: <54247743.4080207@economy-x-talk.com> References: <54245D27.1070704@fourthworld.com> <54247743.4080207@economy-x-talk.com> Message-ID: <0598DC1D-41A7-4EDD-8255-9DC3B2B8EEAA@iotecdigital.com> Okay so if you turn off SSH in the Sharing panel, no one is getting at your Mac anyway. Just turn it off. Routers and Cameras on the other hand you may not be able to turn it off, those are the devices you *really* need to be concerned about. Bob S On Sep 25, 2014, at 13:12 , Mark Schonewille wrote: > Hi everyone, > > I did a few tests on devices that I have available. > > Mac OS X 10.4.11 is vulnerable. > Mac OS X 10.6.8 is not vulnerable. > Mac OS X 10.7.11 is vulerable. > After installing the latest security update, 10.7.11 is still vulnerable. > > As you know, Ubuntu, most other Linux flavours, and Android are all vulnerable. For now, I don't see a reason to panic. I'll just disconnect the machine with 10.4.11 from the internet and won't use 10.7.11 until Apple fixes the problem. > > I'm more worried about an old Android device of mine that I can't update as well as all those routers, modems etc. for which no new software is available. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Installer Maker for LiveCode: > http://qery.us/468 > > Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi > > LiveCode on Facebook: > https://www.facebook.com/groups/runrev/ > > On 9/25/2014 20:21, Richard Gaskin wrote: >> I've been spending the morning reading up on the recently-discovered >> "Shell Shock" vulnerability. >> >> Most of my Ubuntu machines were already patched, but it seems Apple >> hasn't issued a patch as of this writing. >> >> Anyone here heard any definitive word on when Apple will provide a >> patch, or when the second round of patches for other systems will become >> available? >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Sep 30 18:29:23 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 22:29:23 +0000 Subject: "ShellShock" - what are you doing? In-Reply-To: <1B89B48E-A55A-4C34-AFF9-EEFD414BB93C@comcast.net> References: <54245D27.1070704@fourthworld.com> <61129AD1-050B-4EF3-AD0E-05F56836F032@canelasoftware.com> <3EDE39BE-A7D3-479B-A0D0-B26853684B8A@all-auctions.com> <1B89B48E-A55A-4C34-AFF9-EEFD414BB93C@comcast.net> Message-ID: If you have enabled SSH in the sharing panel of preferences. Bob S On Sep 26, 2014, at 14:33 , Bruce Pokras wrote: > Can anyone explain exactly what this means? What are those "special, advanced Unix services? > > "But Apple said in an emailed statement that most of its users aren't affected, as OS X's "systems are safe by default and not exposed to remote exploits of Bash" -- unless users have actively turned on special, advanced Unix services." > > Bruce Pokras > Blazing Dawn Software > www.blazingdawn.com > > > On Sep 25, 2014, at 5:41 PM, Mike Kerner wrote: > >> Here's the full explanation from RedHat, >> https://access.redhat.com/articles/1200223 >> >> which is pretty extensive, including a section on mitigation steps >> >> >> On Thu, Sep 25, 2014 at 5:16 PM, Mike Kerner >> wrote: >> >>> Hmm. RedHat says their patch is incomplete. I wonder what script that I >>> haven't seen, yet, works. >>> >>> On Thu, Sep 25, 2014 at 5:01 PM, Mike Kerner >>> wrote: >>> >>>> Well, RedHat was patched early this morning, and appears to be ok. >>>> >>>> On Thu, Sep 25, 2014 at 4:33 PM, Rick Harrison >>>> wrote: >>>> >>>>> Pulling the computer from the internet until I hear Apple has fixed it! >>>>> I don?t have time to mess with different shells hoping they work. >>>>> I?ll check back in a day or so, and do something analog until then. >>>>> Thanks for the head?s up! >>>>> >>>>> Rick >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> >>>> -- >>>> On the first day, God created the heavens and the Earth >>>> On the second day, God created the oceans. >>>> On the third day, God put the animals on hold for a few hours, >>>> and did a little diving. >>>> And God said, "This is good." >>>> >>> >>> >>> >>> -- >>> On the first day, God created the heavens and the Earth >>> On the second day, God created the oceans. >>> On the third day, God put the animals on hold for a few hours, >>> and did a little diving. >>> And God said, "This is good." >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Sep 30 18:30:55 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 22:30:55 +0000 Subject: "ShellShock" - what are you doing? In-Reply-To: <54277AAD.9050003@hyperactivesw.com> References: <542706A8.8010606@gmail.com> <54277AAD.9050003@hyperactivesw.com> Message-ID: <4D3F297A-4DCF-41BC-92C2-030C4E252DE2@iotecdigital.com> A jailbroken iPhone has shell capability. Bob S On Sep 27, 2014, at 20:04 , J. Landman Gay > wrote: Yeah. I think a lot of servers will be in trouble, but fewer consumers than the media makes it out to be. I have discovered: Android doesn't use a shell at all. iOS probably doesn't use a shell (but the article wasn't certain.) OS X isn't affected unless you're running a web server. Windows isn't affected. Most routers don't use bash because it is too large to fit into their relatively small amount of flash memory. (D-Link has a statement saying none of their routers use bash.) So it seems to me that Apache servers and 'nix users need updating but other consumers are for the most part okay, including mobile users. From sundown at pacifier.com Tue Sep 30 18:25:24 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 15:25:24 -0700 Subject: Merging PDF files through LC In-Reply-To: <56C7E0ED-ED78-4E01-B15A-4F90667E2B09@iotecdigital.com> References: <56C7E0ED-ED78-4E01-B15A-4F90667E2B09@iotecdigital.com> Message-ID: That is a good question. How would the file know anything other than it is still a file only larger. John Balgenorth On Sep 30, 2014, at 3:25 PM, Bob Sneidar wrote: > I wonder what would happen if you opened the two PDF?s as binary files, then wrote them back out to a single file? > > Bob S > > > On Sep 30, 2014, at 06:21 , Magicgate Software - Skip Kimpel wrote: > >> Good morning, >> >> Anybody know of a way (on Windows) to merge two PDF documents together via >> scripting? >> >> Any insight would be helpful if you have done this before. >> >> Thank you! >> >> SKIP >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Tue Sep 30 18:28:29 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 15:28:29 -0700 Subject: Merging PDF files through LC In-Reply-To: References: <56C7E0ED-ED78-4E01-B15A-4F90667E2B09@iotecdigital.com> Message-ID: It might know by some info at the beginning of the file but you could probably delete it. John Balgenorth On Sep 30, 2014, at 3:25 PM, JB wrote: > That is a good question. How would the file know > anything other than it is still a file only larger. > > John Balgenorth > > > On Sep 30, 2014, at 3:25 PM, Bob Sneidar wrote: > >> I wonder what would happen if you opened the two PDF?s as binary files, then wrote them back out to a single file? >> >> Bob S >> >> >> On Sep 30, 2014, at 06:21 , Magicgate Software - Skip Kimpel wrote: >> >>> Good morning, >>> >>> Anybody know of a way (on Windows) to merge two PDF documents together via >>> scripting? >>> >>> Any insight would be helpful if you have done this before. >>> >>> Thank you! >>> >>> SKIP >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Tue Sep 30 18:45:34 2014 From: alex at tweedly.net (Alex Tweedly) Date: Tue, 30 Sep 2014 23:45:34 +0100 Subject: File Walker In-Reply-To: References: <542B1068.2040001@fourthworld.com> Message-ID: <542B328E.600@tweedly.net> On 30/09/2014 21:32, JB wrote: > And what do you mean by folders that cannot > be accessed? Since when are they not able > to be accessed? I access them all of the time. > I am a typical user who accesses files & folders > everyday the same way. Yes, most folders and files can be accessed. But there are *some* folders that cannot be accessed, and because File Lister tries to access every folder within the starting folder, it will find those few that cannot be accessed - even though they may never be encountered any other time. There are a variety of reasons for folders being inaccessible. 1. Permissions. Try this (in Terminal or other shell). mkdir sub cd sub pwd --- it properly shows you as being in ....../sub cd .. chmod 000 sub (i.e. make the folder inaccessible) cd sub -- gives an error message of permission denied Similarly, if you no wtry to access in Finder, it will just not "go" into that directory. And if you run the original "File Lister 2", it will wrongly report a recursion limit reached; you need a safety check - whether the one I gave or another equivalent - to be added. 2. "Not really a folder" There are various pseudo-folders within application bundles that aren't really folders. You would be unlikely to encounter these in Finder - it doesn't even show the top level of folders with "Applications". Even in Terminal, they are hidden - but they are there, and are seen by File Lister - and in some cases they are inaccessible, so caused the apparent "recursion" error report. 3. This is a Livecode issue !!! Non-ASCII characters in filenames I have some albums in my iTunes library by foreign artists (Icelandic), who have characters from the extended character set in their names. In LC, those don't come out right - so they also fail with the (incorrect) recursion report. My earlier suggested addition to the code will avoid this becoming a problem - though you do still have an issue. I suspect that with LC 7.0 this will cease to be a problem - though it might still need a "URLEncode" or two to fix it completely. 4. Weird folders (:-) Inside my iBooks library there are a number of weird folders - they show up looking like garbage names in LC, and also in Finder and in Terminal. They have permissions set to allow access - but in fact they don't - to Finder and terminal as well as to LC. > > So you are telling me they cannot be accessed > and I encourage you to put a program on the > market and explain that to those who access > their folders every day and your program does > not allow them to access it. Remember - most if not all of these 'folders' aren't really folders, so don't contain users' files, don't contain user accessible data, and won't be seen by users. > They will read your response and quit your program > and continue to access their folders as usual and you > will not hear from them again because they do not want > to spend their time explaining to you they are able to > access their folders without your program. No, they won't - because (with the modified code) they will be able to see all (*) the files and folders they can see in Finder. (*) with the exception of the Unicode issues mentioned in 3 above. > > If it causes me problems it will cause someone else > problems and I am not going to explain to them do > not use those folders with my program or block it > and give them a dialog stating it cannot be accessed. > > I liked the idea of recursive but it does not work good > for me. It's not "recursive" that's the problem - my non-recursive version had exactly the same issue (in its first version). Attached below is an updated version with the 'safety check' that should have been there in the first place - it now builds a list of "inaccessible' folders in global variable 'gFailedFolders' as well as the list of files and folders. (btw - I also changed one "after" to "before" - a marginal extra cost in LC processing, but gains a large benefit in file access locality). on dirWalk whatFolder local temp, tCount, tDirList, tDirsToDo set the itemDel to "/" set the directory to whatFolder put whatfolder &CR into tDirsToDo repeat forever put line 1 of tDirsToDo into whatFolder set the directory to whatFolder delete line 1 of tDirsToDo if the directory <> whatfolder then put whatfolder &CR after gFailedFolders if the number of lines in tDirsToDo = 0 then exit repeat next repeat end if put the files into temp add the number of lines of temp to tCount sort temp repeat for each line x in temp put whatFolder & "/" & x & cr after gHierList end repeat put the folders into tDirList sort tDirList delete line 1 of tDirList repeat for each line x in tDirList put whatFolder & "/" & x & CR before tDirsToDo end repeat if the number of lines in tDirsToDo = 0 then exit repeat end repeat end dirWalk - Alex. From bobsneidar at iotecdigital.com Tue Sep 30 18:57:08 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 22:57:08 +0000 Subject: Merging PDF files through LC In-Reply-To: References: <56C7E0ED-ED78-4E01-B15A-4F90667E2B09@iotecdigital.com> Message-ID: Adobe has a document describing the structure. Looks like the format is a little more complicated than would permit this. I tried it, the resulting document is corrupted (of course). But if you knew how to extract the pointers to all the objects, and the body information containing any fonts and other things, it is *possible* to add to an existing PDF document. It would take a lot of testing and poking around though. I would bet on a Mac, Applescript would have a way of combining two documents by telling Acrobat to do so. Bob S On Sep 30, 2014, at 15:28 , JB wrote: > It might know by some info at the beginning of the > file but you could probably delete it. > > John Balgenorth > > > > On Sep 30, 2014, at 3:25 PM, JB wrote: > >> That is a good question. How would the file know >> anything other than it is still a file only larger. >> >> John Balgenorth >> >> >> On Sep 30, 2014, at 3:25 PM, Bob Sneidar wrote: >> >>> I wonder what would happen if you opened the two PDF?s as binary files, then wrote them back out to a single file? >>> >>> Bob S >>> >>> >>> On Sep 30, 2014, at 06:21 , Magicgate Software - Skip Kimpel wrote: >>> >>>> Good morning, >>>> >>>> Anybody know of a way (on Windows) to merge two PDF documents together via >>>> scripting? >>>> >>>> Any insight would be helpful if you have done this before. >>>> >>>> Thank you! >>>> >>>> SKIP >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Sep 30 19:12:36 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 23:12:36 +0000 Subject: Replacing Characters In-Reply-To: References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> <31FCD145-0A5E-4E53-B784-0F9694E83BFF@pacifier.com> Message-ID: <8EF04744-C4B0-4CA9-98C9-738B2B235B59@iotecdigital.com> Use repeat with i - 1 to the number of characters of myString step 3 Bob S On Sep 27, 2014, at 24:23 , JB wrote: > Another thing to consider is the characters are > not in any specific crder. It could be cfacded or > anything else. > > If is use a repeat for each char and the variable > as a counter that resets every three times then > I only need to make one pass through to make > the changes. But there might be a faster way. > > John Balgenorth > > > On Sep 26, 2014, at 11:31 PM, JB wrote: > >> Thanks, Kay! >> >> The problem is there are no delimiters. It >> is a string of only chars A to F and there >> are no spaces etc. >> >> John Balgenorth >> >> >> On Sep 26, 2014, at 11:19 PM, Kay C Lan wrote: >> >>> Assuming tBigList contains your data and it is a tab separated list. >>> >>> set the itemDelimiter to tab >>> repeat for each item tSearchThis in tBigList >>> if (char 3 of tSearchThis = "D") then >>> put "+" into char 3 of tSearchThis >>> end if >>> put tSearchThis & tab after tNewList >>> end repeat >>> --remove the trailing tab >>> put word 1 to -1 of tNewList into tNewList >>> set the itemDelimiter to comma >>> >>> tNewList should now be your corrected list >>> >>> HTH >>> >>> On Sat, Sep 27, 2014 at 12:26 PM, JB wrote: >>>> I want to replace every third character in >>>> a text string if it is a certain character. So >>>> lets say I have a list of characters there >>>> range from A thru F and the list is possibly >>>> 10,000 characters long. >>>> >>>> I want to check every third character in the >>>> list and if it is a D then I want to change it >>>> to a +. >>>> >>>> I can probably do it with a repeat and use a >>>> variable for a counter that resets every three >>>> times and then check the character when the >>>> counter gets to three but I was wondering if it >>>> could be done faster somehow. >>>> >>>> John Balgenorth >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Tue Sep 30 19:13:17 2014 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe | M-R-D) Date: Wed, 1 Oct 2014 01:13:17 +0200 Subject: Merging PDF files through LC In-Reply-To: References: <56C7E0ED-ED78-4E01-B15A-4F90667E2B09@iotecdigital.com> Message-ID: http://applehelpwriter.com/2013/03/23/how-to-merge-pdf-files-in-os-x/ shows how to use applescript to merge PDFs. Regards, Matthias Am 01.10.2014 um 00:57 schrieb Bob Sneidar : > Adobe has a document describing the structure. Looks like the format is a little more complicated than would permit this. I tried it, the resulting document is corrupted (of course). But if you knew how to extract the pointers to all the objects, and the body information containing any fonts and other things, it is *possible* to add to an existing PDF document. It would take a lot of testing and poking around though. > > I would bet on a Mac, Applescript would have a way of combining two documents by telling Acrobat to do so. > > Bob S > > > On Sep 30, 2014, at 15:28 , JB wrote: > >> It might know by some info at the beginning of the >> file but you could probably delete it. >> >> John Balgenorth >> >> >> >> On Sep 30, 2014, at 3:25 PM, JB wrote: >> >>> That is a good question. How would the file know >>> anything other than it is still a file only larger. >>> >>> John Balgenorth >>> >>> >>> On Sep 30, 2014, at 3:25 PM, Bob Sneidar wrote: >>> >>>> I wonder what would happen if you opened the two PDF?s as binary files, then wrote them back out to a single file? >>>> >>>> Bob S >>>> >>>> >>>> On Sep 30, 2014, at 06:21 , Magicgate Software - Skip Kimpel wrote: >>>> >>>>> Good morning, >>>>> >>>>> Anybody know of a way (on Windows) to merge two PDF documents together via >>>>> scripting? >>>>> >>>>> Any insight would be helpful if you have done this before. >>>>> >>>>> Thank you! >>>>> >>>>> SKIP >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Sep 30 19:14:05 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 23:14:05 +0000 Subject: OT: Need a quick look into your OS X 10.9 In-Reply-To: <003301cfdbc5$56723800$0356a800$@de> References: <003301cfdbc5$56723800$0356a800$@de> Message-ID: <3C7E9A16-FDCC-40F5-892D-DFA2F2D7D70F@iotecdigital.com> Just repair your permissions. Bob S On Sep 29, 2014, at 02:11 , Tiemo Hollmann TB wrote: > Hello, > > I accidentially changed the rights on my /users/ dir on OS X 10.9.5 with > chmod and I am not sure what the original setting was. > > For testing my app with different user rights I need to know the original > rights of the dirs: /Users/ and /Users/Shared/ for the different user > groups. > > If you are running 10.9, would you be so kind to have a look into your dir > informations and tell me what you see. > > Thank you > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Sep 30 19:16:05 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 23:16:05 +0000 Subject: List Folders and Files In-Reply-To: References: Message-ID: <9268AD21-023A-476D-ABAF-3BFC208040DC@iotecdigital.com> A lust list of all the folders on your hard drive?? What kind of files are we talking about here??? Bob S On Sep 28, 2014, at 07:04 , JB > wrote: The main thing I am interested in doing is lust list all of the folders on a hard drive and not the files. John Balgenorth From sundown at pacifier.com Tue Sep 30 19:14:34 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 16:14:34 -0700 Subject: File Walker In-Reply-To: <542B328E.600@tweedly.net> References: <542B1068.2040001@fourthworld.com> <542B328E.600@tweedly.net> Message-ID: <4C0B7410-770F-43F3-B6EE-0BE5DEDDCCD6@pacifier.com> I could not get it to work. Here is what i did. At the top I put the following line, put field "Folder" into whatFolder at the bottom I tried both of these lines and nothing was put in the field put tDirsToDo into field "list" put tDirList into field ?list? then I tried this line put "tDirList" into field ?list? and it put the word tDirList in the vld as would be expected. This was accessing a folder with no sub folders and only a few hundred files. All of the other file Lister even the recursive had no problems with this folder. What am I supposed to be putting in the field? John Balgenorth On Sep 30, 2014, at 3:45 PM, Alex Tweedly wrote: > On 30/09/2014 21:32, JB wrote: >> And what do you mean by folders that cannot >> be accessed? Since when are they not able >> to be accessed? I access them all of the time. >> I am a typical user who accesses files & folders >> everyday the same way. > > Yes, most folders and files can be accessed. But there are *some* folders that cannot be accessed, and because File Lister tries to access every folder within the starting folder, it will find those few that cannot be accessed - even though they may never be encountered any other time. > > There are a variety of reasons for folders being inaccessible. > > 1. Permissions. > Try this (in Terminal or other shell). > mkdir sub > cd sub > pwd > --- it properly shows you as being in ....../sub > cd .. > chmod 000 sub (i.e. make the folder inaccessible) > cd sub > -- gives an error message of permission denied > > Similarly, if you no wtry to access in Finder, it will just not "go" into that directory. > And if you run the original "File Lister 2", it will wrongly report a recursion limit reached; you need a safety check - whether the one I gave or another equivalent - to be added. > > > > 2. "Not really a folder" > > There are various pseudo-folders within application bundles that aren't really folders. You would be unlikely to encounter these in Finder - it doesn't even show the top level of folders with "Applications". Even in Terminal, they are hidden - but they are there, and are seen by File Lister - and in some cases they are inaccessible, so caused the apparent "recursion" error report. > > 3. This is a Livecode issue !!! Non-ASCII characters in filenames > I have some albums in my iTunes library by foreign artists (Icelandic), who have characters from the extended character set in their names. In LC, those don't come out right - so they also fail with the (incorrect) recursion report. My earlier suggested addition to the code will avoid this becoming a problem - though you do still have an issue. I suspect that with LC 7.0 this will cease to be a problem - though it might still need a "URLEncode" or two to fix it completely. > > 4. Weird folders (:-) > > Inside my iBooks library there are a number of weird folders - they show up looking like garbage names in LC, and also in Finder and in Terminal. They have permissions set to allow access - but in fact they don't - to Finder and terminal as well as to LC. >> >> So you are telling me they cannot be accessed >> and I encourage you to put a program on the >> market and explain that to those who access >> their folders every day and your program does >> not allow them to access it. > Remember - most if not all of these 'folders' aren't really folders, so don't contain users' files, don't contain user accessible data, and won't be seen by users. >> They will read your response and quit your program >> and continue to access their folders as usual and you >> will not hear from them again because they do not want >> to spend their time explaining to you they are able to >> access their folders without your program. > No, they won't - because (with the modified code) they will be able to see all (*) the files and folders they can see in Finder. > (*) with the exception of the Unicode issues mentioned in 3 above. >> >> If it causes me problems it will cause someone else >> problems and I am not going to explain to them do >> not use those folders with my program or block it >> and give them a dialog stating it cannot be accessed. >> >> I liked the idea of recursive but it does not work good >> for me. > It's not "recursive" that's the problem - my non-recursive version had exactly the same issue (in its first version). Attached below is an updated version with the 'safety check' that should have been there in the first place - it now builds a list of "inaccessible' folders in global variable 'gFailedFolders' as well as the list of files and folders. > (btw - I also changed one "after" to "before" - a marginal extra cost in LC processing, but gains a large benefit in file access locality). > > > > on dirWalk whatFolder > local temp, tCount, tDirList, tDirsToDo > set the itemDel to "/" > set the directory to whatFolder > put whatfolder &CR into tDirsToDo > repeat forever > put line 1 of tDirsToDo into whatFolder > set the directory to whatFolder > delete line 1 of tDirsToDo > if the directory <> whatfolder then > put whatfolder &CR after gFailedFolders > if the number of lines in tDirsToDo = 0 then exit repeat > next repeat > end if > put the files into temp > add the number of lines of temp to tCount > sort temp > repeat for each line x in temp > put whatFolder & "/" & x & cr after gHierList > end repeat > put the folders into tDirList > sort tDirList > delete line 1 of tDirList > repeat for each line x in tDirList > put whatFolder & "/" & x & CR before tDirsToDo > end repeat > if the number of lines in tDirsToDo = 0 then exit repeat > end repeat > end dirWalk > > - Alex. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Sep 30 19:20:44 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 23:20:44 +0000 Subject: Merging PDF files through LC In-Reply-To: References: <56C7E0ED-ED78-4E01-B15A-4F90667E2B09@iotecdigital.com> Message-ID: <4BA41AEF-92C3-421A-A297-B3D5B1932948@iotecdigital.com> And *THAT* is why I LOVE THIS LIST!!! Bob S On Sep 30, 2014, at 16:13 , Matthias Rebbe | M-R-D > wrote: http://applehelpwriter.com/2013/03/23/how-to-merge-pdf-files-in-os-x/ shows how to use applescript to merge PDFs. Regards, Matthias From bobsneidar at iotecdigital.com Tue Sep 30 19:23:58 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 23:23:58 +0000 Subject: 6.6.2 or 6.6.3??? In-Reply-To: <5425B298.2050705@livecode.com> References: <6BF261A0-D103-4A0C-BED9-5B4B03692655@iotecdigital.com> <7C0579CFC9A640A89CF350EC22A59E6F@userd204a4d61c> <5425B298.2050705@livecode.com> Message-ID: No big deal, I just wanted to make sure that the posted update was not actually 6.6.2. Bob S On Sep 26, 2014, at 11:38 , Fraser Gordon wrote: > On 26/09/2014 19:24, larry at significantplanet.org wrote: >> Hi Bob, >> I had the exact same experience that you did. >> I just assumed it was a display bug with LC and ignored it. When I got >> the alert about 6.6.3, I just chose "Skip this version." >> Maybe you or someone will report it as a bug. >> Larry > That's exactly what it is - a minor bug caused by an oversight on my > part (I forgot to update the version information file on the Windows > build machine). Given the relative urgency of getting 6.6.3 out, it > didn't seem worthwhile delaying the release (it would have been all > platforms because the standalone engine version is wrong too). > > If you submit a bug report, it would immediately get set to > AWAITING_BUILD; after all, it will be fixed in the next build ;) > > Regards, > Fraser > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Tue Sep 30 19:20:20 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 16:20:20 -0700 Subject: Merging PDF files through LC In-Reply-To: References: <56C7E0ED-ED78-4E01-B15A-4F90667E2B09@iotecdigital.com> Message-ID: <3B5FD94E-4885-4B88-9615-3EF609C6731E@pacifier.com> Well it was a good try anyway. I am going to search for some pdf code and see if I can find any that can be used in Xcode that will show what is going on. John Balgenorth On Sep 30, 2014, at 3:57 PM, Bob Sneidar wrote: > Adobe has a document describing the structure. Looks like the format is a little more complicated than would permit this. I tried it, the resulting document is corrupted (of course). But if you knew how to extract the pointers to all the objects, and the body information containing any fonts and other things, it is *possible* to add to an existing PDF document. It would take a lot of testing and poking around though. > > I would bet on a Mac, Applescript would have a way of combining two documents by telling Acrobat to do so. > > Bob S > > > On Sep 30, 2014, at 15:28 , JB wrote: > >> It might know by some info at the beginning of the >> file but you could probably delete it. >> >> John Balgenorth >> >> >> >> On Sep 30, 2014, at 3:25 PM, JB wrote: >> >>> That is a good question. How would the file know >>> anything other than it is still a file only larger. >>> >>> John Balgenorth >>> >>> >>> On Sep 30, 2014, at 3:25 PM, Bob Sneidar wrote: >>> >>>> I wonder what would happen if you opened the two PDF?s as binary files, then wrote them back out to a single file? >>>> >>>> Bob S >>>> >>>> >>>> On Sep 30, 2014, at 06:21 , Magicgate Software - Skip Kimpel wrote: >>>> >>>>> Good morning, >>>>> >>>>> Anybody know of a way (on Windows) to merge two PDF documents together via >>>>> scripting? >>>>> >>>>> Any insight would be helpful if you have done this before. >>>>> >>>>> Thank you! >>>>> >>>>> SKIP >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Tue Sep 30 19:27:57 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 23:27:57 +0000 Subject: sorting question In-Reply-To: <68C95E69B48149868A0CBBFEA459244A@userd204a4d61c> References: <68C95E69B48149868A0CBBFEA459244A@userd204a4d61c> Message-ID: You could try sort items of field "myField? by char 2 to 3 of each text ascending but you would have to add a space before the first item. Bob S On Sep 24, 2014, at 01:19 , larry at significantplanet.org wrote: sort items of field "myField" text ascending From bobsneidar at iotecdigital.com Tue Sep 30 19:29:19 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 23:29:19 +0000 Subject: sorting question In-Reply-To: References: <68C95E69B48149868A0CBBFEA459244A@userd204a4d61c> <575E381488AD4490862445FA259BF8D3@userd204a4d61c> <1411548007970-4683687.post@n4.nabble.com> Message-ID: <32BF6F86-D29D-4072-A042-5658ECEBDD83@iotecdigital.com> Even better. DOH! Bob S On Sep 26, 2014, at 01:30 , Kay C Lan > wrote: sort items of tStore by word 1 of each From bobsneidar at iotecdigital.com Tue Sep 30 19:30:29 2014 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 30 Sep 2014 23:30:29 +0000 Subject: Merging PDF files through LC In-Reply-To: <3B5FD94E-4885-4B88-9615-3EF609C6731E@pacifier.com> References: <56C7E0ED-ED78-4E01-B15A-4F90667E2B09@iotecdigital.com> <3B5FD94E-4885-4B88-9615-3EF609C6731E@pacifier.com> Message-ID: <2EF5AE7C-6F3F-4903-86E6-41695F7EBF95@iotecdigital.com> Check with some Acrobat Developer forums. I?ll bet dollars to doughnuts there is a way to do this with their Java API. Bob S On Sep 30, 2014, at 16:20 , JB wrote: > Well it was a good try anyway. I am going to search > for some pdf code and see if I can find any that can > be used in Xcode that will show what is going on. > > John Balgenorth > > > On Sep 30, 2014, at 3:57 PM, Bob Sneidar wrote: > >> Adobe has a document describing the structure. Looks like the format is a little more complicated than would permit this. I tried it, the resulting document is corrupted (of course). But if you knew how to extract the pointers to all the objects, and the body information containing any fonts and other things, it is *possible* to add to an existing PDF document. It would take a lot of testing and poking around though. >> >> I would bet on a Mac, Applescript would have a way of combining two documents by telling Acrobat to do so. >> >> Bob S >> >> >> On Sep 30, 2014, at 15:28 , JB wrote: >> >>> It might know by some info at the beginning of the >>> file but you could probably delete it. >>> >>> John Balgenorth >>> >>> >>> >>> On Sep 30, 2014, at 3:25 PM, JB wrote: >>> >>>> That is a good question. How would the file know >>>> anything other than it is still a file only larger. >>>> >>>> John Balgenorth >>>> >>>> >>>> On Sep 30, 2014, at 3:25 PM, Bob Sneidar wrote: >>>> >>>>> I wonder what would happen if you opened the two PDF?s as binary files, then wrote them back out to a single file? >>>>> >>>>> Bob S >>>>> >>>>> >>>>> On Sep 30, 2014, at 06:21 , Magicgate Software - Skip Kimpel wrote: >>>>> >>>>>> Good morning, >>>>>> >>>>>> Anybody know of a way (on Windows) to merge two PDF documents together via >>>>>> scripting? >>>>>> >>>>>> Any insight would be helpful if you have done this before. >>>>>> >>>>>> Thank you! >>>>>> >>>>>> SKIP >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Tue Sep 30 19:31:16 2014 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 30 Sep 2014 16:31:16 -0700 Subject: File Walker In-Reply-To: References: Message-ID: <542B3D44.4070805@fourthworld.com> JB wrote: > If I bought your program and you gave me that technical > answer and I wasted my time trying to figure out why your > program will not access my folders and examine permissions > or other things when others do access them I would not be > happy. > > On that basis for the very few like me who will have > a problem I will not use it. OS X is such a program. It's a Unix thang. Poke around in the Finder enough and you'll find all sorts of things you can't access. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From alex at tweedly.net Tue Sep 30 19:48:14 2014 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 01 Oct 2014 00:48:14 +0100 Subject: File Walker In-Reply-To: <4C0B7410-770F-43F3-B6EE-0BE5DEDDCCD6@pacifier.com> References: <542B1068.2040001@fourthworld.com> <542B328E.600@tweedly.net> <4C0B7410-770F-43F3-B6EE-0BE5DEDDCCD6@pacifier.com> Message-ID: <542B413E.7080406@tweedly.net> You would use it from a script something like this .... global gHierList, gFailedFolders, gBaseLevels, gMainFolder on mouseUp local tCount, tOrigDir, time1, time2 put "" into gHierList put "" into gFailedFolders put "" into fld "fldOut" answer folder "Pick a folder you want to walk:" put it into gMainFolder if gMainFolder = "" then exit mouseUp set the itemDel to "/" put 0 into tCount put the number of items of gMainFolder into gBaseLevels put the directory into tOrigDir put "" into gHierList put "" into gFailedFolders put the millisecs into time1 dirWalk gMainFolder put the millisecs into time2 put the number of lines in gHierList && the number of lines in gFailedFolders && time2 - time1 & CR after msg set the directory to tOrigDir -- put gHierList into fld "fldOut" put gFailedFolders after fld "fldOut" end mouseUp On 01/10/2014 00:14, JB wrote: > I could not get it to work. If you want to send me (off-list) the whole script you were trying, I can help figure it out (btw - I'm in the UK, so I'm just about to go sleep for a few hours :-). Otherwise, put the script above into a button, and see if that works for you - then try changing it if you wich to get its initial location from a field, or put its output into another field, etc. -- Alex. > > Here is what i did. At the top > I put the following line, > > put field "Folder" into whatFolder > > at the bottom I tried both of these lines > and nothing was put in the field > put tDirsToDo into field "list" > put tDirList into field ?list? > > then I tried this line > > put "tDirList" into field ?list? > > and it put the word tDirList in the vld > as would be expected. > > This was accessing a folder with no > sub folders and only a few hundred > files. All of the other file Lister even > the recursive had no problems with > this folder. What am I supposed to be > putting in the field? > > John Balgenorth > > > > > On Sep 30, 2014, at 3:45 PM, Alex Tweedly wrote: > >> On 30/09/2014 21:32, JB wrote: >>> And what do you mean by folders that cannot >>> be accessed? Since when are they not able >>> to be accessed? I access them all of the time. >>> I am a typical user who accesses files & folders >>> everyday the same way. >> Yes, most folders and files can be accessed. But there are *some* folders that cannot be accessed, and because File Lister tries to access every folder within the starting folder, it will find those few that cannot be accessed - even though they may never be encountered any other time. >> >> There are a variety of reasons for folders being inaccessible. >> >> 1. Permissions. >> Try this (in Terminal or other shell). >> mkdir sub >> cd sub >> pwd >> --- it properly shows you as being in ....../sub >> cd .. >> chmod 000 sub (i.e. make the folder inaccessible) >> cd sub >> -- gives an error message of permission denied >> >> Similarly, if you no wtry to access in Finder, it will just not "go" into that directory. >> And if you run the original "File Lister 2", it will wrongly report a recursion limit reached; you need a safety check - whether the one I gave or another equivalent - to be added. >> >> >> >> 2. "Not really a folder" >> >> There are various pseudo-folders within application bundles that aren't really folders. You would be unlikely to encounter these in Finder - it doesn't even show the top level of folders with "Applications". Even in Terminal, they are hidden - but they are there, and are seen by File Lister - and in some cases they are inaccessible, so caused the apparent "recursion" error report. >> >> 3. This is a Livecode issue !!! Non-ASCII characters in filenames >> I have some albums in my iTunes library by foreign artists (Icelandic), who have characters from the extended character set in their names. In LC, those don't come out right - so they also fail with the (incorrect) recursion report. My earlier suggested addition to the code will avoid this becoming a problem - though you do still have an issue. I suspect that with LC 7.0 this will cease to be a problem - though it might still need a "URLEncode" or two to fix it completely. >> >> 4. Weird folders (:-) >> >> Inside my iBooks library there are a number of weird folders - they show up looking like garbage names in LC, and also in Finder and in Terminal. They have permissions set to allow access - but in fact they don't - to Finder and terminal as well as to LC. >>> So you are telling me they cannot be accessed >>> and I encourage you to put a program on the >>> market and explain that to those who access >>> their folders every day and your program does >>> not allow them to access it. >> Remember - most if not all of these 'folders' aren't really folders, so don't contain users' files, don't contain user accessible data, and won't be seen by users. >>> They will read your response and quit your program >>> and continue to access their folders as usual and you >>> will not hear from them again because they do not want >>> to spend their time explaining to you they are able to >>> access their folders without your program. >> No, they won't - because (with the modified code) they will be able to see all (*) the files and folders they can see in Finder. >> (*) with the exception of the Unicode issues mentioned in 3 above. >>> If it causes me problems it will cause someone else >>> problems and I am not going to explain to them do >>> not use those folders with my program or block it >>> and give them a dialog stating it cannot be accessed. >>> >>> I liked the idea of recursive but it does not work good >>> for me. >> It's not "recursive" that's the problem - my non-recursive version had exactly the same issue (in its first version). Attached below is an updated version with the 'safety check' that should have been there in the first place - it now builds a list of "inaccessible' folders in global variable 'gFailedFolders' as well as the list of files and folders. >> (btw - I also changed one "after" to "before" - a marginal extra cost in LC processing, but gains a large benefit in file access locality). >> >> >> >> on dirWalk whatFolder >> local temp, tCount, tDirList, tDirsToDo >> set the itemDel to "/" >> set the directory to whatFolder >> put whatfolder &CR into tDirsToDo >> repeat forever >> put line 1 of tDirsToDo into whatFolder >> set the directory to whatFolder >> delete line 1 of tDirsToDo >> if the directory <> whatfolder then >> put whatfolder &CR after gFailedFolders >> if the number of lines in tDirsToDo = 0 then exit repeat >> next repeat >> end if >> put the files into temp >> add the number of lines of temp to tCount >> sort temp >> repeat for each line x in temp >> put whatFolder & "/" & x & cr after gHierList >> end repeat >> put the folders into tDirList >> sort tDirList >> delete line 1 of tDirList >> repeat for each line x in tDirList >> put whatFolder & "/" & x & CR before tDirsToDo >> end repeat >> if the number of lines in tDirsToDo = 0 then exit repeat >> end repeat >> end dirWalk >> >> - Alex. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sundown at pacifier.com Tue Sep 30 19:50:28 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 16:50:28 -0700 Subject: Merging PDF files through LC In-Reply-To: References: <56C7E0ED-ED78-4E01-B15A-4F90667E2B09@iotecdigital.com> Message-ID: <42F0F018-965F-4AA2-B96D-77ABC0E77384@pacifier.com> Here is a link for a program that appears to be free and open source code that will split and merge pdf files. http://www.pdfsam.org John Balgenorth On Sep 30, 2014, at 3:57 PM, Bob Sneidar wrote: > Adobe has a document describing the structure. Looks like the format is a little more complicated than would permit this. I tried it, the resulting document is corrupted (of course). But if you knew how to extract the pointers to all the objects, and the body information containing any fonts and other things, it is *possible* to add to an existing PDF document. It would take a lot of testing and poking around though. > > I would bet on a Mac, Applescript would have a way of combining two documents by telling Acrobat to do so. > > Bob S > > > On Sep 30, 2014, at 15:28 , JB wrote: > >> It might know by some info at the beginning of the >> file but you could probably delete it. >> >> John Balgenorth >> >> >> >> On Sep 30, 2014, at 3:25 PM, JB wrote: >> >>> That is a good question. How would the file know >>> anything other than it is still a file only larger. >>> >>> John Balgenorth >>> >>> >>> On Sep 30, 2014, at 3:25 PM, Bob Sneidar wrote: >>> >>>> I wonder what would happen if you opened the two PDF?s as binary files, then wrote them back out to a single file? >>>> >>>> Bob S >>>> >>>> >>>> On Sep 30, 2014, at 06:21 , Magicgate Software - Skip Kimpel wrote: >>>> >>>>> Good morning, >>>>> >>>>> Anybody know of a way (on Windows) to merge two PDF documents together via >>>>> scripting? >>>>> >>>>> Any insight would be helpful if you have done this before. >>>>> >>>>> Thank you! >>>>> >>>>> SKIP >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Tue Sep 30 19:56:06 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 30 Sep 2014 16:56:06 -0700 Subject: Delete columns... How? In-Reply-To: <73715F73-F504-49B9-B6A5-78DCEE49C4B2@gmail.com> References: <003801cfc3bd$1c389820$54a9c860$@FlexibleLearning.com> <5785E969-814C-4EFF-A620-9F1FAF3EF0E0@iotecdigital.com> <0F3418B9-5C00-40F5-9D55-7E74C38C3A59@gmail.com> <73715F73-F504-49B9-B6A5-78DCEE49C4B2@gmail.com> Message-ID: On Tue, Sep 30, 2014 at 11:12 AM, Michael Doub wrote: > I think that puts the whole database (multiple tables) in memory. Bob > mentioned only the table so I thought he might know of some other magic > incantation. :-) > Open another database :) So you open database gizmo on the disk, and gadget in :memory: -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From sundown at pacifier.com Tue Sep 30 19:52:22 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 16:52:22 -0700 Subject: Replacing Characters In-Reply-To: <8EF04744-C4B0-4CA9-98C9-738B2B235B59@iotecdigital.com> References: <75A9D74A-BA88-4314-9AF9-A1A27D59A72F@pacifier.com> <31FCD145-0A5E-4E53-B784-0F9694E83BFF@pacifier.com> <8EF04744-C4B0-4CA9-98C9-738B2B235B59@iotecdigital.com> Message-ID: <8D06B398-329A-4B8F-B4EF-3B7034798977@pacifier.com> Thanks! John Balgenorth On Sep 30, 2014, at 4:12 PM, Bob Sneidar wrote: > Use repeat with i - 1 to the number of characters of myString step 3 > > Bob S > > > On Sep 27, 2014, at 24:23 , JB wrote: > >> Another thing to consider is the characters are >> not in any specific crder. It could be cfacded or >> anything else. >> >> If is use a repeat for each char and the variable >> as a counter that resets every three times then >> I only need to make one pass through to make >> the changes. But there might be a faster way. >> >> John Balgenorth >> >> >> On Sep 26, 2014, at 11:31 PM, JB wrote: >> >>> Thanks, Kay! >>> >>> The problem is there are no delimiters. It >>> is a string of only chars A to F and there >>> are no spaces etc. >>> >>> John Balgenorth >>> >>> >>> On Sep 26, 2014, at 11:19 PM, Kay C Lan wrote: >>> >>>> Assuming tBigList contains your data and it is a tab separated list. >>>> >>>> set the itemDelimiter to tab >>>> repeat for each item tSearchThis in tBigList >>>> if (char 3 of tSearchThis = "D") then >>>> put "+" into char 3 of tSearchThis >>>> end if >>>> put tSearchThis & tab after tNewList >>>> end repeat >>>> --remove the trailing tab >>>> put word 1 to -1 of tNewList into tNewList >>>> set the itemDelimiter to comma >>>> >>>> tNewList should now be your corrected list >>>> >>>> HTH >>>> >>>> On Sat, Sep 27, 2014 at 12:26 PM, JB wrote: >>>>> I want to replace every third character in >>>>> a text string if it is a certain character. So >>>>> lets say I have a list of characters there >>>>> range from A thru F and the list is possibly >>>>> 10,000 characters long. >>>>> >>>>> I want to check every third character in the >>>>> list and if it is a D then I want to change it >>>>> to a +. >>>>> >>>>> I can probably do it with a repeat and use a >>>>> variable for a counter that resets every three >>>>> times and then check the character when the >>>>> counter gets to three but I was wondering if it >>>>> could be done faster somehow. >>>>> >>>>> John Balgenorth >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Tue Sep 30 19:56:34 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 16:56:34 -0700 Subject: List Folders and Files In-Reply-To: <9268AD21-023A-476D-ABAF-3BFC208040DC@iotecdigital.com> References: <9268AD21-023A-476D-ABAF-3BFC208040DC@iotecdigital.com> Message-ID: Actually the reason I wanted to do that is the user would easily list a large amount of folders and they would not worry about the files as the program would select the desired files. A time saver for the user. John Balgenorth On Sep 30, 2014, at 4:16 PM, Bob Sneidar wrote: > A lust list of all the folders on your hard drive?? What kind of files are we talking about here??? > > > > Bob S > > > On Sep 28, 2014, at 07:04 , JB > wrote: > > The main thing I am interested in doing is lust list > all of the folders on a hard drive and not the files. > > John Balgenorth > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sundown at pacifier.com Tue Sep 30 20:04:27 2014 From: sundown at pacifier.com (JB) Date: Tue, 30 Sep 2014 17:04:27 -0700 Subject: File Walker In-Reply-To: <542B3D44.4070805@fourthworld.com> References: <542B3D44.4070805@fourthworld.com> Message-ID: I understand there are things a normal person cannot and should not access. My point was the normal person should not see that when they are accessing files and folders. They do not normally see it in the finder so they should not see it in a program I release. I am not going to change their file permissions and I do not want to notify them of it. So if it gives me any problems in a normal situation I need to think there are a lot of users who know less and care less about it than me and it will just be a problem for them. John Balgenorth On Sep 30, 2014, at 4:31 PM, Richard Gaskin wrote: > JB wrote: > > > If I bought your program and you gave me that technical > > answer and I wasted my time trying to figure out why your > > program will not access my folders and examine permissions > > or other things when others do access them I would not be > > happy. > > > > On that basis for the very few like me who will have > > a problem I will not use it. > > OS X is such a program. > > It's a Unix thang. > > Poke around in the Finder enough and you'll find all sorts of things you can't access. > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john at onechip.com Tue Sep 30 20:15:26 2014 From: john at onechip.com (John) Date: Tue, 30 Sep 2014 17:15:26 -0700 Subject: User scroll direction preference In-Reply-To: <7BBD0CF3-0315-40DC-8ECE-BACFEC54263B@derbrill.de> References: <7BBD0CF3-0315-40DC-8ECE-BACFEC54263B@derbrill.de> Message-ID: Thanks Malte. I just assumed it didn?t and never bothered to check. I guess that is what I get for making assumptions. John On Sep 30, 2014, at 7:30 AM, Malte Brill wrote: > Hi John, > > you don't. The Os switches the rawKeyCodes if the preference is changed. > > All the best, > > Malte > >> How do find out what the user preference is? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bruceap at comcast.net Tue Sep 30 20:24:17 2014 From: bruceap at comcast.net (Bruce Pokras) Date: Tue, 30 Sep 2014 20:24:17 -0400 Subject: HTTPProxy In-Reply-To: References: <942A6BA2-D661-40E0-93CE-E964A8E148E6@yahoo.se> Message-ID: <7F6C2921-349F-4090-AC56-7591CDF94293@comcast.net> I had an issue with my app at one corporate location at which I worked. I assumed that the proxy was not allowing a strange app to access the web. So I fixed it by setting the httpHeaders so that it looked like Runrev (it was that long ago!) was actually Internet Explorer. While at your client's location, fire up their web browser and go to http://pgl.yoyo.org/http/browser-headers.php. Then within your script set the httpHeaders to everything except the "Host" line and see if that helps. YMMV. On Sep 30, 2014, at 4:55 PM, Trevor DeVore wrote: > On Tue, Sep 30, 2014 at 11:16 AM, Mats ?str?m wrote: > >> I have now tried builds in both 6.7 and 7.0 - without setting HTTPProxy. >> The proxy does not require NTLM authentication so it should work but >> doesn't. >> >> I get this message: ERROR: error socket timeout >> >> So still no luck (it is a time consuming task since I have to travel to my >> client and test any new build on their network). >> > > Mats, > > When working with the internet it is a good idea to add lots of logging to > your application. See this thread where I describe a means of logging > libURL network activity so you can get a better idea of what is going on: > > http://runtime-revolution.278305.n4.nabble.com/NOT-using-a-proxy-with-6-7-on-Windows-tt4682799.html#a4682818 > > Based on the log information we should get a better idea of what is going > on. > > -- > Trevor DeVore > ScreenSteps > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bruceap at comcast.net Tue Sep 30 20:34:49 2014 From: bruceap at comcast.net (Bruce Pokras) Date: Tue, 30 Sep 2014 20:34:49 -0400 Subject: Merging PDF files through LC In-Reply-To: References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> Message-ID: <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> PDFTK works fine under Windows using shell commands from Livecode. That is how my Patent Grabber app combines individual patent pages into a single PDF. Bruce Pokras Blazing Dawn Software www.blazingdawn.com On Sep 30, 2014, at 11:48 AM, Dr. Hawkins wrote: > On Tue, Sep 30, 2014 at 6:39 AM, Matthias Rebbe | M-R-D < > matthias_livecode_150811 at m-r-d.de> wrote: > >> You could use 3rd party tool ghostscript. >> > > I used to use ghostscript from my scripts. Sometimes it takes just far too > long (minutes)< others it doesn't like files (but every pdf program refuses > to play nice with every onter one). > > The least difficulties I have had have been with pdftk, and it can "fix" > some other program's leavings. > > I've used it on unix & mac; never on windows. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Tue Sep 30 20:55:07 2014 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 30 Sep 2014 17:55:07 -0700 Subject: Outrageously slow AppleScript performance Message-ID: <2EB3BF4F-F2A6-4EC2-8A9F-C983368A7814@mac.com> When I execute the AppleScript listed below in the AppleScript Editor it works in about 1 second. Take the same script, put in in a LiveCode field and do field ?name? as AppleScript and it takes between 1 and 2 minutes to do! 1. Why? 2. How can I make it run quickly? Here is the AppleScript. It makes an event at the date and time and gets info on it so that it is ready to add addresses and send out. The finished stack will show how to modify the newly created meeting and delete it. I plan on doing the same functions for Outlook on the Mac as a way to compare them. set calendarName to "Work" set theSummary to "Title of the event goes here 0775-4944" set theDescrption to "Description of event goes here." --set theLocation to "" set startDate to "October 1, 2014 9:30:00 AM" set endDate to "October 1, 2014 1:00:00 PM" set startDate to date startDate set endDate to date endDate tell application "Calendar" activate tell (first calendar whose name is calendarName) set vEventInfo to make new event at end of events with properties {summary:theSummary, start date:startDate, end date:endDate, description:theDescrption} copy uid to cID -- copy vEventInfo's uid to eID --this works save end tell reload calendars view calendar at startDate show vEventInfo end tell set the clipboard to eID --display dialog "Event " & eID & " of Calendar " & cID tell application "System Events" tell process "Calendar" keystroke "i" using command down end tell end tell Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) From skip at magicgate.com Tue Sep 30 20:57:00 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 30 Sep 2014 20:57:00 -0400 Subject: Merging PDF files through LC In-Reply-To: <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> Message-ID: Thanks everybody. I think I have a few options to choose from now. SKIP On Tue, Sep 30, 2014 at 8:34 PM, Bruce Pokras wrote: > PDFTK works fine under Windows using shell commands from Livecode. That is > how my Patent Grabber app combines individual patent pages into a single > PDF. > > Bruce Pokras > Blazing Dawn Software > www.blazingdawn.com > > On Sep 30, 2014, at 11:48 AM, Dr. Hawkins wrote: > > > On Tue, Sep 30, 2014 at 6:39 AM, Matthias Rebbe | M-R-D < > > matthias_livecode_150811 at m-r-d.de> wrote: > > > >> You could use 3rd party tool ghostscript. > >> > > > > I used to use ghostscript from my scripts. Sometimes it takes just far > too > > long (minutes)< others it doesn't like files (but every pdf program > refuses > > to play nice with every onter one). > > > > The least difficulties I have had have been with pdftk, and it can "fix" > > some other program's leavings. > > > > I've used it on unix & mac; never on windows. > > > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Tue Sep 30 21:57:14 2014 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 30 Sep 2014 18:57:14 -0700 Subject: Is Binfile broken? In-Reply-To: References: <77116993-9D0A-49AF-8113-F1FB753206D5@iotecdigital.com> <542B11EA.7060909@fourthworld.com> Message-ID: <129265940377.20140930185714@ahsoftware.net> Bob- Tuesday, September 30, 2014, 1:54:25 PM, you wrote: > At any rate, I know now I have to loop through each folder level > and create them. Also, the Open File function will *NOT* create it?s > parent folders in the path specified. The parent folder has to > already exist. I dunno, but it seems it ought to be able to. That's an OS thing, not a LC thing. Yeah, it's a pain. -- -Mark Wieder ahsoftware at gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NSA) in secret. The parties to this email do not consent to the retrieving or storing of this communication and any related metadata, as well as printing, copying, re-transmitting, disseminating, or otherwise using it. If you believe you have received this communication in error, please delete it immediately. From dochawk at gmail.com Tue Sep 30 22:39:40 2014 From: dochawk at gmail.com (Dr. Hawkins) Date: Tue, 30 Sep 2014 19:39:40 -0700 Subject: Merging PDF files through LC In-Reply-To: <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> Message-ID: On Tue, Sep 30, 2014 at 5:34 PM, Bruce Pokras wrote: > PDFTK works fine under Windows using shell commands from Livecode. That is > how my Patent Grabber app combines individual patent pages into a single > PDF. Ooohh! Someone who's done it on windows with a commercial program! How do you handle distributing/accessing pdftk itself? My thinking is to ship both binary & source, and stick that version of tdk in with the program -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From skip at magicgate.com Tue Sep 30 23:01:36 2014 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 30 Sep 2014 23:01:36 -0400 Subject: Merging PDF files through LC In-Reply-To: References: <254D98D5-9780-4D95-BA89-A91691953519@m-r-d.de> <1A4FF575-1FF4-47ED-8950-5CDABE05E362@comcast.net> Message-ID: >From the looks of it, you only need to have two files to get it to work from the command line: pdftk.exe and libconv2.dll (found in the PDFtk Server /bin directory after install) Getting it to work, probably not that hard. Distributing it with your application, that's a whole other issue. I have been looking over the command line options for this and it is pretty powerful. One feature that stands out the most to me is the ability to send form data to the PDF file. Something I have wanted but LC has yet to be able to supply a streamlined way of doing this. In regards to distribution: As stated in the README file from PDFtk: "If you want to distribute pdftk as part of your own software, you will need a commercial license. The exception to this rule is if your software is licensed to the public under the GPL or another compatible license." "Commercial licenses are available for pdftk. They include commercial-grade support and allow commercial redistribution. Please email sid.steward at pdflabs.com to learn more. And please include pdftk in your email subject. Thank you. " SKIP On Tue, Sep 30, 2014 at 10:39 PM, Dr. Hawkins wrote: > On Tue, Sep 30, 2014 at 5:34 PM, Bruce Pokras wrote: > > > PDFTK works fine under Windows using shell commands from Livecode. That > is > > how my Patent Grabber app combines individual patent pages into a single > > PDF. > > > Ooohh! Someone who's done it on windows with a commercial program! > > How do you handle distributing/accessing pdftk itself? > > My thinking is to ship both binary & source, and stick that version of tdk > in with the program > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lan.kc.macmail at gmail.com Tue Sep 30 23:17:22 2014 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 1 Oct 2014 11:17:22 +0800 Subject: [BUG][SHELL] Could Others Please Test This OS X/Linux Message-ID: Before I go ahead and submit a bug report I'd like others to test and report their findings. This is just a simple shell script which should list the entire contents (folders and files) of the Users account. In Terminal enter the following: find $PWD The output will be on each line the full path of either a Folder or a file. I just copied and pasted the output into a Text editor which then reports the number of lines - in my case it's 527579 Next, in LC in the msg box put shell("find $PWD") into tStore --put tStore & cr into msg put the number of lines of tStore after msg In my case the output is: 17794. Obviously this is a big difference. If you want to check the actual output you can uncomment the line that will put tStore into msg, but at this stage I only wish to confirm that the number of lines (Folders/files) outputed is different. I'm on OS X 10.9.5 LC 6.6.3 Richard Gaskin reported a much smaller difference and in the opposite direction on Linux (not sure the specific flavour or LC version) On Tue, Sep 30, 2014 at 11:44 PM, Richard Gaskin wrote: > > LC shell call: 113079 lines > Terminal output: 113041 lines > All I need is you OS, LC Version, No of lines via Terminal, No of lines via LC. Thanks From pete at lcsql.com Tue Sep 30 23:35:25 2014 From: pete at lcsql.com (Peter Haworth) Date: Tue, 30 Sep 2014 20:35:25 -0700 Subject: Delete columns... How? In-Reply-To: <73715F73-F504-49B9-B6A5-78DCEE49C4B2@gmail.com> References: <003801cfc3bd$1c389820$54a9c860$@FlexibleLearning.com> <5785E969-814C-4EFF-A620-9F1FAF3EF0E0@iotecdigital.com> <0F3418B9-5C00-40F5-9D55-7E74C38C3A59@gmail.com> <73715F73-F504-49B9-B6A5-78DCEE49C4B2@gmail.com> Message-ID: Hi Mke, Don't recall if this is an SQLite database in question but if so, there are various PRAGMA statements that control caching, page size etc. Check out www.sqlite.org for more info. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Tue, Sep 30, 2014 at 11:12 AM, Michael Doub wrote: > I think that puts the whole database (multiple tables) in memory. Bob > mentioned only the table so I thought he might know of some other magic > incantation. :-) > > -= Mike > > > On Sep 30, 2014, at 12:05 PM, Dr. Hawkins wrote: > > > On Mon, Sep 29, 2014 at 3:58 PM, Michael Doub > wrote: > > > >> Bob, how do you control whether SQLite pages the table in from disk or > >> maintains it entirely in memory? > >> > > > > use :memory: as the file name. Blindingly fast. > > > > > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode >