I am reading binary data from a .LNK file on Windows 10 using LC 9.6.1.
There is a character that looks visually like a dot ".", but it is not, and
using the chartonum() function or placing it in a script (even when
commented out) results in an error message. The whole script will not work
Referring Date: 2021-03-29 09:04:04 +0100
From: Mark Waddingham
Subject: Re: Unreliable File Deletion
Environment: Windows 10, 64bit
LC: Version 9.6.1
Dear Mark, Richard and all
Thank you for your replies ))).
Your comments are -- of course -- right, but I made a mistake in
@ Peter Reid
Your message found my attention.
Also I am working on Windows 10 and have the same problem using LC 9.6.1
The problem with copying text to the clipboard and then pasting it into
other applications results in inserting double lines. I think there was a
I have purchased your new book and downloaded the three versions (very
clever in three formats!).
With me is also your other book published first. Somewhere I read that you
updated that version. Can I download that somewhere as well? Or is there
I posted my hack on the forum also mentioning our discussion here:
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
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
> So you can open the file as text and then parse the content.
> On 12 Feb 2021, 18:55 +0100, R.H. via use-livecode <
> email@example.com>, wrote:
> I am on Windows 10 (but answer will apply to MacOS as well)
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
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
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
@ Ralf Bitter
Dear Ralf, I downloaded your segmented control from:
and I installed the widget using the Extension Manager in the IDE.
It looks very nice. Exactly what allows control and even change the
behavior. First time
Oh, I am shocked. I deeply felt condolences to his family and friends.
I had a chat with him at the beginning of the year, and I was thinking of
calling him since he seemed to be grumpy that we did not follow up fast
enough to meet his demands. Now this... (
Yes, he was brilliant. May he have
I am using Windows 10, LiveCode Indy 9.6.1
Here is a question I tried to solve using clipBoardData, fullClipBoardData
and rawClipboardData. I am aware that there is nothing in Livecode that
represents soft line breaks, for example as a Unicode character (unless I
could not find anywhere). But I
Richmond, to be honest, I am quite ignorant about developing widgets. I
never took the time to dig deep into them. It is certainly my fault.
So, I cannot say whether or not it is hard work and how much work. But from
a user (developer) perspective, I think we can freely formulate our
Your link and what I can see looks very promising. I will certainly try
Thanks a lot. At first glance, it looks very professional. I guess it is
use-livecode mailing list
Basically, I think, it is a nice widget.
--- But sometimes, I would like to show text with icons together, or each
icon in a different color. Possible?
--- Then I would like to import whatever icon or image and individually set
its size, and margins individually. I like to have access to the
@ Bob S
Sure, you are right that the DG data grid supports most of what users might
wish to have.
My point was that there is a nice enhancement to the table field from Bernd
Niggemann and that it could even be further enhanced -- without arguing
about DG vs table field. Even if that would only
+ STT Speech to Text
@ Paul Dupuis ... Thank you very much for your valuable hint regarding the
STT (speech to text) link from the work of Trevor
https://github.com/trevordevore/lc-pocketsphinx who I admire for his
fantastic contributions and skills. I am already looking into this.
The ModTableField is a great tool when the DG datagrid is an overkill. It
works very well for me. Thank you very much for the contribution, dear
+ Selecting columns:
What I added was the possibility to also select columns (hilite columns)
which is done using an overlay
For an interactive learning app using audio and video, I received a request
to use Bluetooth to control the player remotely. Also this app shall be
extended later to speech commands such as: "Go back", "Go forward", "Stop",
"Next lesson", "Repeat section" etc.
@Matthias: "i found a forum post from mimu which included also a
GoogleCalendarTest stack. http://forums.livecode.com/viewtopic.php?t=31840;
Yes, correct. Thanks for the hint! This is the one I am using. The scripts
are very good and allow to expand the idea of connecting to Google
If this would help...
I am using OAuth2 with the Google Calendar with a stack that was originally
developed by Denver77 and had been posted the stack "GoogleCalendarTest" to
the Forum in 2018. It explains clearly how to use Google's oAuthClient and
actually, I was able to receive the client id,
Oh, thank you Lynn.
That is nice from you to write detailed.
Please, my greetings to Ruslan. He may not remember me, already how man
years passed? I think 16 or 17 years. I had a group of developers in
I think it will be good to address your product more strongly on the list.
I missed this message about Valentina and offer. Well, no problem.
May I ask about the basic principle of Valentina database and Valentina
Reports for LiveCode?
I assume that the Report Engine is built on the SQL engine and not into
Years ago I personally met
I am very sorry that I am overstressing this list. I keep on answering my
The function needs to address bytes. I found this looking at some similar
# Code snippet from C#
Oh, sorry, I was too quick declaring a solution.
Even though the code of the function works fine, the result also converts
back, but the "quoted-printable" or "UTF-8" code expects that each
codepoint is encoded in Hex with just two ASCII letters representing a
For example, for the
For those interested:
With the help of a privately received message hinting at a solution used
prior to LC7 I was able to construct the required functions for LC 7 and
I must say that I am not really aware of all the many functions LiveCode
presents, I did not even know about
do understand it yet.
In E-Mail-bodies, the content parts are often either based64-encoded, no
problem with that, but there are also other encodings called
"quoted-printable". This is text that in my case needs to be
@ Paul Dupuis
Thank you very much, Paul, for your detailed answer. I removed my other
Codec package and installed the LAV package as recommended by you. It works
well! Great. All the videos I have in MP4, etc. are playing now. This makes
But the other biggest problem:
My IDE starts
I am using Windows 10, 64bit, latest update. I am using an Indy license.
I am working with LC v9.5.0 Build 15503.
Until Christmas I need to develop a small application for music performers
and highly controlled playing of video and audio. I am not too experienced
with LC's video/audio player
I always appreciate Richards insight and clear expressions. Thank you
What do we really want LiveCode to be?
as CHOICE NUMBER ONE, ONE and ONE.
And, of course, I know, this will not work.
Let us face the fact
Windows on dedicated hardware is my choice. Only then you really can say
that you tested on Windows. The brand of the hardware (metal) is not
important in this case. You are not confined to a closed system as with
I am exlusively using Windows 10 and I am quite happy with it. I do not
Some of the rants are leading nowhere.
I do not think that anybody writing as Richmond did has ever been involved
in keeping up a company with such little assumed revenue to pay from for
salaries. And I would love to see such guys running a company and make
money. They will all fail. But to make
Since August 31st I do no longer receive daily email messages from the
Forum. Am I the only one?
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription
I am still not receiving any message through email since last week.
use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription
Thanks for explaining. I assume, not being focused on Filemaker, that the
majority of users relies on your weekly information. I am subscribed to the
forum and this user list. I guess many others as well reading on a regular
I do not think that it is a bad idea to also mention
To me the nav-bar is pretty much useless the way it is.
It is a problem with widgets in general that they often do not allow fine
grained customization as long as they do not give access to all properties
and other settings and di what all other controls can do. And writing
myself a nav-bar with
I would be very happy if VLC could be used in LC and if we had high level
access to those functions on ALL platforms. It would be a huge
contribution. I would pay for it.
Imagine the number of add-ons that could easily be made using LC.
I agree that the dictionary often leaves guess work.
The biggest problem I have with the dictionary is forgetting the name of a
function and trying to guess the name. If there were lots of tags to look
for... but... You must know at least the beginning of a name.
And how can you even search not
Well I noticed it too in 9.0.4, but did not try 9.0.5rc1 yet -- waiting to
hear that it is stable enough. Script editor performance is again below
normal. Crossing fingers it will be ok in the upcoming version.
use-livecode mailing list
My impression fixing the disk access for the script editor (SE) for
Windows in this version 9.0.4 RC-2 seems to have changed everything to me.
I only had a short review. But already I can see and feel that text entries
appear to be so much faster and smoother.
If this good behavior
Thanks a lot for the input regarding the dateFormat function. Very nice.
To add: It is also helpful to
... set the useSystemDate to true...
and then also the local date format such as dd.mm. evaluates to true
when asking if it is a date, or not.
The problem here is that
Being "international" I also have lots of need for localization from German
to English, French, Italian, Russian. UTF-8 is my friend, first of all.
For example, in Switzerland, there are four languages and the German part
of Switzerland uses different decimal/currency number settings compared to
Sub-Subject: Detecting user selected files/folders in Windows and other
I like to refer to the last message from -hh (see reference below)
regarding Windows possibility of detecting selected items (folders, files,
icons as such) on the Windows Desktop. The solution -hh already provided
hh, I have one more question for Windows: Selecting a file through
Microsoft File Explorer on Windows 10 works for all selected files with
your wscript, also when it is a Desktop file accessed through the dialogue.
The problem I have is when the user selects a file _directly_ visible on
I am referring to:
Message: 17, Date: Thu, 14 Mar 2019 00:44:05 +0100, From: hh
Regarding MacOS I can not say much, but I use Windows, and IT WORKS.
'hh ' = Hermann's contribution, right? This fantastic. I never expected
anybody to have a solution. I had searched Git and whatever.
on dragDrop -- check for file paths
get the dragData["files"]...
pass dragDrop end dragDrop
Jacqueline, thank you. I know this and wrote about it.
Here I want to know the filename and path which is
user-selected in the OS (on Windows File Explorer) without dragging
Desktop and IDE, mainly Windows 10 (could be any OS), LiveCode lastest
Drag-and-Drop on Windows works as expected. But I have another request and
do not know how to handle it so far.
The OS should know which file a user has selected. Is there are a command
or Shell function to know
Sorry, I must send a correction, I meant MegaBytes, not Giga Bytes (typing
This is sentence needs correction:
"The size of the stack file is nearly 4 MB, probably mainly because of some
-- Forwarded message -
Ref. To Mark Waddingham's suggestion:
/* Dear Mark, let me make this side note: Your insight and your comments
here, also in general, cannot be praised enough. I am a fast typer and a
slow reader, so I have to discipline myself to carefully read. But your
comments always catch my attention and I
I must also agree that the SE (script editor) in Windows with latest
versions of LiveCode tends to be nearly unusable -- at least for
Also, I turn off the messages box when using the SE but using a field
displaying messages instead. I am not using Navigator.
When I add a new
Well, thanks for all the comments regarding failing to save the data stack
distributed with a compiled splash stack. Each case is different. In this
case, I have to actually go by my promise to not install anything on the
target machine that is not visible inside my app folder. The user can just
Windows: Regarding the many replies to the question of allowing saving a
stack file I would like to thank everybody for the answers by Matthias,
Bob, Alex, Jacqueline, JJS ...
The problem was that a stack file used by a compiled splash stack does not
save on some client's computers with Windows
Failed saving onWindows 10 (all latest versions of LiveCode)
I am talking about a compiled business related stack (small compiled
splash, main stack not compiled in a resource folder and various resources)
that goes to clients.
Some of my clients experience that the main stack is not saving and
I like to draw your attention to DeepL Translator - an online translation
service that does much better than anything before, including Google,
Microsoft or whatever. There is a free service and a paid one as well.
Right now it supports English, Spanish, Italian, French, German, Polish and
Monte, I really appreciate that you want to put attention on Windows.
Creating a list of all bug reports and assigning bug number to them --
maybe I can do it, or others are already doing it. But that would be work
that should actually come out of the database of bug reports? It is
I like to add two more observations for Windows 10 and LC9:
I wrote that before LC9 on a secondary monitor menus tend to move into
Nirvana as they open not at the location of the menu. This is correct with
one exception: The Script Editor's menus are still behaving the old way,
maybe not as
I do think that it is right to say that everything is broken or not
Also not in Windows 10.
And to survive in such market with such a highly ambitious project such as
LiveCode -- I consider it almost a wonder that LiveCode is still around.
Imagine having to support so many
There have been some remarks regarding LiveCode 9.0 in Windows 10. I am
exclusively using Windows 10. Since Windows worked not well changing from
Windows 7/8 to 10, I can only suggest making a "clean install" whoever is
using another version. But Windows 10 is otherwise promising and not bad.
Over 80% of my work in LiveCode is dedicated to user interface design.
I would like to support Material Design which is well supported by tools
ones) give the idea of modern UIX.
I think it is worth reading for
> Tom Glod wrote: " can you post your resize script?"
Dear Tom, here is the script where the data grid fails and I do not know
Thank you for taking notice.
on resizeStack w,h
## Datagrid is the "master", a list of project names.
## There is a detail form on top that opens when
In LC 8 and 9 (latest versions) and on Windows 10 I tried to have a DG
adjust to the width and height of the resized window using other controls
as upper and lower borders.
All works fine without the data grid group. But when the group it is
included in the script of the handler, the resizeStack
Thank you, Richard, for your enlightening discussion on the ePub format
and that we should start thinking that direction.
> Given PDF's role as a delivery vehicle, it's most commonly an extra
> added to the end of a publishing process.
> Have you asked that data provider if they have
To extract text from a PDF document, I am using a command line tool on
Windows which is available also for Linux based systems called Xpdf.
It was working well, using shell() on LiveCode Community 8x, but tested
only in the IDE on Windows.
It should work with Linux and Mac as well.
If PDFs just
I like to thank everyone for help and suggestions !)
The suggestion from Jaqueline Landman gave me the workaround that I was
knowing that it would work: Using the "Copy Files" pane in the Standalone
Settings instead of using "Stacks".
So, thank you especially for this hint that saved me.
Window 10, LC 8.1.9, Trying to compile a standalone with more than just one
application file to the main file (mainfile = splash screen stack).
I have a problem and working on this for many hours now. I am using a
splash stack as the "main stack" for compilation and I am including the
I have this same problem of hanging cursor on Windows in the Script Editor.
Clicking outside of the SE changes the cursor to normal behavior. But it is
a bit annoying, yes.
A bug report would be nice.
use-livecode mailing list
Hi Richard and all contributing...
Thanks a lot for all answer...)))
I have received the corrupted files from clients (original stack that is
split into two files during save I guess) and will prepare a bug report
attaching them together with the original stack.
It is very difficult to know
Thanks, Phil and Tom
I already replied, but I cannot see my first reply to your answers.
Did it appear in the list?
>> "quitMe" should be sent before 'saveMe' is executed, because the 'save'
command is blocking. It would prevent 'quitMe' from being sent until (in
this case) 1 second
// Quit Command corrupts standalone (stack called by standalone splash)
Using Indy 8.1.9 desktop standalone without encryption (same problem with
earlier versions and community version), Windows 7, 8, 10, different
machines and different users of a large company. //
Before filing a bug report or
Using Indy 8.1.9 desktop standalone without encryption (same problem
with earlier versions and community version), Windows 7, 8, 10, different
machines and different users of a large company.
Before filing a bug report or sending a help request, maybe there is a help
This is an urgent
Mail list logo