Book a Demo

Author Topic: How to open internal code editor  (Read 3593 times)

alexd

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • Headshot!
    • View Profile
How to open internal code editor
« on: April 22, 2013, 08:07:08 pm »
Hi all
I create my own plugin and I need to programmatically open the code window for the specific file on disk (like key F12 - View Source Code ...). I examined all the convenient classes, but I did not find anything. Any idea?
What's this world coming to?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to open internal code editor
« Reply #1 on: April 22, 2013, 08:35:25 pm »
Use keyboard simulation to send F12.

q.

alexd

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • Headshot!
    • View Profile
Re: How to open internal code editor
« Reply #2 on: April 22, 2013, 08:51:23 pm »
Quote
Use keyboard simulation to send F12.

q.
Thank you for your response.
But it does not solve my problem. I have one file that is generated from the EA (and is visible through F12) and a second file that contains the relevant configuration. And I need to open the second file through an own contextmenu item.
What's this world coming to?