#132209 - 2005-01-11 09:08 PM
Re: Current Suggestions / Requests discussions
|
Bryce
KiX Supporter
Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
|
# @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.
|
Top
|
|
|
|
#132227 - 2005-01-12 09:09 PM
Re: Current Suggestions / Requests discussions
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
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
|
Top
|
|
|
|
#132229 - 2005-01-13 03:31 AM
Re: Current Suggestions / Requests discussions
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
|
Top
|
|
|
|
#132233 - 2005-01-13 03:11 PM
Re: @function to determine OU of user and/or workstation
|
Les
KiX Master
Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
|
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.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.
|
Top
|
|
|
|
#132234 - 2005-01-13 10:02 PM
Re: @function to determine OU of user and/or workstation
|
ChristopheM
Hey THIS is FUN
Registered: 2002-05-13
Posts: 309
Loc: STRASBOURG, France
|
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.
_________________________
Christophe
|
Top
|
|
|
|
#132241 - 2005-01-14 08:04 PM
Re: @function to determine OU of user and/or workstation
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
Okay Les,
I'll try to use the Threaded view for you on this one. Don't like it, but hey for you - anything
|
Top
|
|
|
|
#132243 - 2005-01-14 09:17 PM
Re: Current Suggestions / Requests discussions
|
ChristopheM
Hey THIS is FUN
Registered: 2002-05-13
Posts: 309
Loc: STRASBOURG, France
|
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.
_________________________
Christophe
|
Top
|
|
|
|
#132244 - 2005-12-12 04:29 PM
Re: Current Suggestions / Requests discussions
|
Radimus
Moderator
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
Emulate Xcopy $source+'\*.*' $destination /d
In order to copy newer files
|
Top
|
|
|
|
#132248 - 2005-12-30 10:24 AM
Re: Current Suggestions / Requests discussions
|
NTDOC
Administrator
Registered: 2000-07-28
Posts: 11623
Loc: CA
|
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.
|
Top
|
|
|
|
#132249 - 2005-12-30 02:24 PM
Re: Current Suggestions / Requests discussions
|
Radimus
Moderator
Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
|
use the UNC for PST location, not mapped drives
|
Top
|
|
|
|
#132260 - 2006-08-04 11:12 PM
SetFocus improvement
|
Bmusgrove
Lurker
Registered: 2004-02-27
Posts: 1
|
"... 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!!!!
|
Top
|
|
|
|
#132261 - 2006-08-08 09:00 AM
Re: Current Suggestions / Requests discussions
|
Arend_
MM club member
Registered: 2005-01-17
Posts: 1894
Loc: Hilversum, The Netherlands
|
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.
|
Top
|
|
|
|
#214065 - 2022-03-22 03:00 PM
Re: Current Suggestions / Requests discussions
[Re: Les]
|
Henriques
Fresh Scripter
Registered: 2007-09-13
Posts: 43
|
As a suggestion I would like to see @ADDRESS independent from the Netbios interface.
|
Top
|
|
|
|
#214124 - 2022-05-02 02:20 PM
Re: Current Suggestions / Requests discussions
[Re: Henriques]
|
Glenn Barnas
KiX Supporter
Registered: 2003-01-28
Posts: 4396
Loc: New Jersey
|
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).
_________________________
Actually I am a Rocket Scientist!
|
Top
|
|
|
|
Moderator: Arend_, Allen, Jochen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 515 anonymous users online.
|
|
|