Newbie Question- OSX, Finder, Illustrator
Newbie Question- OSX, Finder, Illustrator
- Subject: Newbie Question- OSX, Finder, Illustrator
- From: Natalie Lambert <email@hidden>
- Date: Wed, 30 Jan 2002 13:56:25 -0800 (PST)
Hello!
I'm attempting to script my job so I can have more
quality time with the break room vending machine. But
I can't get the boss to buy me a book. Its been fun,
really.
So.... I am having a problem with two scripts. One for
the finder and the other for Illustrator 10. Each work
the first time through without a hitch. If you save
the finder app and try to run the script it has
issues. If you run the illustrator 10 script a second
time it laughs at you, not really - that would almost
be amusing. It only seems to do part of the script.
--Finder Script
tell application "Finder"
activate
select every item of folder "Foldername" of disk
"Servername"
copy selection to folder "otherfoldername" of disk
"MacintoshHD"
select every item of folder "Foldername" of disk
"Servername"
delete selection
end tell
simple enough but it won't work once saved, it
sometimes doesn't always copy every item
--Illustrator 10 Script
tell application "Illustrator 10"
activate
select every group item of current document
copy selection
close document saving no
make new document {properties blah, blah, blah}
paste
end tell
it copies and pastes correctly when testing out of
script editor the first time but the second time you
end up with a new page with nothing on it. its not
copying the selection to the pasteboard.
can anyone help me? These are really simple scripts.
What am I doing wrong?
ntle
Great stuff seeking new owners in Yahoo! Auctions!
http://auctions.yahoo.com