Windows registry question

Lynch, Jonathan bnz2 at cdc.gov
Tue Aug 16 11:57:52 EDT 2005


I am trying to figure out how to obtain printer information from the
registry.

Rev doesn't really allow perfect printer control. I want to create a
one-stop substack that works as a printer dialog box, but allows for
proper control of printer choice, collating, page numbers, etc... For
windows, anyway. Probably none of this is necessary for Mac or Linux.

Some printer information (network printers, I believe) is contained, for
example, in HKEY_CURRENT_USERS\PRINTERS\CONNECTIONS

It is not the key that I need, but the list of folders contained under
CONNECTIONS.

I probably will have to resort to running a vbscript in Cscript.exe -
but it would be nice not to have to do that. My VB skills are shaky, to
say the least, and a Rev-only solution allows for such great flexibility
when changes need to be made.

-----Original Message-----
From: use-revolution-bounces at lists.runrev.com
[mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of MisterX
Sent: Tuesday, August 16, 2005 11:52 AM
To: 'How to use Revolution'
Subject: RE: Windows registry question

Hi Jonathan

sorry, i couldn't find something quick but it's probably via vbs only...

but i haven't found the right script to do it...

Actually, you either need to create a key and it's usually
preset how to do it or you try to modify one so it's usually 
not necessary to read the whole structure unless you're scanning
for something or cleaning up the registry - which many tools 
do already... 

what do you need to do?

cheers
Xavier 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of 
> Lynch, Jonathan
> Sent: Tuesday, August 16, 2005 17:14
> To: How to use Revolution
> Subject: Windows registry question
> 
> 
> Instead of using queryregistry to get a specific key, I would 
> like to get the list of folders contained within a registry path.
> 
> Is this possible?
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

_______________________________________________
use-revolution mailing list
use-revolution at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list