AppleScript/Pages can not find the open document

This very simple script will not work:

Tell application "Pages".

activate

say the document before

name

tell the end

tell the end

All of this has to do is give the name of the opened document. It says: "cannot get document 1. Invalid index. "And, Yes, there is an open document.

This behavior deteriorated. He worked a few weeks ago and then become increasingly more broken. It's the same thing with the numbers.

That's happened? My Applescript is corrupt?

It works very well here:

         tell application 'Pages' to return before the document name

And so for this:

say application 'Pages '.

say front document

name

end say

end say

With the keys v 5.6.1. OS X 10.11.1 (El Cap).

Make sure you have checked it in system preferences:

SG

Tags: Mac OS & System Software

Similar Questions

  • This program can not find the Web page

    I have Windows XP.  Every time you start-up the computer and after the restart, the screen "this program can not find the Web page" appears.  I have to close it manually to display the desktop before entering for example or Google chrome.  How to get rid of the error screen?

    I have Windows XP.  Every time you start-up the computer and after the restart, the screen "this program can not find the Web page" appears.  I have to close it manually to display the desktop before entering for example or Google chrome.  How to get rid of the error screen?

    try to use "Autoruns for Windows" and check if there is a boot entry that is associated with your problem. If you do not disable an item at a time and restart the pc and isolate it.
    http://TechNet.Microsoft.com/en-us/sysinternals/bb963902

  • Can not find the server/problem loading page

    I've made a few changes to a CFC that caused it not to compile. When I tried to access my web application it gave me the error as planned CF, pointing to my invalid code. I commented on the service out and reloaded my app. When I tried to view it in the browser, I'm greeted by an error can not find the server. What disturbs me is that I am able to access other web applications without an error cannot find the server in the browser. Does anyone know why an application would cause an error of cannot find the server and not others? I hope this is clear :) Any help would be greatly appreciated.

    Apparently I WASN'T looking to another web application, but a prototype html that the browser displays because he had no tags CF. The problem is that somehow the CF Server service was not working. It works... problem solved.

  • Can not find the updated driver for Intel PRO Wireless LAN 2100 3B for R40

    I can't find the good updated software listed for my R40 on the Lenovo site. The Device Manager shows my card wireless as:
    Intel PRO Wireless LAN 2100 3B Mini PCI Adapter but I can not find the model listed in the update list.

    My R40 description is by Lenovo site is:
    Product: ThinkPad R40 2897 B4U
    Operating system: Windows XP

    Original description: P M 1.4 GHz, 256 MB RAM, 40 GB 4200 RPM drive HARD, XGA(1024x768) 15 TFT LCD, 32 MB ATI Radeon 7500, 24x10x24x/8 x CD-RW/DVD, Intel 802. 11B wireless (MPCI), Modem (CDC), 10/100 Ethernet (LOM), UltraNav, Secure Chip (TCPA), IEEE 1394, 8-cell Li-ion, WinXP Pro

    Lenovo driver update page, I have the following choices:

    Network: R40, R40e wireless
    (1) mini PCI driver of cisco Wireless LAN

    (2) high rate Wireless LAN Mini-PCI Adapter III
    Note: The models ThinkPad R40 2681, 2682, 2683

    (3) dual-Band 802.11ab and 802.11abg wireless LAN Mini PCI adapt

    (4) Intel PRO/Wireless LAN 2100 3B Mini PCI adapt
    Note: The models ThinkPad R40 2722, 2724 only, 2723

    My card is listed for models 2722 2723 and 2724 ONLY.

    Here is the direct link to the driver page http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-46024R40.

    Device Manager shows that I currently have the Intel of the installed driver version: 07/03/2003, version 1.1.5.0

    Can anyone help on what version of the software update I should use?

    Welcome to the forum!

    Here is your wireless driver:

    http://www-307.IBM.com/PC/support/site.WSS/document.do?sitestyle=Lenovo&lndocid=MIGR-59438

    After you download it, make sure you unpack it in the following directory: C > drivers > win > Wlanint

    I hope this helps.

  • InDesign CS5 and can not find the download of this version

    I need to re - install indesign CS5 and can not find the download of this version - I can find CS5.5 and my serial number is not valid for this version

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • Can not find the downloaded file

    I regularly download files, and they will 'always' in the same directory. Now, I downloaded fedora-live-workstation-i686-22-3.iso
    of https://getfedora.org/en/workstation/download/and (a) I didn't get the usual "save/open" Download dialog and (b) I can not find the downloaded file. The < downloads - tools > FF screen displays the file as downloaded, but not (AFAICT) where he was placed.

    Any clarification would be appreciated. Thank you.

    (OP) Well, I downloaded the same file again and this time everything went as it should. For example, some of my 'facts' above must be wrong, but I don't know who. I suspect some personal deficiencies.

  • HP Pavilion g6-1310ea: can not find the ethernet controller driver

    I reinstalled Windows on my HP Pavilion g6 - 1310ea and can not find the drivers for the Ethernet, PCI Device and SM Bus controller controller. There seems to be no more this kind of drivers on hp suupp.

    Hello:

    I can't even to the driver page.

    Here are the drivers you must however...

    Ethernet controller: download and install the 2nd driver on the list.

    http://www.Realtek.com.tw/downloads/downloadsView.aspx?langid=1 & PNid = 14 & PFid = 7 & Level = 5 & Conn = 4 & DownTypeID = 3 & getdown = false

    PCI device: Download, unzip and run the exe file to install from the first item on the list at the link below...

    http://www.Realtek.com.tw/downloads/downloadsView.aspx?langid=1 & PNid = 15 & PFid = 25 & Level = 4 & Conn = 3 & DownTypeID = 3 & getdown = false

    SMBus Controller: This is not on the driver page even if it worked...

    I zipped and attached to the driver that you are interested in below.

    Download and uncompress the file in its folder.  Don't do anything with the files in the folder.

    Go to Device Manager and click the controller smbus who need the pilot.

    Click the driver tab.  Click on set to update driver.

    Select her browse my computer for driver software option and navigate to the driver folder, that you unzipped.

    Make sure that the include subfolders is selected and the driver should install.

    Then restart the PC.

  • Can not find the driver for my Satellite M40X-161 WLAN

    Hello

    I have a problem, I have the new system installed on my laptop - windows xp and I can't find a CD with drivers. I tried to download the drivers from the internet, but can not find the drivers for my laptop. I am looking for the drivers for the wireless card and it is not on Toshiba s page.

    There are only drivers for windows vista - I tried, but it did not work. The other problem is that I don't know is my wireless card. At the back of my laptop it has the info that I have peripheral radio ar5bmb-43, but I can not find the drivers for this device.

    Can someone help me to find drivers?
    Thanks in advance

    Unfortunately I wasn't able to find out what WLAN card is inside, but it must be Atheros or Intel, so I recommend you try to install the two drivers for Windows XP Home edition.

    Two of them you can find on http://aps2.toshiba-tro.de/wlan/?page=downloads Portal Toshiba WLAN
    Try to install Windows XP Home version for Atheros 9.2.0.419.0 or Windows XP Home version 9.0.4.39 for Intel.

    Please post comments.

  • Pavilion p7-1254: can not find the drivers for my hp keyboard ku-1060

    Can not find the drivers for my keyboard, the printer or the infrared transmitter/receiver anywhere. I tried hp support and they want the money because my warranty ls model.

    If you use the keyboard that has been deilvered with the PC, there is no driver required. It's a keyboard usb standard. It there no you can replace it easily.

    Simply plug into a usb port before starting the desktop computer.

    Windows will recognize it and use built in drivers that are part of the operating system.

    For a printer, simply use the printer product number and the word support. Suport page should have the full features drivers that you need for most operating systems.

    Infrared transceiver.

    You need to be more specific on this one here.

  • None of my wps will focus on my emails. Says can not find the file

    Original title: spare part
    None of my wps will focus on my emails. Says can not find the file, what I'm doing. to send CV

    Open Windows Explorer and navigate to your file.  Open an e-mail message and drag the file to the body of the message to attach it.

  • I had a fast PC program that keeps coming up as an error and I can not find the program on my PC?

    There is a Speedy PC Pro porgram on my computer keeps coming back as an error and I can not find the program or software

    any where on my computer to uninstall or remove. I don't know where it comes from. Please notify.

    If the "program not found" error message is associated with the Windows startup, another solution is to use the System Configuration tool and remove applications from the startup list.

    Here are the steps on how to do this:

    1. Move the cursor to the Start menu and then click on "Run".
    2. In the Open box, type msconfig
    3. Heat the Enter key
    4. Click the Startup tab
    5. Remove/disable all uninstalled applications in the startup list
    6. Move the cursor to the Start menu and then click on 'stop'. After that click on 'restart'.
  • I can not find the internet Explorer on my computer.

    I can not find the internet Explorer on my computer. To use it I have to go to corel draw, then the help and it will open to explorer 8. If I try to fown it loads, it won't let me. I got a virus and it is gone, but I can't use yet internet explore the right way.

    Hi Janie,

    The executable file for IE is called iexplore.exe.  You can click Start and then type iexplore in the search field.

    Microsoft has a tool to resolve this that should return the IE icon on the desktop - http://support.microsoft.com/kb/945402. Under the fix for me article, there is a button, you must click called Microsoft Fix it.  Click run in the file download dialog box. Follow the steps in the Wizard icon on the desktop to display Internet Explorer to create an Internet Explorer desktop icon.

    Answer him back if you try this method and let us know if it is your problem.  It is a relatively new tool and it would be nice to receive feedback on how it works.  There are several other applets fix it available for further questions.  More information can be found here: http://support.microsoft.com/fixit#tab0.

    Barbara

  • I just bought Lightroom and I can not find the download button?

    I just bought Lightroom and I can not find the download button?

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a way to go to a page to download the Adobe programs if you do not have a disk or drive

    -Cloud desktop http://helpx.adobe.com/creative-cloud/help/creative-cloud-desktop.html

    -Cloud Getting Started https://helpx.adobe.com/creative-cloud.html

    -you will need to enter your original serial number during the installation for non-Cloud programs

    - or kglad links in response to #1 here can help https://forums.adobe.com/thread/2081216

    Also go to https://forums.adobe.com/community/creative_cloud/creative_cloud_faq

  • Can not find the option the Structure of the Insert panel (was: Dreamweaver CC 2015)

    I'm doing a web page in Dreamweaver CC 2015... In the Insert panel I can not find the option "Structure." Can you help me??

    Hello

    With release Dreamwever CC 2015 Insert Menu is restructured and all the options available in the option of the Structure lies in Insert > HTML

    You can also find them in to insert Panel by selecting HTML in the drop-down list.

    Concerning

    Vivek

  • Want to re - install elements 8 on the new computer, the serial number, but can not find the download button on the adobe Web site to do so.

    Want to re - install elements 8 on the new computer, the serial number, but can not find the download button on the adobe Web site to do so.

    Hello laetitiah

    Please visit: http://prodesigntools.com/direct-download-links-for-lightroom-3-and-photoshop-elements-8.h tml

    Follow the instructions on the page to begin your download... Use your serial key to activate it

    ~ Mandy

Maybe you are looking for