Jump to content

automateseeker

Members
  • Posts

    11
  • Joined

  • Last visited

automateseeker's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Sorry for my be late reply, too. I was out on a vacation trip, no web access . Thank you very much Adam for pointing me to a very useful resource links and tutorial about plink usage. I would like to establish my connection to the server using SSH protocol so that I can have direct interact with program running on my server and use script or batch file to send in command for automation control. Yet when I tried your suggestion by manually change the option from -telnet to -ssh (C:Program FilesPuttyplink -ssh host), it giving me a fatal connection error message "FATAL ERROR: Network error: Connection refused". Is there something that I can change in the setup to fix this error or I have to contact my server admin? Thx
  2. Thank you very much for all your inputs. I am now able to get Plink to works. Yet I run into another issue is that my Unix serve don't let me login with -SSH and only allow me to -telnet. With Telnet session, do you know how to automate the login process? Thanks again
  3. I am trying to get autoIT to interact with plink.exe to control Unix machine. From forum discussion I saw I can read the output or message display from Unix machine by using plink instead of putty. Yet, after download plink.exe and save to my local dir, I could not run it. When double click the plink.exe, I only see a windown flash up and disappear right way. Anyone know what might be the cause? Thanks a lot
  4. I ran into the exact same issue with "Uncheck" & "IsChecked" ControlCommands as DocMarten had discribed here thus I wonder if there have been any resolution for this issue? If so please help. Hi DocMarten, you has brought up this issue back in 2007 since then have you got any work around solution for this? Any suggestion and feed back would be very much appreciated. Many thanks
  5. Yes you're right, the code above is Perl syntax since I need to use perl as an intermediate medium. For that purpose I have defined an autoIt3 object in Perl as Au3 below. With this I was able to interact with many Autoit3 controls, except the ControlCommand with "IsChecked" & "UnCheck" cmds. my $Au3 = Win32::OLE->new("AutoItX3.Control"); the actual code is as below: if($Au3->ControlCommand("Open File", "", "WindowsForms10.BUTTON.app.0.2b89eaa3", "IsChecked")) { $Au3->ControlClick("Open File", "", "WindowsForms10.BUTTON.app.0.2b89eaa3", "left"); }else {print("Check box func is not workingn");} I got the "Checked" cmd working OK with the exact syntax above thus I am sure the syntax is not an issue here. The problem is I need the "UnCheck" or "IsChecked" cmd and I can't get them to work. Any other suggestion? thx
  6. I am having the same problem with "IsChecked" ControlCommand() What I am trying to do is check the status of a check box if it is checked then uncheck it and move on. But my code below is not working. Any input or suggestion are very much appreciated. Thx if(ControlCommand("Open File", "", "WindowsForms10.BUTTON.app.0.2b89eaa3", "IsChecked")) { ControlClick("Open File", "", "WindowsForms10.BUTTON.app.0.2b89eaa3", "left"); }else {print("Check box func is not workingn");}
  7. I have the same problem as well and still searching for a solution. What I have experienced so far with ControlCommand() is following: ControlCommand("Title","text", "IsChecked","") --> this always return 0 no matter the botton is check or not ControlCommand("Title","text", "UnCheck","") --> this is also not working for my case But... ControlCommand("Title","text", "Check","") --> this look like is working, I can get unchecked box to get a check thus not sure if you have try this for your case.
  8. I got it working OK now, thank you for pointing me to the Auto3Info tool. It's very useful. Very much appreciated.
  9. Thanks Mikeman, sorry for not being very clear. I meant open .csv file in spotfire using Autoit control commands. Below is my simple code but I can only get spotfire to launch and could not get it to control the "Work Offline" botton on the spotfire login menu. my $Au3 = Win32::OLE->new("AutoItX3.Control"); sub mP_SPOTFIRE_OPEN($) { my $string1 = shift; # my $spotfire_filename = 'C:Program FilesSpotfireDXP2.0Spotfire.Dxp.exe'; my $spotfire_filename = $string1; my $spotfire_app = mP_SYS_WIN2UNIX($spotfire_filename); $Au3->run("$spotfire_app"); #Need to provide full path including dxp filename $Au3->WinWaitActive("TIBCO Spotfire Login"); $Au3->Opt("WinWaitDelay", 250); # wait 250ms after spotfire login activated $Au3->ControlClick("TIBCO Spotfire Login", "Work &Offline", "[iNSTANCE:3; NAME:workOfflineButton]"); $Au3->WinWaitActive("TIBCO Spotfire"); } mP_SPOTFIRE_OPEN('C:Program FilesSpotfireDXP2.0Spotfire.Dxp.exe');
  10. I am trying to see if I can use autoit script to launch spotfire and do some simple task like open a text file and plot it. I was able to launch it but after that look like I cannot control spotfire anymore
  11. Is it possible to interact with spotfire using autoit? If it is what are steps would I need to do? Thx
×
×
  • Create New...