Les
(KiX Master)
2005-01-11 08:42 PM
Current Suggestions / Requests discussions

Please provide your input here to the topic Current Suggestions / Requests in the Suggestions forum.

NOTE:
Since this covers a wide range of topics, please respect the threaded view and be careful to reply in the right thread.


Bryce
(KiX Supporter)
2005-01-11 09:08 PM
Re: Current Suggestions / Requests discussions


    # @function to determine OU of user and/or workstation
    With the movement to AD, AD support that is native to Kix is a must. and one of the corner stones that Kix was built on.

    # Binmode file access
    this would be nice to have, added function.

    # bitwise negation operator
    this would be nice to have, added function.

    # Case Sensitive setoption('OptionExplicit','ON')
    this makes sence, and fits along with the current kix options

    # Case-Sensitive Sendkeys() or Keystate()
    this makes sence, and fits along with the current kix options

    # Comment Block similar to C
    do we really need this?

    # MakeEXE for KiX 4.5
    other methods exist.. so this depends on how it is implemented.

    # More support for math $iNewValue=BaseConvert($iOldValue,CurrentBase,RequiredBase, Optional WordSize)
    i like this. but is there enought demand to add this native, vs current UDF's

    # Mouse movements
    other mothods exist for this.

    # Native Terminate function
    other methods exist for this.

    # On Error handler
    handle those crashes... i like.. but can make for slopy code

    # RD /c /h /f /s /s subdirs /f also readonly /h also hidden and system /c continue on errors
    do we need this...?

    # SKIX32.EXE KiXtart as a Service
    would be nice.... but not so sure how much it would be used.

    # Socket Support
    yes, i would like to see socket support.. either vix kix native, or through shawns kixforms...

    # XML Support
    not so sure if we need this native, other methods exist.


LonkeroAdministrator
(KiX Master Guru)
2005-01-11 09:41 PM
Re: Current Suggestions / Requests discussions

to the xml:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/oriXMLStandards.asp

it's a web standard as much as html.
it's text that has some tags in it.

XML is not limited enough to be seriously considered as anything inbuild.

I personally would remove it from suggestions list but maybe will wait for no from Ruud.


LonkeroAdministrator
(KiX Master Guru)
2005-01-11 09:54 PM
Re: Current Suggestions / Requests discussions

on error handler...

I would not like to see it as onError resume next handler but only as crash handler.

that means, when there is a condition that makes kixtart crash, do something.
on the other hand, for this to work properly, it would need to know unknown bugs and do something when met.

one way could be some drwatson wake up call thingie.
some handler thingie that is not dependant of the kix process that runs the script.

and the normal die errors could have option for rediction just like anything placed on the console.
redirectErrors() would redirect errormessages instead of showing them to user.

so, no.
onError, I can't see it needed.


Les
(KiX Master)
2005-01-11 09:56 PM
Re: Case Sensitive setoption('OptionExplicit','ON')

# Case Sensitive setoption('OptionExplicit','ON')

Not sure I understand what the objective is here. There is already a SetOption() for CaseSensitivity.
Quote:

By default, all string comparisons are case-insensitive. Setting the CaseSensitivity option to ON instructs KiXtart to make all subsequent string comparisons case-sensitive.




Which is pretty much the same as:
If $Var == 'CaseSensitive'
...or is it about making varnames themself case sensitive?
$Var = 'CaseSensitive'
$var = 'casesensitive'


LonkeroAdministrator
(KiX Master Guru)
2005-01-11 10:03 PM
Re: Current Suggestions / Requests discussions

Quote:

More support for math $iNewValue=BaseConvert($iOldValue,CurrentBase,RequiredBase, Optional WordSize)




now, I might wanna see some extended math support.
SIN and COS for sure.


ShawnAdministrator
(KiX Supporter)
2005-01-11 10:21 PM
Re: Current Suggestions / Requests discussions

so, if we (i) have more suggestions, were do we (i) post it ? here ?

LonkeroAdministrator
(KiX Master Guru)
2005-01-11 10:38 PM
Re: Case Sensitive setoption('OptionExplicit','ON')

ja, that's the point.

NTDOCAdministrator
(KiX Master)
2005-01-11 10:38 PM
Re: Current Suggestions / Requests discussions

Yes, Jooel beat me to it.

I'd remove this post, but board would still leave the post and say it was deleted


LonkeroAdministrator
(KiX Master Guru)
2005-01-11 10:54 PM
Re: Current Suggestions / Requests discussions

doc, answered to les.

shawn, no.
I think suggestions forum is for suggestions.
this thread for discussing the suggestion in the suggestions thread.


Les
(KiX Master)
2005-01-11 11:18 PM
Re: Current Suggestions / Requests discussions

Shawn,
New suggestions should always be posted to the suggestions forum. The only reason I sequestered this topic is because it has too many suggestions that would most likely generate a lot of varied responses. Individual suggestions can be debated in the suggestions forum.

The suggestions summary itself that DOC posted can be discussed here and DOC will update the summary based on feedback here.


Les
(KiX Master)
2005-01-11 11:22 PM
Re: Case Sensitive setoption('OptionExplicit','ON')

K, so who is messing up the threads?

Shawn, is your Q related to Case Sensitive setoption?

Jooel, is your reply to my point or Shawn's? ..and just what is the point?


ShawnAdministrator
(KiX Supporter)
2005-01-11 11:27 PM
Re: Case Sensitive setoption('OptionExplicit','ON')

Les, no. I want to submit the following suggestion into the list, been suggested before and its supported by VB and VBS, thought it would be nice in Kix as well.

To be able to DIM and ASSIGN a variable in one statement, like this:

Dim $Value = 100

-Shawn


Stevie
(Starting to like KiXtart)
2005-01-12 04:51 PM
Re: XML Support

I am very much in favor of XML support built-in. "It can be handled in other ways" is not a valid argument. If it were, then Ruud should drop support for drive mapping, ini file manipulation, and pretty much everything else that KiXtart does since they can also be done in other ways.

Also, I think most people's take on XML is a little skewed toward trivial examples. If I want to get the text for a certain node, it's not always as simple as string parsing the tag name. Again, I don't think we need full XMLDOM coverage, but some rudimentary XML parsing commands would be quite valuable in enhancing the power of native KiXtart.


LonkeroAdministrator
(KiX Master Guru)
2005-01-12 04:54 PM
Re: XML Support

I want html parser then too.

Richard H.Administrator
(KiX Supporter)
2005-01-12 05:01 PM
Binary data support

To be able to make use of binary file i/o, sockets and many COM automation objects KiXtart needs to be able to manipulate binary data.

Support for the "byte" data type (and "byte arrays") would probably be sufficient, although converting to and from existing types would help a lot.


Richard H.Administrator
(KiX Supporter)
2005-01-12 05:06 PM
Variable pass by reference

The ability to pass a variable by reference, so that the original variable can be manipulated directly in a UDF rather than a copy.

Richard H.Administrator
(KiX Supporter)
2005-01-12 05:10 PM
Static variable definition

Support for static variables.

Static variables are local to a scope, but unlike DIMmed variables they are not destroyed when the scope is exited.

For example, this allows information in a UDF to be preserved.


ShawnAdministrator
(KiX Supporter)
2005-01-12 06:02 PM
Re: Current Suggestions / Requests discussions

The abilty to support [out] variables in COM objects, variables that are created by the COM object itself, and passed "out" of the method call. This would be usefull for some devious sneaky WMI calls. I think these [out] variables are subtely different that your std byref type.

NTDOCAdministrator
(KiX Master)
2005-01-12 09:09 PM
Re: Current Suggestions / Requests discussions

The Suggestions post has been updated.

If you see any requests that are currently already built-in to KiXtart 4.23 please let me know and I'll remove the request. Some of these are from 2001 and may already be supported internally by KiXtart 4.23

Current Suggestions / Requests
http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Number=131388


Sealeopard
(KiX Master)
2005-01-13 01:53 AM
Re: Current Suggestions / Requests discussions

Full support, both COM and regular functions, for ByVal and ByRef style passing of variables into functions/COM,

NTDOCAdministrator
(KiX Master)
2005-01-13 03:31 AM
Re: Current Suggestions / Requests discussions

Something more then these links provide?

Variable pass by reference - ByVal and ByRef
http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Number=131389&page=&view=&sb=5&o=&fpart=2
http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Number=81191




Les
(KiX Master)
2005-01-13 03:47 AM
Re: @function to determine OU of user and/or workstation

First off, it is a misnomer... anything with an @ is a macro, not a function.

Not all containers are OUs and since OUs can be nested, should it just return the closest or all of them? It could work like the @IPAddressX macro where the X on the end designates the level.

What about containers that are not OUs?



NTDOCAdministrator
(KiX Master)
2005-01-13 04:39 AM
Re: @function to determine OU of user and/or workstation

Les,

I assume you are referring to this.

@function to determine OU of user and/or workstation
http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Board=UBB4&Number=128269



Richard H.Administrator
(KiX Supporter)
2005-01-13 09:28 AM
Re: @function to determine OU of user and/or workstation

Speaking from a lofty position of complete ignorance about OUs, wouldn't a function be generally better? EnumOU($sKey,$iIndex) or something similar?

Les
(KiX Master)
2005-01-13 03:11 PM
Re: @function to determine OU of user and/or workstation

Well... I only went with the macro theme cuz the subject had an @ in it.

My user object in AD, for example is:
CN=LLigetfa,OU=Users,OU=FF,OU=CACC,DC=bla,DC=local

It should be read backwards, so as you can see, CACC is off the root, our Fort Frances division has its own OU (FF), and I am in the Users OU. We also nest additional OUs for the purpose of GPOs and such.


ChristopheM
(Hey THIS is FUN)
2005-01-13 10:02 PM
Re: @function to determine OU of user and/or workstation

many suggestions are interesting :
  • support of XML (but already available with COM Object),
  • support of by ref and by val parameters for functions
  • out parameters for functions (at the present time, to return several values, I must use array but it's not very readable)
  • binary mode for files
  • socket support
  • math functions
  • regular expressions (would be very appreciated because it's very powerful for file manipulation or input validation)
  • a function to split a line of a CSV file (with delimitor AND separator field. The split function is not enough)
  • RD as described by Bryce and others shell commands like pushd and popd
  • Some existant functions should be improved like DIR :
    2 Dir is not sufficient. OK, with recursivity, it's possible to scan a tree but it would be nicer to have :
    $dirhandle = freedirhandle()
    $file=dir( $mask, $dirhandle)
  • event handler for WMI notification (WbemScripting.SWbemSink). Now, it's one of the only points that is not possible in Kix but possible in VBScript (and i hate VB script)


according to me, something like On Error should be prohibited. This is a GOTO (and it's VB). I would prefer something like Try..except or try..finally like in Delphi or try..catch in C#, Java and so on.

That's all for tonight.


Les
(KiX Master)
2005-01-13 11:15 PM
Re: @function to determine OU of user and/or workstation

Christophe,
How does this relate to a maro or function for OUs? THis is a multi-threaded discussion, so please reply to the proper post in threaded view.


ChristopheM
(Hey THIS is FUN)
2005-01-14 05:55 PM
Re: @function to determine OU of user and/or workstation

Sorry.

I usually use the flat view and i didn't see the multi-threaded discussion.
can somebody move my post as a response to Bryce's post "RE: Current Suggestions / Request discussions"
or should i repost my answer and delete this post ?


NTDOCAdministrator
(KiX Master)
2005-01-14 06:09 PM
Re: @function to determine OU of user and/or workstation *DELETED*

Post deleted by NTDOC

Les
(KiX Master)
2005-01-14 06:27 PM
Re: @function to determine OU of user and/or workstation

Don't listen to DOC. You can repost and delete but a mod cannot move it along the tree.

LonkeroAdministrator
(KiX Master Guru)
2005-01-14 07:38 PM
Re: Current Suggestions / Requests discussions - updated

the suggestions have been modified and hopefully made more informatic.
thanks doc.


Les
(KiX Master)
2005-01-14 08:03 PM
Re: Current Suggestions / Requests discussions Guidlines for posting

Since we have some old timers and noobs alike that maybe don't know how threaded vs. flat works, I would like to reiterate.

This covers a wide range of topics, please respect the threaded view and be careful to reply in the right thread.

Also, these threads are not the proper place to make new suggestions. Those should be posted to the Sugestions forum and replies there should be on-topic, brief, and to the point.

This topic in General Discussions has been setup to draw some of the small arms fire away from Suggestions.


I thank you for understanding


NTDOCAdministrator
(KiX Master)
2005-01-14 08:04 PM
Re: @function to determine OU of user and/or workstation

Okay Les,

I'll try to use the Threaded view for you on this one. Don't like it, but hey for you - anything


Les
(KiX Master)
2005-01-14 08:10 PM
Re: @function to determine OU of user and/or workstation

Why are you dumping all over my thread? You should have started a new "thread" at the top of this one in threaded view.

ChristopheM
(Hey THIS is FUN)
2005-01-14 09:17 PM
Re: Current Suggestions / Requests discussions

many suggestions are interesting :
  • support of XML (but already available with COM Object),
  • support of by ref and by val parameters for functions
  • out parameters for functions (at the present time, to return several values, I must use array but it's not very readable)
  • binary mode for files
  • socket support
  • math functions
  • regular expressions (would be very appreciated because it's very powerful for file manipulation or input validation)
  • a function to split a line of a CSV file (with delimitor AND separator field. The split function is not enough)
  • RD as described by Bryce and others shell commands like pushd and popd
  • Some existant functions should be improved like DIR :
    2 Dir is not sufficient. OK, with recursivity, it's possible to scan a tree but it would be nicer to have :
    $dirhandle = freedirhandle()
    $file=dir( $mask, $dirhandle)
  • event handler for WMI notification (WbemScripting.SWbemSink). Now, it's one of the only points that is not possible in Kix but possible in VBScript (and i hate VB script)


according to me, something like On Error should be prohibited. This is a GOTO (and it's VB). I would prefer something like Try..except or try..finally like in Delphi or try..catch in C#, Java and so on.

That's all for tonight.


Radimus
(KiX Supporter)
2005-12-12 04:29 PM
Re: Current Suggestions / Requests discussions

Emulate Xcopy $source+'\*.*' $destination /d

In order to copy newer files


LonkeroAdministrator
(KiX Master Guru)
2005-12-22 05:41 PM
Re: Current Suggestions / Requests discussions

hmm...
should the suggestion list also have a tag for things that are wished from kixtart but which are in KiXforms?


KevinR
(Fresh Scripter)
2005-12-30 08:58 AM
Re: Current Suggestions / Requests discussions

I'm new to KiXtart and have two suggestions to make:

1. Our organisation has a small network based around NT Server with a mixture of 98 and XP Pro workstations. We have roaming profiles on all workstations (not because we roam much, but for backup, recovery and control purposes). One problem we have is when a user is logged into one workstation, then when still logged into that workstation they log into another. My suggestion for a future enhancement of KiXtart is some way that (optionally) KiXtart will only allow a user to log into the network on one workstation at a time?
2. My second suggestion is some way of pausing execution of part of the logon script until the registry has loaded. This would help with a problem I have. We have Outlook 2000 installed on each workstation (but not the server). The PST file is stored on a network share (U:\Outlook - with a unique U: being assigned to each user using USE). I want Outlook to load as part of the login (this is because staff forget to check their email otherwise). I have found that when a different user logs onto the PC, the script executes before the roaming profile is loaded, and so when Outlook loads the PST is for the current user, but retains some settings from the previous user. So I've had to remove the loading of Outlook from the logon script and put it in the StartUp folder on each workstation. This problem only occurs when a different user logs on - there's no problem if the same user logs back on, or if Outlook is ran later in the session. I've tried experimenting with PAUSE, but any pause is arbitrary and may or may not be long enough to allow the roaming profile to load, and may be too long and cause a delay in the workstation loading up. What is needed is some means of deferring execution of part of the roaming profile is loaded.

If there are already ways of working round these problems then I'd be very grateful if someone would let me know.

Thanks.


pvds
(Hey THIS is FUN)
2005-12-30 10:18 AM
Re: Current Suggestions / Requests discussions

One question are u using NT4 or W200X server?

Peter


NTDOCAdministrator
(KiX Master)
2005-12-30 10:24 AM
Re: Current Suggestions / Requests discussions

Quote:

(not because we roam much, but for backup, recovery and control purposes).




1. Don't see how having a roaming profile helps do a backup or recovery (unless you mean the files stored in the profile but that to me actually works semi against backups by being maybe a bit too fluid or a roaming profile failure to save)
Don't see how that gives you control either.

Supporting profiles on Windows 9x is kludgey at best. Is slow as heck and often time problematic.
Redirecting the My Documents folder to a network share and lettting users know not to save data locally on the system would be better (imho) Oh well, what can I say. I'm a roaming profile hating kinda guy - just plain dislike that technology. I hate the few seconds it takes to load local settings let alone network copied data.

There is no PAUSE in KiXtart unless you mean SLEEP which I use quite often. I use WKIX32.EXE and hide everything, which you can't do on Windows 9x as it has to launch from a batch file and NT does not.

There are methods to force single logon, you can search the board here or on Google and you should be able to find tools/methods to do such.


Radimus
(KiX Supporter)
2005-12-30 02:24 PM
Re: Current Suggestions / Requests discussions

use the UNC for PST location, not mapped drives

LonkeroAdministrator
(KiX Master Guru)
2005-12-30 06:45 PM
Re: Current Suggestions / Requests discussions

the given suggestions are more like request for help.
clearly, the second on is about script control and not a single feature to be added.

now, the first suggestion would require a huge product to really work as kixtart only solution and thus is not really in the scope of current kixtart development.
and again, you can make a kixtart script that deals with your suggestion.


Sealeopard
(KiX Master)
2005-12-31 02:41 PM
Re: Current Suggestions / Requests discussions

And both suggestions can be utilized via a combination of already existing tools. Just check this BBS.

KevinR
(Fresh Scripter)
2006-01-04 02:51 PM
Re: Current Suggestions / Requests discussions

NT4 SP6a - sorry for the delay, only just found your post.

KevinR
(Fresh Scripter)
2006-01-04 03:00 PM
Re: Current Suggestions / Requests discussions

I used mapped drives as they're easier to use eg if U: is home directory then U:\Outlook would be the folder where PST is stored - and it would be U:\Outlook for each user as each user has their own unique home directory set on NT's User Manager for Domains. Why do you recommend using UNC?

KevinR
(Fresh Scripter)
2006-01-04 03:13 PM
Re: Current Suggestions / Requests discussions

Backup, control and recovery:
BACKUP - the server has daily external backups, the workstations don't. As the profiles are stored on the server they are included in the backup.
CONTROL - as profiles are stored in one central place they are easier to administer and maintain.
RECOVERY - when a workstation dies I find most of the time is lost restoring settings - not re-installing software, with roaming profiles the settings are restored automatically.

I've searched for single logon - loads of hits but nothing that does the job.


KevinR
(Fresh Scripter)
2006-01-04 03:18 PM
Re: Current Suggestions / Requests discussions

Jens - thanks for your post. I've checked the BBS but can't find the tools I need. I'm new to this and would appreciate it if you could point me in the right direction. Thanks. Kevin

LonkeroAdministrator
(KiX Master Guru)
2006-01-04 05:46 PM
Re: Current Suggestions / Requests discussions

kevin, don't know if you realized or not but this thread is for kixtart suggestions for kixtart development.
none of your suggestions fall into that.

you have clearly wishes of scripts or programs or whatever that do a lot of stuff, but, please go ahead and open your own thread instead of blowing this one wide open.


Sealeopard
(KiX Master)
2006-01-05 06:10 AM
Re: Current Suggestions / Requests discussions

Quote:

only allow a user to log into the network on one workstation at a time



Search the BBS for CCONNECT.EXE

Quote:

Outlook to load as part of the login



Load Outlook via Startup entry


KevinR
(Fresh Scripter)
2006-01-05 10:19 AM
Re: Current Suggestions / Requests discussions

Jens - thanks for the info - exactely what I needed. Kevin

KevinR
(Fresh Scripter)
2006-01-05 10:22 AM
Re: Current Suggestions / Requests discussions

Jooel - sorry, this did started our as what I thought were a couple of suggestions - but looks like I got it wrong. Sorry again, Kevin.

Bmusgrove
(Lurker)
2006-08-04 11:12 PM
SetFocus improvement

"... there is no exact match, any application whose title string begins with title is activated....:

On a few occasion this feature has been troublesome. I would like to see it do a exact match by default, and then add a wildcard ability for if you need to do partial string matches.

A useability suggestion, and definitly a high priority one!!!!


Arend_
(MM club member)
2006-08-08 09:00 AM
Re: Current Suggestions / Requests discussions

Quote:

The abilty to support [out] variables in COM objects, variables that are created by the COM object itself, and passed "out" of the method call. This would be usefull for some devious sneaky WMI calls. I think these [out] variables are subtely different that your std byref type.




Here's my vote for that.


LonkeroAdministrator
(KiX Master Guru)
2006-08-08 04:24 PM
Re: Current Suggestions / Requests discussions

hmm...
the text you quoted though sounds weird.
specifically the last sentence.
what's the difference with out and byRef?
I mean, I can't see it.


LonkeroAdministrator
(KiX Master Guru)
2006-08-31 12:17 AM
Re: Current Suggestions / Requests discussions

updated the suggestions list.
did I miss something?


LonkeroAdministrator
(KiX Master Guru)
2006-08-31 07:17 AM
Re: Current Suggestions / Requests discussions

cleaned up the list even more. and added multithreading request.

Henriques
(Fresh Scripter)
2022-03-22 03:00 PM
Re: Current Suggestions / Requests discussions

As a suggestion I would like to see @ADDRESS independent from the Netbios interface.

Glenn BarnasAdministrator
(KiX Supporter)
2022-05-02 02:20 PM
Re: Current Suggestions / Requests discussions

I'm going to resurrect a request for an On-Error process or more detailed (if possible) error information.

Specific case in point that I experience regularly:
  • Tokenized scripts, about 12K in size with about 35-40 UDFs.
  • Runs properly on tens of thousands of computers daily (about 90K computers, 80% Windows Workstations run this command).
  • ONE agent on ONE day throws a "Missing ')'" or "missing argument" error on a line that isn't bad and is in a block that runs every day, not only under an odd condition. Some computers will throw this error repeatedly for a brief time, but it rarely lasts for more than a few days, making troubleshooting or even identification of the conditions difficult.
Several of these events will occur when you run a complex tokenized script with a different (newer) version of Kix32, so we specifically rename Kix32.exe and use a bat file (or internal code) to specifically invoke our renamed copy, which should eliminate that condition.

If an error handler is created, I would be able to dump vars from Main() and globals, and ideally - call a built-in Kix function to dump the var data from a function that was active when the error fired even if I had to add extra logic to my functions. An @ERRLINE and @ERRFUNC macro would be helpful.

Could this result in sloppy code? Possibly, but would there be any more than we already see?

Also - noticed the SKix32.exe Kix as a service request in the original post.. Um yeah! I have close to 30 scripts that run as system services via NSSM.EXE (used to use SrvAny).


NTDOCAdministrator
(KiX Master)
2022-05-07 10:34 PM
Re: Current Suggestions / Requests discussions

What about possible bit rot for anything local on the system?

What about Windows Defender or other security software that might temporarily step on the process and cause a small meta-data mismatch in memory or disk?

What about RAM itself on the system? It could possibly have intermittent read/write issues


Glenn BarnasAdministrator
(KiX Supporter)
2022-05-08 03:22 AM
Re: Current Suggestions / Requests discussions

Nope - the problem is repeatable even after reboot. Our files are checksum checked daily and downloaded from our host if there's a mismatch.

We fight AV issues regularly, and have identified failure signatures that point to system security interfering with our tools.

We also test for Home edition and deprecated platforms and terminate, with detailed logging.

I can cause this by running with a different (newer) version of Kix, too. Small scripts seem to be backward compatible, but many of ours exceed 10K lines with dozens of UDFs. I absolutely can not run our scripts tokenized on 4.66 on 4.67 without strange errors.