Cannot figure out how to create macros in Expression Web
-
Wednesday, November 18, 2009 5:57 AM
I've searched the Expression Web Help, and indeed the Web, for documentation on how to write macros. Apparently some folks know how, as I did find two postings with cryptic macro statements such as
WebDesigner.CommandBars.FindControl(id:=2619).Execute
But when I try to find anything about this, I come up empty handed. What am I missing?
All Replies
-
Wednesday, November 18, 2009 9:02 AMI'm pretty sure macros are one of the features not yet in EW3. If that's the case they'll most likely be added back in with the service pack later this year. I could be wrong on that though...
Andy -
Wednesday, November 18, 2009 12:25 PM
Assuming you are using xWeb 1 or 2. Expression Web 3 doesn't support macros, nor will it.
There isn't a central repository of documentation for writing macros. The code you gave above is from the Office API for customizing the UI. You can find information on that here:
http://msdn.microsoft.com/en-us/library/bf08984t(VS.80).aspx
For the rest, I suppose you could use the VBA reference for FrontPage and make some minor modifications to account for Expression Web's object model. The differences are very minor.
http://msdn.microsoft.com/en-us/library/bb190882(office.11).aspx
Jim Cheshire
Jimco Software and Books
jimcosoftware.com
jimcobooks.com
Author of:
Microsoft Expression Web 3 In Depth and many other books on Web design, ASP.NET, and the Amazon Kindle.- Marked As Answer by Paul Bartholomew,Moderator Wednesday, November 18, 2009 3:34 PM
-
Wednesday, November 18, 2009 7:08 PMSee <http://schneegans.de/expression-web/vba/control-id/> for a list of control IDs.
Also take a look at <http://msdn.microsoft.com/en-us/library/aa218640(office.11).aspx>, which was written for FrontPage 2003, but is still a valuable resource. -
Tuesday, February 02, 2010 10:13 AM"Expression Web 3 doesn't support macros, nor will it."
For this reason I'm not using EW3.

