+ Reply to Thread
Results 1 to 3 of 3

Validate PuTTY screen through macro

  1. #1
    Registered User
    Join Date
    04-03-2016
    Location
    Chennai
    MS-Off Ver
    2013
    Posts
    39

    Validate PuTTY screen through macro

    Putty is a tool for working with linux server.

    Attached screenshot of putty window after logging in. I have automated so far to login to Putty using macro. But now i want to validate whether login was successful or not.

    The only way i know is to select the last line using mouse by passing co ordinates (word "Thanks" displayed at the left bottom corner).
    Here in Putty selecting a word gets copied to Clipboard. So after selecting, We should check for the clipboard text for the word "Thanks". If exist msgbox login successful. if not msgbox login failed.

    Before: I want to maximize this putty window so that the co ordinates will not vary with system to system. Alt+Space+X does not work with putty. I guess we can simulate a double click on title bar to maximize. Then we can pass co ordinate where "Thanks" msg appears and select it and validate it as discussed above.

    Kindly help me.

    Thanks,
    Balaji N.
    Attached Images Attached Images

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,946

    Re: Validate PuTTY screen through macro

    I have a feeling that few members know what this is, perhaps you could explain again?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    04-03-2016
    Location
    Chennai
    MS-Off Ver
    2013
    Posts
    39

    Re: Validate PuTTY screen through macro

    Quote Originally Posted by FDibbins View Post
    I have a feeling that few members know what this is, perhaps you could explain again?
    I want code to do the following:

    1. I Want to double click on a particular point in active window. (This copies the word selected - Property of the active window - PuTTY)
    2. Need to check whether the copied word (Clipboard) has the word "Thanks". if yes then i need a msgbox saying Login Successful.

    Please let me know if this is clear.

    Thanks,
    Balaji N

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Validate whether putty logged in successfully.
    By balajinatarajan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-22-2016, 11:05 PM
  2. Need Macro to open PuTTY and connect to a linux server
    By balajinatarajan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-16-2016, 01:24 PM
  3. To connect to putty through excel macro
    By Aswathy_Sanesh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-30-2015, 02:09 AM
  4. Replies: 5
    Last Post: 06-09-2014, 03:13 AM
  5. Putty macro help
    By poodlesplumbs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2013, 01:34 AM
  6. Problem connecting to Putty using VB script in Excel macro
    By sourabhhsinha12a in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 02-06-2013, 08:08 PM
  7. Problem connecting to Putty using VB script in Excel macro
    By sourabhhsinha12a in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-06-2013, 02:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1