Applescript to Insert a File

B

Brian Krikorian

Hi:

I am trying to find the write Applescript so I can make a macro that will
let me insert a ³signature² file into a document. I used to have a macro
I¹d use to do that, but now I have Applescript in Word 2008 and I¹m trying
to figure out how to do that (I¹m not a programmer!).

Basically, I have a Word doc that has a signature scanned into it. I
usually insert the file at where my signature block is. Anyone have a
suggestion.

Thanks
 
D

Daiya Mitchell

Well, I would take a different approach. Open up the Word doc with the
scanned signature, select the graphic, and do Insert | AutoText | New to
make an AutoText from it. Say you name it "mysig"--in your new docs, you
can type mysig and then hit cmd-opt-v and it will insert the scan. (In
fact, I just did, for my own scanned signature).

You can name the autotext anything, and can set a direct shortkey for
it, or can put it on a toolbar for easy access.

I'm sure this can be done via applescript, and you'll find links to
resources here if you prefer that route for some reason, or someone may
offer a script.
http://word.mvps.org/mac/Scripts/index.html
 
B

Brian Krikorian

Thanks, Daiya. I will try that.


Well, I would take a different approach. Open up the Word doc with the
scanned signature, select the graphic, and do Insert | AutoText | New to
make an AutoText from it. Say you name it "mysig"--in your new docs, you
can type mysig and then hit cmd-opt-v and it will insert the scan. (In
fact, I just did, for my own scanned signature).

You can name the autotext anything, and can set a direct shortkey for
it, or can put it on a toolbar for easy access.

I'm sure this can be done via applescript, and you'll find links to
resources here if you prefer that route for some reason, or someone may
offer a script.
http://word.mvps.org/mac/Scripts/index.html
 
P

Phillip Jones

Can't you save the signature image by using drag box to select what you
need open up stickies and paste to a stickies file then every time you
need it open stick highlight the item hit copy or keyboard equivalent,
the quit or hide stickies and paste in word where needed?

Daiya said:
Well, I would take a different approach. Open up the Word doc with the
scanned signature, select the graphic, and do Insert | AutoText | New to
make an AutoText from it. Say you name it "mysig"--in your new docs, you
can type mysig and then hit cmd-opt-v and it will insert the scan. (In
fact, I just did, for my own scanned signature).

You can name the autotext anything, and can set a direct shortkey for
it, or can put it on a toolbar for easy access.

I'm sure this can be done via applescript, and you'll find links to
resources here if you prefer that route for some reason, or someone may
offer a script.
http://word.mvps.org/mac/Scripts/index.html

--
------------------------------------------------------------------------
Phillip M. Jones, CET |LIFE MEMBER: VPEA ETA-I, NESDA, ISCET, Sterling
616 Liberty Street |Who's Who. PHONE:276-632-5045, FAX:276-632-0868
Martinsville Va 24112 |[email protected], ICQ11269732, AIM pjonescet
------------------------------------------------------------------------

If it's "fixed", don't "break it"!

mailto:p[email protected]

<http://www.kimbanet.com/~pjones/default.htm>
<http://www.kimbanet.com/~pjones/90th_Birthday/index.htm>
<http://www.kimbanet.com/~pjones/Fulcher/default.html>
<http://www.kimbanet.com/~pjones/Harris/default.htm>
<http://www.kimbanet.com/~pjones/Jones/default.htm>

<http://www.vpea.org>
 
J

John McGhie

Hi Phillip:

Well, I guess you could, but why would you go about it in such a laborious
manner when Daiya has suggested a way that gets it in with zero keystrokes?

Cheers

Can't you save the signature image by using drag box to select what you
need open up stickies and paste to a stickies file then every time you
need it open stick highlight the item hit copy or keyboard equivalent,
the quit or hide stickies and paste in word where needed?

--
Don't wait for your answer, click here: http://www.word.mvps.org/

Please reply in the group. Please do NOT email me unless I ask you to.

John McGhie, Microsoft MVP, Word and Word:Mac
Sydney, Australia. mailto:[email protected]
 
P

Phillip Jones

Just put it out as an alternative to those of us that are VBA or
Applescript challenged.

I am one of these that don't trust *any* scripting language that can
mess with system in Background. Even Applescript.

I've had a Mac since system, 6.0 (SE/30) and came with 5 thick books 3
of which were devoted to Applescript. I haven't even tried to learn it,
and never used any scripting or Macros except those that are installed
as part of System and in Background where I can't see. I don't trust them.

same problem with Active-X and VBA on windows. someone smart enough can
write and deploy a script in Background to cause all type of havoc.

If someone can do that deliberately, I know I have the possibility of
doing it by accident. So to avoid screwing up my system I avoid any
scripting.

John said:
Hi Phillip:

Well, I guess you could, but why would you go about it in such a laborious
manner when Daiya has suggested a way that gets it in with zero keystrokes?

Cheers

--
------------------------------------------------------------------------
Phillip M. Jones, CET |LIFE MEMBER: VPEA ETA-I, NESDA, ISCET, Sterling
616 Liberty Street |Who's Who. PHONE:276-632-5045, FAX:276-632-0868
Martinsville Va 24112 |[email protected], ICQ11269732, AIM pjonescet
------------------------------------------------------------------------

If it's "fixed", don't "break it"!

mailto:p[email protected]

<http://www.kimbanet.com/~pjones/default.htm>
<http://www.kimbanet.com/~pjones/90th_Birthday/index.htm>
<http://www.kimbanet.com/~pjones/Fulcher/default.html>
<http://www.kimbanet.com/~pjones/Harris/default.htm>
<http://www.kimbanet.com/~pjones/Jones/default.htm>

<http://www.vpea.org>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top