[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Syntax of get-resource
Hello all.
I fell over the get-resource command and just wanted to
give a go. The documentation however provide no examples on
the format of the path. As you can see below, I am lousy guesser.
> (define a (box "foo"))
> (get-resource "HKEY_CURRENT_USER" "Console/FontSize" a #f)
false
> (get-resource "HKEY_CURRENT_USER" "Console//FontSize" a #f)
false
> (get-resource "HKEY_CURRENT_USER" "Console\\FontSize" a #f)
false
> (get-resource "HKEY_CURRENT_USER" "Console\\\\FontSize" a #f)
false
> (get-resource "HKEY_CURRENT_USER" "Console FontSize" a #f)
false
What is the correct syntax?
(DrScheme, version 200alpha12, danish on XP Pro)
--
Jens Axel