Malindsay Posted July 31, 2007 Share Posted July 31, 2007 I'm new to autoit I need a script that opens my documents for the current user that is logged on. seams to be a function, can anyone help get me started. Link to comment Share on other sites More sharing options...
MrCreatoR Posted July 31, 2007 Share Posted July 31, 2007 Hi, wellcome to the forum!You can open a folder using ShellExecute() command, if you need My Documents folder, use @MyDocumentsDir macro:ShellExecute(@MyDocumentsDir) Spoiler Using OS: Win 7 Professional, Using AutoIt Ver(s): 3.3.6.1 / 3.3.8.1 AutoIt Russian Community My Work... Spoiler Projects: ATT - Application Translate Tool {new}| BlockIt - Block files & folders {new}| SIP - Selected Image Preview {new}| SISCABMAN - SciTE Abbreviations Manager {new}| AutoIt Path Switcher | AutoIt Menu for Opera! | YouTube Download Center! | Desktop Icons Restorator | Math Tasks | KeyBoard & Mouse Cleaner | CaptureIt - Capture Images Utility | CheckFileSize ProgramUDFs: OnAutoItErrorRegister - Handle AutoIt critical errors {new}| AutoIt Syntax Highlight {new}| Opera Library! | Winamp Library | GetFolderToMenu | Custom_InputBox()! | _FileRun UDF | _CheckInput() UDF | _GUIInputSetOnlyNumbers() UDF | _FileGetValidName() UDF | _GUICtrlCreateRadioCBox UDF | _GuiCreateGrid() | _PathSplitByRegExp() | _GUICtrlListView_MoveItems - UDF | GUICtrlSetOnHover_UDF! | _ControlTab UDF! | _MouseSetOnEvent() UDF! | _ProcessListEx - UDF | GUICtrl_SetResizing - UDF! | Mod. for _IniString UDFs | _StringStripChars UDF | _ColorIsDarkShade UDF | _ColorConvertValue UDF | _GUICtrlTab_CoverBackground | CUI_App_UDF | _IncludeScripts UDF | _AutoIt3ExecuteCode | _DragList UDF | Mod. for _ListView_Progress | _ListView_SysLink | _GenerateRandomNumbers | _BlockInputEx | _IsPressedEx | OnAutoItExit Handler | _GUICtrlCreateTFLabel UDF | WinControlSetEvent UDF | Mod. for _DirGetSizeEx UDF Examples: ScreenSaver Demo - Matrix included | Gui Drag Without pause the script | _WinAttach()! | Turn Off/On Monitor | ComboBox Handler Example | Mod. for "Thinking Box" | Cool "About" Box | TasksBar Imitation Demo Like the Projects/UDFs/Examples? Please rate the topic (up-right corner of the post header: Rating ) * === My topics === * ================================================== ================================================== AutoIt is simple, subtle, elegant. © AutoIt Team Link to comment Share on other sites More sharing options...
Malindsay Posted July 31, 2007 Author Share Posted July 31, 2007 Hi, wellcome to the forum! You can open a folder using ShellExecute() command, if you need My Documents folder, use @MyDocumentsDir macro: ShellExecute(@MyDocumentsDir) thanks. what if I wanted to simulate a right click on my documents to display the doucment properties window Link to comment Share on other sites More sharing options...
xweapon Posted May 15, 2009 Share Posted May 15, 2009 Does anyone know how to simulate a right click on my documents to display the doucment properties window ????? THANK YOU!!!! Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted May 15, 2009 Moderators Share Posted May 15, 2009 xweapon,Look at MouseClick in the Help file.M23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
xweapon Posted May 15, 2009 Share Posted May 15, 2009 Thank you but I am trying to find an alt-enter way of doing it to minimize mistakes. Link to comment Share on other sites More sharing options...
Achilles Posted May 15, 2009 Share Posted May 15, 2009 What do you want to do under the properties? There could be a faster way to do whatever you're thinking of... My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
xweapon Posted May 15, 2009 Share Posted May 15, 2009 I am trying to move the My documents folder to a network drive. Link to comment Share on other sites More sharing options...
Authenticity Posted May 15, 2009 Share Posted May 15, 2009 DirMove(@MyDocumentsDir, 'x:\DocumentsDir') Link to comment Share on other sites More sharing options...
xweapon Posted May 15, 2009 Share Posted May 15, 2009 That will change the default My Documents directory too? Link to comment Share on other sites More sharing options...
muncherw Posted May 15, 2009 Share Posted May 15, 2009 That will change the default My Documents directory too?No that will just move the files. You probably can do it by changing a registry key to point to the location yoyu want but I don't know what that key would be off the top of my head. Other People's Stuff:Andy Flesner's AutoIt v3: Your Quick Guide[topic="34302"]Locodarwin's ExcelCom_UDF[/topic][topic="61090"]MrCreatorR's Opera Library[/topic] 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