WinBatch Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: pguild on August 29, 2021, 07:01:03 pm

Title: How run .wbt files from a menu
Post by: pguild on August 29, 2021, 07:01:03 pm
I can't get compiled scripts to work correctly in some cases where a precise mouseplay statement doesn't move the mouse to the correct location.  So I thought perhaps I could run .wbt from another .wbt program that would function as a menu.  But need some guidance.

PopMenu does nothing for me.  I click on PopMenu.exe and the only benefit is a little exercise for my fingers. The PopMenu.exe icon just flashes at me, to no avail. I'm seeking to be able to run .wbt from a menu.

I'm thinking that a script called Menu.wbt could use the call function to invoke other .wbt scripts.
Title: Re: How run .wbt files from a menu
Post by: td on August 30, 2021, 07:22:10 am
PopMenu should work on any system. It resides on the System Tray and starts automatically when you log in. If the account you are using is an admin account without automatic elevation, the first time you left-click on the icon you will be prompted by a starter application to run PopMenu, and then you will get the system elevation prompt. If that is not what you are experiencing, you need to figure out why.
Title: Re: How run .wbt files from a menu
Post by: pguild on August 30, 2021, 12:07:07 pm
OK, thanks. I found the PopMenu hidden in hidden icons in the system tray I dragged it down where I can see it easily.  Can I use it to build a menu of .wbt scripts I want to run?
Title: Re: How run .wbt files from a menu
Post by: td on August 30, 2021, 09:04:14 pm
Using PopMenu is covered in the Consolidated WIL Help file and on the documentation Website.

https://docs.winbatch.com/mergedProjects/WinBatch/WINBATCH_P__002.htm (https://docs.winbatch.com/mergedProjects/WinBatch/WINBATCH_P__002.htm)