• 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: How can I control invisible files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I control invisible files


  • Subject: Re: How can I control invisible files
  • From: Axel Luttgens <email@hidden>
  • Date: Sat, 03 Nov 2012 22:41:33 +0100

Le 3 nov. 2012 à 00:28, Robert Poland a écrit :

> Hi,
>
> I just discovered that when scripting Finder windows (size, location, etc.), if they misbehave, deleting the .DS_Store file helps.
>
> Only problem is that, apparently, the invisibles must be visible to delete them.

Hello Robert,

Couldn't SE be of some help here?
For example:

	tell application "System Events" to delete file ".DS_Store" of documents folder

Of course, one doesn't have the safety net provided by the Finder's delete command, via the trash.


HTH,
Axel
 _______________________________________________
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: 
 >How can I control invisible files (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: How can I control invisible files
  • Next by Date: Re: How can I control invisible files
  • Previous by thread: Re: How can I control invisible files
  • Next by thread: Re: How can I control invisible files
  • Index(es):
    • Date
    • Thread