¿ªÔÆÌåÓý

Audio Icon on Web Panel - Java


 

Dave S. & Daniel B.
I just picked-up where we left off on DEC 5 2024. We had a thread going and Daniel provided Java code.
Based on Dave's comments on the code I believe I would be left with what's shown in the attached snip.
I saved it as .js but that didn't work when I ran it from Panel Pro.
NY&HV_RR_Yard_Scenes is the name of my panel and?Harbor is the ID of the Audio Icon.
What file extension should I use, .java? Will it run from Panel Pro or from Command line?
?
--

Many thanks in advance!

Vinny DeRobertis ~ Apex, NC
New York & Hudson Valley RR

Windows 7 Pro / Java 11 / JMRI v5.10
Command Station: Digikeijs DR5000.
Booster: Digikeijs DR5033
(4) Samsung A7 10.4" Tablets
Fully Kiosk/Engine Driver v2.37.187
DCC/DMX Gateway: Pricom LLS.
LocoNet Input Modules: Digikeijs DR4088LN
DCC Output Modules:
Digikeijs DR4018 / Yamorc YD8116.
Sensors: Model Train Technology: DETECTOR-HO.
Turnout Motors: MTB MP1

Join [email protected] to automatically receive all group messages.