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


Click here to return to the 'script dosn't work' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
script dosn't work
Authored by: macubergeek on Jun 09, '03 03:03:30PM

jamesk @ /Users/jamesk/desktop@Xmac-->./abook
usage: abook email (or phone) YOUR_SEARCH
jamesk @ /Users/jamesk/desktop@Xmac-->./abook email james.kelly@wap.org
## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)
syntax error: Expected class name but found identifier. (-2741)
jamesk @ /Users/jamesk/desktop@Xmac-->./abook phone Glew
## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)
syntax error: Expected class name but found identifier. (-2741)
jamesk @ /Users/jamesk/desktop@Xmac-->./abook phone 856-123-4567
## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)
syntax error: Expected class name but found identifier. (-2741)
jamesk @ /Users/jamesk/desktop@Xmac-->



[ Reply to This | # ]
script dosn't work
Authored by: Krioni on Jun 09, '03 03:47:30PM

What shell are you using? Hmm, actually, that should not matter, since my script specifies the shell to use.

That Component Manager stuff looks strange - I haven't seen that error in AppleScript or in the shell. Any ideas, everyone?



[ Reply to This | # ]
script dosn't work
Authored by: macubergeek on Jun 09, '03 08:00:46PM

I've made my script mirror what I see on the web page, no luck.
then I figured the lines were wrapping...wicked hard to tell where tho..
...need a clue as to how this is supposed to format, since this still dosn't work only now I get:

## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)
syntax error: Expected expression, ?Äú)?Äù, etc. but found property or key form. (-2741)
jamesk @ /Users/jamesk/desktop@Xmac-->



[ Reply to This | # ]
script does work
Authored by: vonleigh on Jun 09, '03 04:28:34PM

I've seen those error messages when trying to use applescript from the commandline, when my user isn't the logged in user. If that's the case, use it with sudo to get around it.



[ Reply to This | # ]
script does work
Authored by: macubergeek on Jun 09, '03 07:46:41PM

I was trying to do it over ssh connection.mebbe that was it?

Nah just tried again. Still broken

jamesk @ /Users/jamesk/desktop@Xmac-->./abook phone Kelly
## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)
syntax error: Expected class name but found identifier. (-2741)
jamesk @ /Users/jamesk/desktop@Xmac-->./abook email james.kelly@wap.org
## Component Manager: attempting to find symbols in a component alias of type (regR/carP/x!bt)
syntax error: Expected class name but found identifier. (-2741)
jamesk @ /Users/jamesk/desktop@Xmac-->



[ Reply to This | # ]