• 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
RE: Need Help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Need Help


  • Subject: RE: Need Help
  • From: Samuel Nitsche <email@hidden>
  • Date: Wed, 2 Oct 2002 12:43:39 +0200

HI Elton

You need the the Osax "File Visibility". It's included in the GTQ Scripting
Library.

Once you've installed the Osax, you can to it with the following code:

set theFile to a reference to (path to startup disk as string) &
"Dokumente:Versteck"
tell application "Finder"
activate
if exists alias theFile then
make file invisible theFile -- macht den Ordner unsichtbar

delay 10 -- 10 Sekunden Pause

make file visible theFile -- macht den Ordner wieder sichtbar
else
display dialog "Der Ordner existiert nicht"
end if
end tell

This works with Files AND with Folders.
I only tested in OS 9 - If you use OS X you could try it with a Shell
script.

I hope I could help!

Greetz Samuel alias Pesse

-----Urspr|ngliche Nachricht-----
Von: Elton Hughes [mailto:email@hidden]
Gesendet: Mittwoch, 2. Oktober 2002 00:44
An: AppleScript Users
Betreff: Need Help

Hello All,

I need to open an invisible file on an AppleShare IP file server. The name
of the file is "Temporary Items". I need to change its permissions so that
users can save existing MS Word documents.

I came up with this (This is my second attempt at scripting):

Tell Finder
set visible of folder Temporary Items in volume Admin to true
End Tell

But it is not passing the syntax check. Can anyone help me with this?

Elton

===========================================================================
NOVA 505 W. Olive Ave. Suite 550
Elton Hughes (Information Technology) Sunnyvale CA 94086
Phone: 408-730-7235 Fax: 408-730-7643
---------------------------------------------------------------------------
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: On Leave Message
  • Next by Date: Re: Create a person in Address Book
  • Previous by thread: Need Help
  • Next by thread: Execution Error when quitting mail
  • Index(es):
    • Date
    • Thread