AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Common Open dialog box [CMD]

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
BoBo
Guest





PostPosted: Sat Dec 11, 2004 12:38 am    Post subject: Common Open dialog box [CMD] Reply with quote

Quote:
If a program uses the Common Open dialog box, like Notepad, but not the Office 2000 applications, you can manage some of the behavior for Open and Save As.

You can cause the dialog box to behave like it did in Windows NT 4.0. To alter the behavior, use Regedt32 to navigate to:

HKEY_Current_User\Software\Microsoft\Windows\CurrentVersion\Policies

Select the Policies key and on the Edit menu, Add Key name Comdlg32, with a null Class. Select the Comdlg32 key and manage behavior by using Add Value on the Edit menu to set the data value of the following three (3) data type REG_DWORD value names:

NoFileMru - If missing or set to 0, the File name: box contains a dropdown list of recently used files.
If you set the data value to 1, the File name: box is a simple text box.

NoBackButton - If missing or set to 0, the Back button appears.
If you set the data value to 1, the Back button is removed.

NoPlacesBar - If missing or set to 0, the shortcut bar appears.
If you set the data value to 1, the shortcut bar is removed.
If you DO NOT configure NoPlacesBar, or set it to 0, you can control the five (5) shortcuts in the left-hand box. To do so, select the Comdlg32 key and on the Edit Menu, Add Key name PlacesBar, with a blank class. Add Value names Place0, the first shortcut, Place1, the 2nd shortcut, Place2, Place3, and Place4. If you don't add any Place<n> value names, the shortcut box is empty. For each Place<n> value name, you can set the data type to REG_SZ or REG_EXPAND_SZ, and enter the fully qualified path to the folder you wish the Place<n> value name to open, such as C:\winnt for a data type REG_SZ, or %SystemRoot%\System32 for a data type of REG_EXPAND_SZ.
You can also use a predfined shortcut by setting the data type of any Place<n> value name to REG_DWORD, and entering one of the following, using the Hex Radix:

DESKTOP 00 <desktop>
INTERNET 01 Internet Explorer (icon on desktop)
PROGRAMS 02 Start Menu\Programs
CONTROLS 03 My Computer\Control Panel
PRINTERS 04 My Computer\Printers
PERSONAL 05 My Documents
FAVORITES 06 <user name>\Favorites
STARTUP 07 Start Menu\Programs\Startup
RECENT 08 <user name>\Recent
SENDTO 09 <user name>\SendTo
BITBUCKET 0a <desktop>\Recycle Bin
STARTMENU 0b <user name>\Start Menu
DESKTOPDIRECTORY 10 <user name>\Desktop
DRIVES 11 My Computer
NETWORK 12 Network Neighborhood
NETHOOD 13 <user name>\nethood
FONTS 14 windows\fonts
TEMPLATES 15
COMMON_STARTMENU 16 All Users\Start Menu
COMMON_PROGRAMS 17 All Users\Programs
COMMON_STARTUP 18 All Users\Startup
COMMON_DESKTOPDIRECTORY 19 All Users\Desktop
APPDATA 1a <user name>\Application Data
PRINTHOOD 1b <user name>\PrintHood
LOCAL_APPDATA 1c <user name>\Local Settings\Applicaiton ata (non roaming)
ALTSTARTUP 1d non localized startup
COMMON_ALTSTARTUP 1e non localized common startup
COMMON_FAVORITES 1f
INTERNET_CACHE 20
COOKIES 21
HISTORY 22
COMMON_APPDATA 23 All Users\Application Data
WINDOWS 24 GetWindowsDirectory()
SYSTEM 25 GetSystemDirectory()
PROGRAM_FILES 26 C:\Program Files
MYPICTURES 27 C:\Program Files\My Pictures
PROFILE 28 USERPROFILE
SYSTEMX86 29 x86 system directory on RISC
PROGRAM_FILESX86 2a x86 C:\Program Files on RISC
PROGRAM_FILES_COMMON 2b C:\Program Files\Common
PROGRAM_FILES_COMMONX86 2c x86 Program Files\Common on RISC
COMMON_TEMPLATES 2d All Users\Templates
COMMON_DOCUMENTS 2e All Users\Documents
COMMON_ADMINTOOLS 2f All Users\Start Menu\Programs\Administrative Tools
ADMINTOOLS 30 <user name>\Start Menu\Programs\Administrative Tools
CONNECTIONS 31 Network and Dial-up Connections


Cool
Back to top
jonny



Joined: 13 Nov 2004
Posts: 3004
Location: Minnesota

PostPosted: Sat Dec 11, 2004 5:59 am    Post subject: Reply with quote

..... Surprised

Did I ever tell you you're my hero? Razz
Back to top
View user's profile Send private message
savage



Joined: 02 Jul 2004
Posts: 206

PostPosted: Thu Dec 16, 2004 9:14 pm    Post subject: Reply with quote

Geez, where do you find this stuff? This is great, thanks!
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group