run script from another app

If you need help on how to use the program
Post Reply
guest

run script from another app

Post by guest »

hello there from greece
very nice job man. BRAVO......
A question.
Can i call (run) those scripts from another delphi application???

thanks

michael
antp
Site Admin
Posts: 9668
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Hi,
It is probably easy to make them run directly as compiled code in another Delphi app once you redefined the few functions that I added (GetPage, HTMLDecode, etc.)
Some minor changes may have to be made, e.g. for TStringList to get a line you have to remplace GetString(...) by a simple [...]
Note that if you use AMC's scripts in another app, this app has to be released under GPL licence (i.e. free and opensource) since the scripts use this licence.
On the other hand, they could be used as scripts in another app (i.e. not compiled into) as long as the same scripting engine is used (IFPS2) and that the few extra functions that I added are also added. Then the licence of the app does not have to comply to GPL licence, as long as the scripts stay as they are currently.
Post Reply