Copy link to clipboard
Copied
I want to customize my toolbars.xml to add a "Recent File List" and "Save As" icon/option. After reading several Adobe docs, I thought I knew what to do but the:
All I did was copy an existing button and make the desired changes. For example:
<button id="DW_OpenRecentFiles"
image="Toolbars/images/MM/viewoptions.png"
MMString:tooltip="DW_Open/button/tooltip" // Note: This has not been updated
domRequired="FALSE"
command="dw.getRecentFileList()"/>
<button id="DW_SaveAs"
image="Toolbars/images/MM/bcc.png"
MMString:tooltip="DW_SaveAll/button/tooltip" // Note: This has not been updated
command="dw.saveDocumentAs()"/>
What am I missing here?
Copy link to clipboard
Copied
I want to customize my toolbars.xml...
By @VikingCoder
===========
I don't understand what you're trying to do or why, sorry.
Dreamweaver already has onboard tools for that.
Go to File > Open Recent or Save As... (Ctrl + Shift + S).
Copy link to clipboard
Copied
Hi. I appreciate the reply. This may be more of a personal preference 'thing' but I like a single click on an icon over multiple clicks through a menu to get to what you describe. If what you offer as "onboard tools" is the answer, then why have toolbars at all? "Save" is on a toolbar ... all I want to do is add "Save As" beside it ("Save All" is already there as well). My question is not about whether the tool should be in the toolbar; my question is how to make it work given the fact that I appear to be using the correct function. Any help with this will be appreciated. Thank you.
Copy link to clipboard
Copied
Not that I can help you out, only to say that this would have been a very useful exercise if Dreamweaver had kept its market dominance.
As it stands now, Dreamweaver is on life support and , knowing how Adboe works, the plug will be pulled in the very near future.
Even if Dreamweaver were to recover, any new version would overwrite the good that was done.
Advice: concentrate on something that is productive.
Copy link to clipboard
Copied
Customizable Keyboard Shortcuts --
https://helpx.adobe.com/dreamweaver/using/keyboard-shortcuts.html
Copy link to clipboard
Copied
@VikingCoder for the SaveAs utility, since you have access to the original File_SaveAs script, why not directly point to it, something like :
<button id="DW_SaveAs"
image="Toolbars/images/MM/saveAs.png"
MMString:tooltip="DW_Save_As/button/tooltip"
file="Menus/MM/File_SaveAs.htm"
domRequired="FALSE"
update="onEveryIdle"/>
... Now, as you wisely point out, strings.js points to a binary... so more complex for the tooltip... but anyway it shouldn't bother for the use.
With regard to the recent files point, it seems to me that since the introduction of reopen files opened at DW launch, an internal mechanism has been modified, but you should be able to draw inspiration from the JS file File_RecentFiles
Please let us know of your work, very intersting...