Top Banner
EMBARCADERO TECHNOLOGIES EMBARCADERO TECHNOLOGIES Demystifying Macros Presented by: Stanley Chan - Software Consultant
19
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIESEMBARCADERO TECHNOLOGIES

Demystifying Macros

Presented by:

Stanley Chan - Software Consultant

Page 2: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Topics

• Introduction to Macros

• Creating Macros

• Tips

Page 3: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Poll Questions

Page 4: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

What are macros?

• Automated scripts

• Programmable

• Event driven

• Based on COM

Page 5: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Com Benefits - Encapsulation

Page 6: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Language Independent

Page 7: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Language

• WinWrap

• COM (Delphi, C#, C++, VB.NET)

Page 8: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

What can you use Macros for?

• Automate manual and repetitive tasks

Page 9: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

What can you use Macros for?

• Automate manual and repetitive tasks• Access within your software development

environment• Extract object properties• Enforce Business rules• And much more

Page 10: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

How do you see macros working for you?

Page 11: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Visual Studio 2013 demonstration

Page 12: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Built-in Macro editor demonstration

Page 13: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Macro Ideas

• Model Validation• Stylesheet• Export to excel• Export to PDF

Page 14: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Basic Event Handlers

• Create handlers

• Update handlers

• Delete handlers

Page 15: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Create Handler Demonstration

Page 16: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Tips

• Comments• Reuse • Have a Macro Administrator• Share• Ask for help• Use Macro shortcuts• Schedule• Test

Page 17: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Resources

• Help -> Automation Interface Reference• Automating ER/Studio documentation:

http://docwiki.embarcadero.com/ERStudioDA/XE7/en/Automating_ERStudio_DA

• Youtube channel:https://www.youtube.com/user/EmbarcaderoTechNet/featured

• Embarcadero Community Forum:http://community.embarcadero.com/index.php/forum/data-modeling-architecture

Page 18: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Summary

• What can’t macros do?• Make your life easier• Saves you time to enjoy other things• Easy to write• Easy to integrate• It’s fun!

Page 19: Demystifying macros with ER/Studio

EMBARCADERO TECHNOLOGIES

Thank you and good luck with your macros!

• Learn more about the ER/Studio product family: http://www.embarcadero.com/data-modeling

• To discuss ER/Studio or ask for help:

http://community.embarcadero.com/index.php/forum/data-modeling-architecture

Contact Info

Stanley ChanSoftware [email protected]