Solved

Dreamweaver CS6 keyboard shortcut

Posted on 2013-11-09
8
1,044 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
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
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

810 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