Book a Demo

Author Topic: connecting the script to ribbon  (Read 3466 times)

PiotrS24

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
connecting the script to ribbon
« on: March 19, 2020, 08:31:11 pm »
Hi

I does my first MDG model, that I use to generate source code,
but for usability I want to connect the script to ribbon
Is possible to add script to custom part of ribbon ?

Piotr

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: connecting the script to ribbon
« Reply #1 on: March 20, 2020, 02:07:42 am »
I know that up to V14 it's not possible (though asked for many times). I have no idea about V >15.

q.

PiotrS24

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: connecting the script to ribbon
« Reply #2 on: March 20, 2020, 04:10:56 am »
ok

Maybe You know
Is anywhere language reference (definition of language) to VB Script

For now i have to learn these script usign example
I am looking for something like this: https://docs.microsoft.com/en-us/office/vba/api/overview/language-reference
or maybe what kind of script component is used by Sparx. On producent page, I think these langref will be ...

Thanks Piotr

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: connecting the script to ribbon
« Reply #3 on: March 20, 2020, 05:03:44 am »
I think this is one, but I've never actually used something like that myself. I somehow never needed it.
http://www.csidata.com/custserv/onlinehelp/vbsdocs/VBSTOC.htm

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: connecting the script to ribbon
« Reply #4 on: March 20, 2020, 05:05:38 am »
If you are more after EA's API you might have a look into my Scripting book (shameless plug).

q.

PiotrS24

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: connecting the script to ribbon
« Reply #5 on: March 20, 2020, 08:57:22 am »
you are great :)
that's exactly what I needed
from this rfi I'll read what this language can and comes out with a shapely code
thank you very much...

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: connecting the script to ribbon
« Reply #6 on: March 20, 2020, 09:19:16 am »
RFI? https://www.abbreviations.com/RFI Which one do you mean? Repetitive Frag Injury? Lol. I'd guess you better than Geert by addressing him...

q.