Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A cleaner and safer alternative' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A cleaner and safer alternative
Authored by: signals on Dec 19, '02 08:52:39AM

[linktest]$ ./apath2 ./linktestalias
## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)
/Users/mccarthy/ntp.conf
[linktest]$


I still get that strange message without the "2> /dev/null" on the call to osascript. I wonder why I couldn't get the "osascript <<EOF" to work when I was playing with it? It would complain about a syntax error in the AppleScript, the only way I got it to work was to switch to a "cat <<EOF | osascript." Oh well, this one works...

So where would you suggest someone learn AppleScript? This is the first Mac I've ever had to work with, so I know almost nothing about AppleScript, except that it looks even wordier than COBOL.

-Signals



[ Reply to This | # ]
A cleaner and safer alternative
Authored by: _merlin on Dec 19, '02 05:23:50PM

I don't know why you're getting that message, I haven't got anything like it in my tests. It won't affect things like "cd `dirname `apath an_alias``", because only the standard output will be fed through the commands, the error output will just be printed on the terminal.

When you used "osascript << EOF", did you remember to place "EOF" on a line by itself with no spaces (including no indentation)? Any spaces before or after "EOF" will break it.



[ Reply to This | # ]
A cleaner and safer alternative
Authored by: pmccann on Dec 19, '02 09:17:20PM

If I remember rightly this is caused by a Toast titanium file that's put in the quicktime folder... hmm,
here we go...

Go into /Library/QuickTime and move 'Toast Video CD Support.qtx' somewhere else (err, maybe the Trash!!).

Cheers,
Paul



[ Reply to This | # ]
A cleaner and safer alternative
Authored by: signals on Dec 20, '02 08:13:04AM

> Go into /Library/QuickTime and move 'Toast Video CD Support.qtx' somewhere else (err, maybe the Trash!!).

That seems to have fixed it. Thanks.

-Signals



[ Reply to This | # ]