7/23/2023 0 Comments Clipmenu![]() The choices will remain the same, they are actually 'area codes' where freight will be delivered. I hope this is a more accurate description of what I am trying to achieve. ![]() =Īt this point of the script, I would like a popup menu, containing 5 choices, to appear automatically, I would select an item from the menu, which will be sent to the program I am working in, then the script continues with no further intervention from me. I don't think I have made myself clear enough, so I will post the entire script that I am working with. One way to do it, is to use SetTimer Label, -1Īnd, there is no hotstring in the script you have provided, only hotkey. If you want to avoid it, you need to call the label that calls the menu as a different thread. ReturnThe hotstring sends 'example 1', 'example 2', I then want to select from the menu, then have the script continue with 'example 3', ''example 4'.Ī menu, like a MsgBox, stops the execution of the script and waits for the user to do something. Menu, mySnippetsMenu, Show, %A_CaretX%, %A_CaretY%Įlse If ( A_ThisMenuItem = "Kalgoorlie" ) Menu, mySnippetsMenu, Add, Kalgoorlie, mySnippets Menu, mySnippetsMenu, Add, Geraldton, mySnippets Menu, mySnippetsMenu, Add, Busselton, mySnippets Menu, mySnippetsMenu, Add, Bunbury, mySnippets Menu, mySnippetsMenu, Add, Albany, mySnippets I've tried various menu examples, but just can't get it to work for me. The script will not continue to run after the menu code, due to the 'return's' in the menu coding. I'm stuck trying to incorporate a popup menu within a hotstring script. Hope everyone is having a good Easter break.
0 Comments
Leave a Reply. |