How to Make a "show hidden items" script in Automator

I would like to make an Automator application that i can launch to show hiddden files, then another one to launch to hide them again. I tried using the shell script option, with this in it:
defaults write com.apple.Finder AppleShowAllFiles TRUE
then I typed this in the next box:
killall Dock
It only killalled the dock, no hidden items shown.

Simpler to just create an AppleScript application, put it onto the Dock, and then just click on it. It's a toggle: unhides on one click and hides on another. This is what I use:
try
          do shell script "defaults read com.apple.finder AppleShowAllFiles"
on error
          do shell script "defaults write com.apple.finder AppleShowAllFiles 0"
end try
if (do shell script "defaults read com.apple.finder AppleShowAllFiles") is equal to "0" then
          do shell script "defaults write com.apple.finder AppleShowAllFiles 1"
else
          do shell script "defaults write com.apple.finder AppleShowAllFiles 0"
end if
do shell script "killall Finder"

Similar Messages

  • Hi all, how to make slide show on Iweb with out QuickTime?

    Hi all, how to make slide show on Iweb (with out QuickTime or link to YouTube) to be watched in any computer/system?
    I used Imove - share - exported - medium (m4v)
    This the one I did.
    http://360motorcycleadventures.com
    Must looking profissional (no YouTube frame)
    The problem is: I lot people don't have QuickTime, any body can point me the right direction?
    Thanks' in Advance.

    I use this slideshow often :
    http://www.wyodor.net/iWebBlogTest/Wyodor_1/WebBanner.html
    See it here in an iWeb page :
    http://www.wyodor.net/_Demo/MyHouse/Huis.html
    These are the slideshows :
    http://www.wyodor.net/_Demo/Gardens/flagstones.html
    http://www.wyodor.net/_Demo/Gardens/gardens.html
    And here in a non-iWeb page :
    http://www.wyodor.net/htmlegg/SmallCard/SmallSlideshow.html
    This is the slideshow itself :
    http://www.wyodor.net/htmlegg/SmallCard/VintageParis/
    Or use WOW slider :
    http://www.wyodor.net/htmlegg/TallCard/TallWow.html
    There are lots of slideshows out there. Choose the one you like.
    And search/browse this forum for other solutions.

  • HOW TO MAKE AUDIO SHOW THE SOUND WAVES?

    I was wondering if it was possible to show the sound waves on the audio track, whenever I plug in audio I cant seem to figure out how to make it show like it does in other programs such as Adobe Premiere? Thanks!

    Option-Command-W, if you're the keyboard type
    Otherwise, there's button right by the track height selector buttons, at the bottom left of the Timeline.

  • HT5293 how to make our folder hidden, without writing in terminal console in apple mac book air OSX10.8.5

    Hey all users
    I am using this mac book air OSX10.8.5.
    i NEED TO ASK THAT HOW TO MAKE OUR FOLDER HIDDEN IN THIS , WITHOUTING PUTTING ANY COMMAND IN TERMINAL CONSOLE.
    PLS SUGGEST . WHAT IS THE PROCEDURE IF ANYBODY KNOW ABOUT THIS .

    First don't write in all caps, that's tantamount to shouting and hurts our eyes. You can't. Using the Terminal app is simple and detailed in https://discussions.apple.com/message/16507198#16507198

  • My subscribed calendar does not display in today view in iOS7. Does anyone know how to make it show up?

    I have a subscribed calendar on my iPhone. The today view in notification center shows that I have an event at xxxx and tomorrow view says I have x events but the calendar day view does not display any of the events. I need this so I can easily see which rooms my events are in. Dows anyone know how to make the subscribed calendar show up in calendar day view?

    Interesting. May have uncovered a bug. It seems that limited duration events will display, but all day events wont on mine. (iPhone 5). Does that compare to what you are seeing (unfortunately, I have nothing in a subscribed calendar until the week end, so difficult to check. I do seem to recall seeing an event from one this past week end on the iPad, however).

  • How to conditionally hide/show form item for multiple requests?

    Ver 4.1.0
    Hi There,
    I have a database form where in one of the fields I need to hide /show based on if the user selects a copy row option or create a new row.
    To explain in details,
    1. I have a report and form application created. When the user edits a record, in that page I have added a copy button also, so when the user hits the copy button, the page is reloaded where the user can create a new record with the save button disable and the create button visible. when the user submits the form using Copy the request is set to "COPY' and in the form, one of the fields has conditional display "REQUEST =Expression1" with value "COPY" This works fine.
    2. However, on the reports page, there is a "CREATE" button also, where the user can directly create a new record and the request value is "CREATE"
    I wanted to add both COPY and CREATE to the conditional display something like
    "REQUEST=Expression1" with value "COPY, CREATE" (without quotes)
    however, the item does not display. I guess it only accepts one value since its =.
    Any suggestions on how the conditional display for an item can be done based on multiple request types?
    Thanks!
    Sun
    Edited by: ryansun on Oct 18, 2012 3:08 AM

    Hi Sun,
    Try changing your condition to a PL/SQL Expression and in expression 1 field add something similar to below and see if it works:
      :REQUEST like 'CREATE' or :REQUEST like 'COPY'This is straight off the top of my head and untested.
    Hope this helps
    Paul

  • How to make disable/enable single item recovery effectively Immediately?

    for the following command , "it may take up to one hour to disable single item recovery",my question is how to make the disable/enable  single item recovery
    effectively Immediately by some command?
    SingleItemRecoveryEnabled $false/true
    http://technet.microsoft.com/en-us/library/ff678798(v=exchg.141).aspx
    Please click the Mark as Answer button if a post solves your problem!

    other options:
    Move the mailbox to another DB or if in a DAG, activate the DB on another server. ( the activating seems to work as far as I have seen at least).
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • How to make "SQLPLUS" show me the Brazilian accented characters correctly?

    Hi,
    I have a Oracle9i instance, with this configurations.
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET WE8MSWIN1252
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 9.2.0.1.0
    I have a xHarbour DOS Client program that reads, shows in the screen, and write "perfectly fine" a text with Brazilian accentuation stored in a CLOB field.
    Following you can see the sample of the text with Brazilian accentuation in my DOS application http://www.screencast.com/t/U5PXwCEo8
    In order to my xHarbour DOS Client program works fine with this Brazilian accented characters, I must to set:
    SET NLS_LANG=PORTUGUESE_BRAZIL.WE8MSWIN1252
    And all is OK from my xHarbour DOS Client program.
    My problem is because when I query this data manually using a SELECT from any client DOS/WINDOWS program like SQLPLUS, SQLDEVELOPER, TOAD, etc, I get bad characters instead the correct Brazilian accented characters.
    Following you can see the same text into the Toad http://www.screencast.com/t/A1tal2Rtg
    (you will see bad characters instead the correct Brazilian accented characters).
    Following you can see the result of querying this field using a SELECT from SQLPLUS.
    Certifico que por decis„o proferida no processo n§ @@@@@@@@@@@@@@, 
    foi reconhecida a n„o incidˆncia do ITBI na transa‡„o do(s) im¢vel(is) 
    abaixo caracterizado(s), com base no art.156, @ 2§, I, da Constitui‡„o 
    Federal de 1988 e no art.6§, II, da Lei Municipal n§ 1.364 de 19/12/1988. 
    (you will see bad characters instead the correct Brazilian accented characters).
    How to make "SQLPLUS", "TOAD" (and others Windows or DOS Clients programs) show me the Brazilian accented characters correctly?
    Thanks in advance,
    Luigggye
    Edited by: 880676 on Jul 20, 2012 9:08 PM

    This is a duplicate thread. See the answers at Re: How to change the NLS_NCHAR_CHARACTERSET from WE8ISO8859P1 to AL16UTF16 ?

  • How to make a file "hidden"

    This question might sound stupid but here it goes. How do you hide a file?, i know how to view hidden files (onyx) but i dont know how to make a normal file as hidden

    On a related note, I am looking for a way to hide only those files that I want hidden. Some hidden files I need to access on an almost-daily basis, but others, like .DS_Store and such, I'll never need direct access to.
    So, is there an official way to set up a custom list of file names and/or file regex patterns so only certain files are hidden from the Finder?
    Thanks!
    MacBook Pro 17 2.33GHz/2GB/100GB   Mac OS X (10.4.8)   Development Machine

  • How to make a listbox selected item highlight color from code the same as if user click on item?

    Hi all,
    I have a listbox that gets filled with data when my program starts. I save the last selectedItem value so I set it when the program start again. But the color that the selected item has is not the same as if the user click on it (pictures below).
    The color when I set the selectedIndex=someItem is black on light grey (background)
    The color when the user clicks on the item is white on blue (background)
    Any way to make them both white on blue (background)?
    Thanks
    This is the user clicking on it:
    This is the code:

    I think the difference is focus.  When you use the mouse to select it also sets focus to the listbox so you would have to set focus to the listbox when you set the selected item.  How are you setting your selected item?  I think that by
    using a property to hold the selected item rather than setting the index that might also fix the problem.
    Lloyd Sheen

  • How to make hard disks hidden?

    I Have 2 HDs and i want to use them on my macbook via network and to do it, those disks needs to stay connected to my sister's mac pro. This disks have confidential and work files that no one can't have acess. Does exist a way to make this disks hidden on my sister's mac and mounted only on my macbook?
    One of this disks are used to keep my files and the other one is used by Time Machine backups.

    You can change Sharing & Permissions on those drives so that only you can access them. Right click the hard drive icon and select Get Info.
    In the bottom of the new pane you have to click the padlock and authenticate. Sharing and Permissions should show you have Read & Write privileges. Change "everyone" to no access.

  • How can I disable "Show hidden objects" by default?

    I've started linking to files on my computer like this, 'Index of file:///Users/michaelo/Dropbox/KN' which works fine apart from the fact that this calls up all the hidden files, which do not want to see by default.
    There's a checkbox "Show hidden objects" which will hide these when unchecked. But settings are per folder and of course aren't remembered between sessions.
    Is there a way via about:config to hide hidden objects by default?
    TIA
    x MO

    *[https://addons.mozilla.org/firefox/addon/settingsanity/ SettingSanity] (adds back removed options for JavaScript, Advanced JavaScript Settings, loading images, and showing the Tab Bar)

  • How can I re-show hidden iCloud playback items?

    My family shares an iTunes account accross three computers. Recently I learned the hard way that when you hide an item from iCloud playback in the new iTunes 11 it gets hidden from the other computers and the "Purchased" link in the store. I accidentally hid all of the holiday songs from iCloud playback but now that by Dad needs to reorganize the library to include holiday music, he couldn't find any of the music on the "Purchased link" which is how I found out that it works like that. Is there a way that I can re-show these songs, they still show up as purchased if you go to the main search and find that particular song? i need to put those songs back into the "Purchaced" link, and be able to play them from iCloud again.

    I believe I had the same problem as you.  To view items that are hidden from icloud.  You need to:
    1. In itunes go to "iTunes Store"
    2. Select your iTunesID, should be upper left.
    3. In drop down menu select "Account"
    4. Under "iTunes in the Cloud", select "View Hidden Purchases" (should more towards the right portion, part way down the screen).
    5. From there you should be able to see anything that you hide or deleted from the normal purchase menu.
    Hope that helps.

  • How to make menu/list (form) item open in it's own window instead of blank one?

    Items in a form (list/menu) that I've created are opening in a blank window (pop-up) when clicked. I would like them to open in "self" mode so that pop up blockers on various computers don't become a challenge for site visitors. Can anyone please tell me how I could make that adjustment using Dreamweaver? I am a novice (if that) in coding, so if there is a design view solution that would be absolutely awesome. Any assistance to get me on the right track would be GREATLY appreciated!! BTW I also made the form a library item (just in case that fact is needed). Also if you need to see the actual link it is
    http://www.graphicmechanic.com/DEKALBCOUNTY/index.html. The "I WANT TO" list is the part I'm referring to.
    I am also attaching 3 files (the .lbi file, the template and the page both are applied to).
    I tried a couple of things already. One was javascript, but I still seemed to have problems, the others were selecting the form and changing the target to self. Another developer said that I would need to apply the target attribute to each link, but I am having trouble doing this.

    No.  They removed that functionality as an improvement to iTunes in version 11.    I saw one person mentioning making a screen grab of the window and displaying it as an image in Preview while looking at the actual iTunes in another window, but it doesn't quite strike me as being the same...
    http://www.apple.com/feedback/itunesapp.html

  • How to make attachments "show" when sending mail?

    Hello
    How can I make sure that when I add attachments to my mail it would show in the body of the mail on the receivers end,
    regardless of what mailprovider or program he/she is using. (e.g. a pdf file)
    Any clues?

    If you make sure your message is in rich text (Format -> Make Rich Text, if it says Make Plain Text it's already rich text) and make sure that you're sending Windows-friendly attachments (Edit -> Attachments), that will increase the chances. But there is *no way* to guarantee that an attachment will be displayed inline at all, since different mail clients work differently and different people have different settings... many people prefer plain text e-mails, and there is nothing you can do about that.

Maybe you are looking for

  • Truncating arabic data/text when deployed on 10gAS, where as Eng is Ok

    DETAILS: When I run a report using report builder everything is fine. But when I deploy that same report on Application server & when I run from browser, the arabic data in the report is getting truncated ! where as English text/data is ok. To solved

  • Why do I need to return the old part, if I purchase a new part?

    Well, I had a problem with my motherboard, and got it replaced by an on-site tech HP sent me. The notebook is well out of warranty, aand I paid for the new motherboard+labor. However, when the tech showed up, he said he won't replace the motherboard

  • WPC content for anonymous user

    Dear SDNites We have recently started a project in which we are using Web Page Composer(WPC) for web content development. We have configured the WPC content for anonymous users. After the configurations, anonymous users could access this content with

  • Importing PDF and Photoshop files since using Windows 7 64bit

    Hi, I recently upgraded (?) to Windows 7 64bit.  I have notices when importing PDF and photoshop files into the InDesign document, the resolution of the graphics are off and the lines are choppy.  Even the fonts are illegible.  What happened?  Are th

  • Is it possible to downgrade iOS 6 on iPhone 4s?

    I loved Apple, but now hate. They are not allowing to install older versions of IOS on old products, and then they say that many people use the IOS 7.