Page 1 of 1
run script from another app
Posted: 2004-12-30 12:38:39
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
Posted: 2004-12-30 12:49:46
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.