theText is empty. why?
theText is empty. why?
- Subject: theText is empty. why?
- From: doug rogers <email@hidden>
- Date: Sat, 30 Apr 2005 14:25:25 -0400
property devToolsPath : "/Developer/Tools/" -- path to Apple Developer
Tools
on adding folder items to this_folder after receiving theFile
-- from gnarlodious
set clipPath to quoted form of POSIX path of theFile
set cmd to devToolsPath & "DeRez -e -only 'TEXT' " & clipPath & " |
grep '\\/\\* .* \\*\\/' | sed 's/^.*\\/\\* //;s/ \\*\\/$//' | tr -d
'\\n'"
set theText to do shell script cmd
display dialog theText & "There are " & (count of items of theText) &
" items." --zero items
... more script that does something with the text I want to get from
the clipping ...
There is a crack in everything. That's how the light gets in.
__________<http://home.golden.net/~samu>__________
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden