Re: Externally reffed-off

2018-01-10 Thread Brian Milby via use-livecode
>From the shell dictionary entry: *Note:* If you use a file path in the shell command on a Windows system, the file path must be in Windows form, not the Unix-style file paths that LiveCode uses internally. > On Wed, Jan 10, 2018 at 2:15 PM Richmond Mathewson via use-livecode < >

Re: Externally reffed-off

2018-01-10 Thread Richmond Mathewson via use-livecode
On 10/1/2018 10:21 pm, Klaus major-k via use-livecode wrote: Hi Richmond, Am 10.01.2018 um 21:14 schrieb Richmond Mathewson via use-livecode : Although "/" was mentioned in the post to which I replied I have come across places (not sure where: Windows?) where

Re: Externally reffed-off

2018-01-10 Thread Brian Milby via use-livecode
That is for the shell function. On Wed, Jan 10, 2018 at 2:15 PM Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > Although "/" was mentioned in the post to which I replied I have come > across > places (not sure where: Windows?) where the itemDelimiter for pathways is

Re: Externally reffed-off

2018-01-10 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 10.01.2018 um 21:14 schrieb Richmond Mathewson via use-livecode > : > > Although "/" was mentioned in the post to which I replied I have come across > places (not sure where: Windows?) where the itemDelimiter for pathways is > a backslash "\" . .

Re: Externally reffed-off

2018-01-10 Thread Richmond Mathewson via use-livecode
Although "/" was mentioned in the post to which I replied I have come across places (not sure where: Windows?) where the itemDelimiter for pathways is a backslash "\" . . . Richmond. On 10/1/2018 9:02 pm, Stephen Barncard via use-livecode wrote: We can count on you, Richmond to ask the

Re: Externally reffed-off

2018-01-10 Thread Mike Bonner via use-livecode
Yeah "/" exactly like you had it in your posted code. I swear, not useless. On Wed, Jan 10, 2018 at 11:50 AM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > Presumably the itemDelimiter should be "/" ? > > Richmond. > > >

Re: Externally reffed-off

2018-01-10 Thread Stephen Barncard via use-livecode
We can count on you, Richmond to ask the questions that the rest of us are afraid to ask thanks for being here, grumpy or not -- Stephen Barncard - Sebastopol Ca. USA - mixstream.org On Wed, Jan 10, 2018 at 10:50 AM, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: Externally reffed-off

2018-01-10 Thread Richmond Mathewson via use-livecode
Presumably the itemDelimiter should be "/" ? Richmond. On 10/1/2018 2:47 pm, Mike Bonner via use-livecode wrote: you still need to set the itemdelimiter for it to work Richmond, otherwise its not able to count items. Also, I thought part of the issue was that you were referencing a folder

Re: Externally reffed-off

2018-01-10 Thread Mike Bonner via use-livecode
you still need to set the itemdelimiter for it to work Richmond, otherwise its not able to count items. Also, I thought part of the issue was that you were referencing a folder that is NOT in the application bundle using the copy files pane of the standalone settings. This is why using

Re: Externally reffed-off

2018-01-10 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 10.01.2018 um 13:23 schrieb Richmond Mathewson via use-livecode > : > > And, IF, I were to try to port the thing to Android or iPad/iPhone would > specialfolderpath "do it" over there as well? yes, as stated in the dictionary! > Richmond. Best

Re: Externally reffed-off

2018-01-10 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 10.01.2018 um 13:20 schrieb Richmond Mathewson via use-livecode > : > > Well, YOUR LiveCode, MY LiveCode, EVERYONE'S LiveCode: ah, snappish answers! A typical reaction after having been caught! :-D > YOUR recipe worked. > Thanks a bucket!

Re: Externally reffed-off

2018-01-10 Thread Richmond Mathewson via use-livecode
And, IF, I were to try to port the thing to Android or iPad/iPhone would specialfolderpath "do it" over there as well? Richmond. On 10/1/2018 2:20 pm, Richmond Mathewson wrote: Well, YOUR LiveCode, MY LiveCode, EVERYONE'S LiveCode: YOUR recipe worked. Thanks a bucket! Richmond. On 10/1/2018

Re: Externally reffed-off

2018-01-10 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 10.01.2018 um 13:13 schrieb Richmond Mathewson via use-livecode > : > > I thought I'd "play a game", so I set up a new stack with 2 buttons: > > [Mac OS] > > Button 1 contained this script: > > onmouseUp >

Re: Externally reffed-off

2018-01-10 Thread Richmond Mathewson via use-livecode
Well, YOUR LiveCode, MY LiveCode, EVERYONE'S LiveCode: YOUR recipe worked. Thanks a bucket! Richmond. On 10/1/2018 2:01 pm, Klaus major-k via use-livecode wrote: Hi Richmond, Am 10.01.2018 um 12:57 schrieb Richmond Mathewson via use-livecode : My "problem"

Re: Externally reffed-off

2018-01-10 Thread Richmond Mathewson via use-livecode
I thought I'd "play a game", so I set up a new stack with 2 buttons: [Mac OS] Button 1 contained this script: onmouseUp setthedefaultfoldertospecialfolderpath("resources" endmouseUp and Button 2 contained this script: onmouseUp putthedefaultFolder endmouseUp I clicked on Button 1 and

Re: Externally reffed-off

2018-01-10 Thread Richmond Mathewson via use-livecode
That did not work, unfortunately. Richmond. On 10/1/2018 1:17 pm, Mike Bonner via use-livecode wrote: Change it to.. set the defaultfolder to item 1 to -5 of the effective filename of this stack and it should work. I don't have an available mac to test though, so tweakage might be necessary.

Re: Externally reffed-off

2018-01-10 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 10.01.2018 um 12:57 schrieb Richmond Mathewson via use-livecode > : > > My "problem" Klaus is that I don't know YOUR LiveCode, that's why I wrote "Know YOUR Livecode" and not "Know MY Livecode", Sir! :-) > but I do know MY LiveCode. > > I have

Re: Externally reffed-off

2018-01-10 Thread Richmond Mathewson via use-livecode
My "problem" Klaus is that I don't know YOUR LiveCode, but I do know MY LiveCode. I have a theory that once one has been working inwith a system for many years one's methods and mindset become fixed in a way that may not be very useful. Best, Richmond. On 10/1/2018 1:32 pm, Klaus major-k via

Re: Externally reffed-off

2018-01-10 Thread Richmond Mathewson via use-livecode
Thank you very much, that's a great help. Richmond. On 10/1/2018 1:17 pm, Mike Bonner via use-livecode wrote: Change it to.. set the defaultfolder to item 1 to -5 of the effective filename of this stack and it should work. I don't have an available mac to test though, so tweakage might be

Re: Externally reffed-off

2018-01-10 Thread Klaus major-k via use-livecode
> Am 10.01.2018 um 12:17 schrieb Mike Bonner via use-livecode > : > > Change it to.. > set the defaultfolder to item 1 to -5 of the effective filename of this > stack > > and it should work. I don't have an available mac to test though, so > tweakage might be

Re: Externally reffed-off

2018-01-10 Thread Mike Bonner via use-livecode
Change it to.. set the defaultfolder to item 1 to -5 of the effective filename of this stack and it should work. I don't have an available mac to test though, so tweakage might be necessary. (not likely though its pretty straightforward) You can put it in an if block if you want so that if the

Re: Externally reffed-off

2018-01-10 Thread Mike Bonner via use-livecode
Its because of this... *Cross-platform note:* On OS X systems, standalone applications are stored as application bundles. A bundle behaves like a file but is actually a folder, and the main stack of a standalone application is inside this folder. The filename of stack property reports the

Externally reffed-off

2018-01-10 Thread Richmond Mathewson via use-livecode
I am currently working on something that calls a lot of external images which are stored in a folder called "rez" in the same location as my stack, and when my stack opens it works its way through the script: onpreOpenStack setitemDelto"/" setthedefaultFoldertoitem 1 to-2