Re: Parsing properties in Link- and Internet Shortcut files

2021-03-01 Thread Rick Harrison via use-livecode
Hi Matthias, Yes, I meant lcMailAndFtp.livecode. I’m looking at https://www.techstrategies.com.au/tsnet-resources/ now. I’ll get back to you later after absorbing what I can understand. Thanks! Rick > On Mar 1, 2021, at 12:38 PM,

Re: Parsing properties in Link- and Internet Shortcut files

2021-03-01 Thread matthias rebbe via use-livecode
Rick, do you mean the stack lcMailAndFtp.livecode? The original stack was created by Charles Warwick, the developer of the tsNet externals. If i remember correctly, i added the FTP part or so and put that modified stack as lcMailAndFtp.livecode online. You could look here for a newer version

Re: Parsing properties in Link- and Internet Shortcut files

2021-03-01 Thread matthias rebbe via use-livecode
Hi Matthias, I ran into your send email stack with TSNet yesterday while looking for a solution to some of my livecode email problems. After filling in the test fields to send a message and hitting the send button, it told me the message was sent, but upon checking my email it was clear that it

Re: Parsing properties in Link- and Internet Shortcut files

2021-03-01 Thread Rick Harrison via use-livecode
Hi Matthias, I ran into your send email stack with TSNet yesterday while looking for a solution to some of my livecode email problems. After filling in the test fields to send a message and hitting the send button, it told me the message was sent, but upon checking my email it was clear that it

Re: Parsing properties in Link- and Internet Shortcut files

2021-02-27 Thread R.H. via use-livecode
@ Hagan @ Matthias I posted my hack on the forum also mentioning our discussion here: https://forums.livecode.com/viewtopic.php?f=7=35458 Of course, if some one has clean solution to actually read Window's binary ".lnk" file, it would be another lesson to enjoy. Unfortunately, I cannot do it

Re. Parsing properties in Link- and Internet Shortcut files

2021-02-26 Thread R.H. via use-livecode
@ Matthias Windows 10 with "ink" and "url" files: Thank you very much for the link regarding ".lnk" files. I did not see this before. I will look into it. I also checked the binary format as published by Microsoft. I just answered Hakan without having read your suggestion. ) Sorry that I did not

Re: Parsing properties in Link- and Internet Shortcut files

2021-02-26 Thread R.H. via use-livecode
Dear Hakan Thank you very much for this information. As you may have noticed, I had solved the problem using the Batch file the same day I posted the question for Windows. For Mac, I had no idea and your input is highly appreciated. For Linux I also do not know. Actually, these special files on

Re: Parsing properties in Link- and Internet Shortcut files

2021-02-26 Thread matthias rebbe via use-livecode
I tried here to find an "empty" .url file, but w/o success. My .url files i have collected over the years on my Windows VM are all textfiles. If you could provide a link to such an empty one, i would be really interested to see that. Regarding the .lnk files, which seem to be in a binary

Re: Parsing properties in Link- and Internet Shortcut files

2021-02-26 Thread Håkan Liljegren via use-livecode
On macOS URL link files are stored as a plist-file like: http://www.apple.com/DTDs/PropertyList-1.0.dtd;> URL https://lessons.livecode.com/ So you can open the file as text and then parse the content. :-Håkan On 12 Feb 2021, 18:55 +0100, R.H. via use-livecode , wrote: > I

Re: Parsing properties in Link- and Internet Shortcut files -- SOLVED for Windows 10 -- Added remarks

2021-02-12 Thread R.H. via use-livecode
Hi there Windows 10: The .bat file is required for those .url files that do not give you a text when opening (and that was the problem). Some of the .url files can also simply be read using this sample script. (And these specific files cannot be read with the .bat file as I seem to recognize.

Re: Parsing properties in Link- and Internet Shortcut files -- SOLVED for Windows 10

2021-02-12 Thread R.H. via use-livecode
Tested on Windows 10: I now found and tested the batch file script that works now: Create a batch file, for example "GetURL.bat" Edit the file with a text editor (Notepad++ or whatever) Put the following script into this file: :: START OF SCRIPT -- comment line @echo off setlocal

Parsing properties in Link- and Internet Shortcut files

2021-02-12 Thread R.H. via use-livecode
I am on Windows 10 (but answer will apply to MacOS as well). I am trying to read the URL property of a file that I create simply dragging-dropping the Internet address from my browser to the Desktop and then storing this file. There are thousands now!!! Some of such files are readable text files