Script for multiple tp addtobuffer and tp import in windows OS

Hi Gurus,
Can someone extend some asssitance? I need to transport 5000 transport request in OS level (window). I wanted to create a script that will enable me to addtobuffer and tp import all this 5000 request and will show the error code of the particular TPs that encountered an error.
Need your immediate assistance please?

Hi,
You can do the following
1.     Compose all the requests in the given specified format.
tp addtobuffer REQUEST SID client=XXX pf= Transport domain profile  Using excel sheet.
  We should have following things
a.     Request IDs such as <SID>K9XXXXX
b.     SID of the system for which these requests are to be imported.
c.     Specific client no.
d.     Transport domain profile.
The final format of the excel sheet with all the transport requests should look like this.
This format needs to be pasted on to the text file. (transports.txt), in windows you can save as .cmd  or bat format may be.
tp     addtobuffer     <SID>K9XXXXX     <target SID>     client=XXX pf=TP_DOMAIN_SID.PFL
tp     addtobuffer     <SID>K9XXXXX     <target SID>     client=XXX pf=TP_DOMAIN_SID.PFL
tp     addtobuffer     <SID>K9XXXXX     <target SID>     client=XXX pf=TP_DOMAIN_SID.PFL
tp     addtobuffer     <SID>K9XXXXX     <target SID>     client=XXX pf=TP_DOMAIN_SID.PFL
u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026
u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026u2026.
2.     Once the text file or cmd file with all the requests are made, place it on to the target system transport directory.
/usr/sap/Trans/bin.
3.     Execute this file (./transports.bat) and redirect this file to one more file (error.txt) for checking the errors
./transports.bat >> error.txt
Once all the transports are attached into buffer, you can do the mass import from STMS
Thanks and Regards
Purna
Edited by: purnachender on Mar 17, 2010 7:11 AM

Similar Messages

  • Can i use a thunderbolt display for my macbook pro and hp laptop with windows 7 and what adapters will i need

    Can i use a thunderbolt display for my macbook pro and hp laptop with windows 7 and what adapters will i need

    Hi jayhrab,
    Currently, the system requirements listed for an Apple Thunderbolt Display are:
    Thunderbolt-enabled Mac computer, including MacBook Air, MacBook Pro, Mac mini, and iMac
    OS X v10.6.8 or later
    Apple - Thunderbolt Display - Read the tech specs.
    Regards,
    - Brenden

  • Drivers for hp photosmart d5360 and laserjet 4000 in windows 7,needed

    i need the drivers for  hp photosmart d5360 and laserjet 4000  in windows 7
    i have install windows 7 ver 7260 and everything was working fine,,then i have updated to ver 7600
    and now my computer does not want to install the drivers,,
    any ideas why is not working?
    thanks

    It does not matter how we got Windows 7 RTM (7600). But if you have to know to answer the questions about drivers, then MSDN Subscribers and Technet Subscribers can download Windows 7 RTM as of August 7. I also have Windows 7 RTM and I now cannot install the HP Laserjet 4000N printer. It used to work with Windows 7 RC but now not with RTM. My printer is located on a Windows Server 2008 based computer. It properly browses and I I can select it from the server list of printers. But it then tells me that I dont have a driver. Where can we get a driver? HP will have the Windows 7 RTM version as well for their driver support.

  • FDM integration script for multiple locations

    Hi,
    I have a slight problem with FDM integration script (SQL integration).
    From what I've understood and tested within one FDM-application (tablespace) I'm not able to have multiple integration scripts. This because the integration script needs to be named SQLIntegration.uss, otherwise there will be an error.
    I have multiple locations within one FDM-application where I would like to use an integration script. Due to the above mentioned naming "bug", I need to include all my locations' integration information in one script. As imagined this is not a solution that easy to maintain or easy to read.
    - Is there a workaround for the name-bug?
    - Can I call a function within the main function? I tried without any success, but maybe you would have a solution.
    Any input would be beneficial

    user10757003 wrote:
    Not sure what you mean when you say you rename the file and you get the error.
    Is this a new integration script you have created and cut / pasted the existing integration script contents? If so, did you remember to change the SQLINTEGRATION = TRUE statement at the end of the script to the new integration script name? this might be the reason why you get the 'Import Successful' popup and the Import error dropdown.What I mean is that scripts are name xxx.uss abc.uss. This should be fairly clear.
    Now I have the SQLIntegration.uss, if I change the name of the script to SQLIntegration1.uss or any name. The script will not work. And I receive one error and one success message as stated above.
    Note: I'm not changing the content or anything else inside the script.

  • Generating Insert Scripts for multiple tables

    Hi,
    I have 6 tables TABLA,TABLB,TABLC,TABLED,TABLEE,TABLEF
    I want to generate Insert Scripts for the above 6 tables.
    Is there any mechanism to do so so that i can generate the .sql files for the above 6 tables to another schema?
    Any help will be needful for me.

    Hi,
    May the below given function script help you...
    CREATE OR REPLACE FUNCTION get_insert_script (v_table_name VARCHAR2)
       RETURN VARCHAR2
    AS
       b_found   BOOLEAN         := FALSE;
       v_tempa   VARCHAR2 (8000);
       v_tempb   VARCHAR2 (8000);
       v_tempc   VARCHAR2 (255);
    BEGIN
       FOR tab_rec IN (SELECT table_name
                         FROM all_tables
                        WHERE table_name = UPPER (v_table_name))
       LOOP
          b_found := TRUE;
          v_tempa := 'select ''insert into ' || tab_rec.table_name || ' (';
          FOR col_rec IN (SELECT   *
                              FROM cols
                             WHERE table_name = tab_rec.table_name
                          ORDER BY column_id)
          LOOP
             IF col_rec.column_id = 1
             THEN
                v_tempa := v_tempa || '''||chr(10)||''';
             ELSE
                v_tempa := v_tempa || ',''||chr(10)||''';
                v_tempb := v_tempb || ',''||chr(10)||''';
             END IF;
             v_tempa := v_tempa || col_rec.column_name;
             IF INSTR (col_rec.data_type, 'CHAR') > 0
             THEN
                v_tempc := '''''''''||' || col_rec.column_name || '||''''''''';
             ELSIF INSTR (col_rec.data_type, 'DATE') > 0
             THEN
                v_tempc :=
                      '''to_date(''''''||to_char('
                   || col_rec.column_name
                   || ',''mm/dd/yyyy hh24:mi'')||'''''',''''mm/dd/yyyy hh24:mi'''')''';
             ELSE
                v_tempc := col_rec.column_name;
             END IF;
             v_tempb :=
                   v_tempb
                || '''||decode('
                || col_rec.column_name
                || ',Null,''Null'','
                || v_tempc
                || ')||''';
          END LOOP;
          v_tempa :=
                v_tempa
             || ') values ('
             || v_tempb
             || ');'' from '
             || tab_rec.table_name
             || ';';
       END LOOP;
       IF NOT b_found
       THEN
          v_tempa := '- Table ' || v_table_name || ' not found';
       ELSE
          v_tempa := v_tempa || CHR (10) || 'select ''- commit;'' from dual;';
       END IF;
       RETURN v_tempa;
    END;(copied and pasted from a commercial site)
    *009*
    Edited by: 009 on Jan 14, 2010 10:43 PM
    (Function after debug)

  • Script for alsa, alsamixer dmix and modules

    First, excuse me for my bad english
    Hi
    I've wrote my first script in bash and this is for archlinux.
    This one install all necessary packages, check with hwd what are the sound cards modules that have to be probe, write the /etc/rc.d/alsamixer module and install dmix
    It also modify /etc/rc.conf to had the modules and the deamon and add a user to the audio group.
    The script works fine on my computer but i'd like to know if it really works well.
    install_alsa.sh

    Hi,
    I used this script on pretty much computers now, so it has already saved me pretty much time Thanks again!
    May I give a few suggestions:
    In the begin you check if the user is root with $USER, maybe it is better to use whoami instead. Because whoami will also see that you are root when you are root in su
    Maybe clean up the output a bit, you probably know that you can pipe the output of a program to /dev/null, for instance instead of
    amixer set Master 70 unmute
    you could use
    echo -n 'Setting Master volume to 70...'
    if amixer set Master 70 unmute > /dev/null
    then
    echo 'done'
    else
    echo 'failed'
    exit 1
    fi
    And maybe use the same layout of output pacman uses.
    Also something goes wrong with the /etc/rc.d/aslamixer script. It keeps al the n signs in it instead of new lines. I think it is better to have a seperated file alsamixer and distribute you script in a tarball, so you can easiely copy the file to /etc/rc.d. But of course this is just my opinion.
    You often add something to the rc.conf file, because this happens often and is nearly the same everytime you maybe could use a function where you send the parameters, file (in this case rc.conf) variable_name (here it is DAEMONS or MODULES) and of course the value. (for instance alsamixer)
    On the end of the script you ask width users you want to add to the audio group. You can check if the user is already in the audio group (cat /etc/groups | grep audio etc) and don't show that user because he's already in it and maybe filter out groups as ftp, svn, etc
    This is just a very rough idee but what about that every configuration script that's (going to be) written for arch uses the same file and output layout. For instance that every configuration script has:
    1: A standart name, for instance arch-config-audio, arch-config-grub etc
    2: As I already mention the same output to the users
    3: Two scipts, one called configure, this script would do (if needed) some hardware detection and ask the user questions. The second called install, this would do the time consuming installation and would never ask a question to the user. This way one can do all the configuration of the 'install scripts' directly after each other and than install everything, where the user can leave the computer.
    4: And of course add those script to the one of the ftp servers so you can install them with pacman
    Don't take the last idee too serious, I often have a lot of stupid idees
    Cheers,
    David

  • Printing sap script for multiple customers

    Hi,
    I have a requiremnt to print the form for multiple customers. How should i use the sap script function modules? i.e. in which sequence?
    for example customer A has 5 pages. customer B has 4 pages.
    after printing 5 pages of the customer A, it should print 4 pages of the customer B.
    regards,
    CK

    To print accroding to your requirment you should modify your driver program like this...
    Sort <Internal table by KUNNR.
    LOOP AT <internal table>
    AT NEW KUNNR. "Customer..
    **Call Function module OPEN_FORM
    END AT.
    AT END OF KUNNR.
    ***Call function CLOSE_FORM
    ENDAT.
    ***Call all your Write_FORM
    ENDLOOP.
    Regards,
    SaiRam

  • One script for multiple loaded movie clips

    Hello,
    I am sure that this has been asked or answered before, but
    could not locate the correct response.
    Problem:
    There are 20 movie clips loaded onto the stage through
    actionscript. I have 20 different onPress scripts to start the drag
    for each (which also contain custom variable).
    Problem, I have one single onRelease script which is to be
    used for each, but do now wish to give 20 custom handled scripts.
    Can I somehow use certain scripting for using one single
    generic script for the onRelease? So no matter what was released it
    will go through this one script.
    Thanks
    D

    like this...
    activate
    set the_folder to choose folder with prompt "Select the folder you want to add folders to..."
    tell application "Finder"
    set the_name to "Name"
    set the_count to 3
    repeat with this_num from 1 to the_count
    set new_num to this_num as string
    if (count new_num) is 1 then set new_num to "0" & new_num
    make new folder at the_folder with properties {name:the_name & " " & new_num}
    end repeat
    end tell

  • Alternative for multiple inheritance (AbstractQueue and AbstractList)

    Hello all,
    What is the best alternative for multiple inheritance? I want to make a list, which supports queue operations. Both AbstractQueue en AbstractList are useful, so I would like to use them both, instead of implementing the methods myself or copying the code.
    thanks

    Do you mean you want a class just like LinkedList?
    Why don't you look at the code for LinkedList. Perhaps you could even use it.
    Most Queue methods have trivial implmentations using a List.
    From the source for LinkedList
    public class LinkedList<E>
        extends AbstractSequentialList<E>
        implements List<E>, Queue<E>, Cloneable, java.io.Serializable

  • Unexpected Quits in multiple applications at Save or Import/Export window

    Hello,
    For several months I have Apple and Adobe applications as well as Firefox, randomly quit when bringing up the Save, or Import/Export window. (I have copies of the error logs.)
    I thought I had it fixed since I haven't had any issues for some time after running Disk Utility and Onyx. But, I posted the same issue a couple of months ago and the solution (at the time) was to keep the desktop clean (see "Crashing at Save" by katorama) . So, after I cleaned up my desktop and only had two aliases to my folders I needed, all went very well until now.
    However, what didn't help is that yesterday we had three power outages and my iMac did an auto-restart after each. Since then, the problem returned and nothing seems to fix it.
    I feel like this issue is haunting me! I was a tech for many years and normally can fix the issue. But, I can't seem to figure out the reason behind these crazy unexpected quits. Seems I've run out of tools in my toolbag.
    TROUBLESHOOTING ATTEMPTS:
    – I have run Disk Utility to verify and repair disk and Onyx to clean out caches. After this, it seems to run fine, then a different application will have the same problem.
    – When I create a new user account, there is no response when I double click the hard drive (it does not open) and when testing an application for the quit issue, it happens again.
    – Also, when I restart into Safe Boot the problem appears to stop initially, but can appear intermittently again.
    I suspect it may be a RAM or even a Quartz issue? But, honestly, I have no idea. 
    < h   e   l   p   ! >
    Any suggestions welcome!
    thanks!
    –kat
    10.6.8
    3.06 GHz Intel Core 2 Duo
    4GB 800 MHz DDR2 SDRAM
    Format: Mac OS Extended (Journaled)
    Capacity: 749.81 GB
    Available: 592.7 GB
    Used: 157.11 GB on disk (157,110,349,824 bytes)
    Here is a bit of the log:
    ================================
    Process:         Safari [508]
    Path:            /Applications/Safari.app/Contents/MacOS/Safari
    Identifier:      com.apple.Safari
    Version:         5.1.1 (6534.51.22)
    Build Info:      WebBrowser-75345122~2
    Code Type:       X86-64 (Native)
    Parent Process:  launchd [91]
    Date/Time:       2011-10-27 15:48:07.784 -0600
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          -470736 sec
    Crashes Since Last Report:           42
    Per-App Interval Since Last Report:  1761 sec
    Per-App Crashes Since Last Report:   1
    Anonymous UUID:                      0D81673F-96B5-47DD-B1D9-54E5137F2176
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Application Specific Information:
    *** error for object 0x10aabe408: incorrect checksum for freed object - object was probably modified after being freed.
    ================================

    Hi.
    This is about a question you posted to the Firefox Support forum three months ago (I'm sorry you never got an answer).
    Did you ever fix the problem where Firefox freezes or hangs, when clicking a download link or using (File menu) "save as" or "open file"? Or when going to the Firefox (Tools) menu and clicking Options ? Or trying to Import or Export bookmarks?
    I found this thread searching for a solution for someone on MozillaZine's support forum who's having a similar issue. See this thread: (maybe something he's tried that didn't work for him will work for you?)
    http://forums.mozillazine.org/viewtopic.php?f=38&t=2382953&start=15
    <br>Cannot download or click tools -> options

  • Start up script for EPM 11.1.2 in Unix or Windows...

    Is there a sample start up script for starting required services in EPM 11.1.2 ?
    I saw that the Program Files item for EPM, has a link to some start up script but
    it starts everything and it seems to refer to many scripts and seem complicated.
    Is there a simple script for EPM 11 ? In System 9, I used Net Start to start services in a batch file and
    used Sleep command between commands to give enough time for the services. But it would be nice
    if there is a script which automatically checks to make sure to start the next service only after a dependent service has started.
    cheers
    Z

    Simple examples for EPM11.1.2.1 on Windows env.
    epmStart.bat
    @ECHO OFF
    ECHO EPM 11.1.2.1 STARTING / Batch EPM full start script by Antun Kulkov, 2011
    ECHO See more at http://silw.blogspot.com
    ECHO SQL Server Starting
    sc start "MSSQLSERVER"
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Oracle Process Manager (ohsInstance)
    sc start "OracleProcessManager_ohsInstance1649849633"
    waitfor NONEXISTINGSIGNAL /T 10
    ECHO Oracle Process Manager (EPM_epmsystem1)
    sc start "opmn_EPM_epmsystem1"
    waitfor NONEXISTINGSIGNAL /T 10
    ECHO Oracle Process Manager (ConfigurationManager)
    sc start "OracleEpmSystem_Administratord_oracle_middleware_user_projects_epmsystem1ConfigurationManager"
    waitfor NONEXISTINGSIGNAL /T 10
    ECHO Hyperion RMI Registry
    sc start "Hyperion RMI Registry"
    waitfor NONEXISTINGSIGNAL /T 10
    ECHO Hyperion Foundation Services - Managed Server
    sc start HyS9FoundationServices
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Administration Services - Web Application
    sc start HyS9eas
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Integration Services
    sc start "Essbase Integration Server"
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Provider Services - Web Application
    sc start HyS9aps
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Studio Service BPMS
    sc start "Hyperion Studio Service BPMS bpms1"
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion EPM Architect - Process Manager
    sc start EPMA_Server
    waitfor NONEXISTINGSIGNAL /T 30
    ECHO Hyperion EPMA Data Synchronizer - Web Application
    sc start HyS9EPMADataSynchronizer
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion EPMA Web Tier - Web Application
    sc start HyS9EPMAWebTier
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion CALC Manager - Web Application
    sc start HyS9CALC
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Planning - WebHyS9Planning Application
    sc start HyS9Planning
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Web Analysis - Web Application
    sc start HyS9WebAnalysis
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Reporting and Analysis Framework
    sc start HyS9RaFrameworkAgent
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Financial Reporting - Web Application
    sc start HyS9FRReports
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Reporting and Analysis Framework - Web Application
    sc start HyS9RaFramework
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO ALL DONE!
    waitfor NONEXISTINGSIGNAL /T 10
    ECHO Oracle EPM System has been started.
    epmStop.bat
    @ECHO OFF
    ECHO EPM 11.1.2.1 STOPPING / Batch EPM full stop script by Antun Kulkov, 2011
    ECHO See more at http://silw.blogspot.com
    ECHO Hyperion Web Analysis - Web Application
    sc stop HyS9WebAnalysis
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Reporting and Analysis Framework
    sc stop HyS9RaFrameworkAgent
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Financial Reporting - Web Application
    sc stop HyS9FRReports
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Reporting and Analysis Framework - Web Application
    sc stop HyS9RaFramework
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Planning - WebHyS9Planning Application
    sc stop HyS9Planning
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion CALC Manager - Web Application
    sc stop HyS9CALC
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion EPMA Web Tier - Web Application
    sc stop HyS9EPMAWebTier
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion EPMA Data Synchronizer - Web Application
    sc stop HyS9EPMADataSynchronizer
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion EPM Architect - Process Manager
    sc stop EPMA_Server
    waitfor NONEXISTINGSIGNAL /T 30
    ECHO Hyperion Studio Service BPMS
    sc stop "Hyperion Studio Service BPMS bpms1"
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Provider Services - Web Application
    sc stop HyS9aps
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Integration Services
    sc stop "Essbase Integration Server"
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Administration Services - Web Application
    sc stop HyS9eas
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion Foundation Services - Managed Server
    sc stop HyS9FoundationServices
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO Hyperion RMI Registry
    sc stop "Hyperion RMI Registry"
    waitfor NONEXISTINGSIGNAL /T 10
    ECHO Oracle Process Manager (ConfigurationManager)
    sc stop "OracleEpmSystem_Administratord_oracle_middleware_user_projects_epmsystem1ConfigurationManager"
    waitfor NONEXISTINGSIGNAL /T 10
    ECHO Oracle Process Manager (ohsInstance)
    sc stop "OracleProcessManager_ohsInstance1649849633"
    waitfor NONEXISTINGSIGNAL /T 10
    ECHO Oracle Process Manager (EPM_epmsystem1)
    sc stop "opmn_EPM_epmsystem1"
    waitfor NONEXISTINGSIGNAL /T 10
    ECHO SQL Server Stopping
    sc stop "MSSQLSERVER"
    waitfor NONEXISTINGSIGNAL /T 5
    ECHO ALL DONE!
    waitfor NONEXISTINGSIGNAL /T 10
    ECHO Oracle EPM System has been stopped.

  • Need a click and drag script for multiple layers.

    Hi. I'm realitivly new to Flash and Action Script.
    For a Majour project school asignment i am trying to create an interactive map for a hypothetical theme park, and i'll cut to the chase, i need a script that allows the player to drag the content of two or three layers around the screen upon mouse click, similar to this example:\
    http://www.dreamworld.com.au/content/drw_2008_shopping.asp?name=ParkMap
    I will have a layer for buttons (probably called Buttons) and a layer for the map graphic (Probably called Map), similar to this tutorial:
    http://www.republicofcode.com/tutorials/flash/interactive_map/
    If anyone could produce, or has a script lying around that could do this; i would really apreciate it.
    This assignment has a large impact on my UAI (universities admission index).
    Thanks for your time,
    Pat

    Thanks for your help. I really appreciate it.
    The problem is; this is the script i am using to make the map interactive:
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    var cities:Array = ["muscat", "sohar", "dubai","abu_dhabi"]
    function mover (targetX, targetY){
    currentX = marker_mc._x;
    currentY = marker_mc._y;
    var xTween:Tween = new Tween(marker_mc, "_x", Strong.easeOut, currentX, targetX, .5, true);
    var yTween:Tween = new Tween(marker_mc, "_y", Back.easeOut, currentY, targetY, 1.5, true);
    for (var i = 0; i<cities.length; i++){
    var my_btn = this[cities[i]+"_btn"];
    my_btn.myCity = cities[i];
    my_btn.onRollOver = function() {
    mover( this._x, this._y);
    marker_mc.gotoAndStop(this.myCity);
    And when the buttons are made to be part of a movie clip with the image i am using for the background this script does not work.
    The script is located in a layer called "Actions", if that is of any help at all.
    Any ideas?
    I am sorry if I am being a newsense.
    Thanks

  • Need help with easy script for open / close app and move files

    Hi,
    I'm not a scripter.. never done anything special perhaps more complicated than /shutdown -s on cmd..
    I actually learned ASCII C language on university but never used it in real.
    I'm trying to create a basic script that perhaps you could help me or guide me how to do it..
    The commands are
    1) Close a running app (end task it or force kill it, I prefer end task it)
    2) delete files from x location
    3) run .exe app from y location
    4) close that running app 
    5) move files from z to y
    Perhaps adding few "wait few seconds" commands in between each, so the apps will launch successfully..
    My first question will be whats the easiest script language to do that?
    I tried VBScript but couldn't find commands for open or close apps.. also for controlling files..
    And what commands can do that? I could google them up for better understanding no need for rough guide
    And lastly, does it too hard? If it takes more than hour to make it (learn and process) than it ain't worth it..
    Thanks alot ahead!
    Jordan.

    hmm 2 questions:
    1) taskkill.exe causing me access deny error.. I used "taskkill.exe /IM softwarename.exe"
    how do I get permission or something to fix that?
    2) on the "move" command..
    First, its a "copy" instead.. but I easily figured that out.. 
    but more important is that I want to copy a folder.. with unknown list of way too long files and sub folders..
    and all I see is ability to move a file..
    Is this possible?
    Thanks

  • Script for Multiple Folders (Changeable)

    Okay, here is what I am needing but can't figure out. I need a script that will allow me to make multiple folders with "name and number sequence" that I specify in a folder that I specify. For example:
    Main Folder (Whatever one I choose)
    Name 01
    Name 02
    Name 03
    I would like to be able to change the name at will and how many folders that are created. If anyone could help me I would be grateful as it would save me a ton of time.
    Thanks

    like this...
    activate
    set the_folder to choose folder with prompt "Select the folder you want to add folders to..."
    tell application "Finder"
    set the_name to "Name"
    set the_count to 3
    repeat with this_num from 1 to the_count
    set new_num to this_num as string
    if (count new_num) is 1 then set new_num to "0" & new_num
    make new folder at the_folder with properties {name:the_name & " " & new_num}
    end repeat
    end tell

  • Simple Script for Multiple Objects?

    Someone recently helped me with setting an opacity level for an object using this one line script and binding a keyboard shortcut to it: app.selection[0].transparencySettings.blendingSettings.opacity=50; (Pressing "5" sets the object's opacity to 50%)
    Although the script works perfectly for one object, when mutiple objects are selected it only affects the first selected object. Can someone show me how to get this script to affect multiple objects at once?
    Thanks in advance!

    Thanks for the help man, but what's with the snarky comment? lol. Yeah I use my "5" key daily as well. But in ID it does nothing while in the default context, so why not put it, and the other digits to use to quickly set object opacity? (this function is similar to setting opacity for Photoshop layers by the way).
    Have a nice day, and cheer up. Spring's almost here.

Maybe you are looking for