Sign in to follow this  
Followers 0
imayloveu

how to right click and select context menu

9 posts in this topic

#1 ·  Posted (edited)

I want select file/directory using right click context menu. Please see the attached screen shot

run("explore.exe /select,"& $filepath,"",@SW_MAXSIZE) with this command iam able to select a file using explorer. howver how do i right click and select scan for virus (See attached screen shot). Sometime scan for virus is the third option in the list sometimes 4th item & sometime scan for virus comes as 1st option in the right click context menu option.(depending upon the type of file/directory i have selected).

If anyone know the above please help...?

post-41698-1223647937_thumb.jpg

Edited by imayloveu

Share this post


Link to post
Share on other sites



I want select file/directory using right click context menu. Please see the attached screen shot

run("explore.exe /select,"& $filepath,"",@SW_MAXSIZE) with this command iam able to select a file using explorer. howver how do i right click and select scan for virus (See attached screen shot). Sometime scan for virus is the third option in the list sometimes 4th item & sometime scan for virus comes as 1st option in the right click context menu option.(depending upon the type of file/directory i have selected).

If anyone know the above please help...?

You're better off just looking at your applications command line parameters and running it from that if you know that's what you want to do. ShellExecute("my virus scan.exe", "command line parameter")

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

You're better off just looking at your applications command line parameters and running it from that if you know that's what you want to do. ShellExecute("my virus scan.exe", "command line parameter")

no command line exists for the virus scanner iam using ... (it exists though but that command line scanner is returning MFC errors)

Share this post


Link to post
Share on other sites

no command line exists for the virus scanner iam using ... (it exists though but that command line scanner is returning MFC errors)

Which virus scanner are you using and what is the command line you're attempting to run?

Share this post


Link to post
Share on other sites

Which virus scanner are you using and what is the command line you're attempting to run?

I'am using Symantec 11 . I did tried vpscan.exe command line scanner but it fails to run .. returns some MFC errors

Share this post


Link to post
Share on other sites

You could try to put a shortcut or a exe in @userprofiledir\SendTo

ya i thought of that option but not sure what exe and with what options it calls when we right click and select "scan for virus"

Share this post


Link to post
Share on other sites

Hi, Newbie, have you resolve this problem? Just read your post, I have the same difficulty here. I want to select the context menu

Share this post


Link to post
Share on other sites

yangyuanyuan.

As imayloveu has not been active here for 3.5 years I think it is unlikely that he will answer you. :)

Please do not necro threads in future - particularly when you already have a thread running on this very subject. ;)

M23

P.S. And while I have your attention, please do not bump your own thread within 24 hours either. :)


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0