neoEdge _RunInRectangle action error - Forum

Forum Navigation
You need to log in to create posts and topics.

neoEdge _RunInRectangle action error

 

I get this error when using the _RunInRectangle action.  Which is visible in the dev/console

"ReferenceError: theoptions is not defined"

Command used: _RunInRectangle "Rectangle1" "notepad.exe" "Hello World!" true true "{{AppId}}"

I've tried multiple variations with no luck.. and always the same error.

reduced console output

_RunInRectangle "Rectangle1" "notepad.exe" "Hello World!" true true "{{AppId}}"
angular.js:15697 ReferenceError: theoptions is not defined
at _RunInRectangle (main.js?v=24:48)

I believe it's an error in the function _RunInRectangle command .  A simple error of using the wrong cAsE for the variable theOptions.  Which is using theoptions for the final exec command.

@darbdenral you are totally right. I have fixed the plugin command. You can download and reinstall VisualNEO Web or just substitute the attached plugin. By the way, I have included 10 Rectangle objects (Rectangle1 to Rectangle10). They are invisible by default.

Also remember you can use an alternative way to execute VisualNEO Win commands:

BeginJS
$App.myCode=`
.Add here your VisualNEO Win code.
`;
EndJS
_Exec "[myCode]"

Regards.

Uploaded files:
  • You need to login to have access to uploads.
Darbdenral has reacted to this post.
Darbdenral

@luishp Wonderful.. thanks!

luishp has reacted to this post.
luishp