Re: Android and USB footswitch

2023-05-25 Thread harrison--- via use-livecode
Hi Klaus,

A  quick and really dirty solution:

Find an old wireless or BlueTooth computer mouse that you really don’t like,
and use it as a foot switch.  That will be super easy for LiveCode to detect 
too!

Have fun!

Rick

> On May 25, 2023, at 6:24 PM, Pi Digital via use-livecode 
>  wrote:
> 
> A usb footswitch will work like a mouse but with a different signature. 

___
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-05-25 Thread Pi Digital via use-livecode
Hi Klaus
Get something like this. 
https://www.ebay.co.uk/itm/404250759038?mkcid=16&mkevt=1&mkrid=711-127632-2357-0&ssspo=kxdzbfgltem&sssrc=2349624&ssuid=GspHaDqVTAS&var=&widget_ver=artemis&media=COPY
A usb footswitch will work like a mouse but with a different signature. The hub 
will be picked up via the tablet in a LiveCode app through the usual Bluetooth 
lib. Once it’s in you need to connect to the usb port from the hub and listen 
for messages. 

There are also these which work even better with built in BT - designed for 
RaspPi
https://dylanbeattie.net/2020/05/17/turning-a-raspberry-pi-zero-into-a-usb-footpedal.html

All the best buddy. 

Sean Cole
Pi Digital


> On 25 May 2023, at 17:44, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
>> Am 25.05.2023 um 18:31 schrieb William Prothero via use-livecode 
>> :
>> Klaus,
>> I'm not sure if it is supported on Android, but on an apple ipad, it 
>> supports pdf display, foot switch (pager) and even has an addon for 
>> displaying realbook scores in different keys. It's very popular among 
>> concert musicians as well. Personally, I bought a large screen ipad that 
>> displays the scores at full page size and supports apple pencil annotating 
>> of scores. It's main drawback is the documentation for the app was written 
>> by the programmer and it's pretty unclear. I love the app anyway, though.
>> Downside is that the ipad is expensive, but sure makes keeping track of 
>> music a lot easier.
> 
> sure, but I can definitively only afford a used Android tablet.
> 
>> Best,
>> Bill
> 
> 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
___
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-05-25 Thread matthias rebbe via use-livecode
Klaus,

> Am 25.05.2023 um 22:32 schrieb matthias rebbe via use-livecode 
> :
> 
> Klaus, 
> 
> this footswitch for example is detected as HID device. 
> https://www.scythe-eu.com/produkte/pc-zubehoer/usb-foot-switch-ii.html
> 
> 
The following refers to the switch of the above link and not for all usb 
switches.

> The functions of the switch(es) have to be configured with the included 
> software on a Windows PC first. After that the switch can be used on other 
> devices without any additonal software.
> As most Android devices will support USB keyboards, this should work. 

___
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-05-25 Thread matthias rebbe via use-livecode
Klaus, 

this footswitch for example is detected as HID device. 
https://www.scythe-eu.com/produkte/pc-zubehoer/usb-foot-switch-ii.html


The functions of the switch(es) have to be configured with the included 
software on a Windows PC first. After that the switch can be used on other 
devices without any additonal software.
As most Android devices will support USB keyboards, this should work. 

If the Android device has a memory card slot you could store the PDFs on a 
memory card and let your LC app then access this storage card. To update the 
PDF files you eihter have  to connect your tablet with your PC or Mac as an 
external drive or you could remove the memory card from the tablet and use it 
in a cardreader on a PC or Mac.

I have here an older table laying around which I could send to you. But i have 
to check its os version first.

Regards,
Matthias

> Am 25.05.2023 um 21:49 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi Mark,
> 
>> Am 25.05.2023 um 18:51 schrieb Mark Wieder via use-livecode 
>> :
>> 
>> On 5/25/23 08:22, Klaus major-k via use-livecode wrote:
>>> Hi friends,
>>> I'm still an active musician (bass guitar) and am currently playing in four 
>>> bands.
>>> Nowadays bulky music stands on stage are OUT and tablets are IN!
>>> So I am considering to create a little app for myself to display PDF 
>>> leadsheets
>>> (= lyrics and chord symbols) on an Andorid tablet, which I still have to 
>>> buy. :-)
>>> There are some USB footswitches, and I would like to use one of them to 
>>> browse
>>> through the (multipage) PDFs (next page, previous page).
>>> Anyone knows if these switches will act like an "external keyboard", means 
>>> if they
>>> will just send any RAWKEY that I could catch in LC?
>>> Or will I need something created with LCB to do so?
>> 
>> I use a Lekato Page Turner. It also works with my Lekato Looper.
>> 
> 
> since LC does not support bluetooth on Android (yet?), I need an USB device. 
> Or does it?
> Remember, I want to do it by myself! :-)
> 
> Already found a cheap USB device on Amazhon which looks like it could do the 
> job.
> But first I need to get a cheap tablet with a not too old Android version, so 
> LC will support it.
> 
>> At one point I was also managing to play in four bands. Knocking it down to 
>> three simplified my life immensely. Highly recommended.
> 
> I am retired, don't have family and a lot more time than money, no problem 
> for me, Sir! :-D
> 
> 
> However my two questions are still unanswered.
> 1. Anyone knows if these switches will act like an "external keyboard", means 
> if they
> will just send any RAWKEY that I could catch in LC?
> 
> 2. Since PDFs are not accessible via "mobilepickmedia" are there ANY other 
> ways to add 
> some PDFs later without having to download them from some URL?
> 
>> -- 
>> Mark Wieder
>> ahsoftw...@gmail.com 
> 
> 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

___
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-05-25 Thread Klaus major-k via use-livecode
Hi Mark,

> Am 25.05.2023 um 18:51 schrieb Mark Wieder via use-livecode 
> :
> 
> On 5/25/23 08:22, Klaus major-k via use-livecode wrote:
>> Hi friends,
>> I'm still an active musician (bass guitar) and am currently playing in four 
>> bands.
>> Nowadays bulky music stands on stage are OUT and tablets are IN!
>> So I am considering to create a little app for myself to display PDF 
>> leadsheets
>> (= lyrics and chord symbols) on an Andorid tablet, which I still have to 
>> buy. :-)
>> There are some USB footswitches, and I would like to use one of them to 
>> browse
>> through the (multipage) PDFs (next page, previous page).
>> Anyone knows if these switches will act like an "external keyboard", means 
>> if they
>> will just send any RAWKEY that I could catch in LC?
>> Or will I need something created with LCB to do so?
> 
> I use a Lekato Page Turner. It also works with my Lekato Looper.
> 

since LC does not support bluetooth on Android (yet?), I need an USB device. Or 
does it?
Remember, I want to do it by myself! :-)

Already found a cheap USB device on Amazhon which looks like it could do the 
job.
But first I need to get a cheap tablet with a not too old Android version, so 
LC will support it.

> At one point I was also managing to play in four bands. Knocking it down to 
> three simplified my life immensely. Highly recommended.

I am retired, don't have family and a lot more time than money, no problem for 
me, Sir! :-D


However my two questions are still unanswered.
1. Anyone knows if these switches will act like an "external keyboard", means 
if they
will just send any RAWKEY that I could catch in LC?

2. Since PDFs are not accessible via "mobilepickmedia" are there ANY other ways 
to add 
some PDFs later without having to download them from some URL?

> -- 
> Mark Wieder
> ahsoftw...@gmail.com

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-05-25 Thread Mark Wieder via use-livecode

On 5/25/23 08:22, Klaus major-k via use-livecode wrote:

Hi friends,

I'm still an active musician (bass guitar) and am currently playing in four 
bands.

Nowadays bulky music stands on stage are OUT and tablets are IN!
So I am considering to create a little app for myself to display PDF leadsheets
(= lyrics and chord symbols) on an Andorid tablet, which I still have to buy. 
:-)

There are some USB footswitches, and I would like to use one of them to browse
through the (multipage) PDFs (next page, previous page).

Anyone knows if these switches will act like an "external keyboard", means if 
they
will just send any RAWKEY that I could catch in LC?
Or will I need something created with LCB to do so?


I use a Lekato Page Turner. It also works with my Lekato Looper.



At one point I was also managing to play in four bands. Knocking it down 
to three simplified my life immensely. Highly recommended.


--
 Mark Wieder
 ahsoftw...@gmail.com


___
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-05-25 Thread Klaus major-k via use-livecode
Hi Bill,

> Am 25.05.2023 um 18:31 schrieb William Prothero via use-livecode 
> :
> Klaus,
> I'm not sure if it is supported on Android, but on an apple ipad, it supports 
> pdf display, foot switch (pager) and even has an addon for displaying 
> realbook scores in different keys. It's very popular among concert musicians 
> as well. Personally, I bought a large screen ipad that displays the scores at 
> full page size and supports apple pencil annotating of scores. It's main 
> drawback is the documentation for the app was written by the programmer and 
> it's pretty unclear. I love the app anyway, though.
> Downside is that the ipad is expensive, but sure makes keeping track of music 
> a lot easier.

sure, but I can definitively only afford a used Android tablet.

> Best,
> Bill

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-05-25 Thread William Prothero via use-livecode
Klaus,
I'm not sure if it is supported on Android, but on an apple ipad, it supports 
pdf display, foot switch (pager) and even has an addon for displaying realbook 
scores in different keys. It's very popular among concert musicians as well. 
Personally, I bought a large screen ipad that displays the scores at full page 
size and supports apple pencil annotating of scores. It's main drawback is the 
documentation for the app was written by the programmer and it's pretty 
unclear. I love the app anyway, though.

Downside is that the ipad is expensive, but sure makes keeping track of music a 
lot easier.

Best,
Bill

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On May 25, 2023, at 8:58 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi Bill,
> 
>> Am 25.05.2023 um 17:41 schrieb William Prothero via use-livecode 
>> :
>> 
>> Klaus,
>> I'm a musician/hobbyist too. Check out iGigbook. It does all that stuff and 
>> it's cheap.
> 
> thank you, but what the webpage does not tell is, if it supports footswitches 
> and if one can "easily" 
> import own PDF files from the device itself!?
> 
> And I wanted create this by myself, just for the fun of it. :-)
> So my questions are still unanswered
> 
>> Bill Prothero
>> 
>> William A. Prothero, PhD
>> Prof Emeritus, Dept of Earth Science
>> University of California, Santa Barbara
>> 
 On May 25, 2023, at 8:23 AM, Klaus major-k via use-livecode 
  wrote:
>>> 
>>> Hi friends,
>>> 
>>> I'm still an active musician (bass guitar) and am currently playing in four 
>>> bands.
>>> 
>>> Nowadays bulky music stands on stage are OUT and tablets are IN!
>>> So I am considering to create a little app for myself to display PDF 
>>> leadsheets 
>>> (= lyrics and chord symbols) on an Andorid tablet, which I still have to 
>>> buy. :-)
>>> 
>>> There are some USB footswitches, and I would like to use one of them to 
>>> browse 
>>> through the (multipage) PDFs (next page, previous page).
>>> 
>>> Anyone knows if these switches will act like an "external keyboard", means 
>>> if they 
>>> will just send any RAWKEY that I could catch in LC? 
>>> Or will I need something created with LCB to do so?
>>> 
>>> Thanks for any hint!
>>> 
>>> P.S.
>>> Since PDFs are not accessible via "mobilepickmedia" are there ANY other 
>>> ways to add 
>>> some PDFs later without having to download 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


___
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-05-25 Thread Klaus major-k via use-livecode
Hi Bill,

> Am 25.05.2023 um 17:41 schrieb William Prothero via use-livecode 
> :
> 
> Klaus,
> I'm a musician/hobbyist too. Check out iGigbook. It does all that stuff and 
> it's cheap.

thank you, but what the webpage does not tell is, if it supports footswitches 
and if one can "easily" 
import own PDF files from the device itself!?

And I wanted create this by myself, just for the fun of it. :-)
So my questions are still unanswered

> Bill Prothero
> 
> William A. Prothero, PhD
> Prof Emeritus, Dept of Earth Science
> University of California, Santa Barbara
> 
>> On May 25, 2023, at 8:23 AM, Klaus major-k via use-livecode 
>>  wrote:
>> 
>> Hi friends,
>> 
>> I'm still an active musician (bass guitar) and am currently playing in four 
>> bands.
>> 
>> Nowadays bulky music stands on stage are OUT and tablets are IN!
>> So I am considering to create a little app for myself to display PDF 
>> leadsheets 
>> (= lyrics and chord symbols) on an Andorid tablet, which I still have to 
>> buy. :-)
>> 
>> There are some USB footswitches, and I would like to use one of them to 
>> browse 
>> through the (multipage) PDFs (next page, previous page).
>> 
>> Anyone knows if these switches will act like an "external keyboard", means 
>> if they 
>> will just send any RAWKEY that I could catch in LC? 
>> Or will I need something created with LCB to do so?
>> 
>> Thanks for any hint!
>> 
>> P.S.
>> Since PDFs are not accessible via "mobilepickmedia" are there ANY other ways 
>> to add 
>> some PDFs later without having to download 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-05-25 Thread William Prothero via use-livecode
Klaus,
I'm a musician/hobbyist too. Check out iGigbook. It does all that stuff and 
it's cheap.
Bill Prothero

William A. Prothero, PhD
Prof Emeritus, Dept of Earth Science
University of California, Santa Barbara

> On May 25, 2023, at 8:23 AM, Klaus major-k via use-livecode 
>  wrote:
> 
> Hi friends,
> 
> I'm still an active musician (bass guitar) and am currently playing in four 
> bands.
> 
> Nowadays bulky music stands on stage are OUT and tablets are IN!
> So I am considering to create a little app for myself to display PDF 
> leadsheets 
> (= lyrics and chord symbols) on an Andorid tablet, which I still have to buy. 
> :-)
> 
> There are some USB footswitches, and I would like to use one of them to 
> browse 
> through the (multipage) PDFs (next page, previous page).
> 
> Anyone knows if these switches will act like an "external keyboard", means if 
> they 
> will just send any RAWKEY that I could catch in LC? 
> Or will I need something created with LCB to do so?
> 
> Thanks for any hint!
> 
> P.S.
> Since PDFs are not accessible via "mobilepickmedia" are there ANY other ways 
> to add 
> some PDFs later without having to download 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


___
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


Android and USB footswitch

2023-05-25 Thread Klaus major-k via use-livecode
Hi friends,

I'm still an active musician (bass guitar) and am currently playing in four 
bands.

Nowadays bulky music stands on stage are OUT and tablets are IN!
So I am considering to create a little app for myself to display PDF leadsheets 
(= lyrics and chord symbols) on an Andorid tablet, which I still have to buy. 
:-)

There are some USB footswitches, and I would like to use one of them to browse 
through the (multipage) PDFs (next page, previous page).

Anyone knows if these switches will act like an "external keyboard", means if 
they 
will just send any RAWKEY that I could catch in LC? 
Or will I need something created with LCB to do so?

Thanks for any hint!

P.S.
Since PDFs are not accessible via "mobilepickmedia" are there ANY other ways to 
add 
some PDFs later without having to download 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: Latest video -- integration of AI into script editor

2023-05-25 Thread Bob Sneidar via use-livecode
I create datagrids with some properties that help me with database queries. For 
instance one property is the name of the table I source for the data. So I came 
up with the idea of popping up a menu when I right click on a datagrid, where I 
can select a column from the table, and then wherever I click next, it will 
create a field and label in a group, all named after the column wherever I 
click next. The fields I produce also have a property for the column name, so 
when I populate a form, I provide an array of the datagrid data to the handler 
which iterates through all the fields looking for that property, and fills the 
fields with data from that array. 

So while creating forms is tedious, it can be made a good deal less tedious by 
doing some coding on the front end. 

Bob S


-Original Message-
Hi Mike, 

Not that I’m aware of. Apart from Richard’s utility, the only other way I’ve 
seen used is dragging items from the tools palette. Not a terrible process as 
no-code is involved in doing so (so you don’t have frustrations with syntax to 
deal with), but as Jacque points out, if you have a lot of this to do, it can 
get tedious. 

Mark

> On 23 May 2023, at 8:31 pm, Mike Kerner via use-livecode 
>  wrote:
> 
> didn't the old db library (which is still included with LC, and still 
> gets built into every standalone, whether you choose to include it or
> not) have the ability to build forms from db's?


___
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