image
image

|


Go Back   macosx.com

michaelsanford's Profile Picture
michaelsanford is on a distinguished road

michaelsanford michaelsanford is offline

Psycholinguist

Last Activity: Today 08:46 AM

Visitor Messages

Showing Visitor Messages 1 to 3 of
  1. xhansel
    June 19th, 2008 03:57 PM
    xhansel
    Hey I'm sorry to just contact you out of the blue, but I saw your post on turning a terminal command into an executable file and it was the only thing even close to what I've been looking into for days.

    I'm trying to solve what I thought was a simple problem but is now looking very difficult. I have 1,000+ wallpapers I have shuffling through the Leopard 10.5.x built-in wallpaper tool. Sometimes an image comes up I no longer want, and I want to be able to click a button, see the file in finder, and delete it. Apparently this is nearly impossible.

    The closest I've come is a terminal command someone on the Apple Discussion boards worked up for me, which looks like this:

    defaults read com.apple.desktop Background |grep -m 1 LastName | awk '{print $3}'| sed -e 's/;//g' | sed -e 's/"//g'

    That returns the name of the file, which I can then Spotlight search to delete. It's a workaround but it works... except as I'm not a programmer at all, I don't know how to turn this terminal command into an executable app. Can you help me out?

    Ideally Automator could not only find the filename but spotlight search it as well (though I'd prefer to do the actual deleting myself), but if I could click something and have it run that terminal script that would be pretty damn good.

    If you're interested, I had a solid discussion going at AskMetafilter on the subject where people were trying things in AppleScript, but while they managed to call up the most recently manually selected wallpaper, they were unable to call up the currently displayed wallpaper. That thread is here: http://ask.metafilter.com/89541/OSX-...aper-in-finder

    Thanks for any help you can give me, I really appreciate it!
  2. michaelsanford
    January 29th, 2008 09:51 AM
    michaelsanford
    Correct
  3. Giaguara
    January 25th, 2008 02:00 PM
    Giaguara
    Wait, does that mean you're not in linkedin or fb?

About Me

  • About michaelsanford
    Biography
    Practicing Linguist
    Location
    Ottawa/Montrιal
    Interests
    Languages, logic, technology, diagnostics
    Occupation
    Full-time graduate student
  • Signature
    michaelsanford.com • Blog • Twitter • Tumblr • LinkedIn
    • iBook G4 1.42 GHz | MacOS X 10.5-current | 1 GB RAM, 100 GB HDD
    • iMac G4 TFT 700 MHz | MacOS X 10.4.11 (8S165) | 768 MB RAM, 40 GB HDD
    • AMD Athlon64 3500+ | Slackware 12 (2.6.21.5-smp) | 2 GB RAM, 2•120 GB RAID 1, 2•500 GB RAID 0

Statistics

Total Posts
Visitor Messages
Total Thanks
General Information
  • Last Activity: Today 08:46 AM
  • Join Date: October 7th, 2002
  • Referrals: 0

Friends

Showing Friends 1 to 1 of 1

All times are GMT -5. The time now is 10:55 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.