PDA

View Full Version : Client name in netremote



yonu
June 4th, 2016, 01:05 PM
Is there NY way to dynamic have a button press in netremote include the client name in the event string for nr client I'd of event

Thanks,
Yonu

yonu
July 9th, 2016, 12:47 PM
I take it the awnser is no I would even settle for the IP address I just need a way for Girder to know which client it is comeing from that is automatic so that one line of code will work for 2 clients

Ron
July 9th, 2016, 03:55 PM
I've looked at the source code but unfortunately in the currently released build we don't have access to the unique ID that Girder uses internally. I can expose that in a future release.

Or you could edit DynamicButtons.qml (C:\Program Files\Promixis\Girder 6\ui\dynamicButtons) lines 158 and 161.



girder.sendEvent("YOURUNIQUEID" + button.eventString,button.eventDevice,1,[]);



Then of course set YOURUNIQUEID to something unique on both machines. Note that upgrade will overwrite that file so probably make a copy of all the files and then open that copy of DynamicButtons.