+ Reply to Thread
Results 1 to 11 of 11

Need Send keys code for "Windows + UP"

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

    Need Send keys code for "Windows + UP"

    I need to maximize a particular window using Windows + UP.

    Kindly provide me code.

    Thanks,
    Balaji N

  2. #2
    Administrator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Version 2301 (Build 16012.20000) Win 11 Home 64 Bit
    Posts
    22,328

    Re: Need Send keys code for "Windows + UP"

    try this:

    Please Login or Register  to view this content.
    Alan


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

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

    Re: Need Send keys code for "Windows + UP"

    Quote Originally Posted by alansidman View Post
    try this:

    Please Login or Register  to view this content.
    This code is not working. i think it works only for microsoft applications. I just need Send Keys syntax for "Windows + UP"

    Thanks,
    Balaji N

  4. #4
    Administrator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Version 2301 (Build 16012.20000) Win 11 Home 64 Bit
    Posts
    22,328

    Re: Need Send keys code for "Windows + UP"

    This is an Excel forum. Are you not working in Excel? If not, then why are you posting in this forum. The solution works for me when Excel is open and the window needs to be expanded to a full screen.

    What do hope to achieve? Tell us i simple English so that we can assist you. Your explanation is lacking clarity.

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

    Re: Need Send keys code for "Windows + UP"

    Quote Originally Posted by alansidman View Post
    This is an Excel forum. Are you not working in Excel? If not, then why are you posting in this forum. The solution works for me when Excel is open and the window needs to be expanded to a full screen.

    What do hope to achieve? Tell us i simple English so that we can assist you. Your explanation is lacking clarity.
    I am creating an excel macro to open Putty - an external application to connect with linux server. I have created macro to open putty and using send keys to interact with it. Now i want to maximize it. Usually Putty opens as small window. To maximize Alt + Space + X does not work with Putty. Instead Windows + UP maximizes the Putty Window, tried manually.

    Now i want syntax to use - send keysWindows + UP.

    Since it is an excel forum i did not give the details about Putty and i asked for generic Syntax of "Windows + UP" key combinations for Send Keys.

    Is this fine now Alansidman?

    Thanks,
    Balaji N

  6. #6
    Administrator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Version 2301 (Build 16012.20000) Win 11 Home 64 Bit
    Posts
    22,328

    Re: Need Send keys code for "Windows + UP"

    I don't believe that is possible within VBA. Look at this link for further explanation.

    http://www.mrexcel.com/forum/excel-q...ndows-key.html

    and maybe this will help

    https://www.experts-exchange.com/que...ows-key-m.html
    Last edited by alansidman; 06-26-2016 at 11:39 PM.

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

    Re: Need Send keys code for "Windows + UP"

    Quote Originally Posted by alansidman View Post
    I don't believe that is possible within VBA. Look at this link for further explanation.

    http://www.mrexcel.com/forum/excel-q...ndows-key.html

    and maybe this will help

    https://www.experts-exchange.com/que...ows-key-m.html
    If that is not possible, can u help me in getting the screen co ordinates(any point) in title bar of the active window?
    Or a double click on the title bar?

    Thanks,
    Balaji

  8. #8
    Administrator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs
    MS-Off Ver
    MS Office 365 Version 2301 (Build 16012.20000) Win 11 Home 64 Bit
    Posts
    22,328

    Re: Need Send keys code for "Windows + UP"

    My apologies, but that is out of my wheel house. I have provided you with all the information I have on the subject. I am not familiar with Putty. I will ask others to chime in and perhaps there is some one here who can assist.

    BTW: What is wrong with the manual Windows + Up manually?

  9. #9
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Need Send keys code for "Windows + UP"

    are you using shell to launch?

    if so then something like
    Please Login or Register  to view this content.
    Last edited by humdingaling; 06-27-2016 at 12:02 AM.
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

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

    Re: Need Send keys code for "Windows + UP"

    Quote Originally Posted by alansidman View Post
    I don't believe that is possible within VBA. Look at this link for further explanation.

    http://www.mrexcel.com/forum/excel-q...ndows-key.html

    and maybe this will help

    https://www.experts-exchange.com/que...ows-key-m.html


    Second link helped me to maximize - Closing this thread.

    Thanks,
    Balaji

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

    Re: Need Send keys code for "Windows + UP"

    Quote Originally Posted by humdingaling View Post
    are you using shell to launch?

    if so then something like
    Please Login or Register  to view this content.
    Thanks. am not using shell. Anyway got a solution.

    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. (Urgent Req) Send a mail if user clicks "Ctrl+c", "Ctrl+V" or "Ctrl+F"
    By mchilapur in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-08-2015, 01:35 AM
  2. VBA to click " leave this page" without send keys
    By indudhar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-01-2014, 10:05 AM
  3. [SOLVED] Windows 7 and Send Keys not working
    By mc84excel in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 04-02-2014, 10:07 PM
  4. Managing "delegated tasks" in an Outlook "Send Only" account
    By on_way_to_fame in forum Outlook Formatting & Functions
    Replies: 0
    Last Post: 08-13-2013, 12:21 AM
  5. [SOLVED] send sheet automatically via Outlook wihtout clicking on "send"
    By aucho in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-09-2013, 06:27 PM
  6. Hiding Windows - Windows("Name.xls").Visible = False
    By AKK9 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-15-2010, 06:29 AM
  7. VB code to "Send To" Multi addresses
    By muzzas news in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-18-2005, 10:06 AM

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