SSJoco Posted February 5, 2009 Posted February 5, 2009 I would like to run an application from the Start Menu. Exaple: start menu\Programs\Outlook How can I select the item? I tried WinMenuSelectItem() command, but no luck. I do not have the lnk file in the Doc & Settings folder. I tried Send() command as well, but it can not select the right item if the order is different. Thanks
Bert Posted February 5, 2009 Posted February 5, 2009 If you are using Windows 2000 or above, you can simply use FileGetShortcut to get info on the shortcut. To get to them, use the macro @ProgramsCommonDir or @ProgramsDir The Vollatran project My blog: http://www.vollysinterestingshit.com/
sandin Posted February 5, 2009 Posted February 5, 2009 (edited) I suggest you find the links instead of clicking into STart menu items, for outlook ShellExecute("outlook.exe") Edited February 5, 2009 by sandin Some cool glass and image menu | WinLIRC remote controler | Happy Holidays to all... | Bounce the sun, a game in which you must save the sun from falling by bouncing it back into the sky | Hook Leadtek WinFast TV Card Remote Control Msges | GDI+ sliding toolbar | MIDI Keyboard (early alpha stage, with lots of bugs to fix) | Alt+Tab replacement | CPU Benchmark with pretty GUI | Ini Editor - Edit/Create your ini files with great ease | Window Manager (take total control of your windows) Pretty GUI! | Pop-Up window from a button | Box slider for toolbar | Display sound volume on desktop | Switch hotkeys with mouse scroll
SSJoco Posted February 5, 2009 Author Posted February 5, 2009 FileGetShortcut get information about the link, but i DON'T have it. I said I do not have the lnk file because an Novell application add some link to the start menu. Therefore I can't see the link or the command. Any idea?
Bert Posted February 5, 2009 Posted February 5, 2009 A shortcut is nothing more that a link to the file in question. Knowing that, what is the name of the file you want to open? Look for the file by doing a search on your PC's Harddrive. You know, Start> Search> For File or Folder. Once you find the file - Either run it from there or make a shortcut to it to your desktop. This should be pretty strait forward. If it is Outlook, and it is installed in the normal place, then look in C:\Program Files\Microsoft Office\Office 10 (or 11 or 12 depending on your version of Office)\ Outlook.exe. To make the shortcut - Once you find the file and you want to get to it later, simply open a context menu from the file (Secondary mouseclick on the file. A small menu will be displayed) Select "Create Shortcut". Then move the shortcut to where you want such as your desktop. The Vollatran project My blog: http://www.vollysinterestingshit.com/
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