Page 1 of 1

scripting talks...

Posted: 18 Jan 2008 11:55
by admin
Well, well, the scripting engine just called for this, at least I heard the call.

If you are a programmer you probably heard about the GetSystemMetrics Function, which "Retrieves the specified system metric or system configuration setting." See http://msdn2.microsoft.com/en-us/library/ms724385.aspx

Me, I'm sometimes curious. For example I want to know The minimum width of a window, in pixels. This is easy now, because I gave me (and you!) an interface to GetSystemMetrics via scripting!

Try this:
::gsm 28

And you know The minimum width of a window, in pixels on your computer. :)

Other magical numbers are found under the link above...

:!: (Next version! upload soon...)

Posted: 18 Jan 2008 12:46
by TheQwerty
Neat... I guess? :P


Actually it leaves me really wondering where you're going with this.

Posted: 18 Jan 2008 12:50
by admin
TheQwerty wrote:Actually it leaves me really wondering where you're going with this.
:) I'd say it's "Bloat under the hood". The possibilities are infinite...

Posted: 18 Jan 2008 13:03
by TheQwerty
admin wrote:
TheQwerty wrote:Actually it leaves me really wondering where you're going with this.
:) I'd say it's "Bloat under the hood". The possibilities are infinite...
Oh sure, I've always wanted to have a way of only renaming some files when the spacing between icons is less than 75 pixels. :P