Filename Cleanup Script

We've been going through old projects at work, and some of the projects still use the old file naming conventions that are no-longer in use.  Is there any way to have a script pop up a text input field where the user can input the redundant part of a file name, then store that to a variable that will be used to remove the redundant data from the file name before re-saving the file?
For example: Say I have a bunch of metal, trim textures of different types (like brushed, gloss, etc.).  The "redundant" file name would be "metal_trim_brushed", "metal_trim_gloss", etc. or may be another category and sub-category (besides metal_trim_) for another part of the project.  How would I have the script ask for the redundant portion (a text input where the user could input "metal_trim_" or whatever the redundant data is), and then remove the input text from the file name before saving it?  Any help would be appreciated.
dgolberg

Why not just do a bulk rename in Bridge using string substitution IE:-

Similar Messages

  • Compliance Calibrator - Table Cleanup Script

    CC/RAR Experts,
    We received a script from SAP over a year ago to cleanup/delete our CC5.2 tables (below). We have now upgraded to CC5.3 in a sandbox and are looking to start fresh to build our development box. Can anyone confirm if this script is still valid for CC(RAR)5.3 or is there an updated version of this cleanup script?
    Thanks in advance,
    Jes
    SPOOL C:\DATA_CLEANUP.TXT
    prompt Delete system specific rules in Action Rule Table
    delete from <SCHEMA>.VIRSA_CC_ACTRULE
    where vsyskey = '&1';
    prompt Delete all System specific Alert details
    delete from <SCHEMA>.VIRSA_CC_ALLASTRUN
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_ALLISTDTL
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_ALTCDLOG
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_AUTHMAP
    where vsyskey = '&1';
    prompt Delete system specific rules in Critical Action Rule Table
    delete from <SCHEMA>.virsa_cc_cract
    where vsyskey = '&1';
    delete from <SCHEMA>.virsa_cc_cractt
    where vsyskey = '&1';
    prompt Delete system specific rules in Critical Permission Rule Table
    delete from <SCHEMA>.virsa_cc_crprm
    where vsyskey = '&1';
    prompt Delete system specific rules in Critical Profile Table
    delete from <SCHEMA>.virsa_cc_crprof
    where vsyskey = '&1';
    delete from <SCHEMA>.virsa_cc_crproft
    where vsyskey = '&1';
    prompt Delete system specific rules in Critical Role Table
    delete from <SCHEMA>.virsa_cc_crrole
    where vsyskey = '&1';
    delete from <SCHEMA>.virsa_cc_crrolet
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_dataexd
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_fldmap
    where vsyskey = '&1';
    prompt Delete system specific rules in Function Action Table
    delete from <SCHEMA>.virsa_cc_funcact
    where vsyskey = '&1';
    prompt Delete system specific rules in Function Permission Table
    delete from <SCHEMA>.virsa_cc_funcprm
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_funcsys
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_lastrun
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_lsysgrp
    where vsyskey = '&1';
    prompt Delete system specific rules in Org User Mapping Table
    delete from <SCHEMA>.virsa_cc_orgusers
    where vsyskey = '&1';
    prompt Delete system specific rules in Permission Rule Table
    delete from <SCHEMA>.virsa_cc_prmrule
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_supp_det
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_supp_hdr
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_supp_text
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_syscract
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_syshmap
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_sysrule
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_syssapobj
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_sysusr
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_textkey
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_usrmap
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_xsrulemap
    where vsyskey = '&1';
    delete from <SCHEMA>.VIRSA_CC_xsysgrp
    where vsyskey = '&1';
    prompt Delete System details
    delete from <SCHEMA>.virsa_cc_system
    where vsyskey = '&1';
    delete from <SCHEMA>.virsa_cc_systemc
    where vsyskey = '&1';
    delete from <SCHEMA>.virsa_cc_systemt
    where vsyskey = '&1';
    commit;
    prompt Truncating VIRSA_CC_GENOBJ Table
    truncate table <SCHEMA>.virsa_cc_genobj DROP STORAGE;
    prompt Truncating VIRSA_CC_GENOBJT Table
    truncate table <SCHEMA>.virsa_cc_genobj DROP STORAGE;
    prompt Truncating VIRSA_CC_GENUSR Table
    truncate table <SCHEMA>.virsa_cc_genusr DROP STORAGE;
    prompt Truncating VIRSA_CC_GENACT Table
    truncate table <SCHEMA>.virsa_cc_genact DROP STORAGE;
    prompt Truncating VIRSA_CC_GENPRM Table
    truncate table <SCHEMA>.virsa_cc_genprm DROP STORAGE;
    prompt Truncating VIRSA_CC_GPRMLIST Table
    truncate table <SCHEMA>.virsa_cc_genobj DROP STORAGE;
    prompt Truncating VIRSA_CC_SYSUSR Table
    truncate table <SCHEMA>.virsa_cc_sysusr DROP STORAGE;
    prompt Truncating VIRSA_CC_ACTVL Table
    truncate table <SCHEMA>.virsa_cc_ACTVL DROP STORAGE;
    prompt Truncating VIRSA_CC_PRMVL Table
    truncate table <SCHEMA>.virsa_cc_PRMVL DROP STORAGE;
    prompt Truncating VIRSA_CC_CRACTVL Table
    truncate table <SCHEMA>.virsa_cc_CRACTVL DROP STORAGE;
    prompt Truncating VIRSA_CC_CRPRMVL Table
    truncate table <SCHEMA>.virsa_cc_CRPRMVL DROP STORAGE;
    prompt Truncating VIRSA_CC_ROLEVL Table
    truncate table <SCHEMA>.virsa_cc_ROLEVL DROP STORAGE;
    prompt Truncating VIRSA_CC_CRROLEVL Table
    truncate table <SCHEMA>.virsa_cc_CRROLEVL DROP STORAGE;
    prompt Truncating Management Tables
    truncate table <SCHEMA>.virsa_cc_MGALERTS DROP STORAGE;
    truncate table <SCHEMA>.virsa_cc_MGCRTR DROP STORAGE;
    truncate table <SCHEMA>.virsa_cc_MGMTBU DROP STORAGE;
    truncate table <SCHEMA>.virsa_cc_MGMTTOT DROP STORAGE;
    truncate table <SCHEMA>.virsa_cc_MGRISKD DROP STORAGE;
    truncate table <SCHEMA>.virsa_cc_MGRISKS DROP STORAGE;
    SPOOL OFF

    >
    Jasmine Kaur wrote:
    > Hi ,
    >
    > Yes these tables of cc 5.2 do exist in RAR 5.3 however , RAR has various new tables which are not part of this current script .
    >
    > It is advisable to use script specific for 5.3 as there are alot of functional interdependencies in it .
    >
    > Thnks
    Thanks to the both of you for your replies.
    Where can I get this script specific to CC/RAR5.3? Do I need to create a message with SAP?
    Thanks,
    Jes

  • AE appends my filename when setting up a render queue output filename via scripting

    I wrote a script that imports quicktimes and creates comps from them and adds them to the render queue. I'm running into an issue where files with certain names get appended when adding them to the queue. I believe it has something to do with the "." in the name. For example a quicktime named "filename_v25.140504.mov" is used to create a comp named "filename_v25.140504_test_01". This comp is then add to the render queue using the script below.
    var myRQItem = proj.renderQueue.items.add(renderComp);
    var myFile = new File(renderLocation.toString() + "/" + renderComp.name);
    myRQItem.outputModules[1].file = myFile;
    The filename it becomes "filename_v25.mov". It appears to be stripping everything after the last ".". This becomes a problem when I have several comps with names like: "filename_v25.140504_test_01", "filename_v25.140504_test_02", "filename_v25.140504_test_03" etc... since they all get added as "filename_v25.mov".
    Has anyone ran into this issue? Any solutions? Thanks!
    BTW I'm using CC on a mac running 10.9

    I haven't run into that particular issue, but what code are you using to create the comp based on the QuickTime file?  Can you replace the "." with a "_" when the comp is created?  If you can get ahold of the file name as a string, you could split it on the "." character then join the returned array with the "_" character. 
    --Arie

  • WSUS Cleanup script: cannot connect to WSUS Server

    Hi guys,
    I'm trying to apply a script (already posted) which allows to perform the WSUS server cleanup with an unattended way.
    The script begins as follow:
    [reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration") | out-null
    #...Get hostname...
    $sysinfo = Get-WmiObject -Class Win32_ComputerSystem
    $fullname = “{0}.{1}” -f $sysinfo.Name, $sysinfo.Domain
    #...Connection to WSUS...
    $wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer($fullname,$false,8530)
    The $fullname variable returns the expected info, but $wsus doesn't. It displays the following:
    Exception calling "GetUpdateServer" with "3" argument(s): "Request for principal permission failed."
    At C:\Users\*******\Desktop\WSUS_Server_Cleanup.ps1:7 char:1
    + $wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::getUpdateServer($f ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodInvocationException
    + FullyQualifiedErrorId : SecurityException
    Please could anybody tell me what am I doing wrong???
    Thanks a lot in advance!
    Best Regards.

    Thank you!
    Monday's mistakes... :(
    Best Regards.

  • ITunes, filename cleanup and id3tag clean up HELP and suggestions.. :)

    I went to this website http://www.dougscripts.com/itunes/scripts/searchTheScripts.php has tons of scripts and such but i cant' seem to find one that fits my needs via the search as well as google..
    I have my mp3's organized by filename.. artist name - song name.mp3 ex. Killarmy - 5 stages of consciousness
    I have been doing it manually but there has to a different and better way... I have about 4000 songs and i done did 1000 of them in two weeks.. I'm lookin for a script that removes the _ underscore character in filenames, for example Killa-_army_-_5_stages_ofconsiousness.mp3 that ish looks ******** plus i want a clean easy to look and navigate system for my mp3's..
    can anyone help? Also any tips and info on running sed scripts would be greatly appreciated as i have never run one yet..
    also i tried wikipedia but got nowhwere what is the "standard" format for naming songs and their respective id3 tags?
    What are others tips and info for keeping my collection clean and organized by filename and the same thing for cleaning up my id3 tags? I don't like muche less use itunes keep songs organized options as i did not like the way it created hundreds of folders/albums based on the crappy id3 tags..
    anyone feel free to chime in on any of this.. how do yall do it?
    thank you!!1
    keep up the good work!
    oNe

    AUTOMATOR was awesome!!!! it came thru EXACTLY what i needed and wanted..
    In basics all i was doing was renaming file's workgroup.. is there a way to save that so that i jus click on it and it comes in and i then jus add my files i want to rework? otherwise i ended up doing set of files by right clickin and goin to automator and basically startin over for each one...
    also i found that if you do one run command and then go back and do another one it has no effect? why is that? ex. I replace an (1) with a space on ten files in automator I then click on another workgroup to insert text and run it and NOTHING happens.. i have to close automator and right click and set it all up again... kinda tedious.. but overall mad happy wit the results..
    It does not that automator allows me apply it to itunes specifically the ID3 tag info.. so whats the best way to go about cleanin up my id3 tags? anyone?
    any more tips and issues on this would help?
    two more questions
    1. Is it a way to shuffle songs within your playlist?
    2. I have my filenames in chronological order but when i xfr em to my ipod they are all out of order, why is that and how do i fix that?
    again thanks for all!
    oNe
    p.s. where is the page up and page down on os x? specificaly macbook pro? i found that if you tap spacebar it will send you to the top of the list/page... any other tips and info? also whats the alternative to ctrlaltdel i had it actually FREEZE up on me once and was scared as not knowin what to do..

  • Exporting a multipage InDesign document to single page PDFs but with unique filenames using scripts

    Hi,
    I'm using InDesign 5.5.
    My goal is to export a multipage InDesign file into single page PDFs but each single PDF must be uniquely named.
    For example;
    InDesignFileName_487275123.00.pdf
    InDesignFileName_734876882.00.pdf
    ...and so on.
    I've spent a great deal of time searching online and the closest I have found is  software called Output Factory which works fine.
    The way Output Factory works is by placing a script label within a textframe on the master page in InDesign. Then whatever is typed into the text frame on each the separate pages defines the file name of each separate page.
    However if I can solve this problem without any investment costs my boss will be very happy
    I found PEU5 which works great for exporting into single pages, it's now a case of naming each single PDF but I know nothing how about to create a script but I get the gist of what they do. My understanding is that a script could solve the second half of my problem.
    Can anyone help?
    Thanks.
    S

    Thanks Peter but but I don't think this is what I'm looking for.
    I did find this post http://forums.adobe.com/thread/841982 but I can't seem to get the script to work.
    This is the error message I get when I run the script... any ideas what I'm doing wrong?

  • CS5clean script, Windows installer cleanup utility no longer available from Microsoft.  What now?

    Since the Windows Installer cleanup script is no longer available from Microsoft because (while it) "...resolved some installation problems, it sometimes damaged other  components installed on the computer. Because of this, the tool has been  removed from the Microsoft Download Center"
    So my installation of CS4Master collection is broken and I have no way of removing it.  Thanks Adobe.
    It alyways amazes me the need to make applications so reliant on inner workings the OS, at such a complex level, to simply run.
    Either way, Im stuck
    Please help!
    abso

    Hello,
    It looks like Microsoft FixIt's for Office 2003, 2007 and 2010 were added to Microsoft Knowledgebase Article #290301, "How do I uninstall Office 2003, Office 2007 or Office 2010 suites if I cannot uninstall it from Cont..." on June 29, 2010.
    Regards,
    Aryeh Goretsky
    I am a volunteer and neither a Lenovo nor a Microsoft employee. • Dexter is a good dog • Dexter je dobrý pes
    S230u (3347-4HU) • X220 (4286-CTO) • W510 (4318-CTO) • W530 (2441-4R3) • X100e (3508-CTO) • X120e (0596-CTO) • T61p (6459-CTO) • T43p (2678-H7U) • T42 (2378-R4U) • T23 (2648-LU7)
      Deutsche Community   Comunidad en Español Русскоязычное Сообщество

  • Default Filename for a New Pages Document

    When I collect articles from the web and save them in Word or Beans, the file name defaults to the first line (title) of the document. When I save a new document in Pages, the default file name is Untitled. Is there a way to make Pages use the first line of a new document as the default filename?
    This is very useful as the Save Dialog box sits right over the top of the document where the Title is displayed.
    If this feature is not yet available, what is a good work around?

    This script achieves your goal.
    --[SCRIPT saveAs1stParagraph]
    Enregistrer le script en tant que Script : saveAs1stParagraph.scpt
    déplacer le fichier ainsi créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Pages:
    Il vous faudra peut-être créer le dossier Pages et peut-être même le dossier Applications.
    Copier la chaîne de caractères à utiliser comme nom du document.
    menu Scripts > Pages > saveAs1stParagraph
    Le script ouvre le dialogue "Enregistrer sous …" et y colle le nom retenu.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    --=====
    Save the script as a Script: saveAs1stParagraph.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Pages:
    Maybe you would have to create the folder Pages and even the folder Applications by yourself.
    Copy the string to use as filename.
    menu Scripts > Pages > saveAs1stParagraph
    The script opens the "Save As…" dialog and paste the selected name in the target field.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox.
    --=====
    Yvan KOENIG (VALLAURIS, France)
    2010/05/18
    --=====
    property theApp : "Pages"
    --=====
    on run
    set the clipboard to paragraph 1 of (the clipboard as text)
    my raccourci(theApp, "s", "cs") (* Save as… *)
    my raccourci(theApp, "v", "c") (* Paste *)
    end run
    --=====
    on activateGUIscripting()
    tell application "System Events"
    if not (UI elements enabled) then set (UI elements enabled) to true (* to be sure than GUI scripting will be active *)
    end tell
    end activateGUIscripting
    --=====
    ==== Uses GUIscripting ====
    This handler may be used to 'type' text, invisible characters if the third parameter is an empty string.
    It may be used to 'type' keyboard raccourcis if the third parameter describe the required modifier keys.
    I changed its name « shortcut » to « raccourci » to get rid of a name conflict in Smile.
    on raccourci(a, t, d)
    local k
    tell application a to activate
    tell application "System Events" to tell application process a
    set frontmost to true
    try
    t * 1
    if d is "" then
    key code t
    else if d is "c" then
    key code t using {command down}
    else if d is "a" then
    key code t using {option down}
    else if d is "k" then
    key code t using {control down}
    else if d is "s" then
    key code t using {shift down}
    else if d is in {"ac", "ca"} then
    key code t using {command down, option down}
    else if d is in {"as", "sa"} then
    key code t using {shift down, option down}
    else if d is in {"sc", "cs"} then
    key code t using {command down, shift down}
    else if d is in {"kc", "ck"} then
    key code t using {command down, control down}
    else if d is in {"ks", "sk"} then
    key code t using {shift down, control down}
    else if (d contains "c") and (d contains "s") and d contains "k" then
    key code t using {command down, shift down, control down}
    else if (d contains "c") and (d contains "s") and d contains "a" then
    key code t using {command down, shift down, option down}
    end if
    on error
    repeat with k in t
    if d is "" then
    keystroke (k as text)
    else if d is "c" then
    keystroke (k as text) using {command down}
    else if d is "a" then
    keystroke k using {option down}
    else if d is "k" then
    keystroke (k as text) using {control down}
    else if d is "s" then
    keystroke k using {shift down}
    else if d is in {"ac", "ca"} then
    keystroke (k as text) using {command down, option down}
    else if d is in {"as", "sa"} then
    keystroke (k as text) using {shift down, option down}
    else if d is in {"sc", "cs"} then
    keystroke (k as text) using {command down, shift down}
    else if d is in {"kc", "ck"} then
    keystroke (k as text) using {command down, control down}
    else if d is in {"ks", "sk"} then
    keystroke (k as text) using {shift down, control down}
    else if (d contains "c") and (d contains "s") and d contains "k" then
    keystroke (k as text) using {command down, shift down, control down}
    else if (d contains "c") and (d contains "s") and d contains "a" then
    keystroke (k as text) using {command down, shift down, option down}
    end if
    end repeat
    end try
    end tell
    end raccourci
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) mardi 18 mai 2010 15:48:40

  • WSUS Administrators group and CleanUp error

    Hi,
    I try to do automatic cleanup of WSUS parent and downstream servers.
    My script run fine with my account (domain admin) but I want to run the script with low rights.
    So, I created a local account on each server, member of WSUS Administrators local group.
    This works fine for Windows 2008 (R2) downstream servers but for 2012 Servers, i get an error: acces denied when performing cleanup.
    After reviewing WSUS logs, it seems that it's impossible to stop WSUS Service with this account accros WSUS Remoting API.
    Why WSUS administrators group isn't sufficient for 2012 R2 servers ?
    Thanks.

    Hi Steven,
    My script is freely inspired by
    this script
    http://community.spiceworks.com/scripts/show/336-wsus-automatic-cleanup-script
    I will publish it as soon as my account is validated (cannot copy code block...).
    With the function $cleanupManager.PerformCleanUp([...]), it works on 2008 R2 servers but on 2012 R2 servers, I get this error:
    System.Management.Automation.MethodInvocationException: Exception lors de l'appel de « PerformCleanup » avec « 1 » argument(s) : « Accès refusé » ---> System.ComponentModel.Win32Exception: Accès refusé
       à Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException)
       à Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.StopWSUSService()
       à Microsoft.UpdateServices.Administration.CleanupManager.PerformCleanup(CleanupScope cleanupScope)
       à CallSite.Target(Closure , CallSite , Object , Object )
       --- Fin de la trace de la pile d'exception interne ---
       à System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
       à System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
       à System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
       à System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    I tried with the PS Module WSUS and function Invoke-WSUSCleanUp, but i get this error for ALL servers:
    System.ComponentModel.Win32Exception (0x80004005): Accès refusé
       à Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException)
       à Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.StopWSUSService()
       à Microsoft.UpdateServices.Administration.CleanupManager.PerformCleanup(CleanupScope cleanupScope)
       à Microsoft.UpdateServices.Commands.InvokeWsusServerCleanupCommand.ProcessRecord()
    No idea what's the différence between this two functions...
    But as you write above, an account in WSUS administrators group cannot stop service on 2012 server, nor on 2008 server !
    I've searched the WEB but could not find anything speaking on a limitation for cleanup for WSUS administrators group.
    Thank for your help.

  • Error starting j2ee and cleanup

    I'm install the following at my Red Hat Linux 7.1 machine:
    JDK 1.2.2 -- "jdk-1_2_2_008-linux-i386[1].tar.gz"
    Tomcat 3.3a -- "jakarta-tomcat-3.3a.tar.gz"
    J2EE -- "j2sdkee-1_3_01-linux[1].tar.gz"
    Ant 1.3 -- "jakarta-ant-1.3-bin.tar.gz"
    And I had set the following in the /etc/profile file:
    JAVA_HOME=/usr/local/jdk
    export JAVA_HOME
    J2EE_HOME=/usr/local/j2sdkee1.3
    export J2EE_HOME
    ANT_HOME=/usr/local/jakarta-ant-1.3
    export ANT_HOME
    CLASSPATH=/usr/local/jdk/lib:/usr/local/jre/lib:/usr/local/j2sdkee1.3/lib:/usr/local/jakarta-ant-1.3/lib
    export CLASSPATH
    PATH=$PATH:/usr/local/jdk/bin:/usr/local/jre/bin:/usr/local/j2sdkee1.3/bin:/usr/local/jakarta-ant-1.3/bin
    If I using "j2ee -verbose" to start the J2EE Server the following will come out:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/naming/Context
    at com.sun.enterprise.server.J2EEServer.<clinit>(J2EEServer.java:59)
    If I execute the cleanup script, the following will message will come out:
    Exception in thread "main" java.lang.NoClassDefFoundError: javax/naming/Context
    at com.sun.enterprise.util.J2EECleanup.<init>(J2EECleanup.java:31)
    at com.sun.enterprise.util.J2EECleanup.main(J2EECleanup.java:45)
    Can anybody give me suggestion to solve it?

    Did you ever solve it because i get exactly the same errors on a windows NT machine.
    Thanks

  • Can't open Fl-published .html Site in Dw; get warning re: script/need Fl

    I designed a Web site in Fl CS3 with AS2. I published .fla to create .html file. Usually I can then open this .html in Dw and manipulate positioning etc. but I have been getting this warning when I try: // Provide alternate content for browsers that do not support scripting // or for those that have scripting disabled. Alternate HTML content should be placed here. This content requires the Adobe Flash Player. Get Flash
    I have Fl and I have updated Fl player. My AS contains no errors. Is there a setting somewhere that is creating this problem? What really puzzles me is that I had no problem doing this last week and now I can't get past this warning to make some simple adjustments to my index.html file.

    Well, it took a long time, but I eventually got it working properly.  All of the presets and codecs show up, I can import AVCHD files properly with audio, and the project I couldn't open before now opens fine, so it turned out not to be a corrupt project. It looks like the problem was that the cleaner script didn't actually clean everything it should have, and I had to do it all manually.
    I uninstalled all of the Adobe Creative Cloud software, rebooted, ran the CC Cleanup script, and rebooted again.
    Then I uninstalled Flash and ALL other Adobe software I had on my machine.
    Then I used the Find Any File app to find every reference on my Mac to any file with "adobe" in the name--including system files--and deleted them and emptied the trash.
    The only Adobe things I left on my machine were the Adobe RGB color profile and any Adobe fonts I had.
    Empty the trash again, reboot again.
    Then I used the CC installer to install Premiere and only Premiere (I didn't even install Adobe Media Encoder) because I didn't want to go through all that download time only to have it fail on me again.
    And at long last it worked. Then I went back and installed Media Encoder, which didn't seem to break anything, so I went back and installed the other CC software I wanted on my machine, and things are working at last.
    The "cleaner" script leaves a LOT of Creative Cloud-related files on your machine, which, in my opinion, means it's not a very effective "cleaner."  It seems to want to leave a lot of preference files and other files whose purpose I don't know (but I deleted them anyway).  There should at least be a checkbox somewhere on the cleaner that says "wipe absolutely everything related to Adobe off of my machine".
    Thanks again for your suggestions, Neil.
    dave

  • SaveAs with DialogModes.All not accepting new filename

    I have a script that resizes and saves a file several times. On the last one I want to have the SaveAs dialog display so that I can adjust the JPG quality if necessary. When I set DialogModes.All before my call so SaveAs, the SaveAs dialog doesn't recognize the filename I pass in, which is different than the other times I saved the file. The SaveAs dialog uses the last filename the script used to save the file.
    Is there a way to get the SaveAs dialog to use a different filename with DialogModes.All?
    Thanks,
    Scott

    >Have you tried using some ScriptingListener code?
    I have used an alert to make sure the filename I am passing in is what I want. It appears that it is just ignoring the filename and using what was entered in the dialog the previous call to SaveAs.
    Note that it works as expected if I have DialogModes.NO before the call to SaveAs, and the correct filename is used and saved without notification obviously. That's how I have been running it for a while now.
    I haven't tried ScriptingListener, but will take a look at it.

  • Help with Dr Brown's Scripts 1.9.4

    When trying to run Dr Brown's 1-2-3 servie, or any other script of his I get the following error message in CS3:   "ReferenceError: photoshop is undefined" and the script quits.
    Sequential history:
    Installed CS3 and both Photoshop and Bridge worked great. Then I installed Dr Brown's Services 1.9.4 and everything worked great.
    A year later I installed CS4 plus Dr Brown's scripts alongside of CS3; Bridge 10 then refused to run. Photoshop 11 was flaky, but Bridge 11 worked great.
    Photoshop 11 got really nasty so decided to uninstall it leaving Bridge 11 because I really like the Dr Brown scripts. The uninstall took out everything, even though it was told to leave Bridge.
    Now I'm back to just CS3 versions of Photoshop and Bridge which work just like before EXCEPT that I'm not able to get the Dr Brown scripts to run, getting the error in the first sentence above.
    Any suggestions on hoe to fix this GREATLY appreciated.
    dave

    As you found out, you can't remove PS and leave Bridge – they are interdependent. You would have been better off fixing PS CS4 with the 11.0.1 patch and video driver updates!
    Your CS4 installation probably left remnants after you un-installed it.
    Use the Adobe CS4 cleanup script – http://www.adobe.com/support/contact/cs4clean.html
    (And possibly remove and re-install Dr Brown's, scripts.)

  • Cleanup Utility for CS3 CS4 on Vista 64-bit

    I am in the process of uninstalling CS4 in hopes of solving some issues. Premiere and AE stall when opening up either program. In doing so, I have sufficiently confused myself, so I need a step-by-step guide. I ran  the Windows uninstaller, but some Adobe components are still there. When I first upgraded from CS3 to CS4, the installer left all of the CS3 apps on my computer. I am not sure if that is a problem, but I would like to get rid of CS3 to eliminate more confusion. CS4 does no include Audition OnLocation, or Ultra, which I would like to keep.
    I have read somewhere about an Adobe cleanup script and a Windows cleanup, but I have not found them online anywhere. Will someone provide me a link to the Cleanup Scripts and instructions on whatever I need to do a clean install of CS4?
    I disconnected the Matrox MX02 Mini and I will need to know when to re-connect it (before or after installing CS4?)
    Attached is a list of all the Adobe Apps still installed after running the control panel's uninstaller.
    Should I remove these with the Windows Clean up Utility? Is it safe to remove everyting with the name "Adobe"?
    I just want a clean install of CS4.

    http://www.adobe.com/support/contact/cs3clean.html
    http://www.adobe.com/support/contact/cs4clean.html
    Bob

  • How to run scripts of sql

    Hi
    how run sql scripts for example see below,
    For Release 12+, i2471362.sql is delivered with the release with version 120.0
    The module can be found in $INV_TOP/patch/115/sql
    Run i2471362.sql periodically to clean-up orphaned rows in the MTL_DEMAND and MTL_RESERVATIONS tables.
    any idea
    thanks

    Hi,
    As applmgr/oracle user, login to SQL*Plus (as APPS user) and run the script.
    $ sqlplus apps/<apps password>
    SQL> @i2471362.sqlStandard Cleanup Scripts for INVDVDSD - SUPPLY/DEMAND in 11.5.10.2, 12.0 and 12.1 [ID 372170.1]
    11i/R12: Clean Up Scripts - Inventory Reservations Not Relieved for Closed Sales Orders [ID 199887.1]
    MRPRPROP - Reorder Point Report Shows Incorrect Data In Open Demand Qty [ID 300260.1]
    Thanks,
    Hussein

Maybe you are looking for

  • Calling a backend bean method from another class

    Hi, I'm new in JSF & in this forum so maybe this question is already aswer. My problem is that I made a jsf component to deal with a tree menu. The resources in the leaf nodes of the menu are stored in a action calling pattern (i.e.: #{myBean.myMetho

  • Delay rendering of Panel Group

    I have Tabbed Panel Group widget that is driven by Spry Data, that's held in a parent frame. The markup for the group is defined in a region, using spry:repeat for each tab and {} for data output. The onLoad event for the page calls a function that c

  • Batch Delete: Deleting Records which I don't own

    Hi I have performed a batch delete of activities from an activity list. The process deleted only the records which I owned, which was about half. The remaining half are owned by 2 other users, and I am unable to establish how to batch delete the rema

  • HT1399 deleting large amoounts of music

    How do I delete all my musci from my ipod without doing it one by one?

  • Twitter error 401 with iPhone5 iOS6 How do I resolve this?

    The home button in Twitter app shows the error loading tweets 401 tap to retry. The connect button shows interactions and mentions correctly. The discover button shows a list of choices to discover. The Me button says not following any users. I do in