huffdesign

Q: Drop down menus changed to numbers

huffdesign

macrumors newbie

 

Join Date: Sep 2003

 

I have items in my finder menus that have changed to numbers. Example: cut is ME1, Empty trash is A3. The issue seems to keep expanding to new menu items as well. My sidebar lists my hard drive as SDS,  time machine as SD6, and places as SD8. My command click menu has numbers in place of items as well. I keep finding new things changing. What may be causing this problem problem?

iMac, Mac OS X (10.6.8)

Posted on Oct 5, 2011 7:08 AM

Close

Q: Drop down menus changed to numbers

  • All replies
  • Helpful answers

first Previous Page 3 of 3
  • by MCS TYS,

    MCS TYS MCS TYS Mar 23, 2012 9:53 AM in response to MadMacs0
    Level 1 (0 points)
    Mar 23, 2012 9:53 AM in response to MadMacs0

    Thanks for all your work with this. I have been following along this week. Try

     

    do shell script "ls -la /Applications/Safari.app/Contents/Resources/ | grep \"^\\.\""

     

    not sure it actually functions as expected (no way to test at the moment) but it will compile...

  • by MadMacs0,

    MadMacs0 MadMacs0 Mar 23, 2012 3:05 PM in response to MCS TYS
    Level 5 (4,801 points)
    Mar 23, 2012 3:05 PM in response to MCS TYS

    MCS TYS wrote:

     

    Try

     

    do shell script "ls -la /Applications/Safari.app/Contents/Resources/ | grep \"^\\.\""

    That works and fane_j's AppleScript becomes:

    --script begins

    property theItems : {"defaults read ~/.MacOSX/environment", "ls -la /Applications/Safari.app/Contents/Resources/ | grep \"^\\.\"", "java -version 2>&1"}

    on run

              set myClip to ""

      repeat with i in theItems

      try

      do shell script i

      set myClip to myClip & result & return & return

      on error errText

                                  set myClip to myClip & i & " -- " & errText & return & return

                                  set myClip to result

      end try

      end repeat

      set the clipboard to myClip

    end run

    --script ends

     

    But that's probably obsolete now that time has passed and we have F-Secure's input.

  • by MadMacs0,

    MadMacs0 MadMacs0 Mar 24, 2012 12:35 AM in response to MadMacs0
    Level 5 (4,801 points)
    Mar 24, 2012 12:35 AM in response to MadMacs0

    After further review I see that although it compiles it exits bash with an error, so the above script won't work either.

     

    So for now I think I'll go with the Terminal commands:

     

         defaults read ~/.MacOSX/environment DYLD_INSERT_LIBRARIES

         defaults read /Applications/Safari.app/Contents/Info LSEnvironment

         defaults read /Applications/Firefox.app/Contents/Info LSEnvironment

     

    and

     

         java -version

     

    which becomes an AppleScript of:

     

    --script begins

    property theItems : {"defaults read ~/.MacOSX/environment DYLD_INSERT_LIBRARIES", "defaults read /Applications/Safari.app/Contents/Info LSEnvironment", "defaults read /Applications/Firefox.app/Contents/Info LSEnvironment", "java -version 2>&1"}

    on run

              set myClip to ""

      repeat with i in theItems

      try

      do shell script i

      set myClip to myClip & result & return & return

      on error errText

                                  set myClip to myClip & i & " -- " & errText & return & return

                                  set myClip to result

      end try

      end repeat

      set the clipboard to myClip

    end run

    --script ends

     

    Which at least runs without error, but of course doesn't detect anything, yet. If I have time I may try to artifically infect things to be sure it detects something.

first Previous Page 3 of 3