You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sparx-enterprise-archite...@googlegroups.com
I've made some automation scripts and I want to execute them from diagram. We can add hyperlink element to diagram of type EACommand and set some commands to hyperlink. I'm looking for the ability to execute script from diagram same way. Is it possible?
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sparx-enterprise-archite...@googlegroups.com
Drag the scripting editor window from its tab to some other position (an eventually dock it elsewhere). From there you can run the script with a diagram open.
Also you can issue Run Script from the context of the script in the Scripting window.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sparx-enterprise-archite...@googlegroups.com
I think I haven't made my question clear.
I can make working panel on my diagram using: - Report Specification Artifact - Hyperlink type: EACommand , GenerateWSDL etc.
So my diagram is set of "buttons" executing specific tasks.
I want to create "button" which executes some script - I don't want to open Scripting window and stuff like that.
[original message]
qwerty
unread,
Nov 23, 2014, 12:45:08 PM11/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sparx-enterprise-archite...@googlegroups.com
I guess you can't do that. Hyperlink looks like it would be the place to offer such a functionality as there it has bells and whistles for everything - except running a script or calling an add-in. The latter hasn't even made it into the menu bar...
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sparx-enterprise-archite...@googlegroups.com
Hm, maybe I will use some dirty hack: - say I have script [Foo] to execute for current model - I create proxy diagram script [FooDiagram] for script [Foo] - I add any diagram hyperlink on my panel (i.e. diagram with "buttons") naming it Foo - and if I want to run script Foo: Right Click on hyperlink Foo > Script > Foo
Very clumsy I guess, but for me it would be better to have predefined set of actions with comments in one place, then to change window, to search needed script for current model and trying to remember what it is doing.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sparx-enterprise-archite...@googlegroups.com
3A3C3B3F2C31490 wrote:
[quote author=092B2B3C3A600C2B22222B252B203D4E0 link=1416735875/0#6 date=1416814960]I'm working on an add-in to allow scripts to be triggered when EA events happen: