Advertisement
ASP_Volume2 Files/ File Controls/ Input/ Output #41129

Use any Menu Item with no User Input at all

This is a demo program I wrote for myself in order to use a menu item without having to click on it. This allows the usage of menus in other programs without having to switch to them and using the menu. This is going to be used in the future as a part of my Autosave program, a program designed to automatically save whatever documents you are working on so that in case of a crash your work would be saved, even if you forgot to do so manually. Originally written in Visual Basic, I switched over to C++ (starting with Version 2.00), and therefore had to rewrite the entire program. In Visual Basic, I had used the SendKeys command to use the menus of other programs to activate the Save menu item. As this function is not considered a safe way of sending to different programs, as other programs can accidentally intercept the send, I needed to find a better way to do it. By directly using the menus of the other programs, this problem is overcome. This program is completely documented and commented. Please check the readme for more information.

AI

Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Zdrojový kód
original-source
Upload
Původní komentáře (3)
Obnoveno z Wayback Machine