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 b
Hmm, strange! For me it works without problems:
put "https://www.mysite.com/?some=parameters&that=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 s
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 e
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
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 de
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
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
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
2019-12-24