OK, I Need help with file exists…
im making a program that is free & full in one app
EG IF FREE VERSION:
an if the applescript cant find This File “/tmp/4389734987_33” i want the contents of text field to change to “Free Version”
CURRENT CODE: (ITS NOT WORKING! )
tell application "Finder" to if not exists "/tmp/4389734987_33" as POSIX file then set
set freeversion to "FREE" set contents of text field "text" of window "main" to freeversion
EG IF FULL VERSION:
an if the applescript can find This File “/tmp/4389734987_33” i want the contents of text field to change to “Free Version”
CURRENT CODE: (ITS NOT WORKING! )
tell application "Finder" to if exists "/tmp/4389734987_33" as POSIX file then set
set fullversion to "FULL" set contents of text field "text" of window "main" to fullversion
PLEASE HELP!!!