I want to define a variable
Put this in a script in autostart
HOST = '192.168.1.104'
But if i need the variable later, the error occurs.
Which neewbie mistake is this ?
Thanks
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Nameerror : name 'HOST' ist not defined
Re: Nameerror : name 'HOST' ist not defined
Use eg.globals.host instead of just host. Host is a local variable that only exists in the current context. eg.globals.whateveryouwant will enable you to store data that can be accessed anywhere in EG.
miljbee
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.
TCP Events : A Better Network Event Sender/Receiver Plugin.
The Network Event Sender/Receiver in C#
Get events in EG from Google Calendar.
Re: Nameerror : name 'HOST' ist not defined
Thanks
it works
it works