Setting Creation Date of file to a past date?

2021-03-14 Thread Michael Kristensen via use-livecode
Hi there I want to create/export some images from Livecode to fit into a slideshow that is sorted by creation date. It means that the files I export shall have a creation date of the past. So that when they are put into the folder of the slideshow, the images are placed automatically at the

How to escape wildcard chars - and find the offset of a '?' in a URL?

2021-03-14 Thread BT via use-livecode
Hi folks, What’s the correct the syntax needed to escape a question mark so that its offset can be found in a URL string? I get zero returned by put offset(“?”, tURL) and put offset( "?\",tURL) and put offset( numToCodepoint(Ux003F),tURL) throws errors. The docs & forums cover escaping quotes

Re: How to escape wildcard chars - and find the offset of a '?' in a URL?

2021-03-14 Thread Håkan Liljegren via use-livecode
Hmm, strange! For me it works without problems: put "https://www.mysite.com/?some=parameters=folllow; into tURL put offset("?", tURL) Returns 24 :-Håkan On 14 Mar 2021, 17:29 +0100, BT via use-livecode , wrote: > Hi folks, > What’s the correct the syntax needed to escape a question mark so

Re: Printing borked for LC Linux?

2021-03-14 Thread JeeJeeStudio via use-livecode
I understand, for me no issue. But for a novice, or an elderly someone with very minor knowledge about computers that is already an obstacle. They can find the print icon, that's about it. Op 12-3-2021 om 01:20 schreef Bob Sneidar via use-livecode: As a print device specialist, I can tell you

Re: How to escape wildcard chars - and find the offset of a '?' in a URL?

2021-03-14 Thread BT via use-livecode
Solved! Thanks for responding & testing this Håkan. I'm glad to hear that the ‘?’ is a regular character in this context and it’s the usual 'pilot error’! Tracing backwards I spotted a stray extra quote in the line defining tURL, which wasn’t rejected on save. I’ll be glad when I can get back

Re: How to escape wildcard chars - and find the offset of a '?' in a URL?

2021-03-14 Thread Mark Wieder via use-livecode
On 3/14/21 9:27 AM, BT via use-livecode wrote: Hi folks, What’s the correct the syntax needed to escape a question mark so that its offset can be found in a URL string? I get zero returned by put offset(“?”, tURL) and put offset( "?\",tURL) and put offset( numToCodepoint(Ux003F),tURL) throws

Re: Setting Creation Date of file to a past date?

2021-03-14 Thread matthias rebbe via use-livecode
Windows unfortunately does not include such a command line tool, but it should be possible to do that with a powershell command which is executed with the Shell() function. so for example this command here put shell("powershell (ls c:/users/matthias/test.txt).CreationTime = get-date

Re: Setting Creation Date of file to a past date?

2021-03-14 Thread Phil Davis via use-livecode
On Mac or Linux you can use the "touch" shell command - not sure if it's available on Windows. You can download the "Shell Command Help" LC plugin to simplify access to info about it. Phil Davis On 3/14/21 1:04 PM, Michael Kristensen via use-livecode wrote: Hi there I want to create/export