AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Autohotkey and Citrix

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
tsl



Joined: 27 Jun 2008
Posts: 2

PostPosted: Fri Jun 27, 2008 10:01 am    Post subject: Autohotkey and Citrix Reply with quote

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
View user's profile Send private message
poo_noo



Joined: 08 Dec 2006
Posts: 137
Location: Sydney Australia

PostPosted: Fri Jun 27, 2008 10:43 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
tsl



Joined: 27 Jun 2008
Posts: 2

PostPosted: Fri Jun 27, 2008 12:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
sinkfaze



Joined: 18 Mar 2008
Posts: 139

PostPosted: Sat Jun 28, 2008 12:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group