• 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
Choose not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Choose not working


  • Subject: Choose not working
  • From: Robert Poland <email@hidden>
  • Date: Thu, 12 Jun 2014 11:35:58 -0600

At the beginning of a script I have this;

set nullPicture to "~/Pictures/APOD ƒ/nullPicture.jpg" # Temp blank image
set ThePicture to choose file
delay 1
tell application "System Events" to set the_size to size of disk item (ThePicture as text)


This has been working for ages, now I get errors…

Can't get «class  ditm» "/Users/rpoland/Pictures/ APOD f /140611-galaxies_mackivne n_2 000-1 ,jpg" of application "System Events", 

The file "140611-galaxies_mackivne n_2 000-1 ,jpg” was removed yesterday and no longer exists. AND is not the file I “Chose”.

I have not restarted the computer yet.

Any ideas why this would happen?


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.3 (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: Choose not working
      • From: Ron Hunsinger <email@hidden>
    • Re: Choose not working
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Setting InDesign CS6 ruler origin fails
  • Next by Date: Re: Choose not working
  • Previous by thread: Re: Setting InDesign CS6 ruler origin fails
  • Next by thread: Re: Choose not working
  • Index(es):
    • Date
    • Thread