• 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 to modify Grid Spacing ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to modify Grid Spacing ?


  • Subject: Re: How to modify Grid Spacing ?
  • From: "koenig.yvan" <email@hidden>
  • Date: Thu, 20 Dec 2012 10:33:42 +0100


Le 20/12/2012 à 09:42, emile.a.schwarz <email@hidden> a écrit :

Hi,

 

some years ago, I changed the grid spacing on many (if not all) folders created during many years.

 

Regularly, I fall into one of these folders and I want to go back to the OS standard grid line spacing and I do not know how to do that.

 

Earlier today, I made a simple script to delete the .DS_Store file, but no success: Grid Spacing is apparently not stored there (AFAIK).

 

Worst; the .DS_Store file is re-created as soon as I can run the script a second time to check if the invisible file is still here: I can see it reappearing in front of my eyes.

 

I then added a Finder quit instruction and it is no re-created as fast.

 

I even restart the Macintosh once I was sure the file was deleted… The target folder (once opened) have changes (the items location have changed), but the Grip Spacing is the same.

 

BTW: I just realized that I do not say that I was working on a closed folder to avoid any automatic rebuid of the .DS_Store file.

 

Now, I am at short of idea to how to reset the Grid Spacing value on these folders (or on all folders).

 

The only one solution I can see is to create a new folder and move the data from the old one with the 'wrong' Grid Spacing into the new one: very long work and I am not sur that this is not useless.

 

Every idea will be considered,

 

Bonjour Émile

Tu peux utiliser ce petit script :

activate application "Finder"
tell application "System Events" to tell application process "Finder"
set nameStandardWindow to name of first window whose subrole is "AXStandardWindow"
try
set nameFloatingWindow to name of first window whose subrole is "AXSystemFloatingWindow"
on error
keystroke "j" using {command down}
repeat until exists (first window whose subrole is "AXSystemFloatingWindow")
delay 0.1
end repeat
set nameFloatingWindow to name of first window whose subrole is "AXSystemFloatingWindow"
end try
tell (first window whose subrole is "AXSystemFloatingWindow") to tell first group
get value of slider 2 # To get the value in use in a window using default spacing
set value of slider 2 to 35.0
end tell
end tell

Yvan KOENIG (VALLAURIS, France) jeudi 20 décembre 2012 10:33:37


 _______________________________________________
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 to modify Grid Spacing ? (From: "emile.a.schwarz" <email@hidden>)

  • Prev by Date: How to modify Grid Spacing ?
  • Next by Date: Re: How to modify Grid Spacing ?
  • Previous by thread: How to modify Grid Spacing ?
  • Next by thread: Re: How to modify Grid Spacing ?
  • Index(es):
    • Date
    • Thread