Thanks, that works...Bartman wrote:Python is case-sensitive.
tryCode: Select all
eg.result = eg.globals.Switch
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.
Search found 4 matches
- Fri Aug 17, 2007 2:31 pm
- Forum: General Support
- Topic: How to return result from script?
- Replies: 2
- Views: 1422
Re: How to return result from script?
- Fri Aug 17, 2007 11:38 am
- Forum: General Support
- Topic: How to return result from script?
- Replies: 2
- Views: 1422
How to return result from script?
I doesn't understand, how to return result from the python script.
I wrote the following:
but this code always returns 'none' for the next item in the tree, which is conditional jump.
I wrote the following:
Code: Select all
eg.globals.Switch = not eg.globals.Switch
print eg.result
eg.Result = eg.globals.Switch
- Sat Aug 11, 2007 1:56 pm
- Forum: General Support
- Topic: test Irman
- Replies: 10
- Views: 3320
Re: test Irman
Sorry for my bad english. I mean that I've made this modification by myself and after that found this topicBitmonster wrote:I haven't understood point 1.
Do you want to have the hexadecimal letters in lower case or what is the point?
Tested the latest beta 1094. Works fine.
- Sat Aug 11, 2007 12:55 pm
- Forum: General Support
- Topic: test Irman
- Replies: 10
- Views: 3320
Re: test Irman
Ok. I've also tested that new plugin. It seems, all works fine, except:
1) the latest modification confirmed by me too
self.buffer += "%02x" % ord(data)
2) some UIRs have the variable output bytes count ( i.e. 4 or 8 ) instead of default 6. May be, make that as a config option.
3) my UIR doesn't ...
1) the latest modification confirmed by me too
self.buffer += "%02x" % ord(data)
2) some UIRs have the variable output bytes count ( i.e. 4 or 8 ) instead of default 6. May be, make that as a config option.
3) my UIR doesn't ...