Ok, thanks Brendon.  

It's this really weird list serve AI is using; when you reply to a person's
post, they get a copy sent directly to them, and the list does also, but the
person then thinks you've replied to them off list.  It's very confusing.

Chip


-----Original Message-----
From: Scripting
[mailto:scripting-bounces+lists3717=comcast....@lists.window-eyes.com] On
Behalf Of Brendon Charles Donohue via Scripting
Sent: Sunday, April 26, 2015 8:09 PM
To: 'Rod Hutton'; 'Window-Eyes Scripting List'
Subject: RE: Identifying 64-bit system
Importance: High

Hello,

No, I got the email. This email came to the list. I saw the one line of
code.

Thank you.

Brendon Donohue.

-----Original Message-----
From: Scripting
[mailto:scripting-bounces+brendoncdonohue=icloud....@lists.window-eyes.com]
On Behalf Of Rod Hutton via Scripting
Sent: Monday, April 27, 2015 10:06 AM
To: 'Chip Orange'; 'Window-Eyes Scripting List'
Subject: RE: Identifying 64-bit system

Hi Chip,

Okay, since you responded to me off list, and so everyone won't know the one
line of code you had sent me, it is:

Speak DesktopWindow.Process.Is64bit

On my 64-bit machine, the result is True.
So, your snipit and the above single line are identical in terms of
effectiveness.
Thank you for isolating the relevant code necessary for identifying the OS
version; I'll hang onto it. Smile

All the best,

Rod
-----Original Message-----
From: Scripting
[mailto:scripting-bounces+rod_hutton=hotmail....@lists.window-eyes.com] On
Behalf Of Chip Orange via Scripting
Sent: Sunday, April 26, 2015 5:11 PM
To: 'Chip Orange'; 'Window-Eyes Scripting List'
Subject: RE: Identifying 64-bit system

Hi again Rod,

But if the one line doesn't work, here's a function made from the code
snippet you found for us; I'd be interested to hear if it works better for
you than the one line I was using:

Option Explicit

speak Is64Win()



Function Is64Win()
' returns true if 64-bit windows

Dim ObjWMI, ColSettings, ObjProcessor
Dim StrComputer, ObjNetwork

Is64Win = False

Set ObjNetwork = CreateObject("WScript.Network")
StrComputer = Trim(ObjNetwork.ComputerName)
Set ObjNetwork = Nothing

Set ObjWMI = GetObject("WINMGMTS:" &
"{ImpersonationLevel=Impersonate,AuthenticationLevel=Pkt}!\\" & StrComputer
& "\Root\CIMV2")

'StrComputer = "."
'Set objWMIService = GetObject("winmgmts:"  '&
"{impersonationLevel=impersonate}!\\" &  'StrComputer & "\root\cimv2")

Set ColSettings = ObjWMI.ExecQuery("SELECT * FROM Win32_Processor")
For Each ObjProcessor In ColSettings
Is64Win = (ObjProcessor.AddressWidth = 64)
Next

Set ObjProcessor = Nothing: Set ColSettings = Nothing:  Set ObjWMI =
Nothing:   StrComputer = vbNullString



End Function



-----Original Message-----
From: Scripting
[mailto:scripting-bounces+lists3717=comcast....@lists.window-eyes.com] On
Behalf Of Chip Orange via Scripting
Sent: Sunday, April 26, 2015 4:48 PM
To: 'Rod Hutton'; 'Window-Eyes Scripting List'
Subject: RE: Identifying 64-bit system

Hi Rod,

Instead of using the GW toolkit object, try this one line of code instead
(which returns true if you are on 64 bit Windows); it works for me in
correctly identifying that I am running on 32 bit Windows; what does it tell
you re your 64 bit Windows?

Speak desktopWindow.process.Is64Bit

Thanks.

Chip


-----Original Message-----
From: Scripting
[mailto:scripting-bounces+lists3717=comcast....@lists.window-eyes.com] On
Behalf Of Rod Hutton via Scripting
Sent: Saturday, April 25, 2015 10:36 AM
To: 'Window-Eyes Scripting List'
Subject: Identifying 64-bit system

Hi guys,

 

One thing I noticed is that the current version of the GW Toolkit shared
object called Is64bitOS doesn't seem to properly detect that my Dell Windows
7 x64 Home Premium system is indeed 64-bit.

I've tested this with Window-Eyes 8.4, as well as version 9.1 on the same
Dell system, in the latter case, running in a virtual machine.

I googled and found the following MS Technet page where it had the vbScript
code as well as a download link for a script which does the job very well,
since it accurately reports my system as 64-bit:

 

https://gallery.technet.microsoft.com/scriptcenter/Determine-If-Your-System-
969670e3

 

I was wondering if anyone has also noticed this failure in the performance
of the current version of the GW Toolkit shared Object called Is64bitOS, or
whether this is specific to my system.

Also, I would be interested to know if anyone has any other ideas on this
issue.

 

Thanks,

 

Rod

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3432 bytes
Desc: not available
URL:
<http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com/attachme
nts/20150425/7d38a28c/attachment.bin>
_______________________________________________
Any views or opinions presented in this email are solely those of the author
and do not necessarily represent those of Ai Squared.

For membership options, visit
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/lists3717
%40comcast.net.
For subscription options, visit
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

_______________________________________________
Any views or opinions presented in this email are solely those of the author
and do not necessarily represent those of Ai Squared.

For membership options, visit
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/lists3717
%40comcast.net.
For subscription options, visit
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

_______________________________________________
Any views or opinions presented in this email are solely those of the author
and do not necessarily represent those of Ai Squared.

For membership options, visit
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/rod_hutto
n%40hotmail.com.
For subscription options, visit
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

_______________________________________________
Any views or opinions presented in this email are solely those of the author
and do not necessarily represent those of Ai Squared.

For membership options, visit
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/brendoncd
onohue%40icloud.com.
For subscription options, visit
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

_______________________________________________
Any views or opinions presented in this email are solely those of the author
and do not necessarily represent those of Ai Squared.

For membership options, visit
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/lists3717
%40comcast.net.
For subscription options, visit
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

_______________________________________________
Any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of Ai Squared.

For membership options, visit 
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com.
For subscription options, visit 
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at 
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

Reply via email to