- Site Admin
- Posts: 4019
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
I am trying to think of some other uses that EG could be used from a context menu.
I do like the running of a script idea But it needs to be taken one step further. but that would require altering the EventGhost/PythonScript action to allow for importing and exporting of script files. But if you could right click on the script to import it into EG that would be pretty handy.
Do you know if there is a way to dynamically change the menu contents based on information gotten from EG?. example. if the script has been imported and you now want to remove it the add script should be grayed out and the remove should be lit.
Getting Dynamic Behavior for Static Verbs by Using Advanced Query Syntax
Advanced Query Syntax (AQS) can express a condition that will be evaluated using properties from the item that the verb is being instantiated for. This system works only with fast properties. These are properties that the Shell data source reports as fast by not returning SHCOLSTATE_SLOW from IShellFolder2::GetDefaultColumnState.
Windows 7 and later support canonical values that avoid problems on localized builds. The following canonical syntax is required on localized builds to take advantage of this Windows 7 enhancement.
In the following example registry entry:
The AppliesTo value controls whether the verb is displayed or hidden.
The DefaultAppliesTo value controls which verb is the default.
The HasLUAShield value controls whether a User Account Control (UAC) shield is displayed.
In this example the DefaultAppliesTo value makes this verb the default for any file with the word "exampleText1" in its file name. The AppliesTo value enables the verb for any file with "exampleText1" in the name. The HasLUAShield value displays the shield for files with "exampleText2" in the name.