Solved

Dreamweaver CS6 keyboard shortcut

Posted on 2013-11-09
8
1,088 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
8 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 39636542
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
ID: 39636812
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
ID: 39636864
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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39637168
I don't think that's possible with code snippets.
0
 

Author Comment

by:Refael
ID: 39637175
Than i have tried :-) Thank you!
0
 

Author Closing Comment

by:Refael
ID: 39637176
Thank you jason1178 :-)
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39637202
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
ID: 40374213
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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

734 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