Home | Presentazione e Curriculum Vitae | Libri Borri | Abbiamo lavorato per...
| Contatti | Consulenze | Articoli | Software download |
| Personal web site - In English |

  

Loading

Invisibili

Come mostrare o nascondere, su Mac, gli elementi normalmente invisibili

How to show or hide, on a Mac, the items usually invisible.



Spesso ho bisogno di mostrare gli elementi normalmente invisibili. Invece di scrivere sempre i comandi da terminale, ho preferito ricorrere a uno script, chiamato "Invisibili".

Puoi prelevare qui il programma "Invisibili"
oppure puoi copiare il codice qui sotto e modificarlo a tuo piacere.

Licenza: Freeware (GPL)

Often I need to show the items usually invisible. Instead than write every time the commands in the Terminal, I preferred to write a script; called "Invisibili".

You can download here the program "Invisibili"
or you can copy the code below to modify it for your needs.

License: Freeware (GPL)



on run
    set what to button returned of (display dialog "Vuoi mostrare gli elementi normalmente invisibili o vuoi nasconderli, se visibili?" & return & return & "Do you ant to show or hide the items usually invisible?" buttons {"Annulla/Cancel", "Nascondili/Hide", "Mostra/Show"} default button "Mostra/Show" cancel button "Annulla/Cancel" with icon 2)
    ShowHide(what)
end run

on ShowHide(what)
    if what is "Nascondili" then
        tell application "Finder"
            do shell script "/usr/bin/defaults write com.apple.Finder AppleShowAllFiles 0"
            try
                quit
            end try
            delay 1
            activate
        end tell
    end if
    if what is "Mostrali" then
        tell application "Finder"
            do shell script "/usr/bin/defaults write com.apple.Finder AppleShowAllFiles 1"
            try
                quit
            end try
            delay 1
            activate
        end tell
    end if
    
end ShowHide

Questo codice è stato convertito in HTML usando il programma Convert Script to Markup Code di Jonathan Nathan.



Se questo programma ti è di aiuto e vuoi dimostrare l'apprezzamento all'autore, puoi fare una donazione facendo clic sul pulsante "PayPal".

If you find this program useful, you can make a donation to the author clicking the "payPal" button.