Search found 476 matches

by Simon Knight
Fri Nov 01, 2019 10:56 am
Forum: Talking LiveCode
Topic: Unable to find files added in standalone settings
Replies: 9
Views: 544

Re: Unable to find files added in standalone settings

Hi, No I'm afraid that is not what happens at this end. The script was not found when the standalone was built and looked for the resources folder. However, it does work when the engine folder is used. "engine": The folder containing the LiveCode engine and the executable files copied in the standal...
by Simon Knight
Fri Nov 01, 2019 9:04 am
Forum: Mac OS
Topic: Posix paths and shell commands
Replies: 3
Views: 334

Re: Posix paths and shell commands

Thanks for the conformation and the tip about using single quotes.

Simon
by Simon Knight
Fri Nov 01, 2019 9:00 am
Forum: Talking LiveCode
Topic: Unable to find files added in standalone settings
Replies: 9
Views: 544

Re: Unable to find files added in standalone settings

Hi, I'm still wearing the pointy hat and standing in the corner : the file in question is an executable so I now know that this means that the file is not in the resources folder but it gets stored in the engine folder. (now I can't get the image of a large black steam engine out of my mind....) It ...
by Simon Knight
Thu Oct 31, 2019 5:07 pm
Forum: Talking LiveCode
Topic: Unable to find files added in standalone settings
Replies: 9
Views: 544

Re: Unable to find files added in standalone settings

Ah! & doh!

The answer folder can not display or open the resources folder. It displays a path and then shows the last real folder that was viewed.
by Simon Knight
Thu Oct 31, 2019 4:54 pm
Forum: Talking LiveCode
Topic: Unable to find files added in standalone settings
Replies: 9
Views: 544

Unable to find files added in standalone settings

Hi, I'm using a mac and have written an app that calls a shell script - well I think thats what it is called. This shell script is a small file that displays a unix file icon. I have put this shell script in the Copy Files section of the standalone settings. Next I added a button with the following ...
by Simon Knight
Thu Oct 31, 2019 4:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: a stack is already in memory , problem
Replies: 5
Views: 647

Re: a stack is already in memory , problem

Just had this problem. I followed some instructions from 2010 and used the message box :

delete stack "revMacCursors" of stack "Browser Test"

obviously change "Browser Test" to the name of your problem stack.
by Simon Knight
Thu Oct 31, 2019 3:40 pm
Forum: Mac OS
Topic: Posix paths and shell commands
Replies: 3
Views: 334

Posix paths and shell commands

Hi, I don't have much experience with the Terminal or Shell commands but I am creating a small utility that passes a file name to a shell command. I have discovered that the Livecode Shell command fails if the filename includes spaces. Also I'm also sure that there are other characters that the OS a...
by Simon Knight
Sat Jun 15, 2019 7:43 am
Forum: Talking LiveCode
Topic: Finding the first space in a line of text
Replies: 10
Views: 1304

Re: Finding the first space in a line of text

to a file path You may have to deal with more than spaces, have you tried URLEncode ? The following may be of use as a starting point, note that %20 is a space character : function EncodeFilePath pFilePath put the URLEncode of pFilePath into tURLEdncodeFilePath replace "+" with "%20" in tURLEdncode...
by Simon Knight
Tue Jun 11, 2019 4:36 pm
Forum: Mac OS
Topic: mdFind sensitive to search terms
Replies: 0
Views: 445

mdFind sensitive to search terms

Hi, I have been experimenting with using mdfind to find files (what else!) and have discovered that mdfind is quite picky on the search terms used. I am searching several drives that hold media and for unknown reasons some of these audio files have odd names. Specifically some of the names include t...
by Simon Knight
Tue Jun 11, 2019 4:23 pm
Forum: Mac OS
Topic: MDFind not 'seeing' one of the attached drives
Replies: 19
Views: 2029

Re: MDFind not 'seeing' one of the attached drives

Guess what ?

Approximately forty eight hours after I forced spotlight to re-index the drive in question spotlight started including the drive in its searches.
by Simon Knight
Sat Jun 08, 2019 9:15 pm
Forum: Talking LiveCode
Topic: Fastest method of comparing two lists.
Replies: 16
Views: 1415

Re: Fastest method of comparing two lists.

No problem - enjoy the weather and avoid the black fly.

I've just noticed that my app has problems listing files in my home folder and below. I'm investigating but probably best to just use it with external drives for the time being.

Simon
by Simon Knight
Sat Jun 08, 2019 1:34 pm
Forum: Talking LiveCode
Topic: Fastest method of comparing two lists.
Replies: 16
Views: 1415

Re: Fastest method of comparing two lists.

Here is an updated version that allows the user to choose where copies of the files selected in the list are saved.
by Simon Knight
Sat Jun 08, 2019 9:18 am
Forum: Talking LiveCode
Topic: Fastest method of comparing two lists.
Replies: 16
Views: 1415

Re: Fastest method of comparing two lists.

Hi Kelly, Yes of course but please note that my application only checks file names so it will not detect if the same name is used for different media. It works for me because I know that in the past I have copied whole folder structures of media files to new disks with the intention of sorting thing...
by Simon Knight
Sat Jun 08, 2019 7:01 am
Forum: Talking LiveCode
Topic: Fastest method of comparing two lists.
Replies: 16
Views: 1415

Re: Fastest method of comparing two lists.

Hi Richard, Thanks for the heads-up, I have just spent the past hour researching rsync and can see that there are hours of fun to be had trying to get the excludes and includes right. Thankfully I have spotted the --dry-run command, otherwise it would be a little like poking a sleeping tiger with a ...
by Simon Knight
Fri Jun 07, 2019 10:19 pm
Forum: Talking LiveCode
Topic: Fastest method of comparing two lists.
Replies: 16
Views: 1415

Re: Fastest method of comparing two lists.

This is a good exercise, but is rsync an option? The exercise has been interesting and highlights the importance of using the most efficient data structure. Most of the time that means using arrays which are so much faster than lists. Its the first time I have used a binary chop and its speed is al...

Go to advanced search