(API) Create 2 different Robot Application instances

(API) Create 2 different Robot Application instances

kai-hung.changHSCJ3
Contributor Contributor
545 Views
2 Replies
Message 1 of 3

(API) Create 2 different Robot Application instances

kai-hung.changHSCJ3
Contributor
Contributor

Is it possible to create 2 robot application instances?

Let's say in the code I want to have two robot application running parallel and do different things. 

 

In Python, I tried:

robot1 = win32.DispatchEx("Robot.Application")
robot2 = win32.DispatchEx("Robot.Application")

which works with cases that tries to open Excel, but not with Robot. The two instances point to the same Robot application. 

I also tried in VB, but since I'm not familiar, I'm not sure if I did it correctly.

 

I also tried to manually open a new robot application, but all of them points to one.

 

0 Likes
Accepted solutions (1)
546 Views
2 Replies
Replies (2)
Message 2 of 3

Romanich
Mentor
Mentor
Accepted solution

Hi @kai-hung.changHSCJ3 ,

Not possible

Do you find the posts helpful? "LIKE" these posts!
Have your question been answered successfully? Click 'ACCEPT SOLUTION' button.

Roman Zhelezniak

Robot Evangelist & Passionate Civil Structural Engineer

LinkedIn | Robot & Хобот | App Store for Robot
EESignature


0 Likes
Message 3 of 3

kai-hung.changHSCJ3
Contributor
Contributor

Thank you Romanich.

0 Likes