Re: answer dialog duplication on building standalone?

2015-04-16 Thread Gerry
Once in each dialog window? :) g > On 17 Apr 2015, at 10:02 am, Dr. Hawkins wrote: > > In fact, it occurs twice. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: Custom Desktop Folders

2015-04-16 Thread Ray
That's it! Mike, thank you so much for your help on this. It's been a tricky thing. For the life of me I still can't figure out a few aspects of this, for example, why folders return to Read-only after I manually un-check that box in the folder's Properties window. But the Livecode work and

Re: wild variance in compile times

2015-04-16 Thread dunbarx
Richard. Do you mean you are waiting minutes for a script change to compile??? Craig -Original Message- From: Dr. Hawkins To: How to use LiveCode Sent: Thu, Apr 16, 2015 8:04 pm Subject: wild variance in compile times On the same stack, I'm getting complile times ranging from abo

wild variance in compile times

2015-04-16 Thread Dr. Hawkins
On the same stack, I'm getting complile times ranging from about a minute to several minutes. 7.0.4, about a dozen substacks in a 9.1mb file. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ use-livecode mailing list use-livecode@lists.runrev.com Plea

Re: answer dialog duplication on building standalone?

2015-04-16 Thread Dr. Hawkins
On Thu, Apr 16, 2015 at 3:46 PM, Dr. Hawkins wrote: > I'm now getting a warning when building stacks to the effect that there is > already a stack named answer dialog, > In fact, it occurs twice. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 ___ us

answer dialog duplication on building standalone?

2015-04-16 Thread Dr. Hawkins
I'm now getting a warning when building stacks to the effect that there is already a stack named answer dialog,and that livecode won't be able to tell them apart. There is no such stack in my own stacks. Is anyone else seeing this? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _

Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
S attribute marks a system file. Most likely, the A was already set. It sounds like its not taking multiple attribs at once. You might try attrib +h +s for the ini file, and then (if 8 is the same) +r for the folder after all is said and done. If you can't get +s and +h to both set in one comman

Re: Datagrid question

2015-04-16 Thread William Prothero
Got it! Thanks! Bill > On Apr 16, 2015, at 10:53 AM, Peter Haworth wrote: > > RefreshIndex ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://li

Re: Datagrid question

2015-04-16 Thread Peter Haworth
setDataOfIndex doesn't redraw the datagrid. Add a call to RefreshIndex after your setDataOfIndex. Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin On Thu, Apr 16, 2015 at 10:23 AM,

Re: Datagrid question

2015-04-16 Thread William Prothero
I’m missing something. I have the script, in the datagrid group script: local savedRowIndex, savedColumnIndex —this works as expected on mouseDown put the dgHilitedIndexes of me into savedRowIndex put the dgColumn of the target into savedColumnIndex put getDataOfIndex(the dgHilitedIndexe

Re: Custom Desktop Folders

2015-04-16 Thread Ray
This is really interesting. I'm now using the following: get shell("attrib +HSA "&desktopIniPath&"") get shell("attrib +h "&desktopIniPath&"") get shell("attrib +r "&desktopIniPath&"") and having some success. When I check the Dsktop.ini file's attributes I now see t

Re: Datagrid question

2015-04-16 Thread Peter Haworth
You need to dispatch or send the setDataOfIndex to the datagrid. Pete lcSQL Software On Apr 15, 2015 9:59 PM, "William Prothero" wrote: > Thanks! Worked like a charm. Now I suppose, to get it back in the data > grid cell, it’s: > > local savedColumnINdex,savedRowIndex —saved from command that

Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
Looks like you don't need the full path after all, as long as the icon is in the same directory. Can't try on xp, but setting +s and +h on the desktop.ini should cover both bases. Sorry for the spam flurry. On Thu, Apr 16, 2015 at 9:43 AM, Mike Bonner wrote: > Looks like setting the folder to

Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
Looks like setting the folder to read only does NOT make it impossible to write into the folder. If you use the properties dialog, that is not the case, so using attrib is the way. On Thu, Apr 16, 2015 at 9:41 AM, Mike Bonner wrote: > h is the hidden attribute. so +h should hide it. Weird. Goi

Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
h is the hidden attribute. so +h should hide it. Weird. Going to try it real quick (win 7).. Ok. I got the attribs to set by doing them one at a time. Not sure why 2 at once doesn't work. I also read that the folder must be set to read only. SO I did attrib +r to the folder and poof. Icon. O

Re: Custom Desktop Folders

2015-04-16 Thread Ray
Mike - I've eliminated all spaces in the path but thanks, that's always a good thing to check. At this point nothing I do flips the Attributes from "A" to "HSA". I've changed the minus to a plus sign and tried Klaus' concatenation syntax but still no change in the Attributes. Maybe I should

Re: Custom Desktop Folders

2015-04-16 Thread Ray
Klaus - it seems to me the issue here is the Dekstop.ini file's Attributes, not the .ico file. Even after I manually set it the .ico file's Attributes are still "A" while manually setting the folder's icon does change the Dsktop.ini's Attributes to "HSA" On 4/16/2015 10:57 AM, Klaus major-k w

Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
oh yep, and as klaus says, if theres a space somewhere in the path, you'll need to force quotes around it, or use shortfilepath() to obviate the need. On Thu, Apr 16, 2015 at 9:03 AM, Klaus major-k wrote: > Hi Ray, > > did you try with QUOTES? > > > Am 16.04.2015 um 23:00 schrieb Ray : > > > >

Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
If you set things with livecode, then hit f5 to refresh, (after creating the file,setting the attrib..) does it update, and then show the icon? Also, I did a quick search, you might be able to do this using vbscript. Also also.. *grin* It looks like XP needs the system attribute set, and others ne

Re: Custom Desktop Folders

2015-04-16 Thread Klaus major-k
Hi Ray, did you try with QUOTES? > Am 16.04.2015 um 23:00 schrieb Ray : > > Klaus - thanks for the idea. Just to check my method of concatenation, the > exact command I'm using is: > get shell("attrib -HSA "&desktopIniPath&"") -- where desktopIniPath is > the path to the file get shel

Re: Custom Desktop Folders

2015-04-16 Thread Ray
Klaus - thanks for the idea. Just to check my method of concatenation, the exact command I'm using is: get shell("attrib -HSA "&desktopIniPath&"") -- where desktopIniPath is the path to the file It doesn't work and I see no change in the file's Attributes, Type or Size. Livecode retu

Re: Custom Desktop Folders

2015-04-16 Thread Klaus major-k
Am 16.04.2015 um 16:37 schrieb Klaus major-k : > Hi Ray, > >> Am 16.04.2015 um 21:57 schrieb Ray : >> Mike, >> I've been wrestling with this again this morning and I'm unable to get the >> icon to display at all, let alone concern myself with paths. >> I'm using revCopyFolder to create the folder

Re: Why can't LC do what PencilCase does?

2015-04-16 Thread Mark Wieder
Pete- Wednesday, April 15, 2015, 10:25:07 AM, you wrote: > Surely autocorrect is one of THE worst things to come out of the computer > ape Best. Typo. Ever. -- -Mark Wieder ahsoftw...@gmail.com This communication may be unlawfully collected and stored by the National Security Agency (NS

Re: Custom Desktop Folders

2015-04-16 Thread Klaus major-k
Hi Ray, > Am 16.04.2015 um 21:57 schrieb Ray : > > Mike, > > I've been wrestling with this again this morning and I'm unable to get the > icon to display at all, let alone concern myself with paths. > > I'm using revCopyFolder to create the folder I want by duplicating an > existing folder wi

Re: Custom Desktop Folders

2015-04-16 Thread Earthednet-wp
Scott, I looked at your wed site and wondered if you are thinking about apps that use that new way of thinking about math operations using that new grid system. Don't remember what it's called, but my grandson uses it. Some app for that could be very useful for home schoolers, too. Btw, there i

Re: Custom Desktop Folders

2015-04-16 Thread Ray
Mike, I've been wrestling with this again this morning and I'm unable to get the icon to display at all, let alone concern myself with paths. I'm using revCopyFolder to create the folder I want by duplicating an existing folder with the .ico file in it. RevCopyFolder duplicates the folder t

Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
heres that link. http://forums.livecode.com/phpBB2/viewtopic.php?t=1745 On Thu, Apr 16, 2015 at 7:38 AM, Mike Bonner wrote: > It shouldn't matter where you store the icon. In fact, it'd be better if > you created a folder for your icons somewhere like the app support > directory or some such. T

Re: Custom Desktop Folders

2015-04-16 Thread Mike Bonner
It shouldn't matter where you store the icon. In fact, it'd be better if you created a folder for your icons somewhere like the app support directory or some such. Then you can point to the icon file, and if you move the folder around, it shouldn't matter. Heres a link to a forum post that uses en

Re: Custom Desktop Folders

2015-04-16 Thread Ray
Scott thanks for your idea on this but I think I'll try something else in light of the possible licensing ramifications which, incidentally, I appreciate you pointing out. At this point I'm unable to get any icons, ico png or otherwise, to display by creating the .ini file myself. I have noti

Re: Custom Desktop Folders

2015-04-16 Thread Ray
Mike - I believe you're right, but it's kind of odd. If I give it the full path to an image file (ico, png, etc) it works as long as I leave the image where it is. Move it and it breaks. The work around seems to be to leave the image file at the root level of the folder which is displaying i