The Files Function borked?

2025-01-14 Thread Bob Sneidar via use-livecode
Hi all. 

In the message box I put: 

put the files of "/Users/bobsneidar/Downloads/“

It returns a short list: 

Forms.zip
temp.db
Forms Generator 8.livecode
Time Zones
File Transfer Error Log.txt
iCalendar Sample with Attachment.ics
.DS_Store
Forms Generator 8 Crash Log.txt
Data Import.livecode
iCalendar Sample.ics
Vendors.livecode
snapshot.png
Old Copier Settings.txt
Paypal Encryption Technique.txt
DictionarySplitter_0_4.livecode
Software.livecode
Splash.livecode
Time Calculator.livecode
test.txt
iCalendar Sample with Attachment.ics.zip
20231213-Check Request.pdf
Refactor ProcessData.txt
tempdatabase.db
Time Zones.xlsx

That is only a fraction of the files in that folder. Whaaa???

Bob S
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: The Files Function borked?

2025-01-14 Thread Ken Ray via use-livecode
Yeah I'm getting the same thing; if you use the "old" way, it works properly:

put the directory into tOldDir
set the directory to "/Users/bobsneidar/Downloads/"
put the files
set the directory to tOldDir



Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Website: https://www.sonsothunder.com



> On Jan 14, 2025, at 10:29 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Hi all. 
> 
> In the message box I put: 
> 
> put the files of "/Users/bobsneidar/Downloads/“
> 
> It returns a short list: 
> 
> Forms.zip
> temp.db
> Forms Generator 8.livecode
> Time Zones
> File Transfer Error Log.txt
> iCalendar Sample with Attachment.ics
> .DS_Store
> Forms Generator 8 Crash Log.txt
> Data Import.livecode
> iCalendar Sample.ics
> Vendors.livecode
> snapshot.png
> Old Copier Settings.txt
> Paypal Encryption Technique.txt
> DictionarySplitter_0_4.livecode
> Software.livecode
> Splash.livecode
> Time Calculator.livecode
> test.txt
> iCalendar Sample with Attachment.ics.zip
> 20231213-Check Request.pdf
> Refactor ProcessData.txt
> tempdatabase.db
> Time Zones.xlsx
> 
> That is only a fraction of the files in that folder. Whaaa???
> 
> Bob S
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: The Files Function borked?

2025-01-14 Thread Bob Sneidar via use-livecode
Interestingly, the function form works as well.

Bob S


On Jan 14, 2025, at 8:48 AM, Bob Sneidar  wrote:

Thanks for checking. That is a pretty big bug. I will submit a bug report 
shortly.

Bob S


On Jan 14, 2025, at 8:39 AM, Ken Ray  wrote:

You don't often get email from k...@sonsothunder.com. Learn why this is 
important
Yeah I'm getting the same thing; if you use the "old" way, it works properly:

put the directory into tOldDir
set the directory to "/Users/bobsneidar/Downloads/"
put the files
set the directory to tOldDir



Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Website: https://www.sonsothunder.com



On Jan 14, 2025, at 10:29 AM, Bob Sneidar via use-livecode 
 wrote:

Hi all.

In the message box I put:

put the files of "/Users/bobsneidar/Downloads/“

It returns a short list:

Forms.zip
temp.db
Forms Generator 8.livecode
Time Zones
File Transfer Error Log.txt
iCalendar Sample with Attachment.ics
.DS_Store
Forms Generator 8 Crash Log.txt
Data Import.livecode
iCalendar Sample.ics
Vendors.livecode
snapshot.png
Old Copier Settings.txt
Paypal Encryption Technique.txt
DictionarySplitter_0_4.livecode
Software.livecode
Splash.livecode
Time Calculator.livecode
test.txt
iCalendar Sample with Attachment.ics.zip
20231213-Check Request.pdf
Refactor ProcessData.txt
tempdatabase.db
Time Zones.xlsx

That is only a fraction of the files in that folder. Whaaa???

Bob S
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: The Files Function borked?

2025-01-14 Thread Bob Sneidar via use-livecode
What would really be handy is a way to get the detailed file information for a 
single file. There is a use case where there may be many thousands of files in 
a directory, and enumerating the detailed files then filtering for the one you 
want seems onerous and probably time consuming. 

I throught about rolling my own, but then when doing this for Windows and using 
the shell command I keep getting “file not found.” 

answer file "Select file"  put it into tFileName
put "dir /T:W "  & quote & tFileName & quote into tCmd
put shell(tCmd)

I doubt it but is there a command in Livecode to get the mod date of a file? 

Bob S


> On Jan 14, 2025, at 8:56 AM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Interestingly, the function form works as well.
> 
> Bob S
> 
> 
> On Jan 14, 2025, at 8:48 AM, Bob Sneidar  wrote:
> 
> Thanks for checking. That is a pretty big bug. I will submit a bug report 
> shortly.
> 
> Bob S
> 
> 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Help with Linux app built with LC on Mac

2025-01-14 Thread Paul - Livecode via use-livecode

Just a quick follow up for anyone following or interested in this issue. 
Apparently the problem is caused by Parallels on Apple M series devices are 
running Linux on an ARM platform, so there is no emulator for the x86 commands, 
it is just a processor compatibility issue. Linux on ARM is a relatively new 
concept, it may improve in the future, but who knows?
There’s no easy answer (for me at least), I tried installing some suggested ARM 
compatibility software, but either my lack of understanding of Linux, or their 
inability to rum LC standalones left me with no resolution, so it’s back to 
testing on an older Intel Mac with Parallels and Linux for now.

Paul
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode