octalmage / robotjs

Node.js Desktop Automation.
http://robotjs.io
MIT License
12.3k stars 949 forks source link

typeString() write undefined #637

Open Andyloris opened 3 years ago

Andyloris commented 3 years ago

when i the following code: var bfexec = require('execute-bf-code') var robot = require('robotjs') var string_to_type = bfexec.execute_code('yapi.b', true, "") process.on('read_terminated', () => { robot.typeString(string_to_type) });

yapi.b

it just type 'undefinied' but it should type '3.14159265358979'

Someone have a fix ?

Thanks in advance !