Jump to content

how to right click and select context menu


Recommended Posts

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
Link to comment
Share on other sites

  • Moderators

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.

Link to comment
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)

Link to comment
Share on other sites

  • 3 years later...
  • Moderators

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. :)

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see 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

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...