Acrobat scripting
Acrobat scripting
- Subject: Acrobat scripting
- From: "AHMD" <email@hidden>
- Date: Sun, 28 Apr 2002 00:41:33 +0300
thanks
I find this info and commands is very useful
thanks for your reply
I used it and it works
but I can't copy my selection in the clipboard
like this code
-----------------------------
tell application "Acrobat 5.0"
set x to 10
repeat 20 times
set myselection to select text of AVPageView 1 from words {x, 1}
--copy selection
set x to x +5
end repeat
------------------
pls help how I get my selection copied??
end tell
----- Original Message -----
From: Jack Morrison
To: AHMD
Sent: Friday, April 26, 2002 11:12 PM
Subject: Re: Acrobat scripting
hello
how I can write a script to select a text from a pdf file
thanks
Ahmed;
I don't know how you got my email address and associated me with a solution
to scripting pdf files! We don't do too much here with pdf other than
automate the creation of pdf proofs from .qxd files. If we have to extract
data from a pdf, it is a billable charge to our clients and we do it
manually, then manipulate the data.
This was posted on the applescript list earlier today...
Jack
X-Internal-ID: 3C8C2DBA007A2737
From: email@hidden
To: email@hidden
Subject: RE: Acrobat Scripting
Sender: email@hidden
X-BeenThere: email@hidden
X-Mailman-Version: 2.0.8
List-Unsubscribe:
<
http://www.lists.apple.com/mailman/listinfo/applescript-users>,
<
mailto:email@hidden?subject=unsubscribe>
List-Id: Help and discussions for scripters developing scripts and solutions
in AppleScript. <applescript-users.lists.apple.com>
List-Post: <
mailto:email@hidden>
List-Help: <
mailto:email@hidden?subject=help>
List-Subscribe:
<
http://www.lists.apple.com/mailman/listinfo/applescript-users>,
<
mailto:email@hidden?subject=subscribe>
List-Archive: <
http://www.lists.apple.com/archives/applescript-users/>
Date: Fri, 26 Apr 2002 09:08:00 -0500
Sharif,
I'm sure you are aware by now that scripting Acrobat is unlike any other
application you have ever attempted to script before. It has a syntax all
it's own.
My first recommendation is for you and anyone else interested in scripting
Acrobat to find the Acrobat SDK on Adobe's website and download it. It
contains a few scripting examples and a PDF of the dictionary. This PDF
contains a lot of syntax clues that are missing from the dictionary you can
reference via Acrobat's dictionary through your script editor. I found it a
good source for the following code which I hope will help get you over the
hurdle.
Code follows:
_________
tell application "Acrobat 5.0"
select text of AVPageView 1 from words {1, 99}
end tell
_________
End Code.
This snippet selects words 1 through 99 of the current document.
Hope you find this information helpful.
Kev
--
Kevin Talbert
L2 Support, Macintosh
(501)376.5226
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
--
--------------------------------------------------------------------------
Jack Morrison <email@hidden> Multipurpose Intelligent
http://www.mBase.com Publishing Solutions
P:780-945-4602
F:780-421-8256 mBase...Enjoy the Freedom
--------------------------------------------------------------------------
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.