That is pretty cool. I created a Spinner app which is a standalone that 
responds to AppleScript commands or Sockets. Since it is a standalone, it runs 
under it's own thread. I created internal commands to show or hide itself, as 
well as setting the displayed message. Using browser widgets seems a better 
implementation though. 

Bob S


> On May 2, 2023, at 08:23, Andreas Bergendal via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi all,
> 
> It has long annoyed me that the spinner widget doesn’t actually spin when you 
> need it to - during lockScreen or when a database fetch blocks everything. 
> Animated gifs are no better.
> 
> Inspired by some comment over at the forum, I embarked on building myself a 
> tool for crafting spinners animated in browser widgets, as those would 
> continue spinning in a heavenly layer of its own, no matter what traffic jams 
> occur down on LC ground level… 
> 
> Of course the project grew bigger than initially planned, as they do, and is 
> not finished yet, as they never are - but at least I have something good 
> enough to use, and good enough to share (I think).
> 
> The stack is designed for use it in the LC IDE, to craft the spinner (or 
> whatever animation you want) and then copy the browser widget (or just the 
> htmlText) to wherever you want to use it. The code is completely 
> self-sufficient (html and css all crammed in). 
> One can obviously make any kind of repeating animation with it (within the 
> limits of the current css animation lib), not only spinners. 
> 
> Here is a link to the gitHub rep:
> https://github.com/wheninspace/WIS_BrowserAnimation
> 
> And here is a web deployment of it (LC10 dp5), just to prove that the 
> resulting code also works on web.
> https://wheninspace.com/browseranimation/
> (Make sure to click the "Show examples” button to see some cool examples… :)
> 
> Please let me know if you find it useful (or how to improve it, if it isn't).
> 
> /Andreas
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to