• 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
What is wrong with my script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

What is wrong with my script


  • Subject: What is wrong with my script
  • From: xorx <email@hidden>
  • Date: Fri, 11 Sep 2009 20:53:39 +0200

Running the following script in AppleScript editor creates error -1728:

--start
  set AS_path to POSIX file "/Applications/"
  tell application "Finder"
	set dat to modification date of AS_path
  end tell
--end

It says that "modification date of file "/Applications/"" could not be read. This error happens with all possible properties of file objects. The file obviously exists and I have no clue why this does not work...

Thanks for any help,

Georg
_______________________________________________
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: What is wrong with my script
      • From: Philip Aker <email@hidden>
    • Re: What is wrong with my script
      • From: Emmanuel LEVY <email@hidden>
    • Re: What is wrong with my script
      • From: Paul Berkowitz <email@hidden>
    • Re: What is wrong with my script
      • From: Luther Fuller <email@hidden>
    • Re: What is wrong with my script
      • From: Michelle Steiner <email@hidden>
    • Re: What is wrong with my script
      • From: Jay Louvion <email@hidden>
  • Prev by Date: Re: Script Fails in Snow Leopard - Adobe Unit Types.osax
  • Next by Date: Re: What is wrong with my script
  • Previous by thread: Re: Broken - set visible of column kind column to false -- hide kind
  • Next by thread: Re: What is wrong with my script
  • Index(es):
    • Date
    • Thread