demystifying macros with er/studio

19
EMBARCADERO TECHNOLOGIES EMBARCADERO TECHNOLOGIES Demystifying Macros Presented by: Stanley Chan - Software Consultant

Upload: embarcadero-technologies

Post on 26-Jul-2015

114 views

Category:

Software


2 download

TRANSCRIPT

EMBARCADERO TECHNOLOGIESEMBARCADERO TECHNOLOGIES

Demystifying Macros

Presented by:

Stanley Chan - Software Consultant

EMBARCADERO TECHNOLOGIES

Topics

• Introduction to Macros

• Creating Macros

• Tips

EMBARCADERO TECHNOLOGIES

Poll Questions

EMBARCADERO TECHNOLOGIES

What are macros?

• Automated scripts

• Programmable

• Event driven

• Based on COM

EMBARCADERO TECHNOLOGIES

Com Benefits - Encapsulation

EMBARCADERO TECHNOLOGIES

Language Independent

EMBARCADERO TECHNOLOGIES

Language

• WinWrap

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

EMBARCADERO TECHNOLOGIES

What can you use Macros for?

• Automate manual and repetitive tasks

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

EMBARCADERO TECHNOLOGIES

How do you see macros working for you?

EMBARCADERO TECHNOLOGIES

Visual Studio 2013 demonstration

EMBARCADERO TECHNOLOGIES

Built-in Macro editor demonstration

EMBARCADERO TECHNOLOGIES

Macro Ideas

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

EMBARCADERO TECHNOLOGIES

Basic Event Handlers

• Create handlers

• Update handlers

• Delete handlers

EMBARCADERO TECHNOLOGIES

Create Handler Demonstration

EMBARCADERO TECHNOLOGIES

Tips

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

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

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!

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]