Re: renaming emails

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



In article <uZKDEMvKJHA.2164@xxxxxxxxxxxxxxxxxxxx>,
Barry Wainwright <barry@xxxxxxxxxxxxxxxx> wrote:

There have been a few reports of scripts not showing up recently. The
solution in each case was to open them in the Finder with a double-click
- they should open up in "Script Editor" by default; then add a space to
the end of the script and delete it again. Now save the script again. It
should show up in the script menu now (but only if it is saved into the
"Entourage Script Menu Items" folder).

I just downloaded the script and had a look at it. It doesn't appear in
the menu here either (even in Entourage 2004).

I notice the script file has no file type or creator type assigned.
Typically, scripts are assigned the file type 'osas' and creator 'ToyS'.
In fact, when you save a script from Script Editor, it creates the file
with this file type and creator. I just added the file type 'osas' and
creator 'ToyS' to the file, and it now appears in the menu here.

So when Entourage scans the folder to build the script menu, it probably
ignores files that do not have file type 'osas' and creator 'ToyS'.

The question is: How did the file type and creator get removed from this
script?

I'm betting before the script was compressed into a ZIp file and
published to the web site, someone transferred the script to a computer
that was not using the HFS file system, which would effectively remove
the file type and creator attributes as well as the resource fork of the
file. If they had instead zipped the file (using Mac OS X's built-in
"Compress" menu command in the FInder) *before* copying the file, the
file type and creator would have been preserved in the ZIP archive.

So - be sure you always compress scripts *BEFORE* copying them off your
Mac onto a non-HFS file system!

--
Send responses to the relevant news group rather than to me, as
E-mail sent to this address may be devoured by my very hungry SPAM
filter. Due to Google's refusal to prevent spammers from posting
messages through their servers, I often ignore posts from Google
Groups. Use a real news client if you want me to see your posts.

JR
.



Relevant Pages

  • Re: how can I tell if a remote file is an image
    ... If it will image extension (.jpg, ... .gif, .png, etc), so that is picture, otherwise other file type ... The crux of the script is the following: ... > customer run it under php4.2.2 and the getimagesize is taking approx. ...
    (comp.lang.php)
  • Re: A criticism of MS Word 2008
    ... File Type" Deprecation. ... Corentin's script resolves the issue. ... that it is STILL believing the File Type Code. ... From what I've read of this thread you're discussing the WDBN file type ...
    (microsoft.public.mac.office.word)
  • Re: Add Script to (right click) File Options
    ... the right click contect menu option only appears for one file type (or as ... embedded quote character, i.e. so that the quote character doesn't terminate ... Windows Registry Editor Version 5.00 ... I created a script that takes a text file and turns it into a Word doc ...
    (microsoft.public.scripting.wsh)
  • Re: Monitor opening of particular extension
    ... You would associate a specific file type with a help application. ... wouldn't "monitor" per say, you would simply call your app or script ...
    (microsoft.public.scripting.vbscript)
  • Re: Form Script/Read Permissions
    ... cgi scripts have to be run on a live server. ... Microsoft MVP FrontPage ... downloaded this script to my cgi-bin, and placed my form in the same folder, as instructed ... I haven't had much luck getting help from the creator, ...
    (microsoft.public.frontpage.client)