Solved

Dreamweaver CS6 keyboard shortcut

Posted on 2013-11-09
8
1,025 Views
Last Modified: 2014-10-10
Hello Experts,

In Dreamweaver cs6 when you select a text and you press the keyboard command+b (on a mac) it wraps the text with a strong (<strong>) tag. I wounder if its possible to have a similar for li (<li>) tag as i am using it quite a lot.

Thanks for your help!
0
Comment
Question by:Refael
  • 4
  • 3
8 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
Comment Utility
You would have to do it as a code snippet.  Create a snippet that wraps the selection with <li></li> and then add a keyboard shortcut for it from Edit | Keyboard Shortcuts
0
 

Author Comment

by:Refael
Comment Utility
Hi jason1178, thank you.
I am new to Mac... can you tell me where do i create a code snippet?
0
 

Author Comment

by:Refael
Comment Utility
I have found it. I followed the Dreamweaver tutorial on how to create a new code snippet and set a keyboard shortcut to it.

Is it possible to set it so it will take each line and warp an <li> tag? So for example I have something like this:

text text text text text text
text text text text text text
text text text text text text
text text text text text text

It would be great if I can simply highlight all this block and then warp each line with an <li> tag with a single keyboard shortcut to get this.

<li>text text text text text text</li>
<li>text text text text text text</li>
<li>text text text text text text</li>
<li>text text text text text text</li>

I have long lists i am working with almost each day :-)

Thanks for any help on this!
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
I don't think that's possible with code snippets.
0
Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

 

Author Comment

by:Refael
Comment Utility
Than i have tried :-) Thank you!
0
 

Author Closing Comment

by:Refael
Comment Utility
Thank you jason1178 :-)
0
 
LVL 70

Expert Comment

by:Jason C. Levine
Comment Utility
You're welcome.  For long lists, it's probably easier to select the list and sacrifice the extra second to use the unordered lists item on he Property bar to assign li to all items at once.
0
 
LVL 5

Expert Comment

by:cokefour
Comment Utility
Go to Edit > Keyboard Shortcuts look for Insert > Structure > List Item and create your own shortcut. Make sure it is not already used for something else.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now