Can I move highlighted text to the comments but not underlined text?
So I just upgraded to Acrobat from Reader yesterday so I could take notes on books for school. I found out how to export the comments from a PDF to a new document using a JS, and have enjoyed using the following:
// Get the comments in this document, and sort by author
this.syncAnnotScan();
annots = this.getAnnots({nSortBy: ANSB_Author});
// Open a new report
var rep = new Report();
rep.size = 1.2;
rep.color = color.blue;
if (annots) {
rep.writeText("Summary of Comments: By Author");
rep.color = color.black;
rep.writeText(" ");
rep.writeText("Number of Comments: " + annots.length);
rep.writeText(" ");
var msg = "\200 page %s: \"%s\"";
var theAuthor = annots[0].author;
rep.writeText(theAuthor);
rep.indent(20);
for (var i=0; i < annots.length; i++) {
if (theAuthor != annots[i].author) {
theAuthor = annots[i].author;
rep.writeText(" ");
rep.outdent(20);
rep.writeText(theAuthor);
rep.indent(20);
rep.writeText(
util.printf(msg, 1 + annots[i].page, annots[i].contents));
} else {
var msg = "No annotations found in this document, %s.";
rep.writeText(util.printf(msg, this.documentFileName));
// Now open the report
var docRep = rep.open("myreport.pdf");
docRep.info.Title = "Comments for " + this.docuentFileName;
docRep.info.Subject = "Comments";
What I'm curious about is if there is a way around having both highlighted and underlined text go instantly to comments. If it's possible to get just one or the other to automatically enter the comments that might save me a ton of time manually copying and making decisions like "is this really worth the extra size of the output file." Those kinds of decisions really slow down my reading process. Rigth now I've been exporting pages of stuff, and even though I can search what I export it's going to become unmanageable.
The only thing I can think is to only copy things that I specifically wanted exported to the comments, and to just do this manually so I don't end up with too much highlighted/underlined text.
(Also, and this one isn't that important...is there a way to save the JS I have been using to all the PDFs that I have? Right now I have just been copy pasting it to each PDF that I make.)
Thanks in advance,
Matt
The forums have mangled the script (which looks strangely familiar ) but if you want to only list annotations with a specific type, add a new line in between these two:
for (var i=0; i < annots.length; i++) {
if (annots[i].type == "Highlight") {
if (theAuthor != annots[i].author) {
and add another closing brace at the end of this one
} else {
'type' has several defined strings, all documented in the SDK. You'd be using "Highlight" or "Underline" to filter.
If you want to run the script repeatedly, you can put it into an Action (using the 'run a javaScript' step). Bear in mind that you can't run it against several files at the same time, as the reports aren't saved, so set the Action's properties to apply only to the currently-open document.
Similar Messages
-
I purchased an album from the itunes store on my Ipad2 thinking i could access it from my windows laptop where I sync my ipod. I turned on Home Sharing and can see my laptop libraries from my ipad but not vice versa. Is there any way to fix this so I can transfer the album to the itunes on my laptop?
Yes I tried that. I finally turned off all home sharing settings, shut down my desktop and found them in my account settings in the store on the cloud. So at that point I just had it download everything. But I suspect that with the ipad somehow being on, the store was saying I had already received them? Regardless, my trip today whilst running errands, I was rocking out to vintage Police music! Thank you so much for responding.
-
I did the plugin checker off of the Firefox website, and it says that it is an unknown plug in. Please help, I need to read my lecture slides
The '''Office Authorization plug-in for NPAPI browsers ''' ''(which you do have installed for Firefox)'' and the Office program is what would be used for displaying a Power Point presentation in Firefox. I don't use Office and can't help you with specific instructions, but there should be a preference in the Office program under something like Tools > Options > Internet > Browser Plugins that needs to be set to have it '''display in browser'''.
-
Hi all,
Would you know whether there is an incompatibility between iPad2 and outlook 2010 calendar? I can sync outlook appointmens down to the device but not up to the computer calendar. The same occurs with my iPhone 4, can sync appointments down to the device, but not back up to the computer. Any help appreciated!Most computer's USB ports do not have enough power to charge iPads while they are active. An iPad will charge while in sleep mode, but very slowly.
-
Can you move between text boxes without using the mouse?
Can you move between text boxes without using the mouse? When I have mutliple text boxes as a template, and then need to move from one to the next can I do it without having to use the mouse to click the next box??
Jon,
Option-Tab will sequence through the tables.
Jerry -
When texting I keep hitting the microphone button. It's aggravating. Can I move it left of the 123 button? That would be ideal. Or, second choice, can I hide microhphone button without disabling Siri?
the think the answer is No to both your questions.
I don't see a way to move the microphone, also can't hide it w/o disabling siri. -
I have an iMAC G5 PowerPC (not Intel) running10.5.8. I sync my iphone to iTunes - but just learned I must have Snow Leopard to do so for my new iPhone 5S. Yet I can't install Snow Leopard as the G5 is not Intel. What do I do? How do I move music and pics? And keep them synced up as I purchase more?
Sorry, but that is correct. You need Snow Leopard to sync your phone and the latest version of iTunes and you old G5 cannot run that.
-
My movies and music videos won't show up on my computer screen, I can hear the sound but not see the video how do I fix this? I'm not sure what to do as far as turning my purchased movie into DVD goes either. I just want to put the movie onto a DVD disc but my itunes won't even show that I have a blank disc in the drive, I'm not sure what is wrong or how to fix this, any help at all would be much appreciated.
Hi @anthony7722 ,
Thank you for your query, I will do my best to help!
I grasp that you uninstalled the Intel graphic driver and the catalyst control. You reinstalled the Intel driver and now you can view and hear videos on the Internet but you are unable to set the resolution as high as previously.
When I checked the specifications for your notebook I see that you have switchable graphics.
Here are two links that I believe will help.
Overview of Switchable Graphics or Dual GPUs
Switchable Graphics on Notebooks Configured with Intel and ATI GPUs
Here is a link to HP Pavilion dv7-6150eb Entertainment Notebook PC Drivers
Please try this process.
1. Download the chipset driver, and both graphic drivers and save them but do not install them yet
2, Delete the chipset driver and install the updated one.
3. restart your notebook
4.Delete the Intel driver and install the updated one
5. restart your notebook
6. Delete the AMD driver and install the updated driver.
You should now have a Catalyst Control Center.
This should now allow you to use the higher graphic card which should support the higher resolution.
I hope this helped.
Sparkles1
I work on behalf of HP
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping! -
Mavric doesn't support my 5 years old Big Screen Display, OR? Tried to connect my Mac Book Pro after installing Mavric, The Screen didn't work as before. I could only see the Desktop but not the movies for example.
<E-mail Edited by Host>It appears what happened is the installer though it was looking at a empty drive and just went ahead and installed.
I of course am assuming here you didn't use Disk Utility to format the drive first before installing, that would wipe out your files and programs for sure.
So what to do, what to do.
Well there is hope for you as long as the drive wasn't Filevaulted.
I'll explain. When a hard drive writes data for the first time to a drive, it starts at the very top and works it's way down.
When OS X was installed the first time, it was at the top of the drive, unless you upgraded then the upgraded OS X could have been written elsewhere.
Now when you just reinstalled OS X, the new OS went on the top of the drive, overwriting any data that was there previously, so what was there you have lost forever which is about 8GB or so. If it was the previous OS there, then your more in luck because only the old OS X was overwritten.
The remaining space on the drive still can have a copy of your files, provided it's not overwritten yet.
It's because when a hard drive deletes data or reformats, it doesn't remove the data off the drive or overwrites it immediately, it's just made so it's SPACE is available for new files to be written there.
So technically one can recover the deleted data off a non-encrypted/scrubbed hard drive with special software.
The way it does this is it reads the 1's and 0's of the files themselves, and through a lot of figuring out, can tell what that file is and what it belongs too.
So what you will have to do is this:
Create a data recovery/undelete external boot drive
or if you don't have the skills, then take it to a local PC/Mac tech and they can do a direct image of the drive and then you can run Data Rescue on it to rebuild your files. -
In Mail, my message preview used to be shown to the right side of the messages. Now it is showing below the messages. How can I move it back to the right?
Select the Viewing tab in the Mail preferences dialog and uncheck the box marked Use classic layout.
-
Hi, I'm a bit low on memory and I can't update the iOS. I need to move some photos off the iPad but I don't want to transfer them to a pc, I'd prefer to transfer them to iCloud and leave them there. Is that possible?
Yes, you could, because in this case you would have something like a backup in the cloud. BTW, personally I also like Flickr. Flickr offers you 1 TB (1000 GB) of free storage and automatic upload for photos since iOS 7 (it is a very attractive offer, at least for me)
-
I'm trying to print a document from safari and the print command is at the bottom of the page and I can't move it up. The print command shortcut doesn't work and I would like to know how I can print this document.
Why do we have to install 2 add ins for something that should be built in? Please add this to the next version or an update to this one even. We should see the full path of a bookmark when we search for it. Show Parent Folder alone isn't enough if you have sub folders, so I installed Go Parent Folder as well in case of sub folders.
-
Using QuickTime Pro with an .mpg movie, why can I only get it to play from the beginning, but not from any other point in the video? How can I fix this?
Baffled in SBWhat format of MPG is this? Is this an MPEG1 or MPEG2 video? How was the video created?
-
When I log onto a site, the material is over to the right too far. I lose data on the right side of the screen How can I move it more to the left.
This issue can be caused by the Babylon Toolbar 1.1.8 extension
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode -
Trying to attach pdf files to emails I'm sending to myself. Instead of attaching the file, it copies the text. I want the file so I can have it on my iPad. I've been able to do this in the past, but not the last two tries. What am I doing wrong? Thanks.
You aren't doing anything wrong.
If the PDF is short enough, your iPad Mail app will display the text as part of the mail.
Actually it is still an attachment.
Tap and HOLD on the text and you should see options to "Open In..." that will allow you to open the PDF in most PDF readers such as iBooks, GoodReader, etc.
Maybe you are looking for
-
When I print, resolution changes, can I reset Acrobat to default settings?
I can't see any issue with any of my settings though shortly after reinstalling CS a month ago, Acrobat started printing to a much lower resolution than the PSD (or any application) is set to print to, though Photoshop may be the only one where I am
-
I want to install my Quadro FX 560 to my MAC PRO, but it can't work normall
I installed my Quadro FX 560 to my MAC PRO, but it can't work normally. I can't find any drivers of Quadro FX 560 for MAC OS, and I am using MAC OS 10.4.7. Would you like to give me the Quadro FX 560 driver for MAC OS?? My display card come from my o
-
Can't auto log in on 10.3.9 iBook
Hi there, I have upgraded the memory on an old graphite clambook at school in order to give it to one of the teachers. I installed 10.3 and updated it to 10.3.9. I want it to log in automatically without displaying a log-in window. I have set up 2 ac
-
HT201363 What if I do not know the answers to my questions?! Help
I am having problem remembering my security passwords. I don't know them how do I fix this?
-
How to run two versions of dreamweaver at the same time
How to run two versions of any dreamweaver at the same time? There must be a way to do this.