• 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
Finder Selection Bug Fixed in Mavericks?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder Selection Bug Fixed in Mavericks?


  • Subject: Finder Selection Bug Fixed in Mavericks?
  • From: Christopher Stone <email@hidden>
  • Date: Sun, 03 Nov 2013 07:22:57 -0600

Hey Folks,

Preliminary testing suggests the Finder-selection-bug that's plagued us since Lion's debut has finally been fixed.

My original test script for Lion (slightly modified) now works reliably (it failed reliably on Lion/ML).

--
Best Regards,
Chris


-------------------------------------------------------------------------------------------

try

  

  set homeFlAlias to path to home folder
  set docFlAlias to path to documents folder
  set downArrow to (ASCII character 31)

  

  tell application "Finder"
    activate
    delay 0.2
    open homeFlAlias
    select items 1 thru 3 of front window
    set bounds of front window to {0, 44, 844, 1196}
    open docFlAlias
    set bounds of front window to {844, 44, 1688, 1196}
    close front window
  end tell

  

  do shell script "open ~/Documents/"

  

  delay 0.5

  

  tell application "System Events"
    activate
    tell process "Finder"
      set frontmost to true
      keystroke downArrow
      keystroke downArrow using {shift down}
      keystroke downArrow using {shift down}
    end tell
  end tell

  

  tell application "Finder"
    delay 0.5
    set sel to selection as alias list
    if sel ≠ {} then
      repeat with i in sel
        set label index of i to 2
      end repeat
      update target of front window
    end if
  end tell

  

on error e number n
  set e to e & return & return & "Num: " & n
  tell me to set dDlg to display dialog e with title "ERROR!" buttons {"Cancel", "Copy", "OK"} default button "OK"
  if button returned of dDlg = "Copy" then set the clipboard to e
end try

-------------------------------------------------------------------------------------------

 _______________________________________________
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

  • Next by Date: Pages 4.3 and Mavericks - Can't export as PDF
  • Next by thread: Pages 4.3 and Mavericks - Can't export as PDF
  • Index(es):
    • Date
    • Thread