• 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
Am I blind, or?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Am I blind, or?


  • Subject: Am I blind, or?
  • From: Robert Poland <email@hidden>
  • Date: Wed, 30 Jul 2014 11:40:10 -0600

Hi,

The following script gives the display;

Wednesday, July 30, 2014 at 7:02:09 AM
Wednesday, July 30, 2014 at 7:02:09 AM
false

They look the same to me, What am I missing?


set ThePicture to choose file
tell application "System Events" to set modDate to modification date of ThePicture as string

tell application "System Events"
	set backGroundPath to (picture of current desktop)
	set backGroundDate to modification date of file backGroundPath
end tell

display dialog modDate & return & backGroundDate & return & (modDate = backGroundDate)

TIA,

Robert Poland
iMac, Late 2013, 14,2
  3.2 GHz Intel Core I5, 27”
  16 GB Ram, 1TB Fusion HD
  OS X 10.9.4 (13C64)

 _______________________________________________
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: Am I blind, or?
      • From: Deivy Petrescu <email@hidden>
  • Prev by Date: Re: Weird behavior of text in Pages
  • Next by Date: Re: Am I blind, or?
  • Previous by thread: Re: Weird behavior of text in Pages
  • Next by thread: Re: Am I blind, or?
  • Index(es):
    • Date
    • Thread