Hi Bruce,

Just to add to what Steve says, you are creating an application object, and
then trying to access a property of it named screenSettings.  You get an
error, and one of the first things you should check is to make sure there is
such a property.  In this case there is no property of the application
object named screenSettings.

When you look up the screenSettings object, it tells you in the help for the
object itself that it can only be access from a set file object as Steve
said.

hth,

Chip
 

> -----Original Message-----
> From: BT [mailto:b...@fltg.net] 
> Sent: Thursday, May 24, 2012 7:36 PM
> To: gw-scripting@gwmicro.com
> Subject: No ScreenSettings property!
> 
> 
> Hi Chip,
> 
>     How come this does not work?
> WeComputerVoice = CreateObject( "windoweyes.application") 
> WeComputerVoice.ScreenSettings.Rate = 62
> 
> "Error, Raised Attribute Error!"
> 
> The format for Speech works, but not the same format for 
> ScreenSettings.
> 
>     Why is this?
> This is a Python format and not a .vbs so the Set command is 
> not needed.
> 
>         Bruce
> 

Reply via email to