Page 1 of 2 12>
Topic Options
#177873 - 2007-07-12 03:24 PM KiXtart 2010 - 4.60 beta 1 is out
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
 Quote:
Release notes for KiXtart 2010 (version 4.60) BETA 1


New functionality/enhancements:

1) Added option to disable/enable file system redirection on Windows x64:

SetOption( "WOW64FileRedirection", "OFF" )

2) Fixed AScan issue.

3) Added a COM implementation of the KiXtart engine.
In order to use the COM implementation, copy KIXTART.DLL to a location on
your system and run the following command:

REGSVR32 KIXTART.DLL

(Note that this command requires administrative privileges.)

Once installed, you can use KiXtart from within any Windows application.

The KiXtart COM component is called "KiXtart.Application" and can be
instantiated using the CreateObject call:

CreateObject("KiXtart.Application")

Supported methods
=================

RunScript( scriptname, script password, async option )
------------------------------------------------------------------------
scriptname - fully qualified name of the script.
script password - password used to encrypt the script. Optional.
async option - boolean indicating if the script should be processed
asynchronous (TRUE), or synchronous (FALSE). Optional.

RunScript can be used to run a KiXtart script. By default, scripts are
run in-process and synchronously. Optionally, a script can be run
asynchronously using the async option. Note that only 1 script can be
run at the same time.


TerminateScript( option )
------------------------------------------------------------------------

option - boolean indicating if the script should be terminated
forcefully (TRUE), or not (FALSE). Optional.

TerminateScript can be used to stop execution of a currently running
script.


Supported properties
====================

ScriptStatus
------------------------------------------------------------------------
ScriptStatus can be used to retrieve the exitcode of a script. If the
script is still running, ScriptStatus will be 259.




Sample Visual Basic Script
==========================

Set oMy = CreateObject("KiXtart.Application")

If err.number then
wscript.echo err.description
wscript.quit
else

x = oMy.RunScript( "c:\demo\demo.kix", , TRUE )

stat = oMy.ScriptStatus

do while stat = 259 ' script still active?
wscript.sleep(1000) ' yep, wait
stat = oMy.ScriptStatus
loop

wscript.echo stat ' display exitcode
End if



Please report any issues with this release on one of the KiXtart discussion
forums on the Internet:

http://www.kixtart.org
http://www.scriptlogic.com/kixtart

If your issue can not be resolved on the forums, please email full details on
the problem, configuration and script(s) involved to kixtart2001@hotmail.com.


Note that KiXtart is provided to you as CareWare. Please see the manual for
full details on the KiXtart CareWare distribution policy.


Attachments
49-KiX2010_460b1.zip (1026 downloads)
Description:


_________________________
!

download KiXnet

Top
#177874 - 2007-07-12 03:54 PM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Lonkero]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA

 Quote:

3) Added a COM implementation of the KiXtart engine.


"Honest Boss... all of our scripts are using VBS." ;\)

Top
#177876 - 2007-07-12 04:53 PM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Allen]
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
I wonder if Ruud will eventually wrap this up in an MSI for ease of installation via GPO?
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#177880 - 2007-07-12 05:37 PM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Les]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
two crucial me wanna's:

1) must allow async execution of multiple instances
2) must have execute() method in da dll too
_________________________
!

download KiXnet

Top
#177885 - 2007-07-12 06:32 PM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Lonkero]
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I'm just wondering where Ruud is heading with this. Wonder if he will be exposing all the Kixtart functions as methods. That would be interesting ... like maybe:

 Code:
Set oMy = CreateObject("KiXtart.Application")

oMy.Map("\\server\share", "M:")

sVal = oMy.ReadValue("Software\Microsoft...", "SomeValue")


Top
#177886 - 2007-07-12 06:58 PM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Shawn]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4545
Loc: USA
I was wondering the same thing. When I was reading all the "COM" messages (in another post), I had hoped that meant full support for COM, but after seeing this, my reaction was much more like... "Yawn"
Top
#177887 - 2007-07-12 07:40 PM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Allen]
sixdoubleo Offline
Starting to like KiXtart

Registered: 2004-02-06
Posts: 118
Loc: California, US
Not sure if it's doable, but I would love to see variables or constants that I can use in my includes.

So instead of

Include "U:\Scripts\UDF\Function1.udf"
Include "U:\Scripts\UDF\Function2.udf"
Include "U:\Scripts\UDF\Function3.udf"

I can say

Const UDFDIR "U:\Scripts\UDF"

Include UDFDIR\Function1.udf
Include UDFDIR\Function2.udf
Include UDFDIR\Function3.udf

Top
#177889 - 2007-07-12 07:51 PM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: sixdoubleo]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
yeah, define pragma \:\/
_________________________
!

download KiXnet

Top
#177892 - 2007-07-12 08:47 PM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Lonkero]
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
At least it woke you guys up. Most posts here today in a while.
Top
#177905 - 2007-07-13 02:12 AM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Lonkero]
It_took_my_meds Offline
Hey THIS is FUN
*****

Registered: 2003-05-07
Posts: 273
Loc: Sydney, Australia
If you could read and write to global variables in the COM instantiated script then perhaps you could do something similar to multithreading.

Edited by It_took_my_meds (2007-07-13 02:14 AM)

Top
#178110 - 2007-07-20 11:46 AM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: It_took_my_meds]
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
On the COM implementation: I am working on exposing the macro's directly as COM properties.

If you are interested in any other specific functionality: let me know.

Ruud

Top
#178121 - 2007-07-20 05:16 PM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Ruud van Velsen]
Arend_ Moderator Offline
MM club member
*****

Registered: 2005-01-17
Posts: 1894
Loc: Hilversum, The Netherlands
How about exposing the UDF's return values directly as COM properties ?
Top
#178127 - 2007-07-20 11:44 PM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Arend_]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, like said before, simple execute() would be nice.
_________________________
!

download KiXnet

Top
#178154 - 2007-07-23 03:10 AM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Lonkero]
It_took_my_meds Offline
Hey THIS is FUN
*****

Registered: 2003-05-07
Posts: 273
Loc: Sydney, Australia
Well it would be great if we could have a mechanism of communication between the calling script and the script being called. That would open up many advanced scripting possibilities. The best way would be to access global variables as properties. Maybe something like...

 Code:
If $Kix.Vars("Progess") = 4 And $Counter = $MaxCount
  $Kix.Vars("LoopFinished") = 1
EndIf

Being able to access Kixtart functions as methods would also be fantastic!

Top
#178431 - 2007-07-26 01:43 AM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: It_took_my_meds]
Obiewon Offline
Lurker

Registered: 2004-04-14
Posts: 4
Loc: Medford, OR
Reading and writing 64-bit branch of the registry would be nice. I don't know if this can be done without re-coding for 64-bit OS. Many more OS installations will be 64-bit in the near future and this inability is a bit crippling.
_________________________
The views expressed herein may be totally incorrect depending upon the political winds of the day.

Top
#178433 - 2007-07-26 02:01 AM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Obiewon]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
hmm...
thought that the fileredirection option would also take care of that.
_________________________
!

download KiXnet

Top
#178472 - 2007-07-26 06:10 PM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Lonkero]
Obiewon Offline
Lurker

Registered: 2004-04-14
Posts: 4
Loc: Medford, OR
I tested the 4.60 beta's ability to read the 64-bit branch of the HKLM\Software hive with the following code on a system running Windows 2003 R2 with Service Pack 2 and it did not read the non-redirected branch of the HKLM\Software hive:

$A = setoption("WOW64FileRedirection","OFF")
? ReadValue("HKEY_LOCAL_MACHINE\software\Diskeeper Corporation\Diskeeper","build")

This key exists in the 64 bit branch but not in the 32 bit branch so it is a good test.
_________________________
The views expressed herein may be totally incorrect depending upon the political winds of the day.

Top
#178498 - 2007-07-27 01:54 AM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Obiewon]
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
ok.
that would then be a great thing to get improved before RC-1
_________________________
!

download KiXnet

Top
#178503 - 2007-07-27 04:43 AM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Lonkero]
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
The question is whether a 32-bit application can access the 64-bit portion of the registry. I seem to rememeber that Microsoft build in an automated redirector.
_________________________
There are two types of vessels, submarines and targets.

Top
#178558 - 2007-07-31 07:58 AM Re: KiXtart 2010 - 4.60 beta 1 is out [Re: Sealeopard]
Ruud van Velsen Moderator Offline
Developer
*****

Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Yes, Windows x64 does have built-in registry redirection. That is what you can (should be able to...) influence using

SetOption("wow64alternateregview", "ON")

If this does not work for you, please let me know.

Ruud

Top
Page 1 of 2 12>


Moderator:  ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.073 seconds in which 0.025 seconds were spent on a total of 15 queries. Zlib compression enabled.