HighDots Forums  

How hard would this extension be to build?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss How hard would this extension be to build? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Dizzy
 
Posts: n/a

Default How hard would this extension be to build? - 07-12-2003 , 08:54 PM






Hi Guys,
Ive been using DW for years, but never really looked into extension, but how
hard would it be to create an extension that would do the following:

When a bit of text was highlighted and a button clicked two html tags would
be added to either side, so for example if "hello" was selected then the
source code would change to show <tag>hello</tag>

Not sure if Im making sense!

Dizzy


--
Domain name WHOIS (without ads)
http://www.qnom.com



Reply With Quote
  #2  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: How hard would this extension be to build? - 07-13-2003 , 07:21 AM






It's simpler even than that. Investigate using Snippets, which can be
defined to wrap your selection. There would be no manual entry at all.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Dizzy" <dizzy1900 (AT) hotmail-nospam (DOT) com> wrote

Quote:
Hi Guys,
Ive been using DW for years, but never really looked into extension, but
how
hard would it be to create an extension that would do the following:

When a bit of text was highlighted and a button clicked two html tags
would
be added to either side, so for example if "hello" was selected then the
source code would change to show <tag>hello</tag

Not sure if Im making sense!

Dizzy


--
Domain name WHOIS (without ads)
http://www.qnom.com





Reply With Quote
  #3  
Old   
Dizzy
 
Posts: n/a

Default Re: How hard would this extension be to build? - 07-13-2003 , 10:20 AM



Hi, the reason I was asking is that I wanted to distribute it to a couple of
people in my company, so I would really like an extension I could code, but
thanks anyhow

"Alan Ames" <blu (AT) formdude (DOT) com> wrote

Quote:
does this work?

select the text. (if single word- you can double-click it and that word is
selected)

then, right-click and choose "wrap tag"

start typing the tag between the <> (if autocomplete is on- just tap
return
key when the correct tag is highlighted in the list)


Hi Guys,
Ive been using DW for years, but never really looked into extension, but
how
hard would it be to create an extension that would do the following:

When a bit of text was highlighted and a button clicked two html tags
would
be added to either side, so for example if "hello" was selected then the
source code would change to show <tag>hello</tag

Not sure if Im making sense!

Dizzy


--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer




Reply With Quote
  #4  
Old   
Murray *TMM*
 
Posts: n/a

Default Re: How hard would this extension be to build? - 07-13-2003 , 10:26 AM



Dizzy:

Is the code that you want to use for the wrapper always going to be the
same? If so, then just use snippets - you can distribute them.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Dizzy" <dizzy1900 (AT) hotmail-nospam (DOT) com> wrote

Quote:
Hi, the reason I was asking is that I wanted to distribute it to a couple
of
people in my company, so I would really like an extension I could code,
but
thanks anyhow

"Alan Ames" <blu (AT) formdude (DOT) com> wrote in message
news:BB362815.13C2B9%blu (AT) formdude (DOT) com...
does this work?

select the text. (if single word- you can double-click it and that word
is
selected)

then, right-click and choose "wrap tag"

start typing the tag between the <> (if autocomplete is on- just tap
return
key when the correct tag is highlighted in the list)


Hi Guys,
Ive been using DW for years, but never really looked into extension,
but
how
hard would it be to create an extension that would do the following:

When a bit of text was highlighted and a button clicked two html tags
would
be added to either side, so for example if "hello" was selected then
the
source code would change to show <tag>hello</tag

Not sure if Im making sense!

Dizzy


--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer






Reply With Quote
  #5  
Old   
Dizzy
 
Posts: n/a

Default Re: How hard would this extension be to build? - 07-13-2003 , 01:13 PM



Hi, Thanks, do you have a web site or somewhere where I could learn the
basics of using snippets (id never heard of them before now)

Thanks,

Dizzy

--
Domain name WHOIS (without ads)
http://www.qnom.com



"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote

Quote:
Dizzy:

Is the code that you want to use for the wrapper always going to be the
same? If so, then just use snippets - you can distribute them.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Dizzy" <dizzy1900 (AT) hotmail-nospam (DOT) com> wrote in message
news:berpsf$e6f$1 (AT) forums (DOT) macromedia.com...
Hi, the reason I was asking is that I wanted to distribute it to a
couple
of
people in my company, so I would really like an extension I could code,
but
thanks anyhow

"Alan Ames" <blu (AT) formdude (DOT) com> wrote in message
news:BB362815.13C2B9%blu (AT) formdude (DOT) com...
does this work?

select the text. (if single word- you can double-click it and that
word
is
selected)

then, right-click and choose "wrap tag"

start typing the tag between the <> (if autocomplete is on- just tap
return
key when the correct tag is highlighted in the list)


Hi Guys,
Ive been using DW for years, but never really looked into extension,
but
how
hard would it be to create an extension that would do the following:

When a bit of text was highlighted and a button clicked two html
tags
would
be added to either side, so for example if "hello" was selected then
the
source code would change to show <tag>hello</tag

Not sure if Im making sense!

Dizzy


--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer








Reply With Quote
  #6  
Old   
DiMa
 
Posts: n/a

Default Re: How hard would this extension be to build? - 07-13-2003 , 01:47 PM



Open the snippets panel > New Snippet Folder (in the bottom of the panel) >
Name it something like Tags > New Snippet > Name it the name of your tag >
choose "Wrap Selection" > Put the first part of the tag in the top (<p
class="blah"> for example) and the section part of the tag in the bottom </p> >
Toggle Preview Type 'Code' > click ok.

Then when you want to use it (assuming you're in code view), you have your
snippets panel already open and the Tag folder already open, and you select the
text you want to wrap and click Insert in the bottom of the panel, or simply
double click the snippets.

Macromedia has provided you with LOADS of them already. If you want to get
more, you can try the snippets exchange at www.dreamweaverFAQ.com .

If you want to learn more about Snippets, try hitting F1.

From the help files:

To share a snippet with other members of your team:
a.. Find the snippet that you want to share in the Configuration\Snippets
folder in the Dreamweaver MX application folder.
b.. Copy the snippet to a shared folder on your computer or a network
computer.
c.. Have the other members of the team copy the snippet to their
Configuration\Snippets folder
--
--
DiMa
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to your
posts:
news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:

http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver
http://www.macromedia.com/support/dreamweaver/technotes.html
http://www.projectseven.com/faqbase
http://www.dreamweaverFAQ.com

http://www.macromedia.com/support/forums/etiquette.htm
DiMa Design > From Lines...to Designs
http://www.dimadesign.net


"Dizzy" <dizzy1900 (AT) hotmail-nospam (DOT) com> wrote

Quote:
Hi, Thanks, do you have a web site or somewhere where I could learn the
basics of using snippets (id never heard of them before now)

Thanks,

Dizzy

--
Domain name WHOIS (without ads)
http://www.qnom.com



"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote in message
news:berq75$ee9$1 (AT) forums (DOT) macromedia.com...
Dizzy:

Is the code that you want to use for the wrapper always going to be the
same? If so, then just use snippets - you can distribute them.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Dizzy" <dizzy1900 (AT) hotmail-nospam (DOT) com> wrote in message
news:berpsf$e6f$1 (AT) forums (DOT) macromedia.com...
Hi, the reason I was asking is that I wanted to distribute it to a
couple
of
people in my company, so I would really like an extension I could code,
but
thanks anyhow

"Alan Ames" <blu (AT) formdude (DOT) com> wrote in message
news:BB362815.13C2B9%blu (AT) formdude (DOT) com...
does this work?

select the text. (if single word- you can double-click it and that
word
is
selected)

then, right-click and choose "wrap tag"

start typing the tag between the <> (if autocomplete is on- just tap
return
key when the correct tag is highlighted in the list)


Hi Guys,
Ive been using DW for years, but never really looked into extension,
but
how
hard would it be to create an extension that would do the following:

When a bit of text was highlighted and a button clicked two html
tags
would
be added to either side, so for example if "hello" was selected then
the
source code would change to show <tag>hello</tag

Not sure if Im making sense!

Dizzy


--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer










Reply With Quote
  #7  
Old   
DiMa
 
Posts: n/a

Default Re: How hard would this extension be to build? - 07-13-2003 , 01:50 PM



Quote:
Hi, Thanks, do you have a web site or somewhere where I could learn the
basics of using snippets (id never heard of them before now)
And you've been using DW for YEARS??? How do you manage that?

--
--
DiMa
--------------------
WEB FORUM USERS: Please log on to the Newsgroup for quicker replies to your
posts:
news://forums.macromedia.com/macromedia.dreamweaver
For Answers, check here first:
http://groups.google.com/advanced_group_search?q=+group:macromedia.dreamwea ver
http://www.macromedia.com/support/dreamweaver/technotes.html
http://www.projectseven.com/faqbase
http://www.dreamweaverFAQ.com

http://www.macromedia.com/support/forums/etiquette.htm
DiMa Design > From Lines...to Designs
http://www.dimadesign.net


"Dizzy" <dizzy1900 (AT) hotmail-nospam (DOT) com> wrote


Quote:
Thanks,

Dizzy

--
Domain name WHOIS (without ads)
http://www.qnom.com



"Murray *TMM*" <forums (AT) HAHAgreat-web-sights (DOT) com> wrote in message
news:berq75$ee9$1 (AT) forums (DOT) macromedia.com...
Dizzy:

Is the code that you want to use for the wrapper always going to be the
same? If so, then just use snippets - you can distribute them.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver MX
(If you *MUST* email me, don't LAUGH when you do so!)
==================
news://forums.macromedia.com/macromedia.dreamweaver - THE BEST WAY TO GET
ANSWERS
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.DreamweaverFAQ.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Dizzy" <dizzy1900 (AT) hotmail-nospam (DOT) com> wrote in message
news:berpsf$e6f$1 (AT) forums (DOT) macromedia.com...
Hi, the reason I was asking is that I wanted to distribute it to a
couple
of
people in my company, so I would really like an extension I could code,
but
thanks anyhow

"Alan Ames" <blu (AT) formdude (DOT) com> wrote in message
news:BB362815.13C2B9%blu (AT) formdude (DOT) com...
does this work?

select the text. (if single word- you can double-click it and that
word
is
selected)

then, right-click and choose "wrap tag"

start typing the tag between the <> (if autocomplete is on- just tap
return
key when the correct tag is highlighted in the list)


Hi Guys,
Ive been using DW for years, but never really looked into extension,
but
how
hard would it be to create an extension that would do the following:

When a bit of text was highlighted and a button clicked two html
tags
would
be added to either side, so for example if "hello" was selected then
the
source code would change to show <tag>hello</tag

Not sure if Im making sense!

Dizzy


--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer










Reply With Quote
  #8  
Old   
Alan Ames
 
Posts: n/a

Default Re: How hard would this extension be to build? - 07-13-2003 , 01:53 PM



take a look at http://dwfaq.com -->Snippets

they have info on building/using/trading and have a directory of thousands?
of them you can download.

Quote:
Hi, Thanks, do you have a web site or somewhere where I could learn the
basics of using snippets (id never heard of them before now)

Thanks,

Dizzy
--
Team Macromedia Volunteer for Dreamweaver
Certified Dreamweaver MX Developer



Reply With Quote
  #9  
Old   
Paul Whitham TMM
 
Posts: n/a

Default Re: How hard would this extension be to build? - 07-13-2003 , 07:01 PM



Dizzy

The snippets panel was added in DMX, however there was a commercial
extension that will add this functionality to UD and DW4, from Massimo. I
would contant him from his website www.massimocorner.com to see if it is
still available.

--
Regards

Paul Whitham
Valleybiz Internet Design
www.valleybiz.net

Team Macromedia Volunteer for Ultradev/Dreamweaver MX
www.macromedia.com/support/forums/team_macromedia
"Dizzy" <dizzy1900 (AT) hotmail-nospam (DOT) com> wrote

Quote:
Im using DW 4 and I cant seem to find the snippets panel, is it an MX only
feature?

Dizzy


--

Domain Name WHOIS (without ads).
http://www.qnom.com





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.