Can I script the robohelp compiler?

Hi!
I'd like to know if I can write a command line script to
automate CHM file compilation. I am a developer so I'm not afraid
of writing code. I just want to know if there's any way to connect
to the robohelp (CHM) compiler via a script (Javascript, VBScipt,
etc.) and compile my Robohelp help project automatically. Thanks!
Hughes

Yes. You can.
Because the .chm format is a Microsoft creation, the compiler
is essentially free. Probably the best place to look is msdn. They
should be able to give you the syntax.
Note that this does not work for the RoboHelp-proprietary
formats (WebHelp leaps to mind). I went all round Robin Hood's barn
trying to explain the twin concepts of "proprietary" and "seat
license" to one configuration team that absolutely insisted that
they be able to build WebHelp nightly from the files I stashed in
ClearCase. So stick with .chms if at all possible.
HTH,
Elisa

Similar Messages

  • Can I script the changing of creation date, using the file name?

    Normally people are doing this in reverse, but let me paint the picture.
    I pulled 204 video files from an old HDD based JVC camera.  JVC records in .MOD format which iPhoto won't import.  I imported them into iMovie just fine, and iMovie even set the file name to clip-2007-11-04 04;42;29.mov which is great, but it now has a new creation date of whatever date I imported it.  Which then causes problem when I want the videos stored in iPhoto and sorted appropriately by creation date.
    I've used the application "A Better Finder Attributes 5" to individually edit the creation and modify, but I'm sure I don't want to do this 203 more times, as you can't just type in the date and time, you have to type in each part of the date/time, or select it on a calendar.
    I've used the application "Name Changer" to batch convert the file names to the format YYYYMMDDhhmm which would be helpful if I were going to use the terminal command touch -t, but again I don't want to have to type it in 203 more times, plus drag and drop the file into finder to populate the location.
    Now, if I were more handy with automator, or maybe some (any) scripting language this would be easy peasy.  I'd batch rename all the files to the YYYYMMDDhhmm.mov and then have a script that just took the file name, passed that to touch -t along with the file location, and a few seconds later, they would all be done!
    Anybody have any suggestions to how I can do this, and tips to what commands to use or ANY advice?  I'm more than happy to RTFM, but I have no idea which manual to read!
    Thanks

    If your file names are precisely as you have written, this script will do what you want.
    Copy the script into an AppleScript Editor document, select one or more files in a Finder window, return to the AS Editor and press Run.  Note: you will need to provide your password when the script runs.
    Make sure you have a backup of any files you are working on (try using duplicates first, perhaps). The script has no error handling.
    tell application "Finder"
              set FileList to selection
              repeat with theFile in FileList
                        set fileName to name of theFile
                        set filePath to quoted form of (POSIX path of (theFile as alias))
                        set crYear to text 6 thru 9 of fileName
                        set crMonth to text 11 thru 12 of fileName
                        set crDay to text 14 thru 15 of fileName
                        set crHour to text 17 thru 18 of fileName
                        set crMins to text 20 thru 21 of fileName
                        set crDate to crYear & crMonth & crDay & crHour & crMins
                        set shellString to "touch -t " & crDate & " " & filePath
      do shell script shellString with administrator privileges
              end repeat
    end tell

  • Can I script the 'Make This My Card' option of AddressBook

    I would like to be able to select my card and then the 'Card-menu -> Make This My Card' menu-option from within a script, so that I can make sure 'My Card' is always properly defined.
    I have tried Automator and AppleScript, but so far I did not find a way to accomplish this.
    Anybody out ther that can help me?
    Kind regards,
    Adam.

    What problem are you having with the definition of your card?
    Anyway, play with this script and see if you can make it do what you want.
    AK
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Address Book"
    set stuff to the selection
    set my card to item 1 of stuff
    end tell</pre>

  • How can I use the "gcc compiler and emacs editor" in Solaris 8 for Intel?

    I installed Solaris 8 for Intel to my desktop computer.
    After the installation, I found I couldn't use the companion software (the software CD included in the Multilinugal Media Kit for Solaris 8) - especially the emacs editor and gcc compilers.
    I certainly installed the companion software to my computer. And I can identify that those softwares are
    really installed to my system. In order to check out whether I installed them or not, I went to the "System Administrator" and opened the "Solaris Product Registry", in which I identified that all the files in
    the companion software were succesfully installed in my computer.
    However, when I open terminal or console box and tries to use those
    software, the system responds that "there is no emacs or gcc."
    Why I cannot use those things?
    Did I install the companion software wrong?
    I really don't understand why I can't use them.
    For your reference, I saw the directories "/usr/bin" and "usr/ccs/bin"
    too.
    In /usr/bin I typed
    #as
    and no such command.
    In /usr/ccs/bin
    #as
    and also no such command
    was what I had as a response.
    If I installed the companion software CD correctly and if they are installed somewhere in my computer,
    where I can find them and how I can use those softwares?
    Lastly, whenever I try to connect to my ISP via telnet mode, I see this
    message.
    "Try to connect ...
    connected to ***.***.***.*** (IP address of my ISP)
    Closed by foreign hosts."
    Is there any one who knows why this happens?
    Thanks for reading my question.

    gcc and emacs install in /opt/sfw. You should change your path statement to include /opt/sfw/bin and should obtain the FAQ from sunfreeware.com. The FAQ answers all your questions.
    I have installed gcc and gtk and am using both at this time.
    [email protected]

  • Can we script the compressing of OST files on users computers

    After mailbox cleanups either manually by users or by using archiving software OST files remain large. Couple of questions. If the user does nothing, will Outlook 2010 automatically try to compress the OST file in the background? Read some things that seem
    to suggest that once the white space grows to 20% of the total size of the OST, Outlook will start a process that runs in the background to compress the OST.
    If this is true, can this value of 20% be adjusted. If it's not true, is there any way to programmatically compress the OST so the user does not have to do it manually, or delete the OST and let it rebuild?

    Hi,
    There's no such method to change the threshold of 20%, but we can configure Outlook to automatically compact the .pst or .ost every time we close Outlook.
    I don’t actually recommend this method, as it can lengthen the time it takes Outlook to shutdown and if Outlook is forced to close during the compaction process the data file could become corrupt. My suggestion is that if the .ost file is not so large,
    just leave it alone.
    If you are sure you want to do this, you can add PSTNullFreeOnClose to the registry.
    Important
    This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the
    registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry,
    http://windows.microsoft.com/en-US/windows7/Back-up-the-registry
    Press Win key + R and type "regedit" in the Run dialog, then press Enter to open the registry editor.
    Browse to the appropriate key for your version of Outlook, in your scenario it's Outlook 2010, the key is "HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\PST"
    If the PST subkey does not exist, create it.
    Right click on PST key and choose New, DWORD.
    Type (or paste) PSTNullFreeOnClose as the Name.
    Double click on it and enter 1 as the Value.
    DWORD: PSTNullFreeOnClose
    Value Data: 1 = compact on close, 0 = don’t compact
    Although the key name only contains "pst", it also works for .ost files.
    I hope the information can be helpful.
    Regards,
    Melon Chen
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • How can I script the "Add Service Reference" process?

    I want to write a script (cmd or powershell doesn't matter) that will take an input parameter of a path to a WSDL file and automatically add the web service to my project. Basically I want to duplicate the action of a) right click b) Add Service Reference
    c) GO. Is this possible?

    Hi MCM14,
    Thank you for posting in the MSDN forum.
    Actually you know that this forum is to discuss the VS IDE, for this issue, if you want to know that whether you could achieve it with Script, I think the Script forum would be better for you.
    The forum link:
    https://social.technet.microsoft.com/Forums/Windows/en-US/home?forum=winserverpowershell
    Best Regards,
    Jack
    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.

  • Can we change the test scripts in TCK (JavaCard tests for compatibility)

    Hi everyone,
    I would appreciate if anyone can tell me if we can change the test scripts when testing JavaCards using TCK. Lets say we want to introduce few more APDU's to the test script which already is present in a precompiled format. Can we somehow add to the script and then compile it again.
    Any help would be highly appreciated.
    Thanks,
    AQ

    Read the JC-TCK documentation:
    JC2 Some Conformance Tests may have properties that may be changed.Properties that
    can be changed are identified in the TCK configuration interview. Apart from
    changing such properties and other allowed modifications described in this User’s
    Guide (if any), no source or binary code for a Conformance Test may be altered in
    any way without prior written permission. Any such allowed alterations to the
    Conformance Tests would be posted to the Java Licensee Engineering web site and
    apply to all licensees.

  • Can't build the compiler from within Flash Builder 4

    Hey!
    I've decided to try and dabble some with modifying the compiler, mainly just for fun but if I can I hope to be able to contribute to the project somehow. In any case, I've gotten everything to build properly using the ant script, but I can't seem to make the java compiler bits to build correctly in Flash Builder. This baffles me because everything seems to be set correctly and I get no linked resource errors. FLEX_SDK is set and verfied, as is ANT17_JAR, ANT_HOME and JAVA_HOME. Again, the project builds just fine using the ant script. What am I doing wrong here?
    I get a ton (653 to be exact) of compiler errors. Here's a few just to get you an idea of what I'm talking about:
    app.beginLine cannot be resolved or is not a field InterfaceCompiler.java /flex-compiler/src/flex2/compiler/mxml line 665 Java Problem
    app.beginLine cannot be resolved or is not a field InterfaceCompiler.java /flex-compiler/src/flex2/compiler/mxml line 682 Java Problem
    app.beginLine cannot be resolved or is not a field InterfaceCompiler.java /flex-compiler/src/flex2/compiler/mxml line 686 Java Problem
    app.beginLine cannot be resolved or is not a field InterfaceCompiler.java /flex-compiler/src/flex2/compiler/mxml line 724 Java Problem
    app.beginLine cannot be resolved or is not a field InterfaceCompiler.java /flex-compiler/src/flex2/compiler/mxml line 730 Java Problem
    app.beginLine cannot be resolved or is not a field InterfaceCompiler.java /flex-compiler/src/flex2/compiler/mxml line 735 Java Problem
    app.beginLine cannot be resolved or is not a field InterfaceCompiler.java /flex-compiler/src/flex2/compiler/mxml line 738 Java Problem
    app.image cannot be resolved or is not a field InterfaceCompiler.java /flex-compiler/src/flex2/compiler/mxml line 686 Java Problem
    beginLine cannot be resolved Element.java /flex-compiler/src/flex2/compiler/mxml line 131 Java Problem
    beginLine cannot be resolved Element.java /flex-compiler/src/flex2/compiler/mxml line 142 Java Problem
    beginLine cannot be resolved Element.java /flex-compiler/src/flex2/compiler/mxml line 151 Java Problem
    beginLine cannot be resolved Element.java /flex-compiler/src/flex2/compiler/mxml line 162 Java Problem
    beginLine cannot be resolved Node.java /flex-compiler/src/flex2/compiler/mxml/dom line 55 Java Problem
    beginLine cannot be resolved or is not a field AbstractBuilder.java /flex-compiler/src/flex2/compiler/mxml/builder line 762 Java Problem
    beginLine cannot be resolved or is not a field AbstractBuilder.java /flex-compiler/src/flex2/compiler/mxml/builder line 836 Java Problem
    beginLine cannot be resolved or is not a field AbstractBuilder.java /flex-compiler/src/flex2/compiler/mxml/builder line 945 Java Problem
    beginLine cannot be resolved or is not a field AbstractBuilder.java /flex-compiler/src/flex2/compiler/mxml/builder line 953 Java Problem
    cdata.beginLine cannot be resolved or is not a field AbstractBuilder.java /flex-compiler/src/flex2/compiler/mxml/builder line 751 Java Problem
    cdata.beginLine cannot be resolved or is not a field AbstractBuilder.java /flex-compiler/src/flex2/compiler/mxml/builder line 793 Java Problem
    cdata.beginLine cannot be resolved or is not a field AbstractBuilder.java /flex-compiler/src/flex2/compiler/mxml/builder line 825 Java Problem
    cdata.beginLine cannot be resolved or is not a field AbstractBuilder.java /flex-compiler/src/flex2/compiler/mxml/builder line 871 Java Problem
    cdata.beginLine cannot be resolved or is not a field AnonymousObjectGraphBuilder.java /flex-compiler/src/flex2/compiler/mxml/builder line 59 Java Problem
    cdata.beginLine cannot be resolved or is not a field AnonymousObjectGraphBuilder.java /flex-compiler/src/flex2/compiler/mxml/builder line 85 Java Problem
    cdata.beginLine cannot be resolved or is not a field ArrayBuilder.java /flex-compiler/src/flex2/compiler/mxml/builder line 104 Java Problem
    [ remaining errors snipped ... ]

    It should be noted that I'm trying to build the 4.0.0.14159_RCK tag.

  • I get "an error has occurred in the script on this page" it comes up for no reason on Firefox and I can't remove the message, it then goes away on it's own after 3 minutes? how do I prevent this message coming up? I have Windows 7.

    I get "an error has occurred in the script on this page" it comes up for no reason on Firefox and I can't remove the message, it then goes away on it's own after 3 minutes? how do I prevent this message coming up? I have Windows 7.
    I can work the screen behind the message which stays in the centre of my screen.

    Windows version is...?
    What pages are giving you problems? [post links to same]
    Are you getting the script errors only when attempting to print or...?
    Has your printer's manufacturer confirmed that your currently installed printer software is IE11-compatible (yet)?
    ~Robear Dyer (PA Bear) MS MVP-Windows Client since 2002 Disclaimer: MS MVPs neither represent nor work for Microsoft

  • How can I replace the Python cgi script with CF

    I am testing the sample app and want to just use CF to track
    peer ids.
    Can you give me the api to the web service calls.
    I can then create the CFC to handle this.
    In order to use the sample application that you built, you
    need to setup your web server and host the provided Python script
    (reg.cgi) for exchanging peer IDs. Please note that setting up the
    web service is not needed for the hosted VideoPhone sample. In
    VideoPhoneLabs.mxml, please set WebServiceUrl accordingly. You may
    also use Google Apps to host this web service (minimal
    modifications required).
    The Python script should be placed in the cgi-bin location
    according to your web server installation. The database is an
    SQLite3 database. In reg.cgi, please edit the location of the
    database in variable dbFile.
    You also need to create a database scheme using the
    followings:
    CREATE TABLE registrations (
    m_username VARCHAR COLLATE NOCASE,
    m_identity VARCHAR,
    m_updatetime DATETIME,
    PRIMARY KEY (m_username)
    CREATE INDEX registrations_updatetime ON registrations
    (m_updatetime ASC);

    the sample web service we provided has the following API:
    to record peerID "1234" for username "foo", do
    http://your.domain/cgi-bin/reg.cgi?username=foo&identity=1234
    you should get back an XML document with result.update=true
    or false depending on whether the database was updated.
    to look up the peerID for username "foo", do
    http://your.domain/cgi-bin/reg.cgi?friends=foo
    you should get back an XML document like:
    <?xml version="1.0" encoding="utf-8"?>
    <result>
    <friend>
    <user>foo</user>
    <identity>1234</identity>
    </friend>
    </result>
    there will be no "identity" entry if the user is not found.
    the lookup is case-insensitive but case-preserving, so if you
    looked up "Foo", the user field would be "Foo" but there'd be an
    extra "registered" field with the username as it was registered.
    -mike

  • How can I make the execution of my script faster

    Hi everyone
    How can I make the execution of my script faster, because it takes a lot of time to execute? The following is my script:
    DECLARE
    CURSOR C1 IS
    SELECT A.ITEM_CODE,A.STORE_CODE,ST_UNIT,SA_UNIT,CART_QTY,QUANTITY_ON_HAND
    FROM PROJ.IM_LOCATION A
    WHERE A.ITEM_CODE BETWEEN :ITEM_FRM AND :ITEM_TO
    AND A.STORE_CODE = :FRM_STORE
    ORDER BY
    A.STORE_CODE ;
    CURSOR C2 IS
    SELECT A.ITEM_CODE,A.STORE_CODE,ST_UNIT,SA_UNIT,CART_QTY,QUANTITY_ON_HAND
    FROM PROJ.IM_LOCATION A
    WHERE A.ITEM_CODE BETWEEN :ITEM_FRM AND :ITEM_TO
    AND A.STORE_CODE = :FRM_STORE
    ORDER BY
    A.STORE_CODE ;
    big_syb_qty_issue number(12,3);
    small_syb_qty_issue number(12,3);
    big_issue number(12,3);
    small_issue number(12,3);
    item_syb_code varchar2(30);
    big_syb_qty_rec number(12,3);
    small_syb_qty_rec number(12,3);
    BI_SUPP_REC number(12,3);
    SM_SUPP_REC number(12,3);
    big_syb_qty_ADJ number(12,3);
    small_syb_qty_ADJ number(12,3);
    big_ADJ number(12,3);
    small_ADJ number(12,3);
    big_syb_qty_rec_iner number(12,3);
    small_syb_qty_rec_iner number(12,3);
    BI_INTER number(12,3);
    SM_INTER number(12,3);
    cl_big_qty number(12,3);
    cl_small_qty number(12,3);
    cl_big_qty1 number(12,3);
    cl_small_qty1 number(12,3);
    BIG_QTY_OPEN number(12,3);
    SMALL_QTY_OPEN number(12,3);
    BEGIN
         IF ((:FRM_STORE IS NULL) OR (:ITEM_FRM IS NULL) OR (:ITEM_TO IS NULL) OR (:DATE_FRM IS NULL)) THEN
              SHOW_MESSAGE('You Should Enter the Parameters Values Correctly Please try again !!!! ');
              RAISE FORM_TRIGGER_FAILURE;
              GO_FIELD('DATE_FRM');
         END IF;     
    DELETE FROM STOCK_AT_DATE_REP2;
    COMMIT;
    cl_big_qty := 0;
    cl_small_qty := 0;
    -- MESSAGE('Please Wait The System Calculating The Transactions !!!');
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'BUSY');
    FOR R IN C1
    LOOP
    cl_big_qty := R.CART_QTY ;
    cl_small_qty := R.QUANTITY_ON_HAND;
    -- Transerfer Data 1
    BEGIN
    SELECT B.ITEM_CODE,SUM(NVL(CART_QTY,0)) ,SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,big_syb_qty_issue,small_syb_qty_issue
    FROM IM_TRANS_ISSUE_HEADER A,IM_TRANS_ISSUE_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND B.DEL_STORE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE > :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('ISSUED BIG'||' '||big_syb_qty_issue);
    exception
    when no_data_found then big_syb_qty_issue := 0;
    small_syb_qty_issue := 0;
    when others then MESSAGE(10,sqlerrm);
    END ;
    -- Goods Received Data From Supplier 1
    BEGIN
    SELECT B.ITEM_CODE,SUM(B.CART_QTY),SUM(ITEM_QUANTITY)
    INTO item_syb_code,big_syb_qty_rec,small_syb_qty_rec
    FROM IM_GOODS_RECIEVE_HEADER A,IM_GOODS_RECIEVE_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND STORE_CODE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE > :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('RECEIVED FROM SUPPLIER BIG'||' '||big_syb_qty_rec);
    exception
    when no_data_found then big_syb_qty_rec := 0;
    small_syb_qty_rec := 0;
    when others then message(10,sqlerrm);
    END ;
    -- Adjustement Data 1
    BEGIN
    SELECT B.ITEM_CODE ,SUM(NVL(CART_QTY,0)) ADJUST_QTY,SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,big_syb_qty_ADJ,small_syb_qty_ADJ
    FROM IM_ADJUST_HEADER A,IM_ADJUST_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND B.STORE_CODE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND A.DOC_DATE > :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('Adjust BIG'||' '||big_syb_qty_ADJ);
    exception
    when no_data_found then big_syb_qty_ADJ := 0;
    small_syb_qty_ADJ := 0;
    when others then message(10,sqlerrm);
    END ;
    -- Goods Received Data From Stores 1
    BEGIN
    SELECT B.ITEM_CODE,SUM(B.CART_QTY),SUM(ITEM_QUANTITY)
    INTO item_syb_code,big_syb_qty_rec_iner,small_syb_qty_rec_iner
    FROM IM_TRANS_REC_HEADER A,IM_TRANS_REC_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND REC_STORE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE > :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- show_message('here');
    -- SHOW_MESSAGE('Received From Stores BIG'||' '||big_syb_qty_rec_iner);
    exception
    when no_data_found then
    big_syb_qty_rec_iner := 0;
    small_syb_qty_rec_iner := 0;
    when others then message(10,sqlerrm);
    END ;
    cl_big_qty := (NVL(cl_big_qty,0) + NVL(big_syb_qty_issue,0));
    cl_big_qty := (NVL(cl_big_qty,0) - NVL(big_syb_qty_rec,0));
    cl_big_qty := (NVL(cl_big_qty,0) - NVL(big_syb_qty_rec_iner,0));
    big_syb_qty_ADJ := -1 * NVL(big_syb_qty_ADJ,0);
    cl_big_qty := (NVL(cl_big_qty,0) + NVL(big_syb_qty_ADJ,0));
    -- srw.message(2000,'cl_small_qty'||cl_small_qty);
    cl_small_qty := (NVL(cl_small_qty,0) + NVL(small_syb_qty_issue,0));
    cl_small_qty := (NVL(cl_small_qty,0) - NVL(small_syb_qty_rec,0));
    cl_small_qty := (NVL(cl_small_qty,0) - NVL(small_syb_qty_rec_iner,0));
    small_syb_qty_ADJ := -1 * NVL(small_syb_qty_ADJ,0);
    cl_small_qty := (NVL(cl_small_qty,0) + NVL(small_syb_qty_ADJ,0));
    -- srw.message(2000,'cl_small_qty'||cl_small_qty); srw.message(2000,'cl_small_qty'||cl_small_qty);
    INSERT INTO STOCK_AT_DATE_REP2
    VALUES(R.STORE_CODE,R.ITEM_CODE,cl_big_qty,cl_small_qty,R.ST_UNIT,R.SA_UNIT,:DATE_FRM,
    :DATE_TO,0,0,0,0,0,0,0,0,cl_big_qty,cl_small_qty);
    cl_big_qty := 0;
    cl_small_qty := 0;
    END LOOP;
    COMMIT;
    FOR R IN C2
    LOOP
    -- Transerfer Data 2
    BEGIN
    SELECT B.ITEM_CODE,SUM(NVL(CART_QTY,0)) ,SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,big_issue,small_issue
    FROM IM_TRANS_ISSUE_HEADER A,IM_TRANS_ISSUE_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND B.DEL_STORE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE BETWEEN :DATE_FRM AND :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('ISSUED BIG'||' '||big_syb_qty_issue);
    exception
    when no_data_found then
    big_issue := 0;
    small_issue := 0;
    when others then MESSAGE(10,sqlerrm);
    END ;
    -- Goods Received Data From Supplier 2
    BEGIN
    SELECT B.ITEM_CODE,SUM(NVL(B.CART_QTY,0)),SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,BI_SUPP_REC,SM_SUPP_REC
    FROM IM_GOODS_RECIEVE_HEADER A,IM_GOODS_RECIEVE_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND STORE_CODE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE BETWEEN :DATE_FRM AND :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('1- SM_SUPP_REC '||' '||SM_SUPP_REC );
    -- SHOW_MESSAGE('RECEIVED FROM SUPPLIER BIG'||' '||big_syb_qty_rec);
    exception
    when no_data_found then
    BI_SUPP_REC := 0;
    SM_SUPP_REC := 0;
    when others then message(10,sqlerrm);
    END ;
    -- Adjustement Data 2
    BEGIN
    SELECT B.ITEM_CODE ,SUM(NVL(CART_QTY,0)) ADJUST_QTY,SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,big_ADJ,small_ADJ
    FROM IM_ADJUST_HEADER A,IM_ADJUST_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND B.STORE_CODE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND A.DOC_DATE BETWEEN :DATE_FRM AND :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- SHOW_MESSAGE('Adjust BIG'||' '||big_syb_qty_ADJ);
    exception
    when no_data_found then
    big_ADJ := 0;
    small_ADJ := 0;
    when others then message(10,sqlerrm);
    END ;
    -- Goods Received Data From Stores 2
    BEGIN
    SELECT B.ITEM_CODE,SUM(NVL(B.CART_QTY,0)),SUM(NVL(ITEM_QUANTITY,0))
    INTO item_syb_code,BI_INTER,SM_INTER
    FROM IM_TRANS_REC_HEADER A,IM_TRANS_REC_DETAILS B
    WHERE A.DOC_CODE = B.DOC_CODE
    AND REC_STORE = R.STORE_CODE
    AND ITEM_CODE = R.ITEM_CODE
    AND DOC_DATE BETWEEN :DATE_FRM AND :DATE_TO
    GROUP BY
    B.ITEM_CODE;
    -- show_message('here');
    -- SHOW_MESSAGE('Received From Stores BIG'||' '||big_syb_qty_rec_iner);
    exception
    when no_data_found then
    BI_INTER := 0;
    SM_INTER := 0;
    when others then message(10,sqlerrm);
    END ;
    BEGIN
         BIG_QTY_OPEN := 0;
    SMALL_QTY_OPEN := 0;
    BEGIN
    SELECT NVL(S_BIG_QTY_OPEN,0) ,NVL(S_SMALL_QTY_OPEN,0)
    INTO
    BIG_QTY_OPEN,SMALL_QTY_OPEN
    FROM STOCK_AT_DATE_REP2
    WHERE S_STORE_CODE = R.STORE_CODE
    AND S_ITEM_CODE = R.ITEM_CODE;
    END;
    BIG_QTY_OPEN := ((BIG_QTY_OPEN) + NVL(big_issue,0));
    BIG_QTY_OPEN := ((BIG_QTY_OPEN) - NVL(BI_SUPP_REC,0));
    big_adj := -1 * NVL(big_adj,0);
    BIG_QTY_OPEN := ((BIG_QTY_OPEN) + NVL(big_adj,0));
    BIG_QTY_OPEN := ((BIG_QTY_OPEN) - NVL(BI_INTER,0));
    SMALL_QTY_OPEN := ((SMALL_QTY_OPEN) + NVL(SMALL_issue,0));
    SMALL_QTY_OPEN := ((SMALL_QTY_OPEN) - NVL(SM_SUPP_REC ,0));
    SMALL_adj := -1 * NVL(SMALL_adj,0);
    SMALL_QTY_OPEN := ((SMALL_QTY_OPEN) + NVL(SMALL_adj,0));
    SMALL_QTY_OPEN := ((SMALL_QTY_OPEN) - NVL(SM_INTER,0));
    END;
    BEGIN
    UPDATE STOCK_AT_DATE_REP2
    SET BIG_SUP_REC = BI_SUPP_REC,
    SMALL_SUP_REC = SM_SUPP_REC,
    BIG_ISSUE_TRAN = big_issue,
    SMALL_ISSUE_TRAN = SMALL_issue,
    BIG_ADJUST = big_adj,
    SMALL_ADJUST = SMALL_adj,
    BIG_INTER_REC = BI_INTER,
    SMALL_INTER_REC = SM_INTER,
    S_BIG_QTY_OPEN = BIG_QTY_OPEN,
    S_SMALL_QTY_OPEN = SMALL_QTY_OPEN
    WHERE S_STORE_CODE = R.STORE_CODE
    AND S_ITEM_CODE = R.ITEM_CODE;
    exception
    when no_data_found then
    NULL;
    when others then
    message(10,sqlerrm);
    END;
    END LOOP;
    COMMIT;
    SET_APPLICATION_PROPERTY(CURSOR_STYLE,'default');
    SYNCHRONIZE;
    -- SHOW_MESSAGE('The Data Have Been Calculated !!!');
    END;
    declare
         pl_id ParamList;
    APPLICATION_ID VARCHAR2(20):='PRD';
              COMMAND_LINE VARCHAR2(100) :='STOCK_LEDGER';
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'DATE_FRM',TEXT_PARAMETER,:DATE_FRM);
    Add_Parameter(pl_id,'DATE_TO',TEXT_PARAMETER,:DATE_TO);
    Add_Parameter(pl_id,'ITEM_FRM',TEXT_PARAMETER,:ITEM_FRM);
    Add_Parameter(pl_id,'ITEM_TO',TEXT_PARAMETER,:ITEM_TO);
    Add_Parameter(pl_id,'FRM_STORE',TEXT_PARAMETER,:FRM_STORE);
    IF :REPORT_TYPE = 1 THEN
    Run_Product(REPORTS,'C:\INV\RDF\STOCK_LEDGER.rdf',SYNCHRONOUS,RUNTIME,
    FILESYSTEM, pl_id,NULL);
    ELSIF :REPORT_TYPE = 2 THEN
    Run_Product(REPORTS,'C:\INV\RDF\STOCK_LEDGER_2.rdf',SYNCHRONOUS,RUNTIME,
    FILESYSTEM, pl_id,NULL);
    END IF;
    END;
    Waiting for your valuable answer
    Best Regards
    Jamil Alshaibani

    Make a matte in Photoshop.
    From the Photoshop menu bar: File > New > Film & Video Presets. Choose one that suits your FCP project pixel dimensions. Make the background black. Place a white rectangle with rounded corners on top (the white will determine how much of your picture is visible). Flatten Image. Save as TIFF. Import into FCP.
    Move your video clips up to V2. Place the imported TIFF on V1. Highlight all clips on V2.
    Go to Modify > Composite Mode > Travel Matte Luma. Done.
    If you want soft edges, no need for a matte. Double click your clip to place it in the Viewer. Open up the Motion tab > Crop > Edge Feather. Nice and quick. Copy and Paste attributes for the other clips.

  • How do you get to the "Multiple Item Information" window so I can click "Part of a compilation:?

    How do you get to the "Multiple Item Information" window so I can click "Part of a compilation"?  When I transfer a CD to iTunes, and the CD has ten tracks, it loads as ten different albums.  Also, once this happens, do I have to delete the album and start over or is there a way to merge the albums in iTunes?  Using iTunes 10.04.08.

    And you've made me remember that using the compilation flag may only work in iTunes if you go into the Songs view, then use View > Column Browser > Show Column Browser and then View > Column Browser > Group Compilations to make sure this line is ticked.
    It is also best if View > Column Browser > Use Album Artists is also ticked.
    tt2

  • I get the error message "unresponsive script" when I try to open Firefox, and then I can only delete the message by going to Task Manager.

    After I downloaded the Firefox update, when I tried to open Firefox I got the error message: "Warning unresponsive script...etc". This happens every time and the choices in the message ("continue" etc) are unresponsive. Further I can't delete the error window without going to Task Manager to end the program. The problem also disabled Internet Explorer which will now simply not load. Google Chrome is working. I assume it relates to the update since the problems (for both Firefox and IE) occurred immediately after the download.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")

  • Is there and ipad app that allows you to record and edit audio, but can record in the background?  This would be to record voiceover auditions/podcasts while reading a script

    Hi wondering if anyone might be able to help me out.  I am an audio engineer and my wife is a voiceover artist.  We just got the ipad thinking she could record her voiceover auditions on the go, but we can't for the life of us figure out how to record audio while reading a script off of her email.
    Looking for an app that:
    Either can record audio while in the background (garageband cannot)
    OR Import text (copy paste I guess?) to read while recording
    The app needs to  be able to edit audio and export or email out an MP3 - by edit audio I mean trim, fades, and move around sections.
    Anyone have any thoughts on how to do this?  I have been looking around the web for answers for hours and can't find any.  Thanks in advance for your help.

    Hi-  I've done a lot of research in this area and actually am just finishing a book on this subject which will soon be in the iBookstore.
    The best app is TwistedWave.  It allows easy editing and recording, and also allows you record while you are in another app (such as a script your agent sent in your email)
    I recommend MiC by Apogee as your microphone, available at the Apple store.
    My book which goes in depth in how to get the best sound as well as how to edit is called:
    iVoiceover
    Super. Simple. Recording.
    I'll post here when it's live in the iBookstore!

  • Can I search the current set path in a script?

    I have on my machine a folder full of mathscript commands and functions.  This folder is beginning to get quite large and I'd like to be able to clean it up a bit by grouping the files into sub-folders.  For example, I'd like to create the following folders;
    C:\MatrixXTools
    C:\MatrixXTools\StringTools
    C:\MatrixXTools\VariableTools
    Of course, this would be fine if I was to set the path to every folder individually.  What I want to do though, is to set my path manually to C:\MatrixXTools and then put a command in there called 'import'.  The 'import' command would be responsible for searching the current path for a given folder and then adding it to the path when it finds it. So to import the StringTools, I would just call
    import "StringTools"
    All of my base scripts would go into C:/MatrixXTools and then if a script needed to use the StringTools, I could just call the import function.
    The problem I have is that I can't find a command that will return me the path into a string vector.  Is there some way of doing this?  'SHOW PATH' doesn't do what I want it to because it just shows the path and doesn't give me a way of programmatically viewing it.
    Is there a better method of getting everything into sub-folders all together?
    I realise that I could also do this using the startup script, however I have the tools in revision control (svn) so that other people can use them - I don't want to have to get everyone to change their startup script every time I make a new folder - I should be able to do this in the scripts.
    Note: we are still on v62.2 and we are looking into upgrade options.
    Solved!
    Go to Solution.

    You can get the show path output into a string using === operator.
       [showPathStr,] === show path;
    You can break up the showPathStr on the new line characters
    into a string vector using the split function.
    The split function was added in MATRIXx 7.1.9. The split function internally
    uses the index and stringex functions to create the split string vector.
       showPathVector = split(""n",showPathStr);
    If you try out the split function and look at the algorithm you will need to
    download and eval MATRIXx 7.1.9 or higher.
    Also, instead of changing startup.ms everytime you add a tools directory, why not
    have startup.ms execute another script (i.e. execute file = toolsetup.ms) and you
    would only update toolsetup.ms when adding a new tools directory.

Maybe you are looking for

  • Selection Screen for crystal report ?

    Hi to all, Is it possible to create selection screen using Crystal report designer alone ? I came to know that we can give selection parameteres using SELECT EXPERT option in desginer. Can we create selection screen for user input like we have in aba

  • Message Bridge - from Topic to Queue

    Hi all,           Can I set up a message bridge in Weblogic 8.1 sp3 to "redirect" message from a topic to a queue? i.e. The source is set to Topic while the target is to queue consumed by a MDB located in the same instance as the queue.           I t

  • How to make RAID5 in P35 platinum

    Goodmorning to all of you from Greece.We are currently have a problem trying to solve. We have to turn 3 HDD 320 GB into raid 5 function. we are making(formating) the 3 HDD into raid 5 from the mob into raid5 in one apartment. when WE are installing

  • 3 Tier Relational DB's and Dynamic Tables

    I have three tables which I shall, for ease, call A, B and C. B is relational to A C is relational to B A1 - B1 - C1 C2 B2 - C3 C4 A2 A3 - B3 - C5 B4 B5 - C6 C7 C8 I have no trouble creating recordset links for one or the other SELECT A.*, B.* FROM A

  • On executing cammand baseline_update.bat i am facing error

    C:\Endeca\Apps\MyAppTest\control>baseline_update.bat [11.05.13 14:28:14] INFO: Checking definition from AppConfig.xml against existing EAC provisioning. [11.05.13 14:28:15] INFO: Updating definitions for dgraphs in restart group 'A'. [11.05.13 14:28: