SuperEdi

User: Guest

Search

Please use the
Bug Report Form
if you think you found a software defect.

Use the Contact Form
to send a personal message to Wolfgang.

RSS Feed RSS Feed

Other boards:
Juke
QBrowser
Raduga (English)
Song Requester

Automation

Posted on: SuperEdi

From Message

Omega

2007-10-09 09:36:32

Automation

I'm trying to use superEdi as an external editor using Automation and I have several problems:
1. Seems like there is no way to setup file type programmatically, i.e. if I load some text into superEdi using .text property (not from file) I want to specify that it's a XML text to see it properly highlighted.
2. Seems like there is no way to open/close windows programmatically, i.e. when I open superEdi using Automation I want to see it without Explorer window. Functions window and so on.

These features are not implemented or I missing something?

Wolfgang Loch

2007-10-09 22:24:31

Re: Automation

1. You can read the currenct document's file type using the Document.FileType property, but you can't change it.

2. You can show and hide the console window and the browser bar by setting Application.Console.Visible and Application.BrowserBar.Visible. The other windows are not accessible for automation.

I will note both issues as feature requests. Is either one more important to you?

Omega

2007-10-10 08:51:57

Re: Automation

First one is more important because without text highlighting it will be difficult to work with text.

As a maximum feature it will be greate to use SE document as ActiveX control, i.e. put it as control on a form in VB or Access for instance.

Wolfgang Loch

2007-10-11 01:12:32

Re: Automation

By the way, SuperEdi supports the Active Document interface. Maybe that helps you for whatever you want to do.

Wolfgang Loch

2007-10-16 21:55:37

Re: Automation

SuperEdi 4.1.2 has a new writeable document property FileTypeName.

Usage:
Document.FileTypeName = "CSS"

Omega

2007-10-18 14:35:34

Re: Automation

Thanks a lot :)

Post a reply to this message: