• 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: last modified file - how to catch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: last modified file - how to catch?


  • Subject: Re: last modified file - how to catch?
  • From: "koenig.yvan" <email@hidden>
  • Date: Mon, 07 Jul 2014 19:14:28 +0200


set _path to POSIX path of (path to folder "_Output" of folder "Documents" of home as text)

This instruction must be edited.

Version 1

tell application "Finder"
folder "_Output" of folder "Documents" of home as text
end tell

set _path to POSIX path of result


Version 2

set _path to POSIX path of ((path to documents folder as text) & "_Output:")

For your 5th question, I would answer :

set lastFile to (path to documents folder as text) & "les polices.pdf"

display dialog "Latest file found [" & lastFile & "]" buttons {"OK"}

Yvan KOENIG (VALLAURIS, France) lundi 7 juillet 2014 19:14:24


 _______________________________________________
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

References: 
 >Re: Re: last modified file - how to catch? (From: Omar K N <email@hidden>)
 >Re: last modified file - how to catch? (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: last modified file - how to catch?
  • Next by Date: Re: last modified file - how to catch?
  • Previous by thread: Re: last modified file - how to catch?
  • Next by thread: last modified file - how to catch?
  • Index(es):
    • Date
    • Thread