However, every time I start up the file, the webclient DAT has not pulled the request as I’ve scripted and I have to manually request it. The toggle for ‘On Start’ is active, and I’ve tried setting the parameter to ‘True’ instead of 1 just for the hell of it, and still not. Probably something simple, but just wanted to ask.
That means you need to pulse by doing this: op("webclient1").par.request.pulse()
When working with Python, a good habit is to enable the textport. First split your pane (icon topright) and then set the new pane to type “Textport and DATs” and then save your .toe file, now you can see any errors.
Now you can add some debug code to check it is executing, output will be printed to Textport:
def onStart():
debug("my script is started!")
op('webclient1').par.request.pulse()
return
Hi @nettoyeur. Yeah I’ve used the textport a lot, and that’s why I was confused because I just assumed you needed to change the value, I had never seen a ‘type pulse’ before. Thank you though!