M
MC
Here we go again. I have an Applescript to paste the contents of the
clipboard into the destination format.
All of a sudden it stopped working, while all my other scripts continued
to work fine.
Someone kindly posted the contents of the script again:
Here it is:
tell application "Microsoft Word"
tell selection
set theClip to string of (the clipboard as record)
set newPoint to (selection start + (length of theClip))
set content of text object to theClip
set selection start to newPoint
set selection end to newPoint
end tell
end tell
___
I've located the folder where it should go, and pasted the above into
the script, saved it... and it did work a couple of times, but now it
doesn't work again.
1)
Could it be the filename? Right now it is:
" Matching Destination Format.scpt \omV "
2)
There's a space between the 'scpt' and the backslash. Is that okay?
3)
Could it be the contents?
4)
Is it because I didn't save as a new script but pasted over the existing
one?
___
Anyone have any ideas?
clipboard into the destination format.
All of a sudden it stopped working, while all my other scripts continued
to work fine.
Someone kindly posted the contents of the script again:
Here it is:
tell application "Microsoft Word"
tell selection
set theClip to string of (the clipboard as record)
set newPoint to (selection start + (length of theClip))
set content of text object to theClip
set selection start to newPoint
set selection end to newPoint
end tell
end tell
___
I've located the folder where it should go, and pasted the above into
the script, saved it... and it did work a couple of times, but now it
doesn't work again.
1)
Could it be the filename? Right now it is:
" Matching Destination Format.scpt \omV "
2)
There's a space between the 'scpt' and the backslash. Is that okay?
3)
Could it be the contents?
4)
Is it because I didn't save as a new script but pasted over the existing
one?
___
Anyone have any ideas?