Seeking Archiving Script Help

I have heard several requests now for the exact same issue I have been looking to have resolved and did a little poking around but really need help beyond this point.
First my iBook only has a 20Gig drive and so I need to be considerate of how I use it. Storing 10Gigs of photos is not an option. More than that I don't WANT 10Gigs of photos loaded all at once. My uses make an external DVD burner more effective (and scalable) than an external HD. What I want is the ability to store all my iPhoto data with thumbnails of every image I own but archive any full size versions I choose to DVD and remove it from the HD. This would give the desired space savings and organizational capabilities I am looking for.
I had already backed up my entire Library as it was created to CD but found that considerably less orderly than I had imagined. Now I have several discs that can only fit so much info on the label and it can be very difficult to find the disc with the image I am looking for. Besides that I have multiple copies of some images burned onto multiple discs as I accidentally reburned an Album of pictures I use most often. A good thing for backup but really crappy for version tracking and organization.
If I could get iPhoto to keep a note of which disc the image is backed up to, problem solved.
So I start tinkering a bit and found some scripts online (through Apple?). One of which was "Show Image File". Above all I have found this particularly useful. I used it to find specific images which I then tested some questions. Mainly what would happen if I duplicated the Thumbnail and replaced the main image. It was difficult to tell as it looked exactly the same. So I tried a different image which ends up being a smaller file size anyway. Turns out iPhoto will display the new image as long as it is in the same place with the same name, and is the same file type. I then add a note in the comments field for the disc the image is stored on and TADA I get smaller files, data functionality, disc note, and the original thumbnails at small image sorting (the new image only displays at large viewing).
BUT that takes a bit of manipulation. I suspect it could be Scripted and automated but I don't know scripting well enough to try it. Is there someone out there willing to fiddle with this hack and scripting it? Pretty Please?!!
I have screen shots of the results but don't know how to put them up here. If you would like to see them send me an email. There are two jpg's about 50k.
Thanks
Mehkael

HI, Mehkael. If I understand you correctly, you would like to "repurpose" your iPhoto Library folder. Instead of being the place where your primary image files are stored, organized, and worked on and with, you would like to make the library an index to the storage locations of your primary image files outside of the library.
As Brie Fly and Peter have suggested, this would be using iPhoto to perform a function for which it was not designed while ignoring all the uses (image editing, album and book creation, preparing images for emailing or the web, printing, ordering prints, etc.) for which it was designed. With extensive original scripting, it might be possible to accomplish what you want, but you would be working in diametric opposition to the design intent of iPhoto all the way. iPhoto is built to maintain a unified photo library in one place, and to provide direct access to all the original or edited images in the library for a variety of uses from within the iPhoto application. Keeping only reduced-resolution copies of your images in your iPhoto Library folder (to save disk space) would prevent you from making any other use of the program than the one you contemplate. Meanwhile, there is a whole category of applications — "digital asset management" software — specifically designed to keep track of a dispersed photo library of original, full-sized image files spread over many different storage volumes on various media types. The best of these applications (Extensis Portfolio and Canto Cumulus among them; I have an old version of Portfolio) are designed for professional users and more expensive than iPhoto; that may be an important consideration for you.
I suspect there are also less sophisticated and less expensive apps that might meet your need. One little app that I own, but haven't used extensively enough to know how well it might serve you, is ViewIt. And though I'm not familiar with iPhoto 6, I understand that it permits the user to store photos in multiple locations but have them within a single library. Perhaps that would be useful in your situation, it if doesn't limit you to seeing thumbnails only of images that are stored on currently accessible volumes/discs.
For iPhoto users who haven't upgraded to v. 6, creating and maintaining multiple iPhoto Library folders on different media is a commonplace and useful sorting-and-storage technique — though of course it doesn't allow you to view the contents of any library that isn't on a currently accessible volume/disc.

Similar Messages

  • Unix shell Script Help

    Hi,
    I am not to familiar with shell scripting. And i need a shell script that would look for a certain filename (eg: ASN*.txt) in a directory(Eg:data) and if it does find that, it calls a concurrent program(Eg: abc.xyz) and once this is called and procedure excutes successfully, I take the file and move it to another directory(Eg:archive)
    Any help would be aprreciated.
    Thanks,
    Ja

    You bet.
    http://steve-parker.org/sh/sh.shtml
    http://heather.cs.ucdavis.edu/~matloff/UnixAndC/Unix/CShellII.html
    and about 300,000 more hits on Google

  • Data Archive Script is taking too long to delete a large table

    Hi All,
    We have data archive scripts, these scripts move data for a date range to a different table. so the script has two parts first copy data from original table to archive table; and second delete copied rows from the original table. The first part is executing very fast but the deletion is taking too long i.e. around 2-3 hours. The customer analysed the delete query and are saying the script is not using index and is going into full table scan. but the predicate itself is the primary key, Please help... More info below
    CREATE TABLE "APP"."MON_TXNS"
       (    "ID_TXN" NUMBER(12,0) NOT NULL ENABLE,
        "BOL_IS_CANCELLED" VARCHAR2(1 BYTE) DEFAULT 'N' NOT NULL ENABLE,
        "ID_PAYER" NUMBER(12,0),
        "ID_PAYER_PI" NUMBER(12,0),
        "ID_PAYEE" NUMBER(12,0),
        "ID_PAYEE_PI" NUMBER(12,0),
        "ID_CURRENCY" CHAR(3 BYTE) NOT NULL ENABLE,
        "STR_TEXT" VARCHAR2(60 CHAR),
        "DAT_MERCHANT_TIMESTAMP" DATE,
        "STR_MERCHANT_ORDER_ID" VARCHAR2(30 BYTE),
        "DAT_EXPIRATION" DATE,
        "DAT_CREATION" DATE,
        "STR_USER_CREATION" VARCHAR2(30 CHAR),
        "DAT_LAST_UPDATE" DATE,
        "STR_USER_LAST_UPDATE" VARCHAR2(30 CHAR),
        "STR_OTP" CHAR(6 BYTE),
        "ID_AUTH_METHOD_PAYER" NUMBER(1,0),
        "AMNT_AMOUNT" NUMBER(23,0) DEFAULT 0,
        "BOL_IS_AUTOCAPTURE" VARCHAR2(1 BYTE) DEFAULT 'N' NOT NULL ENABLE,
        "ID_USE_CASE" NUMBER(4,0) NOT NULL ENABLE,
        "ID_AUTH_METHOD_PAYEE" NUMBER(2,0),
         CONSTRAINT "CKC_BOL_IS_CANCELLED_MON_TXNS" CHECK (BOL_IS_CANCELLED in ('Y','N')) ENABLE,
         CONSTRAINT "PK_MON_TXNS" PRIMARY KEY ("ID_TXN")
      USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "LARGE_INDEX"  ENABLE,
         CONSTRAINT "FK_MON_TXNS_CURRENCIES" FOREIGN KEY ("ID_CURRENCY")
          REFERENCES "APP"."CURRENCIES" ("ID_CURRENCY") ENABLE,
         CONSTRAINT "FK_MON_TXNS_TO_PAYER" FOREIGN KEY ("ID_PAYER")
          REFERENCES "APP"."CUSTOMERS" ("ID_CUSTOMER") ENABLE,
         CONSTRAINT "FK_MON_TXNS_TO_PAYEE" FOREIGN KEY ("ID_PAYEE")
          REFERENCES "APP"."CUSTOMERS" ("ID_CUSTOMER") ENABLE,
         CONSTRAINT "FK_MON_TXNS_REFERENCE_TXNS" FOREIGN KEY ("ID_TXN")
          REFERENCES "APP"."TXNS" ("ID_TXN") ENABLE,
         CONSTRAINT "FK_MON_TXNS_TO_PI_PAYER" FOREIGN KEY ("ID_PAYER_PI")
          REFERENCES "APP"."PIS" ("ID_PI") ENABLE,
         CONSTRAINT "FK_MON_TXNS_TO_PI_PAYEE" FOREIGN KEY ("ID_PAYEE_PI")
          REFERENCES "APP"."PIS" ("ID_PI") ENABLE,
         CONSTRAINT "FK_MON_TXNS_TO_AUTHMETHOD" FOREIGN KEY ("ID_AUTH_METHOD_PAYER")
          REFERENCES "APP"."AUTHENTICATION_METHODS" ("ID_AUTHENTICATION_METHOD") ENABLE,
         CONSTRAINT "FK_MON_TXNS_USE_CASE_ID" FOREIGN KEY ("ID_USE_CASE")
          REFERENCES "APP"."USE_CASES" ("ID_USE_CASE") ENABLE,
         CONSTRAINT "FK_MON_TXN_AUTH_PAYEE" FOREIGN KEY ("ID_AUTH_METHOD_PAYEE")
          REFERENCES "APP"."AUTHENTICATION_METHODS" ("ID_AUTHENTICATION_METHOD") ENABLE
      CREATE INDEX "APP"."IDX_MON_TXNS" ON "APP"."MON_TXNS" ("ID_PAYER")
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "LARGE_INDEX" ;
      CREATE INDEX "APP"."IDX_PAYEE_MON_TXNS" ON "APP"."MON_TXNS" ("ID_PAYEE")
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "LARGE_DATA" ;
      CREATE INDEX "APP"."IDX_PYE_PI_MON_TXNS" ON "APP"."MON_TXNS" ("ID_PAYEE_PI")
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "LARGE_DATA" ;
      CREATE INDEX "APP"."IDX_PYR_PI_MON_TXNS" ON "APP"."MON_TXNS" ("ID_PAYER_PI")
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "LARGE_DATA" ;
      CREATE INDEX "APP"."IDX_USE_CASE_MON_TXNS" ON "APP"."MON_TXNS" ("ID_USE_CASE")
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "LARGE_DATA" ;
      CREATE UNIQUE INDEX "APP"."PK_MON_TXNS" ON "APP"."MON_TXNS" ("ID_TXN")
      PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
      TABLESPACE "LARGE_INDEX" ;
    Data is first moved to table in schema3.OTW. and then we are deleting all the rows in otw from original table. below is the explain plan for delete
    SQL> explain plan for
      2  delete from schema1.mon_txns where id_txn in (select id_txn from schema3.OTW);
    Explained.
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 2798378986
    | Id  | Operation              | Name       | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | DELETE STATEMENT       |            |  2520 |   233K|    87   (2)| 00:00:02 |
    |   1 |  DELETE                | MON_TXNS   |       |       |            |          |
    |*  2 |   HASH JOIN RIGHT SEMI |            |  2520 |   233K|    87   (2)| 00:00:02 |
    |   3 |    INDEX FAST FULL SCAN| OTW_ID_TXN |  2520 | 15120 |     3   (0)| 00:00:01 |
    |   4 |    TABLE ACCESS FULL   | MON_TXNS   | 14260 |  1239K|    83   (0)| 00:00:02 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
    Please help,
    thanks,
    Banka Ravi

    'Best practice' is just what Oracle is already doing as you have already been told: DELETE FROM myTable WHERE myDate between myStart and Myend.
    Your use case is why many orgs elect to use partitioning and use that DATE column as the partition key. Then it is VERY FAST and VERY EASY to truncate or drop partitions that contain old data when you no longer need them.
    The other solution used is to quit waiting so long to delete data and then you don't have to delete large amounts at the same time. So instead of deleting data once a month delete it once a week or even every night. Then the number of rows being deleted will be much smaller and, if the stats are kept current, Oracle may decide to use the index.

  • Gallery script help, please

    Gallery script help, please
    Hello,
    I'm new to actionscript in general, I do know a little...
    I foung a gallery script, modified many things, the images
    open fine, everything is working, but here's the thing:
    the gallery is in 3 sections, red, blue and yellow.
    I would like to know how, what, and where to put a script so
    that if a "the small red image #1" is clicked, I can load any sort
    of a movie on top of the "the BIG red image #1" or #2 or 3 and so
    on...same goes for the blue and yellow...
    If I figured things correctly on my own...the small thumbnail
    images of the gallery are not buttons, that's why I can't attach a
    movie (let's say) to them...but it is all written in script, using
    the horizontal and vertical position of the mouse to open the large
    images of the gallery...
    So, I don't know how to figure things out, to attach a
    specific movie to a specific thumbnail...
    p.s.: I think the script that controls the gallery is in
    symbol 120
    I really would appreciate the help
    Merry Christmas in advance to everyone
    Sandra
    here are all the files...
    http://www.gentro.ca/sandra_test.zip

    There's a great tutorial on kirupa...
    click
    here for link

  • Firefox not responding, freezes, sometimes responds after a few minutes, other times a pop-up appears asking if I want to stop script - help please

    firefox not responding, freezes, sometimes responds after a few minutes, other times a pop-up appears asking if I want to stop script - help please

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

  • Seek ask for help: Global procurement case studies

    Hi everybody,
    I am Seeking ask for any global procurement case studies, telecomn industry case studies is more better:
    --- Client biz model is : Oversea subsidiary is responsibility for selling equipment, so need to buy equipment from HK subsidiary, HK subsidiary buy it from china HQ, and china HQ manufacturing & drop shipping equipment to Oversea subsidiary
    --- provide solution:
    1. oversea sub create so
    2. oversea sub create PR
    3. HK sub create po ---global po with receipt org is oversea sub
    4. china HQ create so & shipping
    --- Customer hope to provide Case studies like this biz model
    seek ask for help to provide case studies like this,
    any globle PO case is ok
    thanks very much!
    Ryan

    Urgent! urgent! urgent!
    Who can help me, thanks a lot in advance!

  • UCCX Scripting help

    I've got very little experience with scripting in the UCCX 9.1.2 and have a customer I've recently upgraded that would like to add a variable to an existing script. 
    They need to add the ability to steer the caller to an inclement weather message should the need arise.  I know I could do this by creating an if then statement in the work hours section that basically says if the number of logged in agents during normal work hours equals 0 send it to a trigger that is tied to a mailbox that has a message saying no one is available.  I could then use the alternate greeting to advise of inclement weather and let the end user manage that greeting.
    My issue is that I dont know scripting well enough to input the correct syntax in the if then expression. 
    Is there anyone that could help me with this?  The script is attached. 
    If there is an easier way that I'm unaware of to accomplish this, I'm open to any suggestions. 
    Thanks in advance for any help and for taking the time to look at this!!            

    Hi there,
    You should move this post over to the Contact Center sub forum
    https://supportforums.cisco.com/community/netpro/collaboration-voice-video/contact-center?view=discussions&start=0
    Lots of excellent people over there who can help
    Cheers!
    Rob
    "Seek it out and ye shall find  " 
    - OneRepublic

  • HandbreakCLI drop folder script HELP!

    Im trying to get this script to work that passes a file through a drop folder, processes it with HandbreakCLI, then outputs the encoded file to a folded named "iflicks encode" in my "Movies" folder.
    My problem is that I can't figure out how to modify the script to direct the file into the "iflicks encode" folder. Im sure this is a easy fix for some of the more knowledgeable users out there, help would be greatly appreciated.
    on adding folder items to thisFolder after receiving theitems
    with timeout of 10000000 seconds
    try
    --repeat the command to compress each item as an individual archive
    repeat with oneItem in theitems
    tell application "Finder"
    --used to extract the name and location of the file
    set itemProp to properties of oneItem
    --where the file is
    set sourceFile to quoted form of POSIX path of oneItem
    --where the compressed file should end up
    set destFold to "HD(Mini):Users:jaredcraig:Movies:test:"
    --what the name of the file is
    --set extension hidden of oneItem to true
    if extension hidden of oneItem then
    set itemName to displayed name of oneItem
    else
    set extension hidden of oneItem to true
    set itemName to displayed name of oneItem
    set extension hidden of oneItem to false
    end if
    set itemExtension to name extension of oneItem
    --set itemBody to name body of oneItem
    --display dialog itemExtension
    set tmpFile to "conversion_output.tmp"
    end tell
    --display dialog destinationFile
    set wasError to false
    try
    --Convert Movie
    set ConvertMovieCmd to "nice /Applications/HandBrakeCLI -i " & sourceFile & " -o " & tmpFile & " -e x264 -b 5000 -2 -T -a 1,1 -E faac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 -4 -X 960 --strict-anamorphic -m -x cabac=0:ref=2:me=umh:b-pyramid=none:b-adapt=2:weightb=0:trellis=0:weightp=0:vbv -maxrate=9500:vbv-bufsize=9500 ;"
    --display dialog ConvertMovieCmd
    do shell script ConvertMovieCmd
    --short pause before copy
    delay 10
    --Replace Original
    set ReplaceOriginalCmd to "mv -f " & tmpFile & " " & destFold & "'" & itemName & ".m4v" & "'"
    --display dialog ReplaceOriginalCmd
    do shell script ReplaceOriginalCmd
    --Tag file with green label
    on error errmsg
    --should conversion or copy fail display error message and continue with next file
    --display dialog errmsg
    --Tag file with red label
    set wasError to true
    end try
    tell application "Finder"
    if wasError then
    set label index of oneItem to 2
    else
    set label index of oneItem to 6
    end if
    end tell
    end repeat
    on error errmsg
    --should anything go wrong let the user know
    display dialog errmsg
    end try
    end timeout
    end adding folder items to

    If I'm reading your post and script correctly, this is pretty trivial.
    The AppleScript ultimately does its thing by invoking two shell commands - one to convert the file and the second to move the file to its ultimate desintation. Your solution lies in changing that second command.
    Here's the relevant line:
    set ReplaceOriginalCmd to "mv -f " & tmpFile & " " & destFold & "'" & itemName & ".m4v" & "'"
    This command moves tmpFile to destFold which was previously defined as:
    set destFold to "HD(Mini):Users:jaredcraig:Movies:test:"
    Now that won't work (and I'm surprised it doesn't choke on you right now) because you haven't specified a UNIX-style path which uses / to delimit directories. In either case, changing this line to the desired destination directory should solve your problem, e.g.:
    set destFold to quoted form of "/Users/jaredcraig/Movies/iflicks encode/"
    (note you need to use 'quoted form of' since the path includes spaces which will choke most shell commands)

  • Flv xml Stream Playlist action script help

    So if you go to this site:
    click here
    you will see a FLV player that has a list of videos that are
    pulled from a .xml file...
    The action script for this player is as such:
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    theVideo.attachVideo(ns);
    rewindButton.onRelease = function() {
    ns.seek(0);
    playButton.onRelease = function() {
    ns.pause();
    var videoInterval = setInterval(videoStatus,100);
    var amountLoaded:Number;
    var duration:Number;
    ns["onMetaData"] = function(obj) {
    duration = obj.duration;
    function videoStatus() {
    amountLoaded = ns.bytesLoaded / ns.bytesTotal;
    loader.loadBar._width = amountLoaded * 194.5;
    loader.scrub._x = ns.time / duration * 194.5;
    var vlist:XML = new XML();
    vlist.ignoreWhite = true;
    vlist.onLoad = function() {
    var videos:Array = this.firstChild.childNodes;
    for(i=0;i<videos.length;i++) {
    videoList.addItem(videos
    .attributes.desc,videos.attributes.url);
    ns.play(videoList.getItemAt(0).data);
    videoList.selectedIndex = 0;
    var vidList:Object = new Object();
    vidList.change = function() {
    ns.play(videoList.getItemAt(videoList.selectedIndex).data);
    videoList.addEventListener("change",vidList);
    vlist.load("videos.xml");
    I want to action script something that will make the videos
    play one after the other, get rid of the list on the right and have
    buttons on player that allow you to go to the next/previous video
    listed in the .xml file
    Its sort of like the player at
    click
    here
    I know this is a lot to ask, but I am currently in a jam and
    any help would be greatly appreciated...
    Thanks
    Matthelm88

    gotoAndLearn is a fantastic base to build off of.
    but
    i'm looking for the same thing... how do you get the files
    to play one after another?
    i've looked for everyhting ns. related and i can find any
    doc's on this one.
    i 've found the
    function complete_listener(eventObject:VideoEvent):void {
    if (my_FLVPlybk.source == "rentv1.flv") {
    my_FLVPlybk.play("rentv2.flv");
    else if (my_FLVPlybk.source == "rentv2.flv") {
    my_FLVPlybk.play("rentv3.flv");
    on the flash video live docs.. but i can't find anything on
    how to tie it into the XML.
    anything anyone can offer would be a huge help ...

  • Action Script Help (Flash 8 ONLY)

    My department currently has a host of training videos we use
    for online courses. Of course, these are all being delivered as
    FLVs. Through the Developer's communities, I found a script that
    allowed me to add a caption file to the video (XML).
    Now I'd like to take it to another level. I'd like to be able
    to have my one SWF player play a series of FLVs AND include the
    caption file. I began to look at using an Array, but have not been
    successful in making it work. I'm not too sure, but I think the way
    I coded it started to affect the video - started getting "stuck" at
    times. Another attempt caused the caption file from the previous to
    be seen in the current video.
    I have attached my script and would appreciate any
    assistance.
    Finally, I need to stick to a Flash 8 and Action Script 2.0
    solution. I realize that Flash 9 and Action Script 3.0 would be
    helpful, but our district PCs are all imaged with a Flash 8 player.
    Sorry.
    Thank you for your help.
    Frank Erazo ([email protected])

    Whatever approach you take will depend heavily on the document(s) you have for the bible element of the design.  You somehow need to be able to seek within it and determine where matched elements can be found and how to extract the information you intend to present.
    I don't think your issue currently lies with how to do this in Flash as much as first coming up with a gameplan that identifies the players and how you can interact with and within them.

  • CALC SCRIPT - HELP PLEASE!!! URGENT

    I am trying to write a Calc Script for the Outline below -
    AP_Related
    Trade_AP +
    2200 + (Alias – A/P Trade related Party)
    2210 + (Alias – A/P Trade I/P)
    2215 +
    AP_Corporate +
    2240 + (Alias – Brazil Fees)
    2250 + (Alias – Corporate Chargebacks)
    2260 + (Alias – Service Fees)
    2270 + (Alias – Fusion Fees)
    2280 + (Alias – Tech Fees)
    AP_Corp_IP + (UDA – Input_Accs)
    I want to put the values in 2240 and 2250 into AP_Corporate and the values of 2260,2270 and 2280 into 2210.
    I am trying to add the code to the existing code.
    /*Fix on members to copy Actual data to Forecast - */
    FIX(&ActMonthEnd,&ForecastYear,"Final",@RELATIVE("Product Groups",0),@RELATIVE("Departments",0),
    @RELATIVE("ICP",0),@RELATIVE("TOT_USG",0),@RELATIVE("Accounts",0))
    "Actual"(
    @CALCMODE(bottomup);
    IF(@ISUDA("Accounts","INPUT_ACCS"))
    "Basic"->"Forecast"->&ForecastYear=@SUM(@REMOVE(@RELATIVE(@PARENT(@CURRMBR("Accounts")),0),
    @REMOVE(@RELATIVE(@PARENT(@CURRMBR("Accounts")),0),
    @UDA("Accounts","SUMMED_ACCS"))))-@CURRMBR("Accounts");
         IF(@ISMBR("Tot_I/P_Mat_Costs_Roll Prod_INP"))
              "Basic"->"Forecast"->&ForecastYear->"Tot_I/P_Mat_Costs_Roll Prod_INP"=#Missing;
         ENDIF
         IF(@ISMBR("Metal_Costs_3rd_Party_INP"))
              "Basic"->"Forecast"->&ForecastYear->"Metal_Costs_3rd_Party_INP"=#Missing;
         ENDIF
         ELSEIF(@ISMBR("Oth_Exp_Misc_Inp"))
              "Basic"->"Forecast"->&ForecastYear->"Oth_Exp_Misc_Inp"="40110100"+"40079000"-"30100200";
         ELSEIF(@ISMBR("TOT_ALLOW_INP"))
              "Basic"->"Forecast"->&ForecastYear->"TOT_ALLOW_INP"="12005000"+"12005100";
    Edited by: user11300497 on Jun 24, 2009 12:00 PM

    Thanks for the response,but the Original script I sent is based on UDA's.I am sending the script and the modified Outline with the UDA's.Any help is greatly appreciated.
    The members are from Account dimension.
    AP_Related
    Trade_AP +
    2200 + (Alias – A/P Trade related Party)
    2210 + (Alias – A/P Trade I/P)
    2215 +
    AP_Corporate +
    2240 + (Alias – Brazil Fees) (UDA's:Summed_ACS)
    2250 + (Alias – Corporate Chargebacks)(UDA's:Summed_ACS)
    2260 + (Alias – Service Fees)(UDA's:Summed_ACS)
    2270 + (Alias – Fusion Fees)(UDA's:Summed_ACS)
    2280 + (Alias – Tech Fees)(UDA's:Summed_ACS)
    AP_Corp_IP + (UDA – Input_Accs)
    /* Purpose to copy a single month of actuals to the working forecast replacing a month of forecast.
    Run monthly to update the current Forecast */
    /* Assumptions.
    The substitution variables for
    ActMonthEnd = Is set to the month containing the Actuals to be copied.
    ActualYear = Is set to the year containing the Actuals to be copied.
    ForecastYear = Is set to the Current Forecast year value.
    ForecastVersion = Is set to the appropiate archive Forecast version.
    All input accounts have a UDA of "INPUT_ACCS" and not the UDA "SUMMED_ACCS"
    A parent has only one account with the "INPUT_ACCS" UDA amoung its children
    All siblings of the "INPUT_ACCS" member that are to be summed into the input account have a UDA of "SUMMED_ACCS"
    FIX("LC")
    FIX(&ActMonthEnd,&ForecastYear,"Basic",@IDESCENDANTS ("TOT_USG"),
    @REMOVE (@IDESCENDANTS("Accounts"),
    @LIST(
    "30000000",@SHARE("30000000"),
    "30003300",@SHARE("30003300"),
    "30020400",@SHARE("30020400"),
    "30020500",@SHARE("30020500"),
    "30010200",@SHARE("30010200"),
    "30010400",@SHARE("30010400"),
    "41002200",@SHARE("41002200"),
    "41002300",@SHARE("41002300"),
    "74001000",@SHARE("74001000"),
    "41000100",@SHARE("41000100"),
    "41001400",@SHARE("41001400"),
    "53000000",@SHARE("53000000"),
    "59000000",@SHARE("59000000"),
    "IP_Ship",@SHARE("IP_Ship"),
    "IP Tolling Ship",@SHARE("IP Tolling Ship"),
    "IP_NonAlum_Ship",@SHARE("IP_NonAlum_Ship"),
    "3rd_Party_Ship",@SHARE("3rd_Party_Ship"),
    "3rd party Tolling Ship",@SHARE("3rd party Tolling Ship"),
    "Margin - Full",@SHARE("Margin - Full"),
    "Margin - Tolling",@SHARE("Margin - Tolling"),
    "Discounts - Full - Value",@SHARE("Discounts - Full - Value"),
    "Discounts - Tolling - Value",@SHARE("Discounts - Tolling - Value"),
    "Base Metal Freight / Logistics - USD",@SHARE("Base Metal Freight / Logistics - USD"),
    "Flash Operating EBITDA",@SHARE("Flash Operating EBITDA"),
    "Flash Total Book Inventory",@SHARE("Flash Total Book Inventory"),
    "BMC / Tonne",@SHARE("BMC / Tonne"),
    "IP BMC / Tonne",@SHARE("IP BMC / Tonne"),
    "BMC_CPL",@SHARE("BMC_CPL"),
    "BMC_Cur",@SHARE("BMC_Cur"),
    "BMC_M0",@SHARE("BMC_M0"),
    "BMC_M1",@SHARE("BMC_M1"),
    "BMC_M2",@SHARE("BMC_M2"),
    "BMC_M3",@SHARE("BMC_M3"),
    "BMC_PQ",@SHARE("BMC_PQ"),
    "CPL Adjustment",@SHARE("CPL Adjustment")
         CLEARDATA "Forecast";
    ENDFIX
    /* copy in Actual Currency Rates for proper monthly converison
    FIX(&ActMonthEnd,&ForecastYear,"EOMRATE","Product_None","Dept_None","ICP_None",
    "Entity_None","Rate_EUR_USD","Rate_INR_USD","Rate_GBP_USD","Rate_KRW_USD","Rate_BRL_USD",
    "Rate_CHF_USD","Rate_CAD_USD","Rate_MYR_USD","Rate_SEK_USD")
    DATACOPY "Actual"->"Final" TO "Forecast"->"Basic";
    ENDFIX
    /*Fix on members to copy Actual data to Forecast - */
    FIX(&ActMonthEnd,&ForecastYear,"Final",@RELATIVE("Product Groups",0),@RELATIVE("Departments",0),
    @RELATIVE("ICP",0),@RELATIVE("TOT_USG",0),@RELATIVE("Accounts",0))
    "Actual"(
    @CALCMODE(bottomup);
    IF(@ISUDA("Accounts","INPUT_ACCS"))
    "Basic"->"Forecast"->&ForecastYear=@SUM(@REMOVE(@RELATIVE(@PARENT(@CURRMBR("Accounts")),0),
    @REMOVE(@RELATIVE(@PARENT(@CURRMBR("Accounts")),0),
    @UDA("Accounts","SUMMED_ACCS"))))-@CURRMBR("Accounts");
         IF(@ISMBR("Tot_I/P_Mat_Costs_Roll Prod_INP"))
              "Basic"->"Forecast"->&ForecastYear->"Tot_I/P_Mat_Costs_Roll Prod_INP"=#Missing;
         ENDIF
         IF(@ISMBR("Metal_Costs_3rd_Party_INP"))
              "Basic"->"Forecast"->&ForecastYear->"Metal_Costs_3rd_Party_INP"=#Missing;
         ENDIF
         ELSEIF(@ISMBR("Oth_Exp_Misc_Inp"))
              "Basic"->"Forecast"->&ForecastYear->"Oth_Exp_Misc_Inp"="40110100"+"40079000"-"30100200";
         ELSEIF(@ISMBR("TOT_ALLOW_INP"))
              "Basic"->"Forecast"->&ForecastYear->"TOT_ALLOW_INP"="12005000"+"12005100";
         ELSEIF(@ISMBR("Int_Exp_Third_Oth_INP"))
              "Basic"->"Forecast"->&ForecastYear->"Int_Exp_Third_Oth_INP"="40071200"+"40071300"+"40075530"+"40075540"+"40075550"+"40075570"+"40075580"+"40075590"+"40075610"-"30063200";
         ELSEIF(@ISMBR("Realized_Der_Metal_Inp"))
              "Basic"->"Forecast"->&ForecastYear=@sum(@RELATIVE(@PARENT(@CURRMBR("Accounts")),0))-@CURRMBR("Accounts")-
              (2*("30121240"));
         ELSEIF(@ISMBR("Unrealized_Der_Metal_Inp"))
              "Basic"->"Forecast"->&ForecastYear=@sum(@RELATIVE(@PARENT(@CURRMBR("Accounts")),0))-@CURRMBR("Accounts")-
              (2*("30131240"));
         ELSEIF(@ISMBR("TOT_EMP_INP"))
    "Basic"->"Forecast"->&ForecastYear=@SUM(@UDA("Accounts","EMP_ACCS"));

  • Script help.. find folders (title oversimplified..)

    What I need:
    Have list of folder names in Excel
    Script uses list to find specified folders. Folders (items in list) are actually three folders deep in directory (external archive disk/dated folder/folder I want).
    Script then copies folders to another location.
    Basically, I have a main archive directory (Archive1). On that disk are dated folders (102013). Inside the dated folders there are anywhere from 10-20 folders.. those contain the data (study data).. and those are the folders I want. I will have a list of 50-100 data folders provided to me.. all from random dates. I dont want to manually find, then drag and drop data into new archive. I have a list.. and would like to automate this.
    What I have:
    Script that will find FILES.. not folders... and not in subdirectories. It does everything i need.. if I was only looking for files in one folder.
    Script I have is below. If one of you kind souls would point me in the right direction, id appreciate it.
    If you want to test the script below:
    Make a short list in excel.. maybe just a, b, c in a column.
    Create two (named mine archive and transfer) folders on your desktop.. Place three dummy files named a, b, and c in the archive folder. Run the script wile the spreadsheet is open. You will be asked to choose the archive folder. Then the transfer folder. All files from archive folder will then be copied to transfer folder. The spreadsheet will be updated to include filenames with extension in the B colum.
    Script:
    set studiestofind to (choose folder with prompt "Choose Archive Location")
    set transferto to (choose folder with prompt "Choose the Transfer Location")
    tell application "Microsoft Excel"
              tell active sheet
                        set lastIndex to first row index of last cell of (get used range)
                        repeat with i from 2 to lastIndex
                                  set tFileName to my find_filenames(get value of range ("A" & i), studiestofind)
                                  if tFileName is not "" then -- Study Found
                                            set r to my duplicateImage(tFileName, studiestofind, transferto)
                                            if r is not "" then -- no error on duplicate file
                                                      set value of range ("B" & i) to tFileName
                                            else
                                                      set value of range ("B" & i) to ""
                                            end if
                                  end if
                        end repeat
              end tell
    end tell
    on duplicateImage(tName, iFolder, mFolder)
              try
                        tell application "Finder" to return (duplicate file tName of iFolder to mFolder) as string
              on error
                        return ""
              end try
    end duplicateImage
    on find_filenames(tVal, thefolder)
      --if cell begins with space or ends with space , text items of tVal return empty string, empty string added in list excludedWords
              set excludedWords to {"Mini", "and", ""} -- words in Menu Item to exclude in search
              set otid to text item delimiters
              set text item delimiters to " "
              set tWords to text items of tVal
              set text item delimiters to otid
              set thefolder to quoted form of POSIX path of thefolder
              set myListOfWords to {}
              repeat with i in tWords -- must be valid
                        if contents of i is not in excludedWords then set end of myListOfWords to contents of i
              end repeat
              if (count myListOfWords) = 1 then -- more filler i dont really understand
                        set i to quoted form of (tVal & ".")
      -- search file name 
                        set tpath to do shell script "cd " & thefolder & " &&  /usr/bin/find . -type f -maxdepth 1 -iname " & i & "*"
                        if tpath is not "" then return text 3 thru -1 of tpath --return name of exact match
              end if
              repeat with i in myListOfWords
                        set tPaths to do shell script "cd " & thefolder & " &&  /usr/bin/find . -type f -maxdepth 1 -iregex '.*[_/]" & i & "[_.].*'  \\! -name '.*' "
                        if tPaths is not "" then
                                  set L to paragraphs of tPaths
                                  if (count L) = 1 then return text 3 thru -1 of tPaths -- one path found
                                  repeat with tpath in L -- many paths found, loop each path
                                            set isGood to false
                                            repeat with tword in myListOfWords -- check each word of this Menu Item in tpath
                                                      if ("/" & tword & "_") is in tpath or ("/" & tword & ".") is in tpath or ("_" & tword & ".") is in tpath or ("_" & tword & "_") is in tpath then
                                                                set isGood to true
                                                      else
                                                                set isGood to false
                                                                exit repeat
                                                      end if
                                            end repeat
                                            if isGood then return text 3 thru -1 of tpath -- each word of this Menu Item is in name of tpath
                                  end repeat
                        end if
              end repeat
              return ""
    end find_filenames

    Hello
    It is not hard to modify the existing script you posted so as to retrieve directories at depth 2 but I chose to rewrite it as follows because its filtering logic is very inefficient. In the current form, the script below will retrieve directories at depth 2 in the chosen folder.
    The part scripting Excel is not tested, for I don't have Excel. It might fail to set the value of cell in column B when there are multiple matches in which case the script will try to set cell value to multi-line text of every found path. If it fails, we can adjust the code to work aronud it. Your original script only processes the first matched file but I thought it's better to process every matched one.
    # Notes
    • Filtering logic is modified so that it is now wholly processed by find(1). Also the regexp pattern is modified so that it compares the query word with string delimited by _ and . in file name.
    E.g., Given query = "apple orange bananna", the original script matches these -
        apple_orange_bananna.tex
        apple_bananna_orange.dvi
        _bananna__orange__apple.ps
        _bananna._apple._orange.pdf
        _orange.blueberry_bananna_apple....djvu
    but not these -
        apple.orange.bananna.txt
        apple_.orange_.bananna.txt
        apple_orange_blueberry.html
        apple_orange_bananna
    The new script will match all of them except for "apple_orange_blueberry.html".
    • I added code to handle NFD-NFC issue of HFS+ name. HFS+ name is represented as Unicode in NFD (Normalization Form D), while name in Excel could be in NFC (Normalization Form C), in which case find(1) will not match the name whose NFD and NFC are different. This is not a issue if name is only in a-zA-Z0-9. But, e.g., any diacriticals will cause trouble if not with special treatment.
    • Script will write log to file on desktop when a) some query gives no result or b) some of the matched files/folders are not copied because item with the same name already exists in the destination.
    • Script will behave (mostly) the same as the original script when you set the find parameters properties in _main() as -
        -- find parameters
        property type : "f" -- d = directory, f = file
        property mindepth : 1
        property maxdepth : 1
    • Currently the value in column B will be the (list of) found and copied path(s) and not the found path(s). If you need all of the found path(s) to be put in column B, switch the following statements in _main():
        set value of range ("B" & i) to my _join(return, qq) -- found and copied
        --set value of range ("B" & i) to my _join(return, pp) -- found
    • Script is tested under OSX 10.5.8. (except for Excel scripting)
    # Script
    _main()
    on _main()
        script o
            -- directories and logfile
            property srcdir : (choose folder with prompt "Choose Archive Location")'s POSIX path
            property dstdir : (choose folder with prompt "Choose the Transfer Location")'s POSIX path
            property logf : (path to desktop)'s POSIX path & "copy_log@" & (do shell script "date +'%F.txt'")
            -- find parameters
            property type : "d" -- d = directory, f = file
            property mindepth : 2
            property maxdepth : 2
            -- working lists
            property pp : {}
            property qq : {}
            property rr : {}
            -- find & copy nodes
            tell application "Microsoft Excel"
                tell active sheet
                    set lastIndex to first row index of last cell of (get used range)
                    repeat with i from 2 to lastIndex
                        set query to value of range ("A" & i)
                        set pp to my find_filenames(query, srcdir, type, mindepth, maxdepth)
                        if pp = {} then -- not found
                            tell current application to set ts to do shell script "date +'%F %T%z'"
                            set entry to "Did not found a name with query word(s): " & query
                            my log_to_file("%-26s%s\\n", {ts, entry}, logf)
                        else
                            set qq to {}
                            repeat with p in my pp
                                set p to p's contents
                                set q to my cp(srcdir & p, dstdir, {replacing:false})
                                if q ≠ "" then
                                    set end of my qq to p -- found and copied
                                else
                                    set end of my rr to srcdir & p -- found but not copied
                                end if
                            end repeat
                            set value of range ("B" & i) to my _join(return, qq) -- found and copied
                            --set value of range ("B" & i) to my _join(return, pp) -- found
                        end if
                    end repeat
                end tell
            end tell
            -- log duplicates
            if rr ≠ {} then
                set ts to do shell script "date +'%F %T%z'"
                set entry to "Did not copy the following node(s) due to existing name in destination: " & dstdir
                my log_to_file("%-26s%s\\n", {ts, entry}, logf)
                repeat with r in my rr
                    my log_to_file("%-28s%s\\n", {"", r's contents}, logf)
                end repeat
            end if
        end script
        tell o to run
    end main
    on log_to_file(fmt, lst, f)
            string fmt : printf format string
            list lst : list of strings
            string f : POSIX path of log file
        local args
        set args to ""
        repeat with a in {fmt} & lst
            set args to args & space & a's quoted form
        end repeat
        do shell script "printf " & args & " >> " & f's quoted form
    end log_to_file
    on cp(src, dstdir, {replacing:_replacing})
            string src : POSIX path of source file or directory
            string dstdir : POSIX path of destination directory
            boolean _replacing : true to replace existing destination, false otherwise
            return string : POSIX path of copied file or directory, or "" if not copied
        set rep to _replacing = true
        if src ends with "/" then set src to src's text 1 thru -2
        if dstdir ends with "/" then set dstdir to dstdir's text 1 thru -2
        set sh to "
    rep=$1
    src=\"$2\"
    dstdir=\"$3\"
    dst=\"${dstdir}/${src##*/}\"
    [[ $rep == false && -e \"$dst\" ]] && exit
    cp -f -pPR \"$src\" \"$dstdir\" && echo \"$dst\" || exit $?
        do shell script "/bin/bash -c " & sh's quoted form & " - " & rep & " " & src's quoted form & " " & dstdir's quoted form
    end cp
    on find_filenames(query, dir, type, mind, maxd)
            string query : space delimited words to search
            string dir : POSIX path of target root directory
            string type : node type to retrieve
                        f => file
                        d => directory
            integer mind : min depth of nodes in dir to retrieve
            integer maxd : max depth of nodes in dir to retrieve
            return list : list of POSIX path of found node(s)
        script o
            property exclude_list : {"Mini", "and", ""} -- list of words to be excluded from query
            property pp : _split(space, NFD(query))
            property qq : {}
            property rr : {}
            -- exclude words in exclude_list from query words
            repeat with p in my pp
                set p to p's contents
                if p is not in my exclude_list then set end of my qq to p
            end repeat
            -- build arguments for find(1)
            (* query words are compared with tokens delimited by _ or . in file name *)
            repeat with q in my qq
                    e.g. Given qq = {"apple", "orange", "bananna"}, rr is list of -
                        -iregex '.*[/_.]apple([_.].*|$)'
                        -iregex '.*[/_.]orange([_.].*|$)'
                        -iregex '.*[/_.]bananna([_.].*|$)'
                    ( Note: |'s must be balanced even in comment... )
                set q to quotemeta(q) -- quote non-alphanumeric characters to be recognised as literal in regexp
                set end of rr to "-iregex '.*[/_.]" & q & "([_.].*|$)'"
            end repeat
            set |-iregex| to " \\( " & _join(" -and ", my rr) & " \\)"
            set |-type| to " -type " & type
            set |-mindepth| to " -mindepth " & mind
            set |-maxdepth| to " -maxdepth " & maxd
            -- build shell script
            set sh to "export LC_ALL=en_GB.UTF-8
    cd " & dir's quoted form & " || exit
    /usr/bin/find  -E . " & |-type| & |-mindepth| & |-maxdepth| & |-iregex| & " \\! -name '.*' -print0 |
    /usr/bin/perl -CS -ln0e 'print substr($_, 2);'
            -- run shell script
            return paragraphs of (do shell script sh)
        end script
        tell o to run
    end find_filenames
    on NFD(t)
            string t : source string
            return Unicode text : t in NFD (Normalization Form D)
        set pl to "/usr/bin/perl -CSDA -MUnicode::Normalize <<-'EOF' - \"$*\"
    print $ARGV[0] ? NFD($ARGV[0]) : qq();
    EOF"
        do shell script "/bin/bash -c " & pl's quoted form & " - " & t's quoted form
    end NFD
    on quotemeta(t)
            string t : source string
            return string : t where all non-alphanumeric characters are quoted by backslash
        set pl to "/usr/bin/perl -CSDA -e 'print quotemeta $ARGV[0];' \"$*\""
        do shell script "/bin/bash -c " & pl's quoted form & " - " & t's quoted form
    end quotemeta
    on _join(d, tt)
            string d : separator
            list tt : source list
            return string : tt joined with d
        local astid, astid0, t
        set astid to a reference to AppleScript's text item delimiters
        try
            set {astid0, astid's contents} to {astid's contents, {} & d}
            set t to "" & tt
            set astid's contents to astid0
        on error errs number errn
            set astid's contents to astid0
            error errs number errn
        end try
        return t
    end _join
    on _split(d, t)
            string or list d : separator(s)
            string t : source string
            return list : t splitted by d
        local astid, astid0, tt
        set astid to a reference to AppleScript's text item delimiters
        try
            set {astid0, astid's contents} to {astid's contents, {} & d}
            set tt to t's text items
            set astid's contents to astid0
        on error errs number errn
            set astid's contents to astid0
            error errs number errn
        end try
        return tt
    end _split
    Hope this may help
    H
    Message was edited by: Hiroto (fixed some typos)

  • Script help - Restarting a service Daily

    Hello All,
    I would like some advice/help on creating a script which would restart a specfic service daily on a server- This may be required to run at a certain time - but finding it difficult getting started initially.
    I am guesing I would need to create a scheduled task create a scheduled task that runs a script.ps1
    script.ps1
    stop-service "service"
    start-service "&#0;service"
    Does anyone know of any written scripts that can get myself started - for example re-starting the print spooler script everyday at 08:00am etc.
    Many thanks
    Regards
    QMU

    I think you pretty much answered your own question. If you are just looking for a simple restart service script, then you already have it. You could look at using
    Restart-Service instead as it will stop and start the service.
    Restart-Service -Name 'Service'
    All you need to do is create the scheduled job and specify powershell.exe as the program to run and then use
    -File <path to script> as the arguments.
    Lots of information about PowerShell and scheduled jobs here:
    http://blogs.technet.com/b/heyscriptingguy/archive/tags/scheduled+tasks/default.aspx
    Boe Prox
    Blog |
    Twitter
    PoshWSUS |
    PoshPAIG | PoshChat |
    PoshEventUI
    PowerShell Deep Dives Book
    Hey Boe -
    Many thanks mate - thanks for the link also.
    I was just confused about the timing issue(which I thought would in script itself) and how to call the actual script - both which I am now able to do.
    Many thanks
    QMU

  • Random Play Scripting Help

    I am now about to embark on my 3rd concept for scripting a random play DVD. Basically the issue I keep running into is that I have too many pieces of media (81 to be exact) that need to play and it's pushing DVDSP further than it is capable of going.
    My first script had too many commands (1 jump for each track based on a random GPRM setting), so it failed on the build. Inspector shows 323 commands, and I am in the negative by 19 commands remaining. Looked like this:
    ran GPRM 0, 80
    Goto 1 if (GPRM 0 = GPRM1)
    mov GPRM 1, GPRM 0
    Jump Track 1 if (GPRM 0 = 1)
    Jump Track 2 if (GPRM (0 =2)
    and so on and so forth until
    Jump Track 81 if (GPRM 0 = 80)
    Second script had only 4 commands, all the clips in one track and each chapter's end jump pointed to the script. 81 markers/end jumps so that's over the limit of 106 chapter markers and individual chapter end jump settings per track as detailed here, http://docs.info.apple.com/article.html?artnum=93681
    Script Looked like this:
    ran GPRM 0, 82
    Goto 1 if (GPRM0 = GPRM 1)
    mov GPRM 1, GPRM 0
    Jump Track 1 [GPRM 0]
    So both of these work in theory and in simulator, but they can't build due to their excessive nature. Any thoughts on a randomizing script that can accommodate 81 clips? I am really struggling here to come up with new ideas and could use some help. Deadline looms! TIA!
    Message was edited by: Evan Scheck

    Hi Evan,
    The DVD-Video Specifications provide a way to randomize playback, with no programming/scripts, almost unlimited numbers of programs (segments of a Track divided by markers). Randomizing up to 99 is a piece of cake - but it takes getting a license of DVDAfterEdit.
    You start in DVD SP, of course, and then after the Build, adjust the Title PGC with your clips divided by program (marker) into what's called 'Shuffle" mode. There's a few another tweaks, but in short order you now have a Title PGC (Track Program Chain) that will randomly play all the clips, with no repeats. Navigation is lightning quick, because playback never has to seek the IFO file at the head of the VTS (Track), or the VMG at the head of the disc (slows playback waaaay down).
    Anyway, just thought I'd mention it since you seem so determined.
    Here's a recent thread over at the DVDAfterEdit site that goes over the concept:
    http://www.dvdafteredit.com/node/1771#comment-1886
    And also, here's the thread back in 2005 where Jake and Ben are helping me test the settings for the 100% compatibility that we achieved (and proved Sonic Solutions wrong on some points with this feature :-):
    http://dvdafteredit.com/node/673
    Take care,
    Trai
    Trai Forrester
    TFDVD Research Labs
    DVD Verification and Proofing
    Entering 10 years of full-time, professional DVD Studio Pro troubleshooting and support

  • BW Archiving- Need help as soon as possible

    Hi,
    Can Archiving on ODS be implemented using an ABAP program? If the data is loaded on to flat files and if it is required to reload it back to ODS is ABAP a better choice. If any one has worked on this issue earlier please provide me the information as soon as possible. Any input on this issue will be of great help.
    Thanks,
    SP

    Hi sudheer,
    I have gone through few of your requests to SDN network . and found out thta you have worked on  "sap bw archiving ". So, I need a small help from you . need to clear out some of my doubts with sap bw archiving issues . So could you please send me your e-mail id . so that i can be in contact with you . As i am new to SDN .
    Thanking you in advance . I would appreciate your help .
    or Anyone who have experience with "SAP  BW archiving " could you please send me your mail id . Thanks for your help .
    Cheers,
    shailu.

Maybe you are looking for

  • Open_Form Error Please help

    Hi All, I configured the Smart Form at the Respective Transaction on entry_new. I am getting Open_Form Error. what should I change, do I need to change any parameters????. Thanks in Advance. Regards, Praveen

  • How do I calculate averages in a form?

    Hi All, I'm throwing myself on the mercy of the forum. I'm new to form building and I don't know javascript. I'm working on a form and I can't seem to get it right. When I first enter values it seems to be working, but if I make corrections or change

  • Select option in Dialog prog

    Hi, I'm developing a dialog programming. 1st screen is the selection screen, i need to code the input for Parameter -> Material number , Select-option -> Plant. Problem hits on select option Plant. If we code via normal type 1 executable program, i j

  • Firefox will not open up in Windows 7.

    Firefox has stopped working in my computer. I have uninstalled and reinstalled 3 times now, and it will not load up. Many articles online instruct me to clean cookies, etc. but I cannot do anything if the program doesn't load. It does not even show a

  • How to make use of a web service using ABAP to transfer data to portal?

    Hello Experts, I've a requirement to call/use a web service from a user exit, and need to transfer/update some data to the ESS portal. Kindly let me know what are the steps involved? Thanks & Regards, Mallik