new with scripting photoshop 7.0

i am trying to write a script to open a new file document in adobe photoshop 7.0
and i don’t have a clue how to do this. can somebody help me please


Make sure you have the Photoshop applescript plug in installed first (availble form adobe)

set image to alias “yourHD:users:XXX:image.jpg”
tell app “Photoshop 7”
open file x
end tell