It is currently May 17th, 2022, 11:50 am

Speaking Google News...

RSS, ATOM and other feeds, GMail, Stocks, any information retrieved from the internet
User avatar
Samus Aran
Posts: 86
Joined: August 7th, 2009, 11:23 pm

Re: Speaking Google News...

Post by Samus Aran »

Me too :D:D

@vindurriel: OS X got many features that Windows will never be able to deliver ;)
User avatar
maminscris
Posts: 509
Joined: April 24th, 2009, 3:17 pm
Location: Bucharest, Romania Lat 44,43° Lon 26,1°

Re: Speaking Google News...

Post by maminscris »

that is why i like windows, drives you nuts to solve problems
Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
Image
ronaldmcdonald
Posts: 2
Joined: December 15th, 2009, 11:36 pm

Re: Speaking Google News...

Post by ronaldmcdonald »

jsmorley wrote: It's not nimrod, but Autoit3, and it just uses a new feature of Google Translate. ;-)

Code: Select all

#NoTrayIcon

If $CmdLine[0] = 1 Then
	$Url = "http://translate.google.com/translate_tts?q=" & $CmdLine[1]
	$SavePath = ".\"
	InetGet($Url, $SavePath & "SpeakTime.mp3",1)
	SoundPlay(".\SpeakTime.mp3",1)
	Sleep(1000)
	FileDelete(".\SpeakTime.mp3")
EndIf

[attachment=0]12-29-2009 3-28-24 AM.jpg[/attachment]
May I ask for the link to the rainmeter skin you used for the hard drive and memory monitors? (the circles) Thanks
User avatar
jsmorley
Developer
Posts: 22519
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Speaking Google News...

Post by jsmorley »

It's my own creation and not really something packaged for release. Here is the relevant code for the hard drive displays, the circles are simple "Roundline" meters.

You will need these three images if you want the "drive lights"
RedLight.png
OffLight.png
GreenLight.png

Code: Select all


[MeterStyle_1]
FontColor=255,255,255,255
FontFace=Trebuchet MS
AntiAlias=1

;[GATHER DRIVES]==================================

[MeasureTotalC]
Measure=FreeDiskSpace
Drive=C:
Total=1
UpdateDivider=2

[MeasureFreeC]
Measure=FreeDiskSpace
Drive=C:
UpdateDivider=2

[MeasureUsedC]
Measure=FreeDiskSpace
Drive=C:
InvertMeasure=1
UpdateDivider=2

[MeasureTotalD]
Measure=FreeDiskSpace
Drive=D:
Total=1
UpdateDivider=2

[MeasureFreeD]
Measure=FreeDiskSpace
Drive=D:
UpdateDivider=2

[MeasureUsedD]
Measure=FreeDiskSpace
Drive=D:
InvertMeasure=1
UpdateDivider=2

;[MEASURE READS]==================================

[MeasureCReads]
Measure=Plugin
Plugin=PerfMon.dll
PerfMonObject="LogicalDisk"
PerfMonCounter="Disk Read Bytes/sec"
PerfMonInstance="C:"
PerfMonDifference=1

[MeasureDReads]
Measure=Plugin
Plugin=PerfMon.dll
PerfMonObject="LogicalDisk"
PerfMonCounter="Disk Read Bytes/sec"
PerfMonInstance="D:"
PerfMonDifference=1

;[MEASURE WRITES]=================================

[MeasureCWrites]
Measure=Plugin
Plugin=PerfMon.dll
PerfMonObject="LogicalDisk"
PerfMonCounter="Disk Write Bytes/sec"
PerfMonInstance="C:"
PerfMonDifference=1

[MeasureDWrites]
Measure=Plugin
Plugin=PerfMon.dll
PerfMonObject="LogicalDisk"
PerfMonCounter="Disk Write Bytes/sec"
PerfMonInstance="D:"
PerfMonDifference=1

;[READ ACTIONS]====================================

[CReadsAction]
Measure=Calc
Formula=MeasureCReads
IfAboveAction=!execute [!RainmeterHideMeter MeterCReadsOff][!RainmeterShowMeter MeterCReadsOn]
IfAboveValue=0
IfEqualAction=!execute [!RainmeterHideMeter MeterCReadsOn][!RainmeterShowMeter MeterCReadsOff]
IfEqualValue=0

[DReadsAction]
Measure=Calc
Formula=MeasureDReads
IfAboveAction=!execute [!RainmeterHideMeter MeterDReadsOff][!RainmeterShowMeter MeterDReadsOn]
IfAboveValue=0
IfEqualAction=!execute [!RainmeterHideMeter MeterDReadsOn][!RainmeterShowMeter MeterDReadsOff]
IfEqualValue=0

;[WRITE ACTIONS]===================================

[CWritesAction]
Measure=Calc
Formula=MeasureCWrites
IfAboveAction=!execute [!RainmeterHideMeter MeterCWritesOff][!RainmeterShowMeter MeterCWritesOn]
IfAboveValue=0
IfEqualAction=!execute [!RainmeterHideMeter MeterCWritesOn][!RainmeterShowMeter MeterCWritesOff]
IfEqualValue=0

[DWritesAction]
Measure=Calc
Formula=MeasureDWrites
IfAboveAction=!execute [!RainmeterHideMeter MeterDWritesOff][!RainmeterShowMeter MeterDWritesOn]
IfAboveValue=0
IfEqualAction=!execute [!RainmeterHideMeter MeterDWritesOn][!RainmeterShowMeter MeterDWritesOff]
IfEqualValue=0

;[DRIVE C:]========================================

[MeterCTotalRound]
Meter=ROUNDLINE
MeasureName=MeasureTotalC
X=42
Y=34r
W=40
H=40
StartAngle=4.71238898
RotationAngle=6.28318531
LineLength=20
LineStart=15
LineColor=161,186,220,255
Solid=1
AntiAlias=1
Percentual=1

[MeterCUsedRound]
Meter=ROUNDLINE
MeasureName=MeasureUsedC
X=42
Y=0r
W=40
H=40
StartAngle=4.71238898
RotationAngle=6.28318531
LineLength=17
LineStart=12
LineColor=255,255,255,255
Solid=1
AntiAlias=1
Percentual=1

[MeterFreeCText%]
MeasureName=MeasureFreeC
Meter=STRING
MeterStyle=MeterStyle_1
X=52
Y=14r
DynamicVariables=1
StringStyle=BOLD
FontSize=7
StringAlign=LEFT
Text="%1%"
Percentual=1
AutoScale=1

[MeterTotalCText]
MeasureName=MeasureTotalC
Meter=STRING
MeterStyle=MeterStyle_1
X=175
Y=-11r
StringStyle=NORMAL
FontSize=10
StringAlign=RIGHT
Text="[C:] %1B"
AutoScale=1

;[C: READ LIGHTS]====================================

[MeterCReadsOn]
Meter=IMAGE
W=8
H=8
X=80
Y=10R
ImageName=..\Images\GreenLight.png
Hidden=1

[MeterCReadsOff]
Meter=IMAGE
W=8
H=8
X=80
Y=0r
ImageName=..\Images\OffLight.png
Hidden=0

;[C: WRITE LIGHTS]====================================

[MeterCWritesOn]
Meter=IMAGE
W=8
H=8
X=89
Y=0r
ImageName=..\Images\RedLight.png
Hidden=1

[MeterCWritesOff]
Meter=IMAGE
W=8
H=8
X=89
Y=0r
ImageName=..\Images\OffLight.png
Hidden=0

[MeterFreeCText]
MeasureName=MeasureFreeC
Meter=STRING
MeterStyle=MeterStyle_1
X=175
Y=-7r
StringStyle=BOLD
FontSize=11
StringAlign=RIGHT
Text="%1B"
AutoScale=1

;[DRIVE D:]========================================

[MeterDTotalRound]
Meter=ROUNDLINE
MeasureName=MeasureTotalD
X=42
Y=25r
W=40
H=40
StartAngle=4.71238898
RotationAngle=6.28318531
LineLength=20
LineStart=15
LineColor=161,186,220,255
Solid=1
AntiAlias=1
Percentual=1

[MeterDUsedRound]
Meter=ROUNDLINE
MeasureName=MeasureUsedD
X=42
Y=0r
W=40
H=40
StartAngle=4.71238898
RotationAngle=6.28318531
LineLength=17
LineStart=12
LineColor=255,255,255,255
Solid=1
AntiAlias=1
Percentual=1

[MeterFreeDText%]
MeasureName=MeasureFreeD
Meter=STRING
MeterStyle=MeterStyle_1
X=52
Y=14r
DynamicVariables=1
StringStyle=BOLD
FontSize=7
StringAlign=LEFT
Text="%1%"
Percentual=1
AutoScale=1

[MeterTotalDText]
MeasureName=MeasureTotalD
Meter=STRING
MeterStyle=MeterStyle_1
X=175
Y=-11r
StringStyle=NORMAL
FontSize=10
StringAlign=RIGHT
Text="[D:] %1B"
AutoScale=1

;[D: READ LIGHTS]====================================

[MeterDReadsOn]
Meter=IMAGE
W=8
H=8
X=80
Y=10R
ImageName=..\Images\GreenLight.png
Hidden=1

[MeterDReadsOff]
Meter=IMAGE
W=8
H=8
X=80
Y=0r
ImageName=..\Images\OffLight.png
Hidden=0

;[D: WRITE LIGHTS]====================================

[MeterDWritesOn]
Meter=IMAGE
W=8
H=8
X=89
Y=0r
ImageName=..\Images\RedLight.png
Hidden=1

[MeterDWritesOff]
Meter=IMAGE
W=8
H=8
X=89
Y=0r
ImageName=..\Images\OffLight.png
Hidden=0

[MeterFreeDText]
MeasureName=MeasureFreeD
Meter=STRING
MeterStyle=MeterStyle_1
X=175
Y=-7r
StringStyle=BOLD
FontSize=11
StringAlign=RIGHT
Text="%1B"
AutoScale=1
12-30-2009 5-49-19 PM.jpg
ronaldmcdonald
Posts: 2
Joined: December 15th, 2009, 11:36 pm

Re: Speaking Google News...

Post by ronaldmcdonald »

Thanks a lot for the code, just added to my desktop, definitely a nice addition :)
User avatar
jsmorley
Developer
Posts: 22519
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Speaking Google News...

Post by jsmorley »

ronaldmcdonald wrote:Thanks a lot for the code, just added to my desktop, definitely a nice addition :)
Excellent. Glad I could help. Looks great in your setup.
MarkVI
Posts: 11
Joined: May 20th, 2010, 6:34 am

Re: Speaking Google News...

Post by MarkVI »

I know that this will be the dumbest question in the history of Rainmeter but here goes...

How do I add this to my desktop?
User avatar
maminscris
Posts: 509
Joined: April 24th, 2009, 3:17 pm
Location: Bucharest, Romania Lat 44,43° Lon 26,1°

Re: Speaking Google News...

Post by maminscris »

MarkVI wrote:I know that this will be the dumbest question in the history of Rainmeter but here goes...

How do I add this to my desktop?
http://rainmeter.net/cms/Rainmeter101-AddingSkins
Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
Image
CybOrSpasm
Posts: 146
Joined: January 8th, 2011, 7:12 pm
Location: Tennessee

Re: Speaking Google News...

Post by CybOrSpasm »

JSMorley:
ok, I was impressed with the voice that Google was using UNTIL I heard this one!! http://www.neospeech.com/NewsDetail.aspx?id=83 She can be used with windows TTS no prob. Not sure what she costs... however, well, you know... };] Now I am trying to figure out how to get her to read my RSS and my random quotes. }:]

I also wanted to thank kenz0 for the say.vbs script, it works wonderfully!

p.s. looks like the link is down right now, hopefully they fix it, or I could send you an mp3 sample of her reading something... can we do that here?
User avatar
jsmorley
Developer
Posts: 22519
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Speaking Google News...

Post by jsmorley »

Sure, you can attach it if it is fairly small, or just host it on MediaFire.com.