Greetings, There are two ways of scripting Citrix deployed applications:
1. Install BWS on the Citrix server (this will require a call to Support as there is a special way to accomplish this, and possible licensing implications that they will sort out for you). If BWS is on the server, you use whatever connection you would to script the system if it were installed on your PC. 2. If the above is not possible, then you must use OCR. OCR is not difficult - it's just different J. What it does is look at the screen as if it were a screen shot (which is all Citrix really is - fancy screen shots). Some helpful hints with OCR. 1. Build the script on the same PC you are going to run it - unless the runtime PC is the same as development (OS, resolution, color depth, etc.) 2. Size the screen the way you want it for scripting (smaller is better for ease of use) AND DO NOT RESIZE IT DURING DEVELOPMENT! Use this snippet: http://www.bostonworkstation.com/customer_center/script_center/script_detail s.aspx?id=267&cat=23 at the beginning of your script building to find out what size the application was, and to set the screen to this size when the script runs - and run it if you messed up during script building to resize it (do not attempt to guess - 1 pixel off is as good as 1000). 3. Don't worry about where the screen (or popup windows) show up on the desktop - OCR's eyes are focused on application in the foreground with focus. 4. USE COMMENTS! Comment every single Pause, View and Click to define what it it's doing. The REM icon is your friend here - get in the habit of using it. OCR's Pausestrings are bitmap signatures - (BWS will store a picture of what these are and the PauseString indicates the filename for these) but being meticulous about using comments will make your life much easier! 5. Pay attention to what the script is pausing (or at-ing for). Using the blinking cursor is a good thing. Here is an interesting approach. http://www.bostonworkstation.com/customer_center/script_center/script_detail s.aspx?id=254&cat=23 Hope this helps! Regards, Thom Thom C. Blackwell Product Manager Boston Software Systems (866) 653-5105 ex 807 <http://www.bossoft.com/> www.bossoft.com Visit us in Booth 2471 at HIMSS08 - February 25-28 in Orlando, FL <http://www.bostonworkstation.com/customer_center/special_events.aspx> Sign up for my weekly webinar! LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately, then delete this message and empty from your trash. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steinberg, Stacie Sent: Wednesday, January 30, 2008 8:36 AM To: [email protected] Subject: [Talk] Citrix and OCR connections Hello, Has anyone had experience with writing scripts that integrate with applications published via Citrix? Have you had to use the OCR connection? Please offer any tips or script snippets Thanks, Stacie Steinberg Streamline Health -------------------------------------------------------------------- The information contained in this e-mail message is intended by Streamline Health for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and protected from disclosure under applicable law. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you received this email in error, please notify us immediately by replying to the message and deleting it from your computer.
