• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Instructions after file check...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Instructions after file check...


  • Subject: Re: Instructions after file check...
  • From: Axel Luttgens <email@hidden>
  • Date: Wed, 24 Sep 2008 14:20:03 +0200

Le 24 sept. 08 à 13:25, Ashwin Row a écrit :

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

Hello again ;-)

I fear you cut/pasted the wrong piece of code (an older version...).
So, starting again with your almost good version:

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 ("/Applications/eShox/" & abc)
try
get (POSIX file theFolder) as alias --if non existent, will enter "on error"
set abc to "true"
display dialog "Path exists!"
tell application "Opera"
activate
end tell
tell application "FileMaker Pro Advanced"--access database
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!"
set abc to "false"
display dialog "Path does not exist!"
tell application "FileMaker Pro Advanced"--access database
tell database "Automator"
tell record 1
set cell "temp" to abc
end tell
end tell
end tell
end try


HTH,
Axel _______________________________________________
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
  • Follow-Ups:
    • Re: Instructions after file check...
      • From: Ashwin Row <email@hidden>
References: 
 >Instructions after file check... (From: Ashwin Row <email@hidden>)
 >Re: Instructions after file check... (From: Axel Luttgens <email@hidden>)
 >Re: Instructions after file check... (From: Ashwin Row <email@hidden>)

  • Prev by Date: Re: Instructions after file check...
  • Next by Date: Re: Changing permissions on a volume
  • Previous by thread: Re: Instructions after file check...
  • Next by thread: Re: Instructions after file check...
  • Index(es):
    • Date
    • Thread