Is there an easier way to do this?  Save As in Acrobat to a Specified Folde

CAN APPLESCRIPT RUN IN THE BACKGROUND?
Or is there an easier way to do this script? The script does what I need done - no problem, but every action happens on screen. Is there a more direct way to some of the steps? (Ideally so most of the action happens in the background. I will ALL-CAP what my thought process is).
*BASICALLY I GET JOB REQUESTS FROM DEPARTMENTS IN MY COMPANY ON AN PDF THAT I CREATED. WHEN I OPEN THE REQUEST, I RUN THIS REQUEST SO I CAN IMPORT IT INTO FILEMAKER PRO. IT IS OPEN IN ADOBE ACROBAT PRO 9.*
tell application "Adobe Acrobat Pro"
activate
end tell
*I SIMPLY SAVE EVERY REQUEST AS "REPORT". IT JUST RESAVES EVERY TIME A NEW REQUEST COMES IN. SO I WANT TO STREAMLINE THIS STEP BETTER AND HAVE IT JUST SAVE IN THE BACKGROUND TO THE SPECIFIED FOLDER.*
tell application "System Events"
tell process "Acrobat"
save
click menu item "save as..." of menu "File" of menu bar 1
keystroke "report"
keystroke tab
delay 1
keystroke "g" using {command down, shift down}
keystroke "/users/kellyf/documents/projects/pdf2fmp/ExportPDF"
keystroke return
keystroke "s" using command down
delay 1
keystroke "r" using command down
*I BELIEVE THIS STEP HAS TO HAPPEN LIKE THIS, UNLESS SOMEONE IS FAMILIAR WITH A BETTER WAY TO EXPORT FROM ADOBE ACROBAT TO A CSV/SPREADSHEET FILE.*
tell application "System Events"
tell process "Acrobat"
click menu item "Merge Data Files into Spreadsheet..." of menu 1 of menu item "Manage Form Data" of menu "Forms" of menu bar 1
keystroke return
delay 1
keystroke "g" using {command down, shift down}
keystroke "/users/kellyf/documents/projects/pdf2fmp/exportpdf"
keystroke return
delay 1
keystroke (ASCII character 31) -- Down
delay 1
keystroke return
delay 1
keystroke tab
delay 1
keystroke return
delay 1
keystroke "g" using {command down, shift down}
keystroke "/users/kellyf/documents/projects/pdf2fmp/ImportCSV"
keystroke return
delay 1
keystroke (ASCII character 31) -- Down
delay 1
keystroke return
delay 1
keystroke tab
delay 1
keystroke return
keystroke "s" using command down
delay 1
keystroke "r" using command down
delay 1
click button "Close Dialog" of window "Export Progress"
end tell
end tell
end tell
end tell
tell application "Adobe Acrobat Pro"
close document "report.pdf"
end tell
delay 1
tell application "Finder"
activate
open file "Creative Job List.fp7" of folder "Filemaker Pro Databases" of folder "Documents" of folder "Kellyf" of folder "users" of folder "macintosh hd"
end tell
tell application "FileMaker Pro"
activate
do script "PDF2FMP Import"
end tell

Kelly Fisher wrote:
CAN APPLESCRIPT RUN IN THE BACKGROUND?
Yes. Applescript can run in the backgound. The applications you run also need to be able to run in the background. You need to run scriptable applications & avoid simulating the keyboard & mouse. You need to run commands that are in the application dictionary.
*BASICALLY I GET JOB REQUESTS FROM DEPARTMENTS IN MY COMPANY ON AN PDF THAT I CREATED. WHEN I OPEN THE REQUEST, I RUN THIS REQUEST SO I CAN IMPORT IT INTO FILEMAKER PRO. IT IS OPEN IN ADOBE ACROBAT PRO 9.*
tell application "Adobe Acrobat Pro"
activate
end tell
*I SIMPLY SAVE EVERY REQUEST AS "REPORT". IT JUST RESAVES EVERY TIME A NEW REQUEST COMES IN. SO I WANT TO STREAMLINE THIS STEP BETTER AND HAVE IT JUST SAVE IN THE BACKGROUND TO THE SPECIFIED FOLDER.*
tell application "System Events"
tell process "Acrobat"
save
click menu item "save as..." of menu "File" of menu bar 1
keystroke "report"
keystroke tab
You are simulating the keyboard. They need to run as you have done.
delay 1
keystroke "g" using {command down, shift down}
keystroke "/users/kellyf/documents/projects/pdf2fmp/ExportPDF"
keystroke return
keystroke "s" using command down
delay 1
keystroke "r" using command down

Similar Messages

  • HT1399 When I import a CD to itunes, it splits the album in to multiple entries. I have changed the info on some but others just will not merge. Is there an easy way to do this and can I stop them from splitting in future? Thanks

    When I import a CD to itunes, it splits the album in to multiple entries. I have changed the info on some but others just will not merge. Is there an easy way to do this and can I stop them from splitting in future? Thanks

    Okay this is what fixed my problem. Some kind of error/glitch occured half-way through importing that third cd that prevented further imports from any other cd. Once I completely removed the half-imported cd album from my library I could further import cd's without any problems.

  • I have a new computer and want to sync my Iphone and Ipad2 to the new computer, is there an easy way to do this?

    I have a new computer and want to sync my Iphone and Ipad2 to the new computer (PC) instead of the old one, is there an easy way to do this?

    Extract from one of our senior participant.
    Syncing with new computer
    1) Without connecting your iPad to your laptop, start iTunes. Click on Edit. Click on Preferences. Click on Devices. Check the box next to "Prevent your iPod etc. from automatically syncing." Click OK.
    2) Now connect your iPad to your laptop and start iTunes.
    3) When iTunes starts, right click on your iPad under Devices in the left column. Select Transfer purchases etc.
    4) After it finishes transferring all your apps to your new laptop, right click on your iPad and select Backup your iPad.
    5) After it finishes backing up your iPad, right click on your iPad and select Restore etc.
    6) After it finishes restoring, left click on your iPad , then click on the Apps tab on top, and check the box next to Sync Apps, then click on Apply below.
    If everything on your iPad looks good after the sync, go back and click on Edit / Preferences / Devices and UN-check the box next to Prevent your iPod etc. The only other thing you may want to check is if your contacts, bookmarks, etc. are syncing correctly now. If not, go to the Info tab after connecting and make sure you indicate which features you want to sync with what sources.

  • I am trying to convert a .fla file to an .flv file, is there an easy way to achieve this.

    I made several movies using symbols and motion twens and now wish to save these as an flv to play in a web browser.
    Could someone please respond with an easy solution as I am just learning about this.
    Thankyou.

    Cheers for the head up, it worked, now I feel like a simpleton. I only saw the choice for doc.fla and thought it must be complicated.
    Kind Regards
    Andrew Whitehead
    [email protected]
    CONFIDENTIALITY - This email and any files transmitted with it, are confidential, are intended solely for the use of the individual or entity to whom they are addressed. If this has come to you in error, you must not copy, distribute, disclose or use any of the information it contains. Please notify the sender immediately and delete them from your system.
    SECURITY -All email is scanned with Kaspersky Internet Security 2010. Please be aware that communication by email, by its very nature, is not 100% secure
    VIRUSES - Although this email message has been scanned for the presence of computer viruses, the sender accepts no liability for any damage sustained as a result of a computer virus and it is the recipient’s responsibility to ensure that email is virus free.
    AUTHORITY - Any views or opinions expressed in this email are solely those of the sender.
    Date: Thu, 25 Feb 2010 11:48:11 -0700
    From: [email protected]
    To: [email protected]
    Subject: I am trying to convert a .fla file to an .flv file, is there an easy way to achieve this.
    No worries, that is very simple to do.
    Just click on File--> Save As and select your "File Type" and select as "Flv." 
    Let me know how it goes and if you have any questions regarding Flash, please feel free to ask me here or sending me an email.
    Hope this helps,
    Vicente Tulliano
    >

  • I have two iTunes libraries I need to merge.  Both contain over 34,000 songs, so I cannot do this manually.  Is there an easy way to do this?

    I have two iTunes libraries I need to merge.  Both contain over 34,000 songs, so I cannot do it manually.  Is there an easy way to do this?

    Drag the media folder from one over to an open iTunes window.  Go away and have a long lunch.  Of course if you have a lot of common content you will be spending your next vacation sorting out the duplicates.  Oh, you can search the Internet because I am sure somebody has some wonder tool that purportedly prevents duplicates, not that I would trust any automated method.  I always deal with duplicates one by one.
    Consolidating Multiple iTunes Libraries - http://www.ilounge.com/index.php/articles/comments/consolidating-multiple-itunes -libraries-api1/ - Basically using consolidate/organize to make sure all your media are in one place, then copying media from a second library to the main one by simply adding the media as new files.
    Commercial software that purportedly helps merge libraries (not a complete list, nor have I tried any of them):
    http://supersync.com/
    PowerTunes - http://www.fatcatsoftware.com/powertunes/ (commercial software)

  • Import a playlist from Spotify to buy the songs on iTunes?  Why isn't there an easy way to do this?  Low hanging fruit Apple.

    Import a playlist from Spotify to buy the songs on iTunes?  Why isn't there an easy way to do this?  Low hanging fruit Apple.

    Yeah, once people get hooked on streaming music, they tend to be much less interested in purchasing downloads, and especially not from a music store that sells songs in an inconvenient (AAC) format instead of the de facto standard, MP3 format.
    However, let me not deter you.  If you would like to make the suggestion to Apple, you can use the iTunes Feedback page:
    http://www.apple.com/feedback/itunesapp.html

  • I want to print from my iPad in my truck. Is there an easy way of doing this?

    I want to print from my iPad from inside my truck. Is there an easy way to do this?

    The bluetooth is generally meant for keyboards and speakers, no idea if it'd work with a printer.
    I suppose you could shop for printers and look to see if one specifically mentions compantibility with iPads.
    The iPad was created to be a consumption device. Used to consume data, watch movies, read books, listen to music. functionality like what you're wanting is beyond how the device was originally conceived, so it requires tweaking and fixing.
    There are other devices out there that have more functionality, including some that might hardwire to a printer. The easy part would be power for the printer. A $25 inverter will give you that in your vehicle.

  • HT204053 I transferred my MobileMe account to my iCloud account but I would be keen to switch this to my Store Purchases Apple ID.  Is there an easy way to do this?

    I transferred my MobileMe account to my iCloud account but I would be keen to switch this to my Store Purchases Apple ID.  Is there an easy way to do this?

    You can't merge accounts or transfer iTunes purchases from one Apple ID to another: but there is no problem about using two IDs.
    Use your ex-MobileMe email address (which is also an Apple ID) for iCloud for syncing email, contacts, calendars, bookmarks, and PhotoStream.
    Use your other Apple ID as before for iTunes, iTunes in the Cloud and iTunes Match.
    There's no conflict about doing this, and you won't even notice as Keychain will log you in with the correct ID in each case. It's also better security not to have your iTunes login also your email address, given the number of complaints about hacked iTunes accounts.

  • I allocated too much space on the Windows side when using bootcamp and want to take some space back for the Mac side is there any easy way to do this?

    I allocated too much space on the Windows side when using bootcamp and want to take some space back for the Mac side is there any easy way to do this?

    Purchase and use Paragon Camp Tune

  • I am looking to "move out" of my computer and into my wife's, is there an easy way to accomplish this task, keeping all my files and setting up a second user?

    I just bought a new external 3TB hard drive for this task and want to keep my items seperate from hers for both our sanity.
    I figured that I would do a time machine back up and use that to do the move part of things.
    But as to setting up the new user on her computer I am just not sure if I can "tell" the computer to only use the new drive for my stuff and only acces the new drive for all things related to that new profile.
    More then anything else I want to be able to say that all things that are hers have not been touched/acccesed/deleted by any of my actions. And that I am "confined" to the new drive.
    I hope this makes sence.
    Mr Geef

    I have a feeling there are music files in my folders that are not linked to iTunes but can't figure out how to import them without going through all 8800+ files. Is there an easy way to import all the files without losing the current playcounts
    AFIK there isn't an easy way of linking up to a lot of dead tracks and retaining play counts etc, except by finding the dead tracks and repairing each link individually. The only exception to this is if there is a simple error in the path that can be fixed by a search and replace on the xml library file, then rebuilding the library. However it doesn't sound as though that would be a solution for you.
    This MacMuse tip has a way of finding dead tracks if that helps.
    http://discussions.apple.com/thread.jspa?threadID=121967
    It is much simpler to sacrifice the playcount information and just reimport your iTunes Music folder. Then you can eliminate the dead tracks with a script. One of the forum members has written one that you can find here:
    http://home.comcast.net/~teridon73/itunesscripts/

  • HT5312 I want to change my rescue email address. When I get to step 4 above no Password and Security to click. Is there an easy way to do this?

    I want to change my rescue email address.I've followed the instructioins to step 4. I have no 'Password and Security@ to click. Is there an easy way to change it?

    Welcome to the Apple Community.
    It should be here.

  • Is there another easy way to write this program??

    Hi ,i new in Java Programing,Is there another way to write this program?? This program below is about FIND THE AREA OF A CIRCLE WHEREIN THE RADIUS OF THE CIRCLE RANGES FROM 1 TO 10 BY 1 IN A FOR LOOP.
    import javax.swing.JOptionsPane;
    public class Area2 {
    public static void main(String[] args ) {
    double pi = 3.14;
    int r;
    String a = "Area = ";
    double area;
    for (r = 1; <= 10; r++)
    area = pi * r * r;
    a = a + area + "\n";
    JOptionPane.showMessageDialog(
    null , a);
    System.exit ( 0 );
    I did not write it ,i want to know if is there another way (easy)to write it.
    Thank you very much
    Sincerely Erick.

    Not much to improve upon this. It is a pretty simple program. Note my comment about PI.
    import javax.swing.JOptionsPane;
    public class Area2 {
       public static void main(String[] args ) {
          double final PI = 3.14; // Final because it's a constant value, convention for constants is to use uppercase
         int r;
         String a = "Area = ";
        for  (r = 1; <= 10; r++)
            area  = pi * r * r;
            a = a + area +  "\n";
        JOptionPane.showMessageDialog(null , a);
        System.exit  ( 0 );

  • Installed Time Capsule, now want to delete/clean files from mac mini HD, is there an easy way to do this?

    I've installed Time Capsule and using Time Machine backed up all my files from my Mac Mini (mid 2010) and verified they're there, now, as nervous as I am to do this, I want to clean/delete all the files on my mac mini hard drive, is there an easier and faster way than just moving to trash and deleting them? Looks like that can take hours.
    My intention is to use the Time Capsule as a Hard drive so I can clean my Mac Mini hd since it was reaching capacity.
    Thanks!

    Ok, I just googled how to format my external hard drive to Mac OS extended (Journaled), no problem, understood.
    Bear with me, I'm not too computer savvy, then connect to my mac mini, copy all my files to that ext. hd, then in system pref for the TC don't add to exclude?
    I don't think I want to keep that also permanently connected to TC as then I'm backing two hardrives?

  • Surprised by the horrible FF29 update, I tried system restore, and it completely obliterated my install. Is there an easy way to repair this?

    I wasn't pleased with the auto-update to 29. So I figured I'd roll back to 28 until I had more time to look into the various quirks and whatnot of the new update. Well, in my haste, I didn't really research the best way of doing this and opted for a system restore.
    Now my browser install is completely effed. It won't launch at all, and when I attempt to uninstall (via the app or by using the control panel) it does absolutely nothing. Is there (simply) some new file that is causing this problem (and can be removed)? Or is the entire install wrecked? Since uninstalling doesn't seem to be working, will I need to re-install over the top of it? Will I have to go in and manually pull files/folders in order to re-install?
    What are my options?

    I actually gave you the wrong instructions:
    #Download the latest Desktop version of Firefox from http://www.mozilla.org and save the setup file to your computer.
    #After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
    #Delete the Firefox installation folder, which is located in one of these locations, by default:
    #*'''Windows:'''
    #**C:\Program Files\Mozilla Firefox
    #**C:\Program Files (x86)\Mozilla Firefox
    #*'''Mac:''' Delete Firefox from the Applications folder.
    #*'''Linux:''' If you installed Firefox with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Firefox on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/firefox#desktop Firefox download page], simply remove the folder ''firefox'' in your home directory.
    #Now, go ahead and reinstall Firefox:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.
    More information about reinstalling Firefox can be found [https://support.mozilla.org/en-US/kb/troubleshoot-and-diagnose-firefox-problems?esab=a&s=troubleshooting&r=3&as=s#w_5-reinstall-firefox here].
    <b>WARNING:</b> Do not run Firefox's uninstaller or use a third party remover as part of this process, because that could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. <u>These cannot be recovered unless they have been backed up to an external device!</u>

  • Is There An Easier Way To Do This?

    Hi There.
    This is a repeat of a previous thread, but I fear that I worded my initial question badly and caused confusion. Here is what's happened:
    I burned 15 music cd's of 300 songs that I purchased through iTunes using the 'Purchased' list in the left menu. I used the same cd-r's that I've always used (80 minutes/700mb) and I burned them the way I've always burned them with no problem. I also had no problem today and the disks are fine. BUT the text (I mean the song titles, artists, etc.) are not showing when I insert the disks. Instead, I get Track 1, Track 2, etc. and I'm hoping there is something I can do besides manually reenter the info for 300 tracks. I really appreciate any help you can offer.
    Oh! And an afterthought... I've had this happen with certain cd's before for one reason or another. No big deal. But since I bought these songs in iTunes, why wouldn't they automatically show the info? When I burn these same songs randomly in mixed playlists, they do.
    mwn :o)
    Message was edited by: much wiser now

    Audio CDs don't have track information on them as such (except for a few text CDs which I don't know if iTunes supports). iTunes gets CD track names from a central third party database using a profile built up from a combination of duration, order, and number of tracks on the CD. I think it then stores CDs it has tracked by this method (up to a certain limit of cds) on its own internal database. However, I don't know that it actually keeps track of the CDs that you burn on the internal database, and your burned CDs don't exist on the external database. If you burn a CD in exactly the arrangement that is on a CD in the database then it will label the tunes.
    I recall in OS9 there were some utilities that let you edit the CDDB database so you could get Soundjam (iTunes precursor) to recognize your own CDs that way. I don't know if such exists for OSX.
    iTunes does keep track of other music on your computer, but this is usually stored in the form of tags attached to the files themselves. This method is not used for CDs which is why the information is not on the CD itself.

Maybe you are looking for

  • Single and double quotes entered in form field cause corruption?

    I am creating a database change request system using in APEX 2.2 and the main form has a description field (clob) and a API_description field (varchar2(4000)) that are text area fields on the page. The form seems to have trouble when the string data

  • IOS 5 Airplay bug discovered

    I've been having a vexing problem whereby if I send sound via AirPlay to one of my Airport Expresses the "Ringer and Alert Volume" always resets to 4. This seems to be an issue with older generation Airport Expresses. I was not able to try it with a

  • I am trying to find a way to play music from my I-tunes Library outside using wireless speakers..  It this possible??

    I am trying to find a way to play music from my I-tunes library outside of the house using the Ariport Express and wireless speakers if possible.. I would like to purchase some outdoor capable wireless speakers which will receive the signal from the

  • Beeps on startup... when it manages to startup that is!

    My brand new iMac manages to startup only half of the time - I can get it to go only if i disconnect/reconnect the power plug. Second worry is that it makes a loud beep (just one) one time out of two... I've read that this is a problem with the memor

  • Forms9i/applet hanging (9.0.2.3.0)

    We are experiencing problems with hanging forms aplications or hanging java applet. We don't see any error messages at all in any of the log files and the java console even if debugging is turned on. The problem is seen in two cases. The first one is