TarwadaC4 Posted July 10, 2012 Share Posted July 10, 2012 (edited) hello all i wanna know how to access right click commands with autoit3 look here :how to tell my script to open a text file on my Desktop and use the "open with hex" command i don't know if this possible lets say the text file name is : test.txt i hope any one can help me Edited July 10, 2012 by TarwadaC4 Link to comment Share on other sites More sharing options...
John Posted July 10, 2012 Share Posted July 10, 2012 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. Akarillon and TarwadaC4 2 Link to comment Share on other sites More sharing options...
TarwadaC4 Posted July 10, 2012 Author Share Posted July 10, 2012 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 i will try this and if something i will come back here <3 Link to comment Share on other sites More sharing options...
TarwadaC4 Posted July 10, 2012 Author Share Posted July 10, 2012 didnt get it yet sorry dude im noob i little bitcheck this photo :i want to commit a file on my desktop with ShadowDefender but without right clicking on the file any one can tell me please ? Link to comment Share on other sites More sharing options...
TarwadaC4 Posted July 10, 2012 Author Share Posted July 10, 2012 can't see ShadowDefender on that path HKEY_CLASSES_ROOTexefileshell Link to comment Share on other sites More sharing options...
DicatoroftheUSA Posted July 10, 2012 Share Posted July 10, 2012 (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 July 10, 2012 by DicatoroftheUSA Statism is violence, Taxation is theft. Autoit Wiki Link to comment Share on other sites More sharing options...
John Posted July 10, 2012 Share Posted July 10, 2012 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. Link to comment Share on other sites More sharing options...
TarwadaC4 Posted July 10, 2012 Author Share Posted July 10, 2012 ShadowDefender here : C:Program FilesShadow Defenderwhen i commit i file with right clicking ... i think the system call this file : C:Program FilesShadow Defendercommit.exewhen i go to that path and double click on the Commait.exe ... nothing happens and i see no GUIbut when i right click on any file and "Commit with ShadowDefender .... i see this GUIi 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 englishi hope you got that ^^ Link to comment Share on other sites More sharing options...
DicatoroftheUSA Posted July 10, 2012 Share Posted July 10, 2012 Some programs require arguments to be passed to it. Again you best be is to see how it is handled from the registry. It may be under *, but a simple search should find it. Statism is violence, Taxation is theft. Autoit Wiki Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now