Good day.
I am working on a school project for which I create an Assetto Corsa telemetry app.
My biggest problem right now is, that AC won't create a listBox in the app, no matter, what I do.
My Code:
global listBox
listBox = acsys.addListBox(appWindow, listboxName)
ac.setSize(listBox, 700, 300)
ac.setPosition(listBox, 50, 50)
for onePort in ports:
portList.append(str(onePort))
ac.console(str(onePort))
ac.addItem(listBox, str(onePort))
The console is not outputting any error message either. Since AC is printing the available com ports into the console window, I really do not know why it won't create the listBox. I need it to choose the correct com port I want to send my data to.
I am working on a school project for which I create an Assetto Corsa telemetry app.
My biggest problem right now is, that AC won't create a listBox in the app, no matter, what I do.
My Code:
global listBox
listBox = acsys.addListBox(appWindow, listboxName)
ac.setSize(listBox, 700, 300)
ac.setPosition(listBox, 50, 50)
for onePort in ports:
portList.append(str(onePort))
ac.console(str(onePort))
ac.addItem(listBox, str(onePort))
The console is not outputting any error message either. Since AC is printing the available com ports into the console window, I really do not know why it won't create the listBox. I need it to choose the correct com port I want to send my data to.