How to specify result folder

Hi,
Can we specify the result folder? I know we can set it through command line but is there any option to set it default or can we set it dynamically through script.
Thanks,
Edited by: 872455 on Jan 17, 2012 2:01 AM

Hi,
Check out the following thread - how to configure or specify the results folder
Cheers,
Jamie

Similar Messages

  • How to specify default folder for Open... command

    In apps (say Illustrator, for example) when I do an Open... command, I'm always dumped into the root folder of the hard drive. Is there a way to specify "last folder used" as the default?
    I seem to remember a way to set this as a default, but I could be wrong. Many thanks!

    not without manual refactoring, and changing the composite's component impls

  • How to change the name of the results folder?

    Hi,
    Result folders are stored with the name Session1, Session2 … and so on.
    If I want to give my own name (e.g.: SCM_09JAN13_RUN1, OM_09JAN13_RUN1) instead of default name (Session), how can I achieve this.
    Please let me know if there are any OATS API's to achieve this.
    In QTP/Winrunner, whenever we start executing the script it will prompt us to chose/enter the result folder name /path
    In OATS I didn't find this option. If we have this option in OATS it will be very helpful to identify the results folders quickly by the name.
    Thanks
    -POPS

    Hi All,
    Any update on it ?
    Thanks
    -POPS

  • Numbers to CSV export script: how to specify the encoding?

    Hi,
    I'm using the following script to export a Numbers document to CSV:
    # Command-line tool to convert an iWork '09 Numbers
    # document to CSV.
    # Parameters:
    # - input: Numbers input file
    # - output: CSV output file
    # Attik System, Philippe Lang
    # Creation date: 31 mai 2012
    # Modification date:
    on run argv
      # We retreive the path of the script
              set myPath to (path to me)
              tell application "Finder" to set myFolder to folder of myPath
      # We get the command line parameters
              set input_file to item 1 of argv
              set output_file to item 2 of argv
      # We retreive the extension of the file
              set theInfo to (info for (input_file))
              set extname to name extension of (theInfo)
      # Paths
              set input_file_path to (myFolder as text) & input_file
              set output_file_path to (myFolder as text) & output_file
              if extname is equal to "numbers" then
        tell application "Numbers"
          open input_file_path
          save document 1 as "LSDocumentTypeCSV" in output_file_path
          close every window saving no
        end tell
              end if
    end run
    It works fine, except that I don't know how to specify the encoding of the text in the CSV file (Latin1, MacRoman, Unicode). This option is available in the export dialog of Numbers. Any hint on how to do that is welcome. (GUI Scripting?)
    Where can I find documentation on the iWork "vocabulary" available? Is there a definitive documentation somewhere? I tried to record an manual export in the script editor, without success. Script is more or less empty.
    Thanks!
    Philippe Lang

    A further note from Yvan. He's made some revisions to the script sent earlier.
    --{code}
    --[SCRIPT export to CSV with selected encoding]
    I added some features.
    (1) Defining the encoding thru the preferences file apply only if
    the application is not in use because the file is read only once in a session.
    A test urge you to quit Numbers if it is running.
    (2) info for is deprecated so it may be removed by Apple tomorrow.
    I no longer use it.
    (3) just for the fun, I added a piece of code allowing you to select the encoding on the fly.
    Thanks to the property chooseEncodingInScript, at this time the script use Unicode (UTF-8)
    (4) I'm wondering which tool is used to launch this script,
    I don't know the way to pass arguments when I run one.
    Yvan KOENIG (VALLAURIS, France)
    2012/06/13
    property chooseEncodingInScript : false
    true = the script will ask you to select the encoding
    false = the script use the embedded encoding
    on run argv
      set input_file to (item 1 of argv) as text
      set output_file to (item 2 of argv) as text
      set myPath to (path to me) as text
              tell application "System Events"
      set theProcesses to name of every application process
      set myFolder to path of container of (disk item myPath)
      set input_file_path to myFolder & input_file
      set output_file_path to myFolder & output_file
      set extname to name extension of (disk item input_file)
      end tell
              if extname is "numbers" then
                        if "Numbers" is in theProcesses then error "Please, quit “Numbers” before running this script !"
      if chooseEncodingInScript then
                                  set theList to {"Mac OS Roman", "Unicode (UTF-8)", "Windows Latin 1"}
                                  set maybe to choose from list theList with prompt "Choose the default encoding applying to export as CSV"
      if maybe is false then
      error number -128
      else if item 1 of maybe is item 1 of theList then
                                            30 -- Mac OS Roman
      else if item 1 of maybe is item 2 of theList then
                                            4 -- Unicode (UTF-8)
      else
                                            12 -- Windows Latin 1
      end if
      else
                                  4 -- Unicode (UTF-8)
      end if
                        do shell script "defaults write com.apple.iWork.Numbers CSVExportEncoding  -int " & result
      tell application "Numbers"
      open input_file_path
                                  save document 1 as "LSDocumentTypeCSV" in output_file_path
      close every window saving no
      end tell
      end if
    end run
    --{code}
    Regards,
    Barry

  • How to specify -preview when launching via AppleScript

    I have an InDesign Server CS5.5.I have a shell script that waits for xml files to be placed into a certain directory on the server. When it sees a file in the folder it launches an applescript that controls InDesign Server. I need to know how to specify the -preview option for the InDesign Server binary so the files generated by the server will have previews when they are opened in InDesign client. The apple scripts look like this:
    tell application "InDesign Server"
         -- do some stuff
    end tell
    Where/how would I specify the -preview option. I see nothing referring to the -preview option in the Library for indesign.

    There's two ways to set it:
    1) in command line when you launch the executable, there's a preview option. I don't remember off hand the exact syntax.
    2) In the script itself (using Javascript syntax -- Applescript would be similar) app.serverSettings.imagePreview = true;
    Harbs

  • How to create universe folder in BO XI via SDK

    Hi all,
    I'm just starting to use the BOXI SDK. I've used the sample to create new folders, it worked perfectly.
    But now I would like to create new universe folders but I have no idea how to do it. Here is the sample to create a folder :
    int addFolder (int parentFolderID, String folderName, String folderDescription, IInfoStore infoStore)
        int objectID = 0;
        try
         * Since folders are implemented using a plugin,
         * you will need the PluginManager to retrieve the folder plugin.
        IPluginMgr pluginMgr = infoStore.getPluginMgr();
         * Retrieve the Folder plugin by passing the plugin ProgID
         * to the PluginInfo property of the PluginManager.
        //IPluginInfo folderPlugin = pluginMgr.getPluginInfo("CrystalEnterprise.Folder");
        IPluginInfo folderPlugin = pluginMgr.getPluginInfo("CrystalEnterprise.Folder");
        // Create a new, empty InfoObject collection.
        IInfoObjects newInfoObjects = infoStore.newInfoObjectCollection();
         * Give the Folder plugin object to the Add method.  This
         * creates a new InfoObject based on the plugin type.
         * In this case, since the plugin is the folder plugin,
         * the object created is a folder object.
        newInfoObjects.add(folderPlugin);
           IInfoObject infoObject = (IInfoObject) newInfoObjects.get(0);
        // Specify the folder's details._ENDLOC   _
        infoObject.setTitle (folderName);
        infoObject.setDescription (folderDescription);
        objectID = infoObject.getID();
         * The next line indicates where in the folder tree the
         * folder is to be created.  It does this by setting the
         * parent ID property or, in other words, by telling the folder
         * which folder is its parent. If the parent ID property is
         * zero, then the folder has no parent and is thus a top-level
         * folder.
        infoObject.properties().setProperty(CePropertyID.SI_PARENTID, parentFolderID);
         * Use the infoStore to commit the new collection with the new folder
         * to the CMS database.
        infoStore.commit (newInfoObjects);
         }catch (SDKException e) {
              throw new Error("Impossible d'ajouter le dossier. Exception survenue : "
                                      + e.getMessage());
         }catch (NullPointerException e) {
              throw new Error("Impossible d'ajouter le dossier. Exception survenue : "
                                      + e.getMessage());
        return objectID;
    Could someone give me some clues or code sample (preferably in Java or C#) in order to solve this problem?
    Thank you in advance for all information and help you could provide.
    Best regards,

    I wouldn't expect the code to be any different for universe folders, you just need to find the id for the top level folder for the universes.  It might be easiest to add a folder there manually and check its properties.

  • How to specify source directory in File sender adpate using (NFS)?

    Hello experts,
    I am doing File-PI-Proxy scenario.
    Input file is available on machine which is within the Network area and FTP is not available on that machine.
    For this reason I am using the NFS Transport Protocol.
    In ID File sender I have specified Source Directory:-
    IP Address\Directory
    I am geeting the Error in RWB as 'Configured source directory '
    IP Address\Directory' does not exist'.
    Please suggest how to specify the Source Directory path.
    Regards,
    Jagesh

    Hi,
    If you want to use NFS protocol, then the file needs to be within the a folder in the XI server and not outside it, In your case if you need to use the file in a different machine which is on a network then try to use the FTP protocol.
    Refer this blog:
    /people/shabarish.vijayakumar/blog/2006/08/01/along-came-a-file-adapter-mr-ftp-and-rest-of-the-gang which shows the details of how you can install a local FTP and use it
    Regards,
    Nithiyanandam
    Edited by: Nithiyanandam A.U. on Mar 18, 2009 10:43 AM

  • How to specify approver to a Document

    Hi All,
    Here is my requirement, while uploading a document via Oracle contributor Document check-in form in Webcenter Spaces, can I mention Approver or Reviewer for that document?
    I know that we can specify the approver/reviewer at folder level. I want to know how to do that for a document.
    Any help would be greatly appreciated.
    Thanks!

    Yes, it is possible. However, this is actually 3 questions in one - all of them are related to WebCenter Content and one slightly also to WebCenter Portal.
    1) How to specify a reviewer/approver for a workflow step?
    As written in the manual (http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CEGGCBCA , step 16.), there are three options:
    - select a specific user
    - select a specific user's group (called alias in WCC)
    - select a token
    The first two are static, but a token can be dynamic - you have an option to write your own code in idocscript (see examples at http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c05_workflows.htm#CIHDJAAE ) which may implement any logic you wish.
    2) How to allow a contributor to influence a workflow (e.g. select an approver, but also choose a workflow, etc.)?
    What a contributor does is a) entering metadata b) entering the content, so OOTB the information influencing a workflow must be either in metadata, or in content. Usually, it is in metadata - you can a variable or a set of variables which may be evaluated during workflows.
    A trick with folders is that you may pre-define the metadata for content checked-in the folder, but you still have to 'translate' the metadata settings into workflow logic by tokens.
    3) How to do that from WebCenter Portal? (Contributor)?
    Like WCC's GUI, Contributor can benefit from profiles - http://docs.oracle.com/cd/E23943_01/doc.1111/e10978/c04_metadata.htm#DAFIIEEI where you can define which metadata will be displayed/hidden/filled in, etc.

  • How to specify PACKAGE SIZE for to RFC_READ_TABLE from PyRFC?

    I'm trying to use PyRFC to extract large tables via RFC_READ_TABLE (due to an uncooperative/unsupportive basis team).
    I know that RFC_READ_TABLE supports calling it with PACKAGE SIZE since ERPConnect does it by default.
    In Python for Basis (Part 1), I learned how to specify an Open SQL where clause using the OPTIONS:
    result = connector.call('RFC_READ_TABLE',
                           QUERY_TABLE=tablename,
                           DELIMITER=delimiter,
                           OPTIONS = [{'TEXT':where_clause}])
    Is there a way, and how to specify PACKAGE SIZE in this case?
    Thanks

    Hi,
    the package size works, but you need to call the function module multiple times in a loop. Here's an excerpt of the attached script:
    recordcounter = 1          #needs to be >0 to get the while loop going
    iteration = 0              #the number of times the function module got called
    while recordcounter > 0:  #as long as the function module calll returns rows...
        tempresult = self.call('RFC_READ_TABLE',             
                                ROWSKIPS=iteration*fetchsize,  #defines the number of rows to skip
                                **parameters)
        iteration=iteration+1  #increase the iteration
        data = tempresult['DATA']    #assign the returned rows to a variable
        if len(data) > 0:      #have there been any rows?
            for row in data:      #Do something with them
        else:
            recordcounter=0    #set recordcounter to 0 to end the while loop.
    The script is far away from being perfect. It doesn't deal with RAW fields and the data types it returns are all strings. It does what I needed it to do but it may not be sufficient for what you may be trying to achieve.
    Best regards
    Lars

  • How to expand the folder via applescript?

    Dear apple experts,
    How to expand the folder via applescript?
    Manually we are using command + option + right arrow, but how we handle this in applescript?
    Thanks in advance,
    Velladurai.G

    Hello
    Finder's container's "expanded" and "completely expanded" properties have long been marked "NOT AVAILABLE YET" under OSX:
    Finder.sdef > Containers and Folders suite
    container n [inh. item] : An item that contains other items
        elements
            contains items, containers, folders, files, alias files, application files, document files, internet location files, clippings, packages.
        properties
            entire contents (specifier, r/o) : the entire contents of the container, including the contents of its children
            expandable (boolean, r/o) : (NOT AVAILABLE YET) Is the container capable of being expanded as an outline?
            expanded (boolean) : (NOT AVAILABLE YET) Is the container opened as an outline? (can only be set for containers viewed as lists)
            completely expanded (boolean) : (NOT AVAILABLE YET) Are the container and all of its children opened as outlines? (can only be set for containers viewed as lists)
            container window (specifier, r/o) : the container window for this folder
    A way to expand a given folder is to use keystroke command of System Events to invoke the keyboard shortcut in Finder. Something like the following script.
      kLeftArrowCharCode            = 28,
      kRightArrowCharCode           = 29,
      kUpArrowCharCode              = 30,
      kDownArrowCharCode            = 31,
    --set f to (path to downloads folder from user domain) -- target folder e.g.
    set f to (choose folder)
    tell application "Finder"
        reveal f
        tell Finder window 1
            set cv to current view
            if cv = column view then return -- do nothing
            if cv = icon view then set current view to list view
        end tell
        my _keystroke(it, character id 29, {option down, command down}, 0.2)
    end tell
    on _keystroke(_app, _key, _modifiers, _delay)
            reference _app : application reference
            string _key : character(s) to be keystroked [1]
            list _modifiers : list of modifier key to be pressed; enumerations are
                    command down
                    option down
                    shift down
                    control down
            number _delay : post-delay amount [sec]
            [1] Character must be present on the current keyboard layout. Otherwise, it is replaced by 'a'.
        tell _app to activate
        tell application "System Events"
            tell (process 1 whose bundle identifier = (_app's id))
                keystroke _key using _modifiers
            end tell
        end tell
        if _delay > 0 then delay _delay
    end _keystroke
    Regards,
    H

  • How to show photo folder in iTunes ?

    Hello everyone ..
    I want to know how i can see my photos from the iTunes on PC ?, i clicked on Photos but it showed me only some folder not all of them .. also i want to see my photos in iTunes so i can easily delete or edit any photo i want.

    Photos are not "in" your iTunes Library and are not viewed "in" iTunes.
    Photos taken on an iPod Touch/iPhone etc. are in the Camera Roll on the device. You can (and should) transfer them from the Camera Roll to your computer (using Windows Explorer, not iTunes) to which ever folder you want. Once that is done, you can view and edit them using programmes on your computer - again, not iTunes. You can also, if you so wish, put them back onto the iDevice as detailed in 2, below.
    Pictures (photos) already on your computer can be copied onto iDevices by using iTunes to specify which folder on the computer, iTunes should use to copy the pictures from. For example, if you have copied photos taken on your device onto your computer, as mentioned above, then when you have the device connected to iTunes, look on the Device/Photos pane and navigate to the folder with those photos in it. Every time the device is connected to your iTunes Library, part of the Sync procedure will update the device with any new pictures in the specified folder, and remove any pictures from the device that have been removed from the folder.
    If you wish, you can have sub-folders in the specified folder and these will appear on the device as folders.

  • How to specify a type of COM-object activation

    How to specify a type of COM-object activation: in-proc, local server etc - in C# client? I want to use a .NET analog of CLSCTX_INPROC_SERVER constant. Documentation for used COM component insist that all types of activation are possible.

    When you create an instance of a COM object using COM Interop, it is the equivalent of calling CoCreateInstance with CLSCTX_ALL.
    (See COM Interop Part 1: C# Client Tutorial.)
    If you don't like the automatic behavior, then Create the object manually (PInvoke CoCreateInstance) and just marshal the interface pointer to get a runtime callable wrapper by specifying
    MarshalAs(UnmanagedType.Interface) on the result.  (The DllImport signature provided at the pinvoke.net link above marshals it this way.)

  • How to specify which version of a function to use

    I tried to do what it said, but that resulted in error
    PowershellPS C:\WINDOWS\system32> Import-dscResource -ModuleName @{ModuleName="xPSDesiredStateConfiguration";ModuleVersion="3.4.0.0"}Import-dscResource : The term 'Import-dscResource' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.At line:1 char:1+ Import-dscResource -ModuleName @{ModuleName="xPSDesiredStateConfigura ...+ ~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Import-dscResource:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

A: How to specify which version of a function to use

(Btw: The Edge Web browser doesn't show the formatting toolbar in these text editors... I switched to IE to write this)I have this script and the problem is, there's two versions of xPSDesiredStateConfiguration in the wildTextconfiguration HTTPPullServer{ # Modules must exist on target pull server Import-DSCResource -ModuleName xPSDesiredStateConfiguration Node dc { WindowsFeature DSCServiceFeature { Ensure = "Present" Name = "DSC-Service" } WindowsFeature IISConsole { Ensure = "Present" Name = "Web-Mgmt-Console" } xDscWebService PSDSCPullServer { Ensure = "Present" EndpointName = "PSDSCPullServer" Port = 8080 PhysicalPath = "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer" CertificateThumbPrint = "AllowUnencryptedTraffic" ModulePath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules" ConfigurationPath = "$env:PROGRAMFILES\...

(Btw: The Edge Web browser doesn't show the formatting toolbar in these text editors... I switched to IE to write this)I have this script and the problem is, there's two versions of xPSDesiredStateConfiguration in the wildTextconfiguration HTTPPullServer{ # Modules must exist on target pull server Import-DSCResource -ModuleName xPSDesiredStateConfiguration Node dc { WindowsFeature DSCServiceFeature { Ensure = "Present" Name = "DSC-Service" } WindowsFeature IISConsole { Ensure = "Present" Name = "Web-Mgmt-Console" } xDscWebService PSDSCPullServer { Ensure = "Present" EndpointName = "PSDSCPullServer" Port = 8080 PhysicalPath = "$env:SystemDrive\inetpub\wwwroot\PSDSCPullServer" CertificateThumbPrint = "AllowUnencryptedTraffic" ModulePath = "$env:PROGRAMFILES\WindowsPowerShell\DscService\Modules" ConfigurationPath = "$env:PROGRAMFILES\...

  • Specify one folder down in .mxi

    How can you specify a folder one down within the File Source
    attribute of the .mxi file?
    <file source = "..\MyDirectory\license.txt" destination =
    "$website\my directory" shared = "false" />
    I tried ..\ and that did not work. I don't want to "hardcode
    the paths" if possible.

    To follow up on what Jared has posted, an example of what one of the GPP registry settings should look like:
    The Key Path is: SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\domain.com\website
    So that would add in 'website.domain.com' into a users trusted sites but they should still be able to add more sites to the list.
    To add more, just create more registry settings in GPP and change the website (and possibly domain) to reflect what you require.

  • KSLD how to specify kernel name when run ksld command on host

    I am trying to use KSLD v1.0 and I could not reproduce similar result shown on KSLD User Guide. I followed almost everything on KSLD User Guide except I don't know how to specify kernel name when running ksld command. Here is what I have tried.
    #ksld -t debug /ksld-space/slo8/proto/root_sparc/platform/sun4u/kernel/sparcv9/unix 99
    I can only get unix and krtld read in. (ksld_dbx)modules could not show any modules *.o
    When I use this
    #ksld -t debug /ksld-space/slo8/proto/root_sparc/platform/sun4u/kernel/sparcv9/genunix 99
    then I can only read on genunix.
    Example on KSLD User Guide use unix.281, what is unix.281 created or obtained from target.
    I noticed some SUN Tachnical Support Guru are online to answer questions, thank you for your quick reply.

    I am having the same problem, did you get a solution?
    Thanks,
    I am trying to use KSLD v1.0 and I could not reproduce
    similar result shown on KSLD User Guide. I followed
    almost everything on KSLD User Guide except I don't
    know how to specify kernel name when running ksld
    command. Here is what I have tried.
    #ksld -t debug
    /ksld-space/slo8/proto/root_sparc/platform/sun4u/kernel
    sparcv9/unix 99
    I can only get unix and krtld read in.
    (ksld_dbx)modules could not show any modules *.o
    When I use this
    #ksld -t debug
    /ksld-space/slo8/proto/root_sparc/platform/sun4u/kernel
    sparcv9/genunix 99
    then I can only read on genunix.
    Example on KSLD User Guide use unix.281, what is
    unix.281 created or obtained from target.
    I noticed some SUN Tachnical Support Guru are online
    to answer questions, thank you for your quick reply.

  • Maybe you are looking for

    • How to delete songs from iPod touch 5th generation

      How do I delete songs from an iPod Touch 5th genration. We tried many other forums with the swiping method, but when we tried it, a picture of a cloud with a red arrow appeared after tapping the delete button appeared and the song remained.

    • When I right click, I can't copy or spell check or open a tab in a new window.

      When I right click on a picture, it doesn't give me the option to copy or to view in another tab as a separate image from the web page it is on. I no longer have the option to spell check. When I highlight text to copy, it doesn't give me an option t

    • In STO process , PGI to be made mandatory

      I wish to make PGI mandatory for STO process..Steps are as follows: -Create PO.-.ME23n -Create Replenishment Delvery -VL10B -Do PGI -.VL02n>PGI -Create Proforma Invoice-VF01 -Create Excise -J1iin In order to achieve that , in VTFL copy control  for 

    • Iwork 09 removed from the iwork 09 folder inthe applications folder

      I installed iwork 09 from dvd and it placed a folder labled iwork 09 in the applications folder containing all 3 apps pages numbers keynote . Question theese 3 apps allway take the longest to open untill they are cached . I decided to remove them fro

    • Can't close documents in Preview or TextEdit

      I have a simple problem which I just cannot find any discussion of how to fix.  In both TextEdit and Preview (classic culprits on Lion), I have documents I can't close.  When I click the close button it waits for a few seconds then does nothing.  Sam