Kleine Anregung für die Skripter ;D
Dieser VBScript-Schnipsel liest Blende & Brennweite des momentan geladenen Bildes vor.
Die zur Sprach-Ein/Ausgabe erforderlichen Dateien gibt's bei M$:
http://www.microsoft.com/products/msagent/downloads/user.asp
Dieser VBScript-Schnipsel liest Blende & Brennweite des momentan geladenen Bildes vor.
Die zur Sprach-Ein/Ausgabe erforderlichen Dateien gibt's bei M$:
http://www.microsoft.com/products/msagent/downloads/user.asp
Code:
Option Explicit
Dim oMSAgent,oChar
Dim sCharPath,sChar
Dim text
if not FF_HasExif then
msgbox "kein Bild geladen"
FF_ErrorBreak ""
end if
Set oMSAgent = CreateObject("Agent.Control.2")
If IsObject(oMSAgent) Then oMSAgent.Connected = True
sCharPath = "c:\windows\msagent\chars\"
sChar = "Merlin"
oMSAgent.Characters.Load sChar, sCharPath & sChar & ".acs"
set oChar = oMSAgent.Characters(sChar)
oChar.LanguageID = 1031
oChar.Show True
text = "Blende " & CInt(Replace(FF_GetExifTag("FNumber"),".",","))
text = text & " Brennweite " & CInt(Replace(FF_GetExifTag("FocalLength"),".",",")) & " Millimeter"
oChar.Speak text
WaitAudio
set oChar = nothing
set oMSAgent = nothing
Function WaitAudio()
do
if oMSAgent.AudioOutput.Status = 4 then exit do
FF_Sleep 100
loop
do
if not oMSAgent.AudioOutput.Status = 4 then exit do
FF_Sleep 100
loop
End Function