| View previous topic :: View next topic |
| Author |
Message |
tsl
Joined: 27 Jun 2008 Posts: 2
|
Posted: Fri Jun 27, 2008 10:01 am Post subject: Autohotkey and Citrix |
|
|
Hi All,
I've created a script that read some fields in a software's window.
To identify the window I use the window's title and the script works well.
My point is that for other people that are using the same software through Citrix, the macro is not working even if the WindowsSpy confirms that the window's name is exactly the same.
Has anybody faced this issue?
Cheers.. |
|
| Back to top |
|
 |
poo_noo
Joined: 08 Dec 2006 Posts: 137 Location: Sydney Australia
|
Posted: Fri Jun 27, 2008 10:43 am Post subject: |
|
|
Hi
Is the AHK app running on the local PC or within the CITRIX environment?
In our work, we use the AHK quite extensively within a remote situation(either Windows RDP or Citrix).
I have found that the AHK app has to be running in the OS that is receiving the keystrokes. In other words, within the virtual environment.
Hope that helps. _________________ Paul O |
|
| Back to top |
|
 |
tsl
Joined: 27 Jun 2008 Posts: 2
|
Posted: Fri Jun 27, 2008 12:33 pm Post subject: |
|
|
Hi,
thank you for your advice!
The AHK is running locally.
Your suggestion is really interesting, but not possible for me, because I can open the AHK app from the Citrix server, but not on the same instance of the other remote app.
So I can asume that from local is not possible to access a Citrix app...
But thank you anyway! |
|
| Back to top |
|
 |
sinkfaze
Joined: 18 Mar 2008 Posts: 139
|
Posted: Sat Jun 28, 2008 12:57 pm Post subject: |
|
|
AHK is pretty tricky to run on a program operating via Citrix client since you're not per se using the program so much as you're using a reflection of the program. Virtually all of the typical "hooks" you use with AHK to create the shortcuts ( i.e. specific ahk_classes and controls) are not available. You have to attempt to make those same shortcuts in Citrix with more literal action sequences, which will be slower but with good code the effects could be made almost negligible.
Could you post some code of things you can do with the program locally that you can't get AHK to do through the Citrix client and explain what the code should be doing? _________________ Have trouble searching the site for information? Try Quick Search for Autohotkey. |
|
| Back to top |
|
 |
|