Jump to content

Default

Members
  • Posts

    15
  • Joined

  • Last visited

Default's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. This is a really nice tool. Works perfectly. Thanks for sharing Datenshi.
  2. Wow! This is excellent! Thank you for sharing.
  3. If you adjust your Windows Explorer Folder Options - select General, Tasks, "Use Windows classic folders" it will display OK, on WinXP anyway.
  4. CODE#include "gUiConstantSex.au3" $oIE = ObjCreate("Shell.Explorer.2") GUICreate(@MyDocumentsDir, 800, 600,-1, -1) $GUIActiveX = GUICtrlCreateObj( $oIE, 0, 0 , 800 , 600 ) GUISetState () $oIE.navigate(@MyDocumentsDir) While 1 If GUIGetMsg() = $GUI_EVENT_CLOSE Then Exit Sleep (10) Wend
  5. I've been playing around with the GUICtrlCreateObj Example in the Autoit Help file from the Function Reference section, using $oIE = ObjCreate("Shell.Explorer.2"). I'm wondering if there's a way to set the default viewstyle, and force explorer to display "details" every time. Currently I'm using this: CODE$oIE.navigate($Directory) ControlListView ( $GUI_Title , "" , "SysListView321", "ViewChange" , "details" ) Obviously it's clunky, and there must be a better way to do it. Any suggestions?
  6. This looks like a really great UDF! Is it possible to get the Current Working Directory for a process? Thanks!
  7. Thanks for the info. Is there something similar to GetCurrentDirectory that I can use to get the working directory from another program or process? I notice that Process Explorer from Sysinternals lists the "Current Directory" of programs and this reflects the open/save folder path. So presumably there is a way...
  8. Thanks for the reply. Unfortunately FileSelectFolder() simply starts a Browse For Folder dialog box, and doesn't help me get the folder path from an open/save dialog box. EDIT: I've tried to figure out a way of using this: GetCurrentDirectory Function http://msdn.microsoft.com/en-us/library/aa364934(VS.85).aspx .. but I haven't been very succesful. Any help would be appreciated.
  9. Is there a way to accurately get the current folder path from an open/save dialog box? At the moment I'm using _GUICtrlComboBox_GetListArray on ComboBox1 and then combining the folder names to get the path. This works really well most of the time, but isn't totally reliable. Usually the combo box doesn't display other folders at the same level as the curent folder, but ocassionally it does and this makes things trickier. Is there an easier way to determine the folder path?
  10. Excellent! Thanks for sharing this! It works really well.
  11. "OnExitFunc" That's the one! Perfect. Thanks.
  12. Thanks for the replies. B has a $GUI_EVENT_CLOSE function but that doesn't get called when it's closed by A. Unfortuantely A doesn't start B. I will investigate EnvSet/EnvGet though.
  13. Hi, I have two scripts... If Script A sends WinClose ( "Script B"). How do I get Script B to save it's data before it closes?
  14. Thank you! Correct way or not, it works perfectly.
  15. Hi, My program uses a fixedwidth tab style and an icon on each tab, but the text on the last tab, no matter how many tabs, doesn't appear in the right place. So, my question is, how do I use the fixedwidth style and get all my text to display properly? #include <GUIConstantsEx.au3> #include <GuiTab.au3> GUICreate("Title", 500, 120,-1, -1 ) GUICtrlCreateTab(0, 0, 500, 120, $TCS_FORCELABELLEFT + $TCS_FIXEDWIDTH) For $i = 0 To 3 GUICtrlCreateTabItem("unobscured") GUICtrlSetImage ( -1, "shell32.dll" , 4) Next GUISetState () While 1 Sleep (100) WEnd
×
×
  • Create New...