Replies: 3 comments
-
Explain more.
It is determined by (the names of the menu items, menu items count, the names of the windows, the path of the selected objects, their type, etc.).
Give me a simple example to clarify the idea further so that a solution can be found.
These commands need to run the explorer with administrator privileges. Sorry, I've been getting really nervous lately and my focus has been distracted |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Position values
The "this.pos" function returns the item's default position value |
Beta Was this translation helpful? Give feedback.
-
I have a few questions:
There is something "weird" in the Navigation Pane of Windows Explorer. There are different context menus:
Q1: All check menus have position '-4'. However, they are separated by the Shell menus for the 'second menu'. Why?
Q2: when using
where=(window.is_tree and sel.count==0)
or
where=(window.parent.name=="NamespaceTreeControl" and sel.count==0 )
I can only choose the 'third menu'. However, how do I distinguish the 'first' from the 'second menu'?
Q3: command.refresh doesn't work for Navigation Pane. is there any way to refresh the Navigation Pane?
Q4: When creating a checked item, I have to use different commands for cmd=. How do I merge them? Something like cmd=IF(,,)? (Currently it works as I have created for each Item two new ones - one for checked=1 and one for checked=0 with different cmd=, but it looks terrible with so many repetitions)
Another strange thing I noticed on my computer. When I use the reg.set and reg.delete functions, sometimes they work, sometimes they don't!
$reg1 = 'HKEY_CLASSES_ROOT...'
$reg2 = 'HKEY_CURRENT_USER...'
$reg3 = 'HKEY_LOCAL_MACHINE...'
reg.get(reg1,... - work
reg.set(reg1,... - work
reg.delete(reg1,... - work
reg.get(reg2,... - work
reg.set(reg2,... - work
reg.delete(reg2,... - work
reg.get(reg3,... - work
reg.set(reg3,... - DON'T work
reg.delete(reg3,... - DON'T work
With the ones I have used so far, I notice that when using HKLM the reg function cannot change values, regardless of whether they can be read.
Q5: Assuming the reg function works, why can't I change the values for HKLM?
Beta Was this translation helpful? Give feedback.
All reactions