I have finally decided to have a play with the macros in Homesite and found
them pretty cool.
For example
Now with a nice keyboard shortcut, I can add a comment block into my pages
which does the following :-
1) If it's a new document that has not been saved yet, it will ask me for a
file name. if it's a saved document, it grabs the saved
file name
2) Asks me for my name
3) Asks me to input a comment/remark for the comment block
In the end it looks like this
<!--- ---------------------------------------------------------------------
Editor : Steve Onnis
Edit Date : 4/4/2005 2:40AM
Filename : fileName.cfm
Remarks : This is a comment which is inputted via a
messabe box popup
--------------------------------------------------------------------- --->
It even inserts the date into the comment for you and tabs out the comment so
it is properly indented with your cursor position in
your code!!
I even did one for creating new documents and added it into my toolbar.
Its prolly just me but I think this is pretty cool.
What I would love to do is do some parsing with it and for example have it
convert an INSERT query into an UPDATE query for me and
visa versa
Is anyone else using this sort of thing?
In Dreamweaver MX I did notice a "Commands" area but its disabled for some
reason :(
---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/