That's not what I want "to hear".eventspook wrote:It looks like ...
So I guess ...
It should ...
but maybe ...
I need to know how to your problem occurs in a real situation.
I have DropBox also available.
Pako
That's not what I want "to hear".eventspook wrote:It looks like ...
So I guess ...
It should ...
but maybe ...
Pako wrote:When you use the action "Start periodical reading", so you can not print eg.result. This action does not result, this action only starts the periodic reading.
Content (or certain lines) of file you can only receive as eg.event.payload.
You certainly do not need to actually print the "result".
Perhaps it would be better to write exactly what you need.
Pako
Code: Select all
if eg.event.payload == "1": eg.plugins.System.Execute(u'notepad.exe', u'', 0, False, 2, u'', False, False)Code: Select all
import random
RandomNumber = random.randrange(1, 10)
print RandomNumber
eg.plugins.FileOperations.Read(
0, u'C:\\Users\\Edouard\\automation\\phrases.txt', 0, 0,
'cp1252', RandomNumber, False, 1)
print eg.result
eg.plugins.Speech.TextToSpeech(
u'Microsoft Hortense Desktop - French', 0, eg.result,
u'', 100, u'Line Out (Scarlett 18i8 USB)')