Author Topic: Run scripts from context menu  (Read 1110 times)

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Run scripts from context menu
« on: May 27, 2009, 04:53:41 am »
I have recently written several scripts in EA that work with the current context object (via the GetContextObject, GetTreeSelectedPackage methods), and it struck me that EA doesn't seem to have an option in its context menus to run a script. Such an option would be ideal for scripts working with the current context item; simply right click the item and run the appropriate script from the context menu. Would Sparx consider adding this feature?

Cheers,
Fred Woolsey
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Run scripts from context menu
« Reply #1 on: May 27, 2009, 10:14:51 pm »
That would make sense. It should fit nicely into the current paradigm.

(If this suggestion were taken) I'd like to see this implemented in the API as well.
No, you can't have it!