Search found 47 matches
- Mon Jan 27, 2025 6:38 am
- Forum: Talking LiveCode
- Topic: (destroyStack) Ok, Maybe I know that What, but not the Why...
- Replies: 11
- Views: 10247
Re: (destroyStack) Ok, Maybe I know that What, but not the Why...
Thank you. I cut my scripting teeth using Hypercard on a 68K mac (a Plus) and I do remember the need to maximize speed with memory tricks. Craig, your example is useful thank you. Like Jacque I think I am more inclined to purge a closed stack to save confusion if nothing else but I guess I can see t...
- Sat Jan 25, 2025 7:53 pm
- Forum: Talking LiveCode
- Topic: (destroyStack) Ok, Maybe I know that What, but not the Why...
- Replies: 11
- Views: 10247
Re: (destroyStack) Ok, Maybe I know that What, but not the Why...
Thanks Jaqueline, interesting history of the property name! I have always tiptoed around destroyStack even though I felt pretty confident I understood it's purpose. My trouble is often that I run a function of my own making called copynow(), which optionally creates archives of the current stack (ap...
- Sat Jan 25, 2025 1:07 am
- Forum: Talking LiveCode
- Topic: (destroyStack) Ok, Maybe I know that What, but not the Why...
- Replies: 11
- Views: 10247
(destroyStack) Ok, Maybe I know that What, but not the Why...
This may seem dumb, but why is this property available to set? closeStack means close stack, so under what circumstances would I want to leave it in memory? Also, I save my projects to a local folder which is also a cloud folder (Dropbox) and I will usually be very careful to "quit" (close) projects...
- Mon Mar 18, 2024 6:06 pm
- Forum: HTML5
- Topic: Why won't my very simple stack work in HTML5?
- Replies: 37
- Views: 35226
Re: Why won't my very simple stack work in HTML5?
SWEdeAndy, I'd also be very curious if you have any similar workarounds concerning file I/O (writing to and from local files on a Mac/Linux/Windows etc) -- and/or the ability to accept clipboard data from a user (incoming) . File I/O - even just text - would be magic! Marc You'll be happy to see th...
- Mon Mar 18, 2024 7:29 am
- Forum: HTML5
- Topic: Why won't my very simple stack work in HTML5?
- Replies: 37
- Views: 35226
Re: Why won't my very simple stack work in HTML5?
[/quote] You'll be happy to see that I finally found how to crack the pasting nut - see my just released WebDeployHelper tool beta over here: https://forums.livecode.com/viewtopic.php?f=120&t=38989 I'd be interested to get your feedback on it, if you have time to test it. [/quote] Thanks Andreas I v...
- Sun Mar 17, 2024 7:46 pm
- Forum: Talking LiveCode
- Topic: How to get the icon of a file?
- Replies: 8
- Views: 4349
Re: How to get the icon of a file?
Thanks for the update Stam. I would assume the same, namely that it is not functionality that exists, but I will look into your link to what Zax managed to do. It might be ok for me as I'm building for MacOS only at the moment. Your custom icons might work for some better visuals in the meantime. Th...
- Thu Mar 14, 2024 6:13 am
- Forum: Talking LiveCode
- Topic: How to get the icon of a file?
- Replies: 8
- Views: 4349
Re: How to get the icon of a file?
It appears this thread ended here, back in 2021. But I too would like to know if there is an LC library to pull up the Finder icon of a given file (on MacOS or on any other desktop OS). Has this question been explore elsewhere that I am not aware of?
- Tue Feb 27, 2024 5:34 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Livecode Enhancements pack - error after update
- Replies: 28
- Views: 8317
Re: Livecode Enhancements pack - error after update
I have been wanting a key to .EML for at least ten years! This is better than I hoped for. Thanks for all your patience
Marc
Marc
- Tue Feb 27, 2024 7:12 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Livecode Enhancements pack - error after update
- Replies: 28
- Views: 8317
Re: Livecode Enhancements pack - error after update
Using my example, e.g. store the images on the desktop ... put the keys of tAt into tFilenames repeat with i = 1 to the num of lines of tFilenames ## tFileName now contains the name of the first KEY of tAt put line i of tFilenames into tFileName ## Save the images on the desktop: put base64decode(t...
- Mon Feb 26, 2024 5:58 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Livecode Enhancements pack - error after update
- Replies: 28
- Views: 8317
Re: Livecode Enhancements pack - error after update
Yes, I can see them. I'm so close! What I don't know is how syntactically to address them or to get their names for further manipulation.
- Mon Feb 26, 2024 6:04 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Livecode Enhancements pack - error after update
- Replies: 28
- Views: 8317
Re: Livecode Enhancements pack - error after update
Hi Klaus
Very exciting... I tried the following and as you can see came very close (to 3 .jpg files), but tAt was empty. I know I need to address one of them, but how?
Marc
Code: Select all
...
put emlToArray(tData) into tArray
put getAttachments(tArray) into tAt
...
- Sun Feb 25, 2024 3:13 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Livecode Enhancements pack - error after update
- Replies: 28
- Views: 8317
Re: Livecode Enhancements pack - error after update
Avec plaisir, mon ami! :) Feel free to ask if you get stuck. Je suis tres reconnaissant, mon ami! This is the key to maybe 30,000+ old email files going back years which I have had very limited ways to manipulate. Very excited about this, and for future applications. When I saw EMLParser I knew I n...
- Sat Feb 24, 2024 6:04 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Livecode Enhancements pack - error after update
- Replies: 28
- Views: 8317
Re: Livecode Enhancements pack - error after update
Thanks so much Klaus! I wish I had time right now to study this but I quickly put it into my button and it works like magic! I'm sure I will be able to figure it out when I have a moment. Thank you so much for this and for your comments in the code. I really need to get my mind around the nature of ...
- Sat Feb 24, 2024 7:18 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Livecode Enhancements pack - error after update
- Replies: 28
- Views: 8317
Re: Livecode Enhancements pack - error after update
Klaus, I'm still mystified about how you are getting the body. Could I ask you to write a commented button (just a minimal number of lines) that collects an .EML file and pulls out it's Body in plain text? Then maybe I'd understand better how an array is structured and how you address the various pa...
- Fri Feb 23, 2024 4:05 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Livecode Enhancements pack - error after update
- Replies: 28
- Views: 8317
Re: Livecode Enhancements pack - error after update
Hi Klaus
I'm a little confused. I am unable to get plain text with your suggested line
put textdecode(tBody,"utf8") into tBodyClean
It appears to remain the same as tBody (HTML)
Marc
I'm a little confused. I am unable to get plain text with your suggested line
put textdecode(tBody,"utf8") into tBodyClean
It appears to remain the same as tBody (HTML)
Marc