Using Macro Scheduler with Citrix Receiver

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
PaulSR
Pro Scripter
Posts: 65
Joined: Mon Aug 05, 2013 2:58 pm
Location: Edinburgh/Peterborough

Using Macro Scheduler with Citrix Receiver

Post by PaulSR » Thu Aug 08, 2013 2:38 pm

Hi,

I'm currently looking to seek software which can automate a process within my current company. I've downloaded the lite version of MS and it seemed to fit all purposes with the exception of scraping text from the screen. I've now downloaded the STD version but I'm still not able to do this. I'm guessing that due to the application being delivered via citrix (ie effectively a streaming video) that MS is unable to lift text from the screen but I just wanted to check that was definitely the case?

Thanks in advance,

Paul.

User avatar
CyberCitizen
Automation Wizard
Posts: 721
Joined: Sun Jun 20, 2004 7:06 am
Location: Adelaide, South Australia

Post by CyberCitizen » Fri Aug 09, 2013 6:34 am

If you are trying to capture text within a Citrix window, you will most likely need to run the macro in that Citrix session. Otherwise you can try and capture the data & run it though OCR.

This is one of the problems with Citrix sessions as it doesn't display text the same way that windows does though the remote session. If you have the ability to run the scripts within your Citrix session you should be ok.
FIREFIGHTER

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Post by Dorian (MJT support) » Tue Aug 13, 2013 12:14 am

Macro Scheduler can control and screen scrape Citrix winframe applications.

However, this is not something I have experience with. Marcus will be back next week, and while he is not a Citrix expert either, he may have more insight than Cybercitizen and I.
Yes, we have a Custom Scripting Service. Message me or go here

PaulSR
Pro Scripter
Posts: 65
Joined: Mon Aug 05, 2013 2:58 pm
Location: Edinburgh/Peterborough

Post by PaulSR » Mon Aug 19, 2013 11:02 am

Thanks guys - it is proving a nightmare this the closest I've been able to get to what is required was using something called Automation Anywhere but the licensing costs required for us to roll it out would be too high I think. I have probably this week to either select a solution or pull the plug - hopefully Marcus can shed some light.

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Post by Dorian (MJT support) » Tue Aug 20, 2013 12:21 am

I am sure he'll be able to help, Yoshimax. I'm expecting him back on Wednesday.
Yes, we have a Custom Scripting Service. Message me or go here

User avatar
Marcus Tettmar
Site Admin
Posts: 7378
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Aug 20, 2013 9:07 am

Citrix is remote technology. It serves up the screens/windows but you're only seeing a picture. So you (the client) doesn't have access to the underlying controls. Text is therefore essentially just dots. Graphics.

So while it is easy to CONTROL Citrix apps, or other remote technologies, scraping them is difficult. As Cybercitizen says, you would really need the scraper on the Citrix side so it can "see" the bones. Otherwise as he says you'd probably need to use OCR because what you are seeing is really just pictures. You can use third party OCR libraries/apps with Macro Scheduler and have it capture screen shots to pass to the OCR engine but you mileage may vary depending on the capabilities/accuracy of your chosen OCR engine.

Now, I don't know if Citrix itself provides some kind of API interface to provide a channel to the underlying controls. But if it does Macro Scheduler doesn't know about it anyway.

I would recommend having something .. Macro Scheduler or a compiled macro .. On the Citrix side so that it has direct access to the apps without having to go through Citrix, and thus avoid OCR. You could always have a server side macro transfer info to a client side macro in some way.

Text capture is experimental at the best of times .. What works with some apps won't work with others and there are so many ways text may be rendered. Adding Citrix to the mix will just make it even more experimental.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

PaulSR
Pro Scripter
Posts: 65
Joined: Mon Aug 05, 2013 2:58 pm
Location: Edinburgh/Peterborough

Post by PaulSR » Thu Aug 22, 2013 7:38 am

Thanks Marcus - much appreciated.

srhamy
Newbie
Posts: 9
Joined: Sun Nov 26, 2006 12:38 am

Re: Using Macro Scheduler with Citrix Receiver

Post by srhamy » Fri Jan 06, 2017 3:50 pm

Hackish but you can position cursor,select text,copy to clipboard and Un select text
Scott Rhamy

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts