SparkOut wrote: Tue Sep 28, 2021 7:09 pm
On Windows 9.6.5_64 bit version, I get the same broken gif snapshotted, whether output to file or to a newly created image.
Ah, bless you SparkOut! I am not alone.
Thanks for checking.
Rob Cozens dba Serendipity Software Company
Manchester, CA USA
Each new generation gives more attention to the man-made world...
and less attention to the world that made man.
RCozens wrote: Tue Sep 28, 2021 7:11 pmThat is the essence of my question Klaus: Why can't LiveCode resolve the "as type" argument at runtime? I have the workaround in the form of a switch, but wonder if there is a specific reason why "as type" can't be resolved at runtime when so many other command arguments can be.
Not a big issue; just an idle wondering.
OK, maybe a good reason to file an "enhancement request" for this.
richmond62 wrote: Tue Sep 28, 2021 7:33 pm
Obviously a Windows problem.
Richmond has run Serendipity Editors on MacOS, and can create GIF files from screen rectangle snapshots.
I have modified the script so that screen snapshots can only be exported on MacOS.
If anyone would like to test this on Linux, eMail me privately with an eAddress and I will send you a copy that allows screen snapshots to be exported to GIF files on that platform.
Cheers!
Rob Cozens dba Serendipity Software Company
Manchester, CA USA
Each new generation gives more attention to the man-made world...
and less attention to the world that made man.
I tried to report this as a bug today, and I seem to have encountered a bug in the bug reporting system.
I created a simple example stack and listed 10 steps for testing it (the later now comments in the stack script). I've attached the stack if anyone wants to check it out.
Anyway, the bug entry screen lists sections 1 - 7. I completed sections 1 - 6, and then selected the submit bug report button, which is located directly under the "7". I got an error saying I needed to go back and enter a Windows version #. I go back to the screen, and once again I see no place to enter the Windows version. I tried this three times. Am I missing something?
RCozens wrote: Tue Sep 28, 2021 7:11 pm
Why can't LiveCode resolve the "as type" argument at runtime? I have the workaround in the form of a switch, but wonder if there is a specific reason why "as type" can't be resolved at runtime when so many other command arguments can be.
Here's the answer: There is another syntax for the export command
In this command the previously-selected image is exported in GIF format (or PNG or JPEG or paint, depending on word two of the command). Methinks "export imageType to file fileName" would be more complicated for LiveCode to resolve at runtime than "export image imageName to file fileName as imageType".
Rob Cozens dba Serendipity Software Company
Manchester, CA USA
Each new generation gives more attention to the man-made world...
and less attention to the world that made man.