Sign in to follow this  
Followers 0
TarwadaC4

how to access right click commands

9 posts in this topic

#1 ·  Posted (edited)

hello all :king:

i wanna know how to access right click commands with autoit3 :ILA3:

look here :

Posted Image

how to tell my script to open a text file on my Desktop and use the "open with hex" command :idiot:

i don't know if this possible :idiot:

lets say the text file name is : test.txt

i hope any one can help me :graduated:

Edited by TarwadaC4

Share this post


Link to post
Share on other sites



These command strings can be retrieved from the registry easily enough. Assuming this is an exe it will be under:

HKEY_CLASSES_ROOTexefileshell<conext menu string>Command, (Default)

<conext menu string> string is the text you see in the context menu. The value of (Default) is the command or program run when you click that menu. The %1 at the end gets replaced by the path of the file you right clicked.

You can get these values using RegRead(), but if you should know the path of a hex editor, so even bothering to look in the registry should be pointless.

2 people like this

Share this post


Link to post
Share on other sites

These command strings can be retrieved from the registry easily enough. Assuming this is an exe it will be under:

HKEY_CLASSES_ROOTexefileshell<conext menu string>Command, (Default)

<conext menu string> string is the text you see in the context menu. The value of (Default) is the command or program run when you click that menu. The %1 at the end gets replaced by the path of the file you right clicked.

You can get these values using RegRead(), but if you should know the path of a hex editor, so even bothering to look in the registry should be pointless.

thank you sir :wub:

i will try this and if something i will come back here <3

Share this post


Link to post
Share on other sites

didnt get it yet :(

sorry dude im noob i little bit

check this photo :

Posted Image

i want to commit a file on my desktop with ShadowDefender but without right clicking on the file :(

any one can tell me please ?

Share this post


Link to post
Share on other sites

can't see ShadowDefender on that path HKEY_CLASSES_ROOTexefileshell

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Search HKEY_CLASSES_ROOT for the process name.

But I suspect if you cant handle the registry, playing with files HEX may not within your skill set either.

Edited by DicatoroftheUSA

Share this post


Link to post
Share on other sites

It looks like Shadow Defender may not associated with a particular file type. Not sure and the download site for it doesn't look that helpful. Do you know where Shadow Defender is, or a shortcut to it? Does clicking the right click menu bring up anything different than clicking the shortcut?

You always just search the 'Data' parts of the registry for 'Shadow' to find its command strings.

Share this post


Link to post
Share on other sites

ShadowDefender here : C:Program FilesShadow Defender

when i commit i file with right clicking ... i think the system call this file : C:Program FilesShadow Defendercommit.exe

when i go to that path and double click on the Commait.exe ... nothing happens and i see no GUI

but when i right click on any file and "Commit with ShadowDefender .... i see this GUI

Posted Image

i want to access this GUI using a script

for example :

Commit a text file on my Desktop using a script "when i double click on the script i see the above Pic for my text file ^^

sorry for my bad english

i hope you got that ^^

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0