Aqua-Soft Forums: Importing SysStats stuff to AveScripter - Aqua-Soft Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Importing SysStats stuff to AveScripter Rate Topic: -----

#1 User is offline   BetaguyGZT Icon

  • Group: Member
  • Posts: 82
  • Joined: 12-November 03

Posted 19 November 2005 - 08:26 AM

Any of you who have played with AveShell knows how much work I've put into it, and the parts of the shell that make it do most of its' stuff is SysStats. AveScripting will let me expand it's abilities and capabilities tenfold, but I must ask an obvious question: Any way to import SysStats configs ? Barring that, is it possible to tap into the SysStats Object Model using AveScript ? Otherwise I'm starting from scratch, and I won't have another prototype for six months (in which case I'm gonna cry like a little girl with a skinned knee).
0

#2 User is offline   herd Icon

  • Group: Developers
  • Posts: 999
  • Joined: 02-November 03

Posted 19 November 2005 - 11:43 AM

Thanks to the ObjectModel property of the Desklet object, you can tap into the SysStats object model from any COM enabled desklet or effectlet.

However, AveScripter does not seem to export this at the moment.

As a rule of thumb, I'd recommend to keep it going as is. AveScripter may have a great potential but its too early to port such a huge thing from scratch. Your 'tenfold' may look a bit smaller from the distance...

For the config import, I doubt there is an easy solution. If you find out the whereabouts you even may re-use the non-UI meters and stuff from SysStats within AveScripter so that you can move away painlessly, if you really must.
0

#3 User is offline   BetaguyGZT Icon

  • Group: Member
  • Posts: 82
  • Joined: 12-November 03

Posted 19 November 2005 - 12:01 PM

Just looking at it from a performance/scalability standpoint, XML Scripting allows me to do things I couldn't do before. Not a magic bullet, but it's an upgrade.

Just thought I'd ask.
0

#4 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 19 November 2005 - 02:56 PM

herd said:

Thanks to the ObjectModel property of the Desklet object, you can tap into the SysStats object model from any COM enabled desklet or effectlet.

However, AveScripter does not seem to export this at the moment.

As a rule of thumb, I'd recommend to keep it going as is. AveScripter may have a great potential but its too early to port such a huge thing from scratch. Your 'tenfold' may look a bit smaller from the distance...

For the config import, I doubt there is an easy solution. If you find out the whereabouts you even may re-use the non-UI meters and stuff from SysStats within AveScripter so that you can move away painlessly, if you really must.

SOB.... hmmm missed that API when I did the SDK. I've just added it in so the Interface the scripter will be accessed by ObjectModel property. There was no reason to hide it. It was just a lost API when I did the SDK for Delphi.

BTW Herd, I Forgot to say hi on MSN yesterday, was in a meeting all day.
0

#5 User is offline   judge Icon

  • Group: Developers
  • Posts: 1,291
  • Joined: 08-November 02

Posted 19 November 2005 - 03:24 PM

Given all the above you should be able to manipulate a SysStats desklet from an AveScripter desklet any way you'd like. Everything that SysStats can do is exposed via COM and documented in the script documentation.

Of course the reverse is also true. Now that PCM has made his Object Model available to AveDesk you should be able to manipulate an AveScripter desklet anyway you like from within a SysStats script.
0

#6 User is offline   shmengie Icon

  • Group: Member
  • Posts: 2,929
  • Joined: 31-August 03

Posted 19 November 2005 - 04:43 PM

damn, my ninnies get all hard when i hear you smart guys talk shop.
0

#7 User is offline   pcm Icon

  • Group: Member
  • Posts: 617
  • Joined: 02-May 05

Posted 20 November 2005 - 03:16 PM

The latest version 1.0.1.0 now does expose the objetmodel, so you can do what ever you want/need to do between sysstat to or from scripter.
0

#8 User is offline   BetaguyGZT Icon

  • Group: Member
  • Posts: 82
  • Joined: 12-November 03

Posted 21 November 2005 - 06:16 AM

Coolies. I'll download and have a go. Thanks for all the input.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic