Re: Android and USB footswitch

2023-06-06 Thread Klaus major-k via use-livecode
Hi Andrew,

> Am 06.06.2023 um 18:28 schrieb Andrew at MidWest Coast Media via use-livecode 
> :
> 
> 1- add folder of PDFs in Standalone Application Settings > Copy Files (in my 
> case this appears as “files/*”)
> 2- add a Browser widget to your stack
> 3- set the filename of the widget to your local PDF file path
> put "/files/" into tBasePath
> put “SomeLocalFile.pdf" into tFileName
> put tBasePath & tFileName into tPath
> put specialFolderPath("resources") & tPath into tURL
> set the fileName of widget “Browser" to tURL

as I wrote in an earlier mail, this does not work on Android!
The browser cannot display PDFs on Android! 
Or did this change in the last time?

But I have a license for the PDF widget, so displaying is not a problem.

> —Andrew Bell
>> 
>>> Am 31.05.2023 um 20:39 schrieb Andrew at MWCM via use-livecode 
>>> :
>>> You can open local PDFs in a LiveCode app by loading them into the Browser 
>>> widget.

See above...

>>> Do you plan on compiling with the PDFs as part of your app (in the 
>>> Resources folder) or trying to add to the app after the fact?
>> and? 
>> Do you have a helpful hint for this? :-)

I meant that I am looking for a way to add some more PDFs later.
And my question was if there is another way to do so without loading them from 
some URL.


Best

Klaus
--
Klaus Major
https://www.major-k.de
https://www.major-k.de/bass
kl...@major-k.de


___
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


Re: Android and USB footswitch

2023-06-06 Thread Andrew at MidWest Coast Media via use-livecode
1- add folder of PDFs in Standalone Application Settings > Copy Files (in my 
case this appears as “files/*”)
2- add a Browser widget to your stack
3- set the filename of the widget to your local PDF file path

put "/files/" into tBasePath
put “SomeLocalFile.pdf" into tFileName
put tBasePath & tFileName into tPath
put specialFolderPath("resources") & tPath into tURL
set the fileName of widget “Browser" to tURL

—Andrew Bell

> 
>> Am 31.05.2023 um 20:39 schrieb Andrew at MWCM via use-livecode 
>> :
>> 
>> You can open local PDFs in a LiveCode app by loading them into the Browser 
>> widget.
>> Do you plan on compiling with the PDFs as part of your app (in the Resources 
>> folder) or trying to add to the app after the fact?
> 
> and? 
> Do you have a helpful hint for this? :-)
> 
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> https://www.major-k.de
> https://www.major-k.de/bass
> kl...@major-k.de
> 
> 


___
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


Re: Re: A spinner that keeps spinning

2023-06-06 Thread Andreas Bergendal via use-livecode
Just an update on the browser animation tool, which has had a major upgrade:

Version 2.0 has a new set of 12 modern spinners. They also include a script 
that enables you to easily change the color of the spinner, and the background 
of the widget, on the fly, even after copying it to your own stack.

Even if you are not able to use the transparency feature, currently only 
available in LC10 dp5 on Mac, you can now in any version of LiveCode (since the 
birth of the browser widget) get rid of the default white background and set it 
to any color you want. 

There is even a feature that will blend in the widget with the (mono-colored) 
background for you. It uses  the mouseColor to pick up the color of the loc 
pixel behind the widget.

Updated web deployment version here (for demonstration of how it looks and 
works), now also including a convenient download button for the LC stack, which 
is the real deal:
https://wheninspace.com/browseranimation/
(Clear your cache or use a private browser window if you don’t see the latest 
version (2.0).)

The amount of fish is the same… :)

/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