Hi Axel,
I tried that but now strangely it is returning true for all cases .Please help.I appreciate the effort you are taking for me.
Ashwin tell application "FileMaker Pro Advanced" activate tell database "Automator" tell record 1 cell "Page Name" --set abc to "hi" set abc to cell "Page Name" display dialog abc end tell end tell end tell
set theFolder to (POSIX path of ("/Applications/eShox/" & abc)) --as alias (*if theFolder exists then set abc to "true" display dialog "Path exists!" tell application "FileMaker Pro Advanced" tell database "Automator" tell record 1 set cell "temp" to abc end tell end tell end tell
else set abc to "false" display dialog "Path does not exist!" tell application "FileMaker Pro Advanced" tell database "Automator" tell record 1 set cell "temp" to abc end tell end tell end tell
end if*) --display dialog alias try get theFolder --return true set abc to "true" display dialog "Path exists!" tell application "FileMaker Pro Advanced" tell database "Automator" tell record 1 set cell "temp" to abc end tell end tell end tell on error display dialog "File does not exist creating new document!" --return false set abc to "false" display dialog "Path does not exist!" tell application "FileMaker Pro Advanced" tell database "Automator" tell record 1 set cell "temp" to abc end tell end tell end tell end try
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
|