Change the picture from the icon tray The 2019 Stack Overflow Developer Survey Results Are...

What is the motivation for a law requiring 2 parties to consent for recording a conversation

What is the meaning of Triage in Cybersec world?

Feature engineering suggestion required

How to type this arrow in math mode?

If a Druid sees an animal’s corpse, can they Wild Shape into that animal?

Resizing object distorts it (Illustrator CC 2018)

Can one be advised by a professor who is very far away?

Geography at the pixel level

Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?

What does ひと匙 mean in this manga and has it been used colloquially?

How to manage monthly salary

How to support a colleague who finds meetings extremely tiring?

Why isn't airport relocation done gradually?

A poker game description that does not feel gimmicky

Why was M87 targetted for the Event Horizon Telescope instead of Sagittarius A*?

What is the closest word meaning "respect for time / mindful"

Can you compress metal and what would be the consequences?

Who coined the term "madman theory"?

How technical should a Scrum Master be to effectively remove impediments?

Shouldn't "much" here be used instead of "more"?

Return to UK after having been refused entry years ago

Why did Acorn's A3000 have red function keys?

Is "plugging out" electronic devices an American expression?

slides for 30min~1hr skype tenure track application interview



Change the picture from the icon tray



The 2019 Stack Overflow Developer Survey Results Are InAutoHotKey temporarily rebind WinkeyIn AutoHotKey scripts, is there a way to write modifiers in fullHow can I use a hotkey to access the link address in any browser?Need AutoHotkey scriptsTroubleshooting hotstring expansion in autohotkeyHow can I re-map these keys?How to get key name with AutoHotkeyHow to change ctrl key to AltGR key by editing registry?Do a Reload Without Flashing The Tray Icon - Autohotkey ScriptAuto Hotkey - my checkbox stays on 0 untill I double click





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I've searched many threads about this but I couldn't understand them...



Is it possible to change the H icon to something else as well as S(suspend) which will switch to another image if it got suspended.










share|improve this question































    0















    I've searched many threads about this but I couldn't understand them...



    Is it possible to change the H icon to something else as well as S(suspend) which will switch to another image if it got suspended.










    share|improve this question



























      0












      0








      0


      2






      I've searched many threads about this but I couldn't understand them...



      Is it possible to change the H icon to something else as well as S(suspend) which will switch to another image if it got suspended.










      share|improve this question
















      I've searched many threads about this but I couldn't understand them...



      Is it possible to change the H icon to something else as well as S(suspend) which will switch to another image if it got suspended.







      autohotkey






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jul 22 '16 at 22:05









      Canadian Luke

      18.1k3092149




      18.1k3092149










      asked Jul 18 '16 at 14:51









      sretracsretrac

      1114




      1114






















          2 Answers
          2






          active

          oldest

          votes


















          0














          When a script's hotkeys are suspended, its tray icon changes to the letter S. This can be avoided by freezing the icon, which is done by specifying 1 for the last parameter of the Menu command. For example:




          Menu, Tray, Icon, C:My Icon.ico, , 1




          https://autohotkey.com/docs/commands/Suspend.htm#Remarks



          To change the tray icon when you Suspend the script you need to define a hotkey, e.g.



          !s::
          Menu,Tray,Icon, C:My Icon2.ico, , 1
          Suspend On
          return

          #If (A_IsSuspended)

          !s::
          Suspend Off
          Menu,Tray,Icon, C:My Icon.ico, , 1
          return

          #If


          or a timer:



          #Persistent
          SetTimer, change_tray_icon, 100
          return

          change_tray_icon:
          If (A_IsSuspended)
          Menu,Tray,Icon, C:My Icon2.ico, , 1
          else
          Menu,Tray,Icon, C:My Icon.ico, , 1
          return





          share|improve this answer

































            0














            You need to use the Menu command. When you Suspend the program change the icon by calling the same command again with a different icon. And when unsuspending call the command again to show your regular icon.



            ; active
            Menu, Tray, Icon, yourregularicon.ico ; to replace H
            ; suspend
            Menu, Tray, Icon, yoursuspendicon.ico ; to replace H


            Documentation: https://autohotkey.com/docs/commands/Menu.htm






            share|improve this answer


























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1102307%2fchange-the-picture-from-the-icon-tray%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              When a script's hotkeys are suspended, its tray icon changes to the letter S. This can be avoided by freezing the icon, which is done by specifying 1 for the last parameter of the Menu command. For example:




              Menu, Tray, Icon, C:My Icon.ico, , 1




              https://autohotkey.com/docs/commands/Suspend.htm#Remarks



              To change the tray icon when you Suspend the script you need to define a hotkey, e.g.



              !s::
              Menu,Tray,Icon, C:My Icon2.ico, , 1
              Suspend On
              return

              #If (A_IsSuspended)

              !s::
              Suspend Off
              Menu,Tray,Icon, C:My Icon.ico, , 1
              return

              #If


              or a timer:



              #Persistent
              SetTimer, change_tray_icon, 100
              return

              change_tray_icon:
              If (A_IsSuspended)
              Menu,Tray,Icon, C:My Icon2.ico, , 1
              else
              Menu,Tray,Icon, C:My Icon.ico, , 1
              return





              share|improve this answer






























                0














                When a script's hotkeys are suspended, its tray icon changes to the letter S. This can be avoided by freezing the icon, which is done by specifying 1 for the last parameter of the Menu command. For example:




                Menu, Tray, Icon, C:My Icon.ico, , 1




                https://autohotkey.com/docs/commands/Suspend.htm#Remarks



                To change the tray icon when you Suspend the script you need to define a hotkey, e.g.



                !s::
                Menu,Tray,Icon, C:My Icon2.ico, , 1
                Suspend On
                return

                #If (A_IsSuspended)

                !s::
                Suspend Off
                Menu,Tray,Icon, C:My Icon.ico, , 1
                return

                #If


                or a timer:



                #Persistent
                SetTimer, change_tray_icon, 100
                return

                change_tray_icon:
                If (A_IsSuspended)
                Menu,Tray,Icon, C:My Icon2.ico, , 1
                else
                Menu,Tray,Icon, C:My Icon.ico, , 1
                return





                share|improve this answer




























                  0












                  0








                  0







                  When a script's hotkeys are suspended, its tray icon changes to the letter S. This can be avoided by freezing the icon, which is done by specifying 1 for the last parameter of the Menu command. For example:




                  Menu, Tray, Icon, C:My Icon.ico, , 1




                  https://autohotkey.com/docs/commands/Suspend.htm#Remarks



                  To change the tray icon when you Suspend the script you need to define a hotkey, e.g.



                  !s::
                  Menu,Tray,Icon, C:My Icon2.ico, , 1
                  Suspend On
                  return

                  #If (A_IsSuspended)

                  !s::
                  Suspend Off
                  Menu,Tray,Icon, C:My Icon.ico, , 1
                  return

                  #If


                  or a timer:



                  #Persistent
                  SetTimer, change_tray_icon, 100
                  return

                  change_tray_icon:
                  If (A_IsSuspended)
                  Menu,Tray,Icon, C:My Icon2.ico, , 1
                  else
                  Menu,Tray,Icon, C:My Icon.ico, , 1
                  return





                  share|improve this answer















                  When a script's hotkeys are suspended, its tray icon changes to the letter S. This can be avoided by freezing the icon, which is done by specifying 1 for the last parameter of the Menu command. For example:




                  Menu, Tray, Icon, C:My Icon.ico, , 1




                  https://autohotkey.com/docs/commands/Suspend.htm#Remarks



                  To change the tray icon when you Suspend the script you need to define a hotkey, e.g.



                  !s::
                  Menu,Tray,Icon, C:My Icon2.ico, , 1
                  Suspend On
                  return

                  #If (A_IsSuspended)

                  !s::
                  Suspend Off
                  Menu,Tray,Icon, C:My Icon.ico, , 1
                  return

                  #If


                  or a timer:



                  #Persistent
                  SetTimer, change_tray_icon, 100
                  return

                  change_tray_icon:
                  If (A_IsSuspended)
                  Menu,Tray,Icon, C:My Icon2.ico, , 1
                  else
                  Menu,Tray,Icon, C:My Icon.ico, , 1
                  return






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jul 25 '16 at 13:49

























                  answered Jul 25 '16 at 13:42









                  user3419297user3419297

                  1,872267




                  1,872267

























                      0














                      You need to use the Menu command. When you Suspend the program change the icon by calling the same command again with a different icon. And when unsuspending call the command again to show your regular icon.



                      ; active
                      Menu, Tray, Icon, yourregularicon.ico ; to replace H
                      ; suspend
                      Menu, Tray, Icon, yoursuspendicon.ico ; to replace H


                      Documentation: https://autohotkey.com/docs/commands/Menu.htm






                      share|improve this answer






























                        0














                        You need to use the Menu command. When you Suspend the program change the icon by calling the same command again with a different icon. And when unsuspending call the command again to show your regular icon.



                        ; active
                        Menu, Tray, Icon, yourregularicon.ico ; to replace H
                        ; suspend
                        Menu, Tray, Icon, yoursuspendicon.ico ; to replace H


                        Documentation: https://autohotkey.com/docs/commands/Menu.htm






                        share|improve this answer




























                          0












                          0








                          0







                          You need to use the Menu command. When you Suspend the program change the icon by calling the same command again with a different icon. And when unsuspending call the command again to show your regular icon.



                          ; active
                          Menu, Tray, Icon, yourregularicon.ico ; to replace H
                          ; suspend
                          Menu, Tray, Icon, yoursuspendicon.ico ; to replace H


                          Documentation: https://autohotkey.com/docs/commands/Menu.htm






                          share|improve this answer















                          You need to use the Menu command. When you Suspend the program change the icon by calling the same command again with a different icon. And when unsuspending call the command again to show your regular icon.



                          ; active
                          Menu, Tray, Icon, yourregularicon.ico ; to replace H
                          ; suspend
                          Menu, Tray, Icon, yoursuspendicon.ico ; to replace H


                          Documentation: https://autohotkey.com/docs/commands/Menu.htm







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited yesterday









                          Community

                          1




                          1










                          answered Jul 22 '16 at 21:50









                          lintalistlintalist

                          258110




                          258110






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1102307%2fchange-the-picture-from-the-icon-tray%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

                              Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

                              looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...