 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Andrew Fiddian-Green Guest
|
Posted: Fri Aug 19, 2005 3:02 pm Post subject: How to host a scripting language like VBA in a Delphi app? |
|
|
In MS Office products (such as Word or Excel), users can create their own
VBA macros in documents and use them to automate commands either within the
current application/document, or (through COM automation interfaces) such
macros can also automate commands in other applications (e.g. a macro
running in a Word document can automate commands in an instance of Excel).
Question: did anyone try to build such a macro scripting language into a
Delphi application? -- And if so, can they please give any tips?
Regards
AndrewFG
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Fri Aug 19, 2005 9:24 pm Post subject: Re: How to host a scripting language like VBA in a Delphi ap |
|
|
See the freeware wrapper for Delphi at http://www.scalabium.com/smscript.htm
--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com
"Andrew Fiddian-Green" <nn@dd> wrote
| Quote: | In MS Office products (such as Word or Excel), users can create their own
VBA macros in documents and use them to automate commands either within
the
current application/document, or (through COM automation interfaces) such
macros can also automate commands in other applications (e.g. a macro
running in a Word document can automate commands in an instance of Excel).
Question: did anyone try to build such a macro scripting language into a
Delphi application? -- And if so, can they please give any tips?
Regards
AndrewFG
|
|
|
| Back to top |
|
 |
John Carlyle-Clarke Guest
|
Posted: Mon Aug 22, 2005 7:56 am Post subject: Re: How to host a scripting language like VBA in a Delphi ap |
|
|
"Mike Shkolnik" <mshkolnik2002 (AT) ukr (DOT) net> wrote in
news:43064ea8 (AT) newsgroups (DOT) borland.com:
| Quote: | "Andrew Fiddian-Green" <nn@dd> wrote in message
news:4305f490 (AT) newsgroups (DOT) borland.com...
Question: did anyone try to build such a macro scripting language
into a Delphi application? -- And if so, can they please give any
tips?
See the freeware wrapper for Delphi at
http://www.scalabium.com/smscript.htm
|
You could also look at:
http://www.remobjects.com/page.asp?id={9A30A672-62C8-4131-BA89-
EEBBE7E302E6}
This is the one that is used in Innosetup.
|
|
| Back to top |
|
 |
Andrew Fiddian-Green Guest
|
Posted: Mon Aug 22, 2005 6:28 pm Post subject: Re: How to host a scripting language like VBA in a Delphi ap |
|
|
I also found something by Serhiy Perevoznyk on
http://members.chello.be/ws36637/
Thanks for all your inputs.
I am evaluating which one to go with.
Regards,
AndrewFG
"John Carlyle-Clarke" <john.cc (AT) nospam (DOT) europlacer.co.uk> wrote
| Quote: | "Mike Shkolnik" <mshkolnik2002 (AT) ukr (DOT) net> wrote in
news:43064ea8 (AT) newsgroups (DOT) borland.com:
"Andrew Fiddian-Green" <nn@dd> wrote in message
news:4305f490 (AT) newsgroups (DOT) borland.com...
Question: did anyone try to build such a macro scripting language
into a Delphi application? -- And if so, can they please give any
tips?
See the freeware wrapper for Delphi at
http://www.scalabium.com/smscript.htm
You could also look at:
http://www.remobjects.com/page.asp?id={9A30A672-62C8-4131-BA89-
EEBBE7E302E6}
This is the one that is used in Innosetup.
|
|
|
| Back to top |
|
 |
George Birbilis Guest
|
Posted: Fri Sep 02, 2005 1:56 pm Post subject: Re: How to host a scripting language like VBA in a Delphi ap |
|
|
use the Microsoft Script control (www.microsoft.com/scripting)
--
-----
George Birbilis (birbilis (AT) kagi (DOT) com)
Microsoft Most Valuable Professional
MVP J# for 2004 & 2005
http://www.kagi.com/birbilis
QuickTime, Delphi, ActiveX, .NET, IPC
--------------
"Andrew Fiddian-Green" <nn@dd> wrote
| Quote: | In MS Office products (such as Word or Excel), users can create their own
VBA macros in documents and use them to automate commands either within
the
current application/document, or (through COM automation interfaces) such
macros can also automate commands in other applications (e.g. a macro
running in a Word document can automate commands in an instance of Excel).
Question: did anyone try to build such a macro scripting language into a
Delphi application? -- And if so, can they please give any tips?
Regards
AndrewFG
|
|
|
| Back to top |
|
 |
Ray Carpenter Guest
|
Posted: Fri Sep 30, 2005 3:28 pm Post subject: Re: How to host a scripting language like VBA in a Delphi ap |
|
|
Andrew
Try the Microsoft website and search for "active scripting" or "active
scripting host". Microsoft provides a COM active scripting engine which can
run JScript and VBScript scripts when the engine is loaded by your own
application. In later versions of Windows, this engine is included in the
distribution.
Regards
Ray Carpenter
Andrew Fiddian-Green <nn@dd> wrote
| Quote: | In MS Office products (such as Word or Excel), users can create their own
VBA macros in documents and use them to automate commands either within
the
current application/document, or (through COM automation interfaces) such
macros can also automate commands in other applications (e.g. a macro
running in a Word document can automate commands in an instance of Excel).
Question: did anyone try to build such a macro scripting language into a
Delphi application? -- And if so, can they please give any tips?
Regards
AndrewFG
|
|
|
| Back to top |
|
 |
George Birbilis Guest
|
Posted: Mon Oct 03, 2005 10:07 am Post subject: Re: How to host a scripting language like VBA in a Delphi ap |
|
|
see MS Script control - there's a Delphi sample for it by Mike Shkolnik if I
remember well (See his website)
-----
George Birbilis (birbilis (AT) kagi (DOT) com)
Microsoft Most Valuable Professional
MVP J# for 2004 & 2005
http://www.kagi.com/birbilis
QuickTime, Delphi, ActiveX, .NET, IPC
--------------
"Ray Carpenter" <rjcarpenter (AT) u031 (DOT) aone.net.au> wrote
| Quote: | Andrew
Try the Microsoft website and search for "active scripting" or "active
scripting host". Microsoft provides a COM active scripting engine which
can
run JScript and VBScript scripts when the engine is loaded by your own
application. In later versions of Windows, this engine is included in the
distribution.
Regards
Ray Carpenter
Andrew Fiddian-Green <nn@dd> wrote in message
news:4305f490 (AT) newsgroups (DOT) borland.com...
In MS Office products (such as Word or Excel), users can create their own
VBA macros in documents and use them to automate commands either within
the
current application/document, or (through COM automation interfaces) such
macros can also automate commands in other applications (e.g. a macro
running in a Word document can automate commands in an instance of
Excel).
Question: did anyone try to build such a macro scripting language into a
Delphi application? -- And if so, can they please give any tips?
Regards
AndrewFG
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|