im relativly new to this whole applescript thing. and it may be a bit of an easy one for everyone out there… but i want to use either preview to display an image on my harddrive… or even use safari to make a popup window and display it. there are probably endless possibilites to do this so the easiest would be the best as i am still trying to learn how to use applescript
Hi Sin
Is this something like what your after:
tell application "Safari"
open (choose file)
end tell
What do you mean by image of your hard drive?
to open it with Preview:
set phot to choose file with prompt "choose an image"
tell application "Finder"
set prev to (application file id "com.apple.Preview") as alias
open phot using prev
end tell
D.