Default save path using AXAcroPDF

Hi,
I'm using the AxAcroPDF component in a windows forms Application.
I know that the default filename for the save dialog can be setup using AxAcroPDF.src("filename");
Is there an option to set the default path for the save dialog.
Is there a way to prevent the save dialog from appearing on screen and just save the file
to the default path and filename.
Thanks
Jake

Presdales School wrote:
Hello, I am looking for a way to change the default save path that Logic uses, since we use Logic for education, we have many users and they all tend not to save their work in the right place. So being able to change the default save path would make our lives a lot easier!
I appreciate any help you can give, even if the answer is that you can't change it.
Thanks!
Hi,
Each Logic session creates it's own save path. The best way is to allow for Logic to store all relative data for each session in it's own song folder.
Unfortunately, you have to tell your students where you want them to store their song folders. Logic simply obeys commands at that point, and cannot force a save into a pre-determined folder.
You also can lock certain areas of the computer, so the students cannot save in those folders.
Cheers

Similar Messages

  • Need help changing the default Save Path

    Hello,
    We are implementing SAP, and will be using Citrix as the source for the GUI.  One of our requirnments are, that we need to change the default "Save Path" that users save documents too.   By default, this is to the C drive, but, we need it set to a different drive (i.e. V: on the citrix server).
    We found this note on SDN (see below) - however, it does not explain how to change or add this registry value?  Is this done in the GUI options, or in regedit?  If in reg-edit, where abouts in the tree does it go?
    Thanks guys, and any help would be greatly appriciated.
    Richard
    (As of SAP GUI 7.20, patch level 4) the REG_EXPAND_SZ registry value InitSaveDir can be used to configure the default path and folder for users to save the reported information in case of an access denial due to security rules. If users change the default path and save the information to an individual location, this new path will be kept as long as the user does not terminate the program. When starting SAP GUI again, users will get the configured default path again to store the reported information, the individual path changes will be lost. If the registry value does not exist, the default directory is the document directory of the SAP GUI.
    By default none of the above registry values exists. In order to change the behavior of the security module, the registry values need to be created and set to the desired value. A not existing registry value means use the default.
    In this doc:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/002444be-7018-2d10-e18e-a8c537198ef6?quicklink=index&overridelayout=true

    Hi,
    "Security rules that are created for a large number of users can be centrally stored on a server by an administrator. The administrator can use the registry values below under the registry key
    [HKEY_LOCAL_MACHINE\Software\SAP\SAPGUI Front\SAP Frontend Server\Security]
    to configure the behavior of the security module.
    Note: For 64 bit operating systems please use the following registry key
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SAP\SAPGUI Front\SAP Frontend Server\Security]
    to configure the behavior of the security module."
    You can use regedit for installing this values.
    Best Regards,
    Aleh

  • SBS 2011 GPO for changing the default save path applying to Win7 but not working

    So this is a strange one. I've got an SBS 2011 server that's the only domain controller in the org. I've created a GPO to change the default save location for Excel 2013 and Word 2013 using the Office 2013 ADMX files which were installed to the PolicyDefinitions
    folder.
    The GPO (U-Office2013 Default Save Location) only contains:
    1. User Configuration - Microsoft Excel 2013/Excel Options/Save - Default file location - Enabled - Z:\
    2. User Configuration - Microsoft Word 2013/Word Options/Advanced/File Locations - Default file location - Enabled - Z:\
    The GPO is linked at the OU that contains my users for my SBS organization.
    When I do a gpupdate /force on a windows 7 system with office2013 installed, and then run a gpresult/rsop, the policy appears to be applied successfully as it lists my GPO under the Applied GPOs list on the workstation:
    Applied GPOs
    Default Domain Policy dyndns.local AD (24), Sysvol (24)
    U-Office2013 Default Save Location domain.local/SBSusers AD (6), Sysvol (6)
    In the gpresult report, the applied settings appear under:
    Administrative Templates
    Extra Registry Settings
    software\policies\microsoft\office\15.0\excel\options\defaultpath Z:\ U-Office2013 Default Save Location
    software\policies\microsoft\office\15.0\word\options\doc-path Z:\ U-Office2013 Default Save Location
    BUT, when I go to the workstation, and check office->options-Save-default file path, the path has not been changed to what the GPO is pushing.
    The strange thing is that in my test environment running 2008R2 server and Win7 with Office 2013 and identical settings the default save location is applied and works as expected.
    Any ideas?
    I've already tried re-installing the ADMX templates and re-created the GPO's several times.
    Thanks in advance.

    When a group policy is not applying, it is often that it has been linked to the wrong OU. Please first check this.
    You might also check the apply status on the client site based on the GPSVC.log.
    How to enable GPO logging:
    http://blogs.technet.com/b/csstwplatform/archive/2010/11/09/how-to-enable-gpo-logging-on-windows-7-2008-r2.aspx
    It looks more like an issue on server side than an issue of Office Group Policy settings. Try to post in Server forum and see if there is any luck:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/home?category=windowsserver

  • Why did the default save location use the users appdata location and not create an Adobe Premiere Folder in documents.

    I have a user that started working on a premiere pro project 2 weeks ago.  She then received an update from adobe which she ran and the next day the premiere pro project she was working on was gone.  After I looked at found that the save location was in the users AppData\Adobe\Premiere\6.0 folder (which was empty).  I would first like to know why by default did it store the saves in the AppData folder?  Why was the folder over written after the update?

    I have a user that started working on a premiere pro project 2 weeks ago.  She then received an update from adobe which she ran and the next day the premiere pro project she was working on was gone.  After I looked at found that the save location was in the users AppData\Adobe\Premiere\6.0 folder (which was empty).  I would first like to know why by default did it store the saves in the AppData folder?  Why was the folder over written after the update?

  • How to set save path using FileStream?

    Hi everybody, I have a webcam that takes a snapshot in AIR. I understand that the code below is to write/edit a .txt file.
    var file:File = File.desktopDirectory.resolvePath( "Text.txt" );
    so how do I save multiple snapshots .jpg to my local network/C drive?

    Hi guys, I have been doing some trial and error and found the correct code to save the bitmap into my C drive. Thanks for reading this thread.
    var fl:File = File.desktopDirectory.resolvePath("C://grpphoto.jpg");
    -Zainuu

  • SBS 2011 GPO for changing the default save location for Word/Excel 2013 not working

    So this is a strange one. I've got an SBS 2011 server that's the only domain controller in the org. I've created a GPO to change the default save location for Excel 2013 and Word 2013 using the Office 2013 ADMX files which were installed to the PolicyDefinitions
    folder.
    The GPO (U-Office2013 Default Save Location) only contains:
    1. User Configuration - Microsoft Excel 2013/Excel Options/Save - Default file location - Enabled - Z:\
    2. User Configuration - Microsoft Word 2013/Word Options/Advanced/File Locations - Default file location - Enabled - Z:\
    The GPO is linked at the OU that contains my users for my SBS organization.
    When I do a gpupdate /force on a windows 7 system with office2013 installed, and then run a gpresult/rsop, the policy appears to be applied successfully as it lists my GPO under the Applied GPOs list on the workstation:
    Applied GPOs
    Default Domain Policy dyndns.local AD (24), Sysvol (24)
    U-Office2013 Default Save Location domain.local/SBSusers AD (6), Sysvol (6)
    In the gpresult report, the applied settings appear under:
    Administrative Templates
    Extra Registry Settings
    software\policies\microsoft\office\15.0\excel\options\defaultpath Z:\ U-Office2013 Default Save Location
    software\policies\microsoft\office\15.0\word\options\doc-path Z:\ U-Office2013 Default Save Location
    BUT, when I go to the workstation, and check office->options-Save-default file path, the path has not been changed to what the GPO is pushing.
    The strange thing is that in my test environment running 2008R2 server and Win7 with Office 2013 and identical settings the default save location is applied and works as expected.
    Any ideas?
    I've already tried re-installing the ADMX templates and re-created the GPO's several times.
    I should also note that other GPO's on the SBS2011 server such as the folder redirection GPO work as expected on the same windows 7 system. It just appears to be an issue with the default save location in office2013 and other Office 2013 related GPOs which
    utilize the recently added ADMX template that don't seem to be working for me.
    Thanks in advance.

    Hi Justin,
    Thanks for your reply. I have tried several different user accounts (all have local admin privileges to the workstation) with the same issue. The default save path does not get applied from the GPO to any of the users i've tried. Here's the steps I took
    per your suggestion:
    1. log on as a user who has never logged onto the workstation before.
    2. run gpupdate /force (entered y for yes when prompted to log off).
    3. Log back in as the user and open Office and check the default save path. It has not been changed to match the GPO setting.
    4. Check rsop to see if the policy was applied. Rsop states the gpo was applied successfully.
    I have attached the gpsvc.log file from a the session described above. The GPO Guid in question is: {DC3C93EC-7C28-48E9-BA38-FCA1E275A207}. Its common name is: U-Word 2013 Default Save Location. It's only setting is:
    Policies\Administrative Templates\Policy definitions(admx files retrieved from central store\Microsoft Word 2013\Word Options\Advanced\File Locations\Default File Location = Enabled\Documents = F:\
    -------gpsvc.log sections containing the aforementioned GUID start---------
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  ==============================
    GPSVC(410.df0) 09:10:51:186 GetGPOInfo:  ********************************
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  Searching <cn={DC3C93EC-7C28-48E9-BA38-FCA1E275A207},cn=policies,cn=system,DC=gc,DC=local>
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  User has access to this GPO.
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  GPO passes the filter check.
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  Found functionality version of:  2
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  Found file system path of:  <\\gc.local\SysVol\gc.local\Policies\{DC3C93EC-7C28-48E9-BA38-FCA1E275A207}>
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  Found common name of:  <{DC3C93EC-7C28-48E9-BA38-FCA1E275A207}>
    GPSVC(410.1730) 09:10:51:186 ProcessGPO:  Found display name of:  <U-Word 2013 Default Save Location>
    GPSVC(410.1730) 09:10:51:191 ProcessGPO:  Found user version of:  GPC is 3, GPT is 3
    GPSVC(410.1730) 09:10:51:191 ProcessGPO:  Found flags of:  0
    GPSVC(410.1730) 09:10:51:191 ProcessGPO:  Found extensions:  [{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{D02B1F73-3407-48AE-BA88-E8213C6761F1}]
    GPSVC(410.1730) 09:10:51:191 ProcessGPO:  ==============================
    GPSVC(410.1730) 09:10:51:191 ProcessLocalGPO:  Local GPO's gpt.ini is not accessible, assuming default state.
    GPSVC(410.1730) 09:10:51:191 ProcessLocalGPO:  GPO Local Group Policy doesn't contain any data since the version number is 0.  It will be skipped.
    GPSVC(410.1730) 09:10:51:191 GetGPOInfo:  Leaving with 1
    GPSVC(410.1730) 09:10:51:191 GetGPOInfo:  ********************************
    -------gpsvc.log start---------
    -------output of gpresult /r-------
    Microsoft (R) Windows (R) Operating System Group Policy Result tool v2.0
    Copyright (C) Microsoft Corp. 1981-2001
    Created On 5/30/2014 at 9:24:08 AM
    RSOP data for GC\ssanders on OPTI9020-01 : Logging Mode
    OS Configuration:            Member Workstation
    OS Version:                  6.1.7601
    Site Name:                   Default-First-Site-Name
    Roaming Profile:             N/A
    Local Profile:               C:\Users\ssanders
    Connected over a slow link?: No
    COMPUTER SETTINGS
        CN=OPTI9020-01,OU=SBSComputers,OU=Computers,OU=MyBusiness,DC=gc,DC=local
        Last time Group Policy was applied: 5/30/2014 at 9:10:47 AM
        Group Policy was applied from:      GCSBS.gc.local
        Group Policy slow link threshold:   500 kbps
        Domain Name:                        GC
        Domain Type:                        Windows 2000
        Applied Group Policy Objects
            Windows SBS CSE Policy
            Windows SBS Client - Windows Vista Policy
            Windows SBS Client Policy
            Update Services Client Computers Policy
            C-Create Syntiro Root Folders
            Default Domain Policy
        The following GPOs were not applied because they were filtered out
            Local Group Policy
                Filtering:  Not Applied (Empty)
            Windows SBS Client - Windows XP Policy
                Filtering:  Denied (WMI Filter)
                WMI Filter: Windows SBS Client - Windows XP
        The computer is a part of the following security groups
            BUILTIN\Administrators
            Everyone
            BUILTIN\Users
            NT AUTHORITY\NETWORK
            NT AUTHORITY\Authenticated Users
            This Organization
            OPTI9020-01$
            Domain Computers
            System Mandatory Level
    USER SETTINGS
        CN=Stephen Sanders,OU=SBSUsers,OU=Users,OU=MyBusiness,DC=gc,DC=local
        Last time Group Policy was applied: 5/30/2014 at 9:13:17 AM
        Group Policy was applied from:      GCSBS.gc.local
        Group Policy slow link threshold:   500 kbps
        Domain Name:                        GC
        Domain Type:                        Windows 2000
        Applied Group Policy Objects
            Windows SBS User Policy
            Windows SBS CSE Policy
            Small Business Server Folder Redirection Policy
            U-Word 2013 Default Save Location
            U-Office 2013 Disable Backstage
            U-Office Disable Start Screen
            U-Office Trust Center Settings
            U-Word Autorecover Location
            U-Word Autosave Interval
            U-Word Disable Capitalization First Word
            U-Word Set Arial Default Font
            U-Word UI Customizations
            U-Power Plan Settings
            Default Domain Policy
        The following GPOs were not applied because they were filtered out
            Local Group Policy
                Filtering:  Not Applied (Empty)
        The user is a part of the following security groups
            Domain Users
            Everyone
            BUILTIN\Administrators
            BUILTIN\Users
            NT AUTHORITY\INTERACTIVE
            CONSOLE LOGON
            NT AUTHORITY\Authenticated Users
            This Organization
            LOCAL
            Windows SBS Link Users
            Windows SBS Fax Users
            Windows SBS SharePoint_MembersGroup
            Windows SBS Folder Redirection Accounts
            Windows SBS Remote Web Workplace Users
            High Mandatory Level
    -------end gpresult output-------       
    Thanks in advance for any help. I also have a pps ticket open with Microsoft, but they're dragging their feet.

  • How to prevent libraries from being default save location

    Scenario:
    Users start IE10 as a published Xenapp Application. From there, they should be able to save pages, etc, but only to a network drive. They have no access to the local computer.
    I've succeeded in removing network, Libraries and favorites from the download-dialog. I've also managed to point it to default save path to a network drive. However, the path field in the save-dialog still shows Libraries\Documents. Thus, they can click
    on Libraries, and browse, and access it that way. Which they will (trust me), just because they can.
    So, why does it insist on referring to Libraries when I've removed all references to them? Anyone have a fix for this?

    Hi,
    Have you ever redirected the Documents library to the network drive, or share this library to the network drive? If you have, then remove the document library, test this issue again.
    Yolanda Zhu
    TechNet Community Support

  • Changing Save Path for Visi Documents

    Hi,
    Does anyone know how / if the file path for saving visulation documents can be modified?  It does not seem to allow you to change the path when saving a document.
    Thanks,
    Mel

    Hi Mel,
    You could now do that, but with a small work around. I have created a document that explains exactly how you do that. SAP Lumira – Geek Tweaks: Changing default save path location of SAP Lumira.
    Regards
    Shankar

  • Set default directory/path for SaveAs Dialog using WPG_DOCLOAD

    Hi, im trying to set the default directory/path for the SaveAs Dialog called by wpg_docload.download_file.
    I'm not able to find where I can specify the default path.
    Is it something like "htp.p('Content-Disposition: attachment; path=:PX_OUTPUT_DIR" ?
    Thx for your help !
    Here's a part of my code
    owa_util.mime_header( NVL(mime,'application/octet'), FALSE );
    htp.p('Content-length: ' || length);
    htp.p('Content-Disposition: attachment; filename="'||substr(fileName,INSTR(fileName,'/')+1)|| '"');
    owa_util.http_header_close;
    wpg_docload.download_file( lobLoc );
    /*********************/

    I don't believe you're allowed to set the directory path in the Content-Disposition (or any other) header. More accurately, you can set path in the filename, but browsers don't pay any attention to that, they only look at only the terminal filename.
    <p>According to RFC 2183, browsers are supposed to ignore any path information sent with the filename. Even though it's dated 1997, I believe this RFC is still in effect.
    <p>This was done as a security precaution against malicious web apps that might try to download into a system directory or other dangerous place. Also, browsers (usually) allow users to specify their own default download directories. Further, even if you could specify the path, you'd have to do it for any and all filesystems (Linux, Mac HFS, Mac OSX, Windows, etc etc).

  • How to set default file path for save

    Hello all,
    I'm currently blocked on the below issue and is hoping to gain your help and insights.
    We have recently upgraded to InDesign CS6. Now when an INDD file created in an older version of INDD is opened in CS6, all the save dialogs would not default to the location of the original INDD file. Though if the same file is opened in the version of InDesign that created it, the save dialog goes to the proper location by default.
    Debugged using our custom plugin as a gate way, and found out that after InDesign CS6 performed the document upgrade/convert, the database for the converted document loses file information. i.e.  IDataBase::GetSysFile() returns nil. I think we can figure out some way to get the original file path. For example, we can intercept "kAfterOpenDocSignalResponderService", and get the original file path of the opened file from IDocumentSignalData. Though I haven't yet able to figure out a safe way to set this file path to the document, so that the save dialogs would by default point at this path.
    Utils<Facade::IWorkgroupFacade>()->InitDocumentAssetManagement(docRef, filePath) seems to do the right thing, but it seems to be quite intruding, and I'm afraid that it is overkilling and will cause bad side effect for the use case I'm looking for.
    So I'm wondering if anyone has any suggestions to achieve this without implementing/overriding the file save dialog.
    Thanks.
    -Jeff

    You should be able to avoid writing your own open-doc trap by using kDocBoss's IOpenedFileInfo to obtain the original file's path. It seems fairly reliable; the only time I've seen it come up empty is for an opened QuarkXPress document.
    I'm afraid I don't know of a sanctioned way to change IDataBase::GetSysFile() without going through the database's SaveAs machinery. Overriding this behavior might only be possible by replacing the regular Save dialog with your own.
    But if InitDocumentAssetManagement() is helping, maybe the workgroup/asset management approach is worth pursuing. Have you tried spying on that call in the debug app? You might be able to isolate and use one of the commands that it's invoking (IAMSPManager::BindAsset() / kSetAssetAttributesCmdBoss?) without all of the side-effects of the higher-level call.

  • Set Default "Save As" Path When Launching

    Hello,
    Is it possible to pass command-line arguments to Reader (and what are the options)? I cannot seem to find documentation on this.
    Specifically, I would like to open a document, in Reader, from an external process, with the 'Save As' option pointing to a folder different that the one the document resides in. The document resides in a temporary folder. If the user wishes to save it to disk using "Save As", it defaults to the external process' temp folder. Users tend to just want to save it there, and it gets cleaned up when by the external application. This makes my users grumpy.
    Thus, if I could launch the process with an argument that points the working directory to something other than the directory the document resides in, that would be cool.
    Thanks.

    How to set the default "Save As" path in Acrobat?
    You may try the forum for Adobe Acrobat.

  • Using OneDrive as default save location for project

    I installed VS on 2 different computers and want to develop from both of them at times. Either my desktop of laptop. Therefore I want to store the project files on the Onedrive folders that are mapped on my local machine.
    I have changed the default save location for Projects and also the other Registry Settings in HKCU... to onedrive/projects folder. But once I create the project from on PC and try to open it from another I am getting the following error.
    the file xxxx.csproj : error : The project file could not be loaded. The filed cannot be accessed by the system.

    Hello waddat,
    I haven't test this issue about onedrive mapped folder. But may I ask this question: Does the location exist in your PC or is it just a mapped virtual drive?
    In my point of view, when you tried to open a project from your folder, it is possible that the file is being used by onedrive synchronous process. Or Visual Studio cannot find the specific file because the file has not been uploaded/downloaded to the path
    you want to search?
    I don't recommend you set the default location to OneDrive folder, it is not reliable for you to do this because the synchronous process of OneDrive is not certain by us.
    If you want to store your projects online, the recommend way is to use Visual Studio Online
    http://www.visualstudio.com/en-us/products/what-is-visual-studio-online-vs.aspx
    If you want to store projects using OneDrive, please try create your projects on local drive and upload your file to OneDrive and then download it from some other sides to us. I think this is the best practise for you.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Changing Default Save Location in Pages?

    Recently moved my wife from Microsoft Word to Pages in Lion
    All her work docs have been in Word (saved to many different particular folders in Dropbox)
    Whenever she opens in pages and edits I would like it to save back to the same folder it was edited from (and ideally overwite the old Word document as a 'default save option' is that possible?
    At the moment the default save is to "Documents" and you have to navigate back to the old folder manually and save new pages document. Then you have to  back to finder and deleting the original Word document (otherwise duplicates with same name just without the .doc ending). It is a very awkward workflow which I know will drive her nuts and is open to easy errors of her filing
    Any help much appreciated
    Nic

    When you open a Word document with Pages, you are in the same condition than when you create a new document from a template.
    There is no path linked to the created document so, the save dialog will default to the late folder used to save.
    I assume that there is at least one third party tool allowing us to behave differently but I don't know which one.
    Here is a short script which may help.
    It doesn't treat several docs at a time.
    Just use it to open a Word document. The script will be aware of the original document so it will be able to save automatically a Pages version in the source folder.
    If a Pages document with the same stripped name than the Word doc already exists, the new Pages document will be date_time stamped :
    In such case, azerty.doc will be not be saved as azerty.pages but as azerty_20110819_165721.pages
    --{code}
    --[SCRIPT Doc2pages.app]
    Save the script as an Application Bundle.
    Run it or drag and drop a Word's doc icon on its icon.
    It export the doc file as Pages one in the source folder.
    Assuming that we start with:
              trucmuche.doc
    it will be exported as:
              trucmuche.pages
    If a file with the short name already exists
    it is saved as:
              trucmuche_20080128-221639.pages
              the serial number is a packed version of the date/time of the save process:
              2008/01/08-22:16:39 .
    Yvan KOENIG (VALLAURIS, France)
    2011/08/19
    property srcTypeId : "com.microsoft.word.doc"
    property deleteWarnings : true
    true = close possible warning displayed after Word import
    false = don't close possible warning displayed after Word import
    --=====
    on run (* lignes exécutées si on double clique sur l'icône du script application
    • lines executed if one double click the application script's icon *)
              set fichier to choose file of type {srcTypeId} (*
    dans un bloc System Events pour avoir un titre de dialogue "localisé"
    • in a System Events block to get a localized dialog title. *)
              my main(fichier as text)
    end run
    --=====
    on open (theSelection) (* sel contient une liste d'alias des éléments qu'on a déposés sur l'icône du script (la sélection)
    • sel contains a list of aliases of the items dropped on the script's icon (the selection) *)
              my main(item 1 of theSelection as text)
    end open
    --=====
    on main(un_document)
              tell application "System Events" to tell disk item un_document
                        if type identifier is not srcTypeId then
                                  if my parleAnglais() then
                                            error "“" & un_document & "” isn’t a Word document !"
                                  else
                                            error "“" & un_document & "” isn’t a Word document !"
                                  end if
                        end if
                        set dossier_source to path of container
                        set nom_doc to name
                        set name_extension to name extension
                        set mod_date to modification date
              end tell
              if name_extension is "" then
                        set nom_court to name_doc
              else
                        set nom_court to text 1 thru -(2 + (count of name_extension)) of nom_doc
              end if
              tell application "System Events"
                        if exists disk item (dossier_source & nom_court & ".pages") then
                                  set nom_pages to nom_court & (do shell script "date +_%Y%m%d_%H%M%S.pages")
                        else
                                  set nom_pages to nom_court & ".pages"
                        end if
      make new file at end of folder dossier_source with properties {name:nom_pages}
              end tell
              set new_pages to (dossier_source & nom_pages) as alias
              tell application "Pages"
                        if deleteWarnings then set warnings_avant to my get_warnings()
                        set nbDocs to count of documents
      open file un_document
                        repeat
                                  if (count of documents) > nbDocs then exit repeat
                                  delay 0.2
                        end repeat
      save document 1 in new_pages
              end tell
              if deleteWarnings then
                        set warnings_apres to my get_warnings()
                        if (count of warnings_apres) > (count of warnings_avant) then
                                  repeat with f in warnings_apres
                                            if f is not in warnings_avant then
                                                      my close_warnings(f)
                                                      exit repeat
                                            end if -- f is not
                                  end repeat
                        end if -- (count of warnings_apres
              end if -- deleteWarnings…
    end main
    --=====
    on get_warnings()
              tell application "Pages" to activate
              tell application "System Events" to tell application process "Pages"
                        return (get name of every window whose subrole is "AXSystemFloatingWindow")
              end tell
    end get_warnings
    --=====
    on close_warnings(w)
              tell application "Pages" to activate
              tell application "System Events" to tell application process "Pages"
                        tell window w to click first button
              end tell
    end close_warnings
    --===== 
    on parleAnglais()
              local z
              try
                        tell application "Pages" to set z to localized string "Cancel"
              on error
                        set z to "Cancel"
              end try
              return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    --{code}
    Yvan KOENIG (VALLAURIS, France) vendredi 19 août 2011 17:16:31
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • How can I change the default save folder in MP Navigator for saved scans?

    I am using MP Naqvigator with my Canon MP600 multifunction device and saving to an external drive is clunky because each time I save a document I have to browse to the device and the destination folder. I have tried to find a way of setting the default save folder from /users/myname/pictures/mpnavigator to volumes/drivename/foldername so that it speeds up the process. I've looked at all of the preferences files for the MP600 in the application and support libraries but can't see any reference to that default path. I'd be very grateful for any solutions from other Canon users.

    It should still work the same way. I changed mine in either Snow Leopard or Lion and it remains the way i Changed it in Mountain Lion.
    bob[07:25]~>defaults read com.apple.screencapture location
    /Users/bob/Documents/ScreenCaptures/
    to change it I had entered:
    defaults write com.apple.screencapture location /Users/bob/Documents/ScreenCaptures/

  • How do I set the default file path for the Place command?

    I keep my graphics files for each document in a particular folder. Every time I open an existing InDesign document and place a new image I have to browse back to that location - even though all of the previous images in that document came from the same folder. InDesign does not remember the file path that was used previously in the document. This is very annoying.
    IS THERE A WAY TO SET THE DEFAULT FILE PATH, OR LOCATION, FOR IMAGE FILES?
    I have looked through the preferences, searched the forums and internet, but I have not found any reference to setting default paths. Is there a setting like the one in MS Word called "File Locations" on the Options toolbox?
    Thank you.

    Since you're working in ID on Windows, you can take advantage of a neat trick in Windows. Copy the file path out of the File Explorer address bar and paste it directly into the Place filename field. That will jump you directly to the desired volume. For example, let's say I want to place a graphic located at X:\PS Jobs\May PS\709672bp\Working Source Files\Links. I copy that entire path from the File Explorer address bar, go to InDesign, select File|Place, and press Control + V to paste that path into the filename field. I press the Open button and Shazam! I'm there instantly, without a bunch of navigation.
    You can do the same thing in the File|Save As and File|Export fields. Let's say you want export a PDF file from InDesign to the volume X:\PS Jobs\May PS\709672bp\Working PDF Files. First copy the desired file path from the File Explorer window. In InDesign, select File|Export, click anywhere in the filename field, and press the Home key to move the insertion point to the front of the filename. Press Control + V to paste that path in front of the filename, then add the backslash character (\). The filename will now look like this: X:\PS Jobs\May PS\709672bp\Working PDF Files\Filename.pdf. Press the Save button to bring up the Export Adobe PDF window. Select your desired PDF preset, press the Export button, and the PDF file will magically appear in the desired volume.
    This sounds really complicated, but it's not. In practice, it only takes a few seconds. I probably save an hour's worth of needless navigation every day with this technique.

Maybe you are looking for