Hallo,
ich rätsel die ganze Zeit schon wie ich das lösen kann.
Der Benutzer soll in ein Textfeld (Property Eingabe) etwas eingeben. Wenn dann auf den Button gedrückt wird soll der Content von Eingabe mit gesprochen werden. Irgdenwie will das nicht richtig funktionieren.
Ich freue mich auf eure Hilfe!
Pizzessa
ich rätsel die ganze Zeit schon wie ich das lösen kann.
Code:
script AppDelegate
property parent : class "NSObject"
property eingabe : missing value
on applicationWillFinishLaunching_(aNotification)
-- Insert code here to initialize your application before any files are opened
end applicationWillFinishLaunching_
on applicationShouldTerminate_(sender)
-- Insert code here to do any housekeeping before your application quits
return current application's NSTerminateNow
end applicationShouldTerminate_
on ausgeben_(sender)
say contents of eingabe as string
end ausgeben_
end script
Der Benutzer soll in ein Textfeld (Property Eingabe) etwas eingeben. Wenn dann auf den Button gedrückt wird soll der Content von Eingabe mit gesprochen werden. Irgdenwie will das nicht richtig funktionieren.
Ich freue mich auf eure Hilfe!
Pizzessa