nolls Posted August 25, 2008 Share Posted August 25, 2008 Hi, is it possible that i can run a Script with Mouse Move Settings for different Display Resolutions ? I would like to install the Citrix ICA Client on many PC´s with different Display Resolutions, but the following Script (ICA Client German Version) does only work at 1024x768 ! What is the right way to get the Script for all different Display Resolutions ? ShellExecute(@ScriptDir & "\ica32pkg.msi") WinWaitActive("Sprache auswählen") Send("{ENTER}") WinWaitActive("Citrix Presentation Server Client - Setup", "&Weiter") Send("!w") WinWaitActive("Citrix Presentation Server Client - Setup", "Ich stimme der Lizenzvereinbarung") Send("!l") Send("!w") MouseMove(497,361,10) MouseClick("Left") MouseMove(535,461,10) MouseClick("left") MouseMove(496,381,10) MouseClick("left") MouseMove(522,478,10) MouseClick("left") Send("!w") WinWaitActive("Citrix Presentation Server Client - Setup", "Programmordner wählen") Send("!w") WinWaitActive("Citrix Presentation Server Client - Setup", "Comp&utername als Clientname verwenden") Send("!w") WinWaitActive("Citrix Presentation Server Client - Setup", "Lokale Anmeldeinformationen verwenden") Send("!j") Send("!w") WinWaitActive("Citrix Presentation Server Client - Setup", "Program Neighborhood-Optionen") Send("!s") Send("!b") Send("!w") WinWaitActive("Citrix Presentation Server Client - Setup", "Bereit zur Installation") Send("!w") WinWaitActive("Citrix Presentation Server Client - Setup", "&Fertig stellen") Send("!f") Thank you ! Link to comment Share on other sites More sharing options...
maroesjk Posted August 25, 2008 Share Posted August 25, 2008 [...] MouseMove(497,361,10) [...]You could, of course, use the representing controls that you're clicking, otherwise you should try to find out the locations where to click for different screen resolutions. Looking at your MouseMove commands, I guess that they are linked to the center of the screen. So MouseMove(497,361,10) should probably become MouseMove(@DesktopWidth/2 - 15, @DesktopHeight/2 - 23, 10), etcetera. Link to comment Share on other sites More sharing options...
Aceguy Posted August 25, 2008 Share Posted August 25, 2008 you could try @desktopwidth and @desktopheight [u]My Projects.[/u]Launcher - not just for games & Apps (Mp3's & Network Files)Mp3 File RenamerMy File Backup UtilityFFXI - Realtime to Vana time Clock Link to comment Share on other sites More sharing options...
nolls Posted August 25, 2008 Author Share Posted August 25, 2008 It looks good ! Thank you very much !!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now