How do I minimize softwares to tray when starting windows?

Page 2 of 2 FirstFirst 12

  1. Posts : 10,485
    W7 Pro SP1 64bit
       #11

    obsidian604 said:
    I have two softwares...
    Do you have a link to these two pieces of software?
      My Computer


  2. Posts : 7
    windows 7 x64
    Thread Starter
       #12

    UsernameIssues said:
    obsidian604 said:
    I have two softwares...
    Do you have a link to these two pieces of software?
    one is called fix mouse that I use to fix logitech mouse double clicking problems. (see attachment)

    the other is hardware analysis software.

      My Computer


  3. Posts : 10,485
    W7 Pro SP1 64bit
       #13

    These lines of code should start and minimize that little tool:

    Code:
    Run("C:\FixMouseLMB.exe")
    WinWait("Mouse fix is working...", "Double clicks fixed")
    WinSetState("Mouse fix is working...", "", @SW_MINIMIZE)
    You can change the path to the FixMouseLMB.exe file as needed.

    If you want to try this:
    install AutoIt3
    create a text file on your desktop
    paste in the code above (modify the path as desired)
    rename the file extension from txt to au3
    (you may need this File Extensions - Hide or Show)

    Exit the FixMouseLMB if it is currently running.
    Double click on the text file.
    It should start the app, wait for the window, minimize the window.

    If it works for you:
    cut the text file from the desktop
    paste it into the all users startup folder

    If it does not work for you, let me know, there are a few more lines of code that can be added to slow it down and maybe make it work for you.

    The other app can probably be handled the same way. The code for that app can be added below the code above.
      My Computer


  4. Posts : 7
    windows 7 x64
    Thread Starter
       #14

    UsernameIssues said:
    These lines of code should start and minimize that little tool:

    Code:
    Run("C:\FixMouseLMB.exe")
    WinWait("Mouse fix is working...", "Double clicks fixed")
    WinSetState("Mouse fix is working...", "", @SW_MINIMIZE)
    You can change the path to the FixMouseLMB.exe file as needed.

    If you want to try this:
    install AutoIt3
    create a text file on your desktop
    paste in the code above (modify the path as desired)
    rename the file extension from txt to au3
    (you may need this File Extensions - Hide or Show)

    Exit the FixMouseLMB if it is currently running.
    Double click on the text file.
    It should start the app, wait for the window, minimize the window.

    If it works for you:
    cut the text file from the desktop
    paste it into the all users startup folder

    If it does not work for you, let me know, there are a few more lines of code that can be added to slow it down and maybe make it work for you.

    The other app can probably be handled the same way. The code for that app can be added below the code above.

    Thanks for the excellent tip.
    I tried as instructed, however, the app only minimized to the "taskbar" , instead of the system tray (notification area) as intended.
      My Computer


  5. Posts : 10,485
    W7 Pro SP1 64bit
       #15

    Glad that you got it working.

    Here is what I see with the original code,



    If you end up doing much scripting, then you should install the editor from that same download page.
      My Computer


  6. Posts : 7
    windows 7 x64
    Thread Starter
       #16

    actually it doesn't when I put the au3 file into the "startup" list for initial bootup.....
      My Computer


  7. Posts : 7
    windows 7 x64
    Thread Starter
       #17

    UsernameIssues said:
    Glad that you got it working.

    Here is what I see with the original code,



    If you end up doing much scripting, then you should install the editor from that same download page.
    wow. your computer automatically minimize it! smart!
    my windows 7 basic is not as smart to do that. the app just sits on the desktop and I need to click on "minimize (-) " everytime to put it to tray.
      My Computer


  8. Posts : 69
    Windows 7 Professional x64
       #18

    I start a bunch of programs with the task scheduler. I gives you all the options you need.

    In fact, I remove autostart from big programs that are not needed at OS startup, and I delay, minimize, etc. them through the task scheduler.

    Good luck.

    Sarris
      My Computer


  9. Posts : 10,485
    W7 Pro SP1 64bit
       #19

    You can try this code:

    Code:
    Opt("TrayIconDebug", 1)
    
    Run("C:\FixMouseLMB.exe")
    WinWait("Mouse fix", "Double clicks fixed", 100)
    
    For $i = 0 To 100
        WinSetState("Mouse fix", "Double clicks fixed", @SW_MINIMIZE)
        Sleep(100)
        If Not WinExists("Mouse fix", "Double clicks fixed") Then ExitLoop
    Next
    It really should work from the start up folder, but when the computer is busy doing other start up tasks, the Mouse fix app is not ready to be minimized yet. Even with the code above, you may see the window appear, minimize and then reappear. Let me know if it does not work during a restart. There are a few other things that we can try... like a delayed start,



    If you hide the window - does it show in the notification area? It does not show for me.
    Last edited by UsernameIssues; 15 Apr 2013 at 13:11. Reason: changed the code
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:45.
Find Us