• 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
Is this yet another darn bug in 10.12.2?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Is this yet another darn bug in 10.12.2?


  • Subject: Is this yet another darn bug in 10.12.2?
  • From: Brian Christmas <email@hidden>
  • Date: Sat, 31 Dec 2016 10:32:00 +1100

G’day

I’m using invisible files in my app to hide variables I don’t want clients to ‘see’, and to avoid cluttering up the main folder.

However, while Shane's script to create new files works for invisible files (it does exist), I can’t check for it’s existance in the Finder, and it looks like I can’t write to it (it contains zero bytes, using File Buddy).

#The script, in Part

property mailManagerDesktopFolderPath : ((path to desktop as text) & "Mail 
Manager Folder:")
tell application "Finder"
try
set temp to (my mailManagerDesktopFolderPath & ".File Mail Size”)  
set tempMailDataOne to my readfile1(".File Mail Size")
set StartDateOne to item 1 of tempMailDataOne as date
set tempMailCountOne to (item 5 of tempMailDataOne) + 1
set my overallMailCount to tempMailCountOne
try
set pathToFile to (my mailManagerDesktopFolderPath & ".File Mail Size") as text
set theFile to pathToFile as «class furl»
set fileRef to open for access theFile with write permission
close access fileRef
my writeFile8(".File Mail Size", {StartDateOne as date, (current date) as date, 0, 0, tempMailCount, 0})
end try
end try
set saveTheMailSizeData to (my mailManagerDesktopFolderPath) & ".File Mail Size"  
tell application "System Events" to display dialog saveTheMailSizeData
if not (exists file saveTheMailSizeData) then
say "File missing"
end if
end tell


Anyone got an  answer to this one, please?

Regards

Santa
 _______________________________________________
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: Is this yet another darn bug in 10.12.2?
      • From: 2551phil <email@hidden>
    • Re: Is this yet another darn bug in 10.12.2?
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Sierra Mail.app – Header Element is Ruined Again
  • Next by Date: Re: Is this yet another darn bug in 10.12.2?
  • Previous by thread: Re: Sierra Mail.app – Header Element is Ruined Again
  • Next by thread: Re: Is this yet another darn bug in 10.12.2?
  • Index(es):
    • Date
    • Thread