Search the Community
Showing results for tags 'dialogs'.
-
After using this program for the last 20+ years I'm really sick of it starting up and not putting the toolbars and palettes back where I left them the day before, every.single.time So I'm wondering if I can use Autohotkey (or s'thing similar) such that it will grab all the toolbars and palettes when VW starts up, and then place them in positions that I predefine on my other screen. But before I even start leanring Autohotkey I will need to know the handles of the various palettes & tool bars & dialogs, and worksheets I use, i.e.; • Resource manager • Object info • Basic • Attributes • Snapping How do I find the handles for these? I've searched widely on the forum and come up dry. ... and probably an impossibility; Handles of any open • Worksheets (without knowing their names beforehand). Like, is this information extractable by an application outside of VW? OR Could VW on start up run and automatic script to output all currently-open handle names to a text file so my putative autohotkey script can parse it and run it? I expect to use VW for at least the next five years before I manage to change to something else, so automating one daily hassle looks worthwhile - also there is the Opportunity to be able to place the toolbars exactly where I want every single time. The Hamma asking similar (for Mac) last year , to automate positioning it of VW and was told it was impossible.
-
- autohotkey
- automation
-
(and 3 more)
Tagged with:
-
With much gratitude to Pat Stanford, JBenghiat, Sam Jones and Jesse Cogswell (btw, how'd I tag them in a post?) I got my script complete, as shown . It takes an imported spreadsheet, with a key to lighting devices, and the user (via a popup list) gets to assign actual lighting devices to the key, then inserts the correct lighting devices with all relevant data attached. My question is about the resource popup. I'd like it to default to a blank image. In the screenshot, I have imported the CSV and simply selected a key entry, yet the popup shows the clamp object. 1. I don't want key A to refer to the clamp. 2. It doesn't anyway. I'm using the popup events to assign the symbol to the key. No event, no key. 3. Although it doesn't show here, once I have set key 'A' to a device, when I select an empty key the popup doesn't change. It swaps nicely between assigned keys, but the control doesn't change when choosing an unassigned key. I'd like an unassigned key to blank the popup. Is there a way to add a 'blank' entry to a popup? Something like: PopupIndex = vs.InsertImagePopupResource( dialog, dlg.kLightPopup, None, 0 ) Thank you.
-
vs.GetLBHeaderTextWidth(className, allowForSortIcon) The function above is crashing my VW 2021. Anyone else can confirm before I try a reinstall/bug submission? It gets pixel width for specified string (param:className for some reason??) for use with Dialog ListBrowsers.. Cheers, Tui
