Observing all the undoable items.CS3 Mac

How can I observe all the undoable actions in InDesign CS3 Mac ? Is there any simple way of achieving this. I looked at the sample code for gotolasttextedit but that has text and story tracking capabilities, how can I hook into all the commands that happening and and are undoable ?
Any ideas how to proceed. What else can be helpful ?
thanks
shwetag

tell application "System Events"
          set appList to every process whose visible is true
end tell
the 'visible is true' part is necessary, otherwise it will report system and background apps that you probably don't want to quit.  If you want to quit the apps as well, the following will get the job done most of the time:
tell application "System Events"
          set appList to every process whose visible is true
          repeat with thisApp in appList
                    try
  -- attempt to quit saving open files
                              tell thisApp to quit saving yes
                    on error
                              try
  -- app may not be document based, so attempt a simple quit
                                        tell thisApp to quit
                              on error
  -- weird app that doesn't seem to respond properly to apple events
                                        do shell script "killall " & name of thisApp
                              end try
                    end try
          end repeat
end tell
Message was edited by: twtwtw: removed spurious 'application' keywords

Similar Messages

  • HT201269 I restored my iphone and now it has gone back to factory settings. How do I transfer all the purachsed items from my itunes back onto the phone?

    I restored my iphone and now it has gone back to factory settings. How do I transfer all the purachsed items from my itunes back onto the phone?

    Hello whytea4
    Check out the articles below and choose the one for your computer to sync media and apps to your iPhone.
    iTunes 11 for Mac: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/PH12113
    iTunes 11 for Windows: Set up syncing for iPod, iPhone, or iPad
    http://support.apple.com/kb/PH12313
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • How do I find all the purchased items on my iPhone? When I try to update the iPhone iOS while connected to my MacBook it says there are purchased items on the phone that have not been transferred to my iTunes library and that I should transfer them.

    How do I find all the purchased items on my iPhone? When I try to update the iPhone iOS while connected to my MacBook it says there are purchased items on the phone that have not been transferred to my iTunes library and that I should transfer them before updating.

    Thanks. This seems to have worked easily.

  • How do I get all the accounts on my mac to have access to the same itunes library?

    How do I get all the accounts on my mac to have access to the same itunes library?

    Move the entire iTunes folder to: Macintosh HD > Users > Shared.
    Hold the option key when launching iTunes (for each user).
    Click Choose Library.
    Navigate to Macintosh HD > Users > Shared > iTunes.
    Open the iTunes Library.itl file.

  • How can i display all the query items to a table?

    how can i display all the query items to a table in a jsp file?
    i always have an out of memory error..

    any body??any idea?
    is it possible thru configuration or i have to write a program by the abaper??
    Biswa

  • Defaulting the Sotrage location for all the line items in my sales order

    Hi,
    I have a scenario to default the storage location automatically in my sales order for all the line items. It is not going to change for a particular sales org. Dist. channel & Division combination. Can you pls. suggest me a solution for this.
    Thanks
    Ghanesh.

    Hi,
       You can default the storage location by using the below user exit
    Storage location
    Auto determination of storage location as u2018XXXXu2019 for sales order
    Include - MV45AFZB
    Form - USEREXIT_SOURCE_DETERMINATION
    IF (VBAK-AUART = 'XXXX' and VBAK-VKORG = 'XXXX' and VBAK-VTWEG = 'XX').
    VBAP-LGORT   = 'ABCD'.
    Regards,
    Gopal.
    Edited by: Gopalakrishnan S on Feb 25, 2010 7:35 AM

  • Graphic card problem maybe? Since when I have changed the hard drive to my macbook pro and I installed all the new softwares, my mac is very slow and the screen gives crazy pictures,could maybe be the graphic card, does anybody have experienced this?

    Graphic card problem maybe? Since when I have changed the hard drive to my macbook pro and I installed all the new softwares, my mac is very slow and the screen gives crazy pictures,could maybe be the graphic card, does anybody have experienced this?

    after a restart it works for a time, but always slow. I went to the Applestore this afternoon and the made a check and said it would be the logicboard and they would have to change it for CHF 600 and it would be ready in 10 - 15 days

  • If I put my I tunes library in my external hard disk can I still share it with all the accounts of my Mac?

    If I put my I tunes library in my external hard disk can I still share it with all the accounts of my Mac?

    Hello there, Gnorra.
    The following Knowledge Base article reviews how to share your music in iTunes with multiple users on the same computer:
    iTunes: How to share music between different user accounts on a single computer
    http://support.apple.com/kb/ht1203
    If you're using Mac OS X, follow these steps:
    Quit iTunes.
    Go to your iTunes Media folder. By default, it's in ~/Music/iTunes. (This folder may be named iTunes Music if you created your iTunes library in iTunes 9 or earlier.) 
    Note: "~" represents your Home folder. Other users on your computer can't access these locations.
    Drag the iTunes Media folder to a public location. For example, you could move it to the Public folder in your Home folder (~/Public) or to a location outside your Home folder that other users can access (/Users/Shared).
    Important: Don't move the iTunes folder, the iTunes library file, or the iTunes library.xml file.
    Open iTunes.
    Choose iTunes > Preferences.
    Click Advanced.
    Click the Change button.
    In the window that opens, go to your iTunes Media folder.
    Click Choose or Open.
    Repeat these steps for each user that you want to share music with. If multiple users on your computer are storing music in the same public folder, duplicate song files may appear if a user imports music from a CD that another user already imported.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • How to export all the man page in mac to PDF?

    How to export all the man page in mac to PDF?
    I have tried "man -t cat | pstopdf -i -o ~/Desktop/cat.pdf" but this only output one page.
    How could I dump all the man pages to pdf with one or few command as possible?
    The other question is, I copy all the man pages form /usr/share/man, they are .gz.
    After I unzip them and open with less, texteidtor, ultraeditor, all the formate are weird.
    Is there any tool could open them with the right formate as man does?
    I know the man in linux uses the tool "less" to read man pages. How about mac???

    I use Bwana. Copy all and paste into TextEdit. Then, save it. This is the beginning for diskutil:
    diskutil(8)               BSD System Manager's Manual              diskutil(8)
    NAME
         diskutil -- Modify, verify and repair local disks.
    SYNOPSIS
         diskutil [quiet] verb [options]
    DESCRIPTION
         diskutil manipulates the volume-level structure of local disks.  It pro-
         vides information about, and allows the administration of, the partition-
         ing scheme of disks, optical discs, and AppleRAID sets.
    VERBS
         Each verb is listed with its description and individual arguments.
         list [-plist | device]
                    List disks.  If no argument is given, then all disks and all
                    of their partitions are listed.
                    If -plist is specified, then a property list will be emitted
                    instead of the normal user-readable output.  If a device is
                    specified, then instead of listing all families of whole disks
                    and their partitions, only one such family is listed.  In that
                    case, specifying either the whole disk or any of its slices
                    will work.  The -plist and device arguments may not both be
                    specified at the same time.

  • HT201210 I have just connected my Ipad to my mac and went to upload all the pics from my mac onto my ipad but doing so it has overwrote everything on my ipad and therefore the pics on my ipad have gone!!!

    I have just connected my Ipad to my mac and went to upload all the pics from my mac onto my ipad but doing so it has overwrote everything on my ipad and therefore the pics on my ipad have gone!!!
    Help - I have tried the restore but it didn't put back my photos it just started to sync the ones that had overwrote my old ones!!!

    I took the orginal photos on my iphone over the past couple of years and bit by bit i uploaded them onto my sony lap top in albums... Nothing to do with itunes...
    A few months ago as my laptop didn't seem as reliable so i uploaded all the pics onto my ipad from my laptop, it was today where i thought i will upload more from my phone onto the mac then onto my ipad but insted it overwrote all the pics on my ipad.
    I had tried to do the back up and it didnt work the photos were lost.
    Then my ipad later today was driving me insane and wouldnt delete any of the pics so i just restrored it back to factory settings.
    My laptop has had issues so i have in restored all that to.
    I will now in the future just upload from my phone straight to my mac and not mess about wanting pics on my ipad.
    I appricate your help but i am pretty sure i have lost all of my photos... My kids 1st day at school the lot...

  • TS3623 Pressing play on purchased downloads and it starts to download  but then returns to the play button. This is for all the purchased items I have. However pressing play on previews works. Please advise.

    Pressing play on purchased downloads and it starts to download  but then returns to the play button. This is for all the purchased items I have. However pressing play on previews works. Please advise.

    Welcome to the Apple community.
    A number of people have reported similar issues recently, many appear to have found a discrepancy of some kind in their account settings and making changes to these settings or simply resetting them has resolved the matter.
    Check your account details are correct, check that you are using the correct details for Location, Region and Time Zone. You may want to change these settings and then change them back to see if that helps.
    Also check your payment details, make sure your details are exactly how they appear on your credit card statement, you might also try changing some of those details, saving them and changing them back again.
    You might also try logging out of and then back into your iTunes account (Settings > iTunes Store > Apple ID’s > Sign Out) and restarting your router. (Some have reported that after doing this, they need to check for rentals even though it may report that there aren’t any, after which rentals once again appear in the ‘movies’ feature)
    Rentals should appear under their own heading in the ‘Movies’ feature, you might also check at Settings > iTunes Store > Check For Rentals.
    At this point in time, I’m wondering if this could be related to (but not restricted to) the new feature that allows others to come into your home and use your Apple TV to download and play their content on your Apple TV without logging into their account on your Apple TV. The Terms of Use for iTunes Store content have always been to require you to only purchase and play the content from the store in the location where you live and to use a credit card registered in that location. Previously Apple seem to have been somewhat lenient on enforcing such restrictions, perhaps now they are not. However I don’t really have any evidence to support this suggestion, except that changes made to accounts in these areas do appear to be helping many.
    If you are successful in resolving your problem, perhaps you would let us know exactly which action resolved the problem for you. If you are having this problem to begin with, can you also tell us your location.

  • What do all the parts of a Mac Pro really mean?

    Hello,
         So right now I have a MacBook Pro, 13", 2 years old, 4GB ram, 160 GD hard drive, etc etc.  I've got a wireless mouse, keyboard, and 27" LED Cinema Display, and I do graphic design work (as a job), and use my computer avidly.  I'm the person who has 9 tabs open with 6 applications running.  I also do a bit of gaming now and then, and love to fill up hard drives with my thousands of photos.
         So I want to upgrade to a Mac Pro in the future.  However, my question is what should I get?  With all this quad core, 8 core, 12 core, what will I really notice a difference in?  Graphics card, what would really be beneficial - 1, 2, higher grade/normal grade? Whats a RAID card and a Solid-State drive? Would it be better to have multiple smaller hard drives or one big one?
         I mean realistically, what would help? Any good links for information?
    Thanks
    Ben

    Okay, you may be happier then with Mac Pro. too often and it seems like a waste of my time if it is "pro-consumer" coming with questions, and often not well versed or not having researched the options and pros and cons.
    Not everyone works with 1-2GB images and needs 32GB RAM and 6-cores though.
    wish I could look in crystal ball and see 4th quarter Mac Pro with an LGA2011 socket processors from Intel - the next tic-toc after Nehalem/Westmere we have now.  That may not happen for 6-9 months. 
    SSDs are great, but an SATA3 doesn't benefit and can actually run slow on SATA2 bus.
    The DIY processor upgrade - 2.93GHz 8-core? not worth it.  the 2.8 for $2100
    Apple Special Mac Pro
    Intel Xeon W3670 3.20GHz Hexacore Buy.com
    W3670 Upgrade MacRumors
    - includes photos
    With PC, it is of course no trouble to build and run @ 4.2GHz and get more out of your investment.
    A nice setup: 4 x 8GB RAM plus 3.33 6-core along with 2x SSD and 4 x 2TB drives
    MacPerformanceGuide can take a couple days to digest and look at all the articles on various mac configurations. 
    A 2011 MacBook Pro shows it is competitive now. 
    So long as there is enough memory for Photoshop CS5 to use, the new 2011 MacBook Pro quad-core offers outstanding performance approaching that of the Mac Pro.
    Results With Photoshop CS5
    To understand CS5 on a Mac Pro you really want to study this section:
    Strange but True: Photoshop CS5 Performance
    More cores, more RAM, not always more performance
    some want a laptop to take to clients and dont' want 60 lbs. An iMac top of the line can definitely do a lot more now.
    ANALYSIS of the 2011 iMac
    SHOOTOUT: Four 2011 iMacs

  • Should Bluetooth switched on all the time on my mac Pom pro

    Should I  Bluetooth switched on all the time on my mac Pom pro

    Use it only when you need it.  Keeping applications open which are not needed will just shorten battery life if you are under battery power and will unnecessarily slow down the MBP.
    Ciao.

  • HT3529 I have lost all data on my iphone and the back-up is too old. How can I restore iMessage chats on my iPhone 4? I have all the chats on my Mac, but there seems to be no sync function from Mac to iphone. Please advice.

    Hi,
    I have lost all data on my iphone by mistake. I needed to restore the phone and I didnt realize my back-up was 1yr old, and now the phone is restored and I've got a year old contact list and iMessage chat history. Luckily my iMessage on the Mac is still valid and has all the chat history. My question is how can I restore iMessage chats on my iPhone 4 from my Mac? I have all the chat history on my Mac, but there seems to be no sync function from Mac to iphone. Please advice.

    If things seem to be going haywire with your phone, it seems that it MAY be a software issue.
    Now, that being said, that does not necessarily mean that it is a virus. Software issues do happen sometimes. It is probably just coincidence.
    What you need to do is restore the device using iTunes. This will fix any software issues. After you have done this, you can restore from an iCloud backup.
    iCloud does not back up the actual software, so no, the "virus" would not have gotten into the backups.
    The link below provides steps on restoring your device using iTunes as well as how to restore from an iCloud backup.
    http://support.apple.com/kb/ht1766
    Don't worry! Everything should be back to normal if you follow these steps.

  • Do I loose all the contact on my mac if I install OS X Mountain Lion

    Hi,
    I want to install OS X Mountain Lion but I wonder if I loose all the content i.e. file and program that I have already on my mac. In that case I have to make backup of all the contents.

    If you have Lion and use iCloud for Contacts and Calendar, then they will still be there after installing ML.  If not, then it would be a good idea to archive them.  Go to File>Export>Addressbook archive for Contacts and in iCal the same File>Export.  Put these files in a backup folder somewhere for safe keeping.  I do the same for Safari bookmarks, Google Earth Places etc, because it can be a bind to lose all your hard work.
    Having said that, Setup Assistant will normally transfer your data to the new OS during the installation process without problems.

Maybe you are looking for

  • Black "border" around project

    I just started using Captivate 4 (upgraded from 3).  I am building a new project from scratch.  It is 800x600.  My problem is the black border or line that goes around my project - see below.  I am using a customized skin that does not include this b

  • Can't open project in PE7

    I have been working on this project for a few days and every once in a while I got a warning that said that the system memory was low and that I should save and continue with caution. Now whenever I try to open the project, Premiere Elements 7 just c

  • I cannot upgrade 10.6.8 to Mavericks.

    "This copy of the Install OS X Mavericks application can't be verified." Date/Time settings are accurate. MacBook Late 2008 Aluminum: Model ID 5,1. I have also tried deleting/re-downloading install file.. Help?

  • Transporting changes to characteristics

    Hello everyone, I wish to transport the change to the text of a characteristic I made via KEA5. To this end, I created a request via KE3I, selected "Operating concern" for transport object and then "Master data: characteristic values" for dependent o

  • Keep getting Server not Found

    Help, Everytime I browse the internet I frequently get this Message "Sever Not Found" and the webpage cannot be loaded I have to hit the RELOAD button so many times for it to load. This only happens when I am connected to my laptop wirelessly and whe