ludes
Gast
Ist eigentlich was einfaches...
ich will ganz einfach nur ein bild in einem skript öffnen, dass im vordergrund angezeigt wird und nach 10 sek wieder geschlossen wird.
set filename to "la.jpg"
set foldername to "ich"
tell application "Preview" to activate
tell application "Finder"
open file filename of folder foldername of folder "Leute" of folder "Bilder" of folder "bla" of folder "la" of disk "Macintosh HD"
end tell
delay 10
tell application "Preview" to quit
Hätte das im Moment so gelöst aber... kann ich das auch besser schreiben von der Pfadangabe her?
ich will ganz einfach nur ein bild in einem skript öffnen, dass im vordergrund angezeigt wird und nach 10 sek wieder geschlossen wird.
set filename to "la.jpg"
set foldername to "ich"
tell application "Preview" to activate
tell application "Finder"
open file filename of folder foldername of folder "Leute" of folder "Bilder" of folder "bla" of folder "la" of disk "Macintosh HD"
end tell
delay 10
tell application "Preview" to quit
Hätte das im Moment so gelöst aber... kann ich das auch besser schreiben von der Pfadangabe her?
Zuletzt bearbeitet von einem Moderator: