Script for copying contracts

Looking a script to copy contacts from outlook 2010 to office 365. Thanks
This topic first appeared in the Spiceworks Community

Looking a script to copy contacts from outlook 2010 to office 365. Thanks
This topic first appeared in the Spiceworks Community

Similar Messages

  • MAXL Script for copying outline

    Can we write any MAXL Script for copying outline from one aplication/datbase to another application/database.
    Example copying olt from app1.dbb1 to app2.dbb2

    No and yes.
    There is no MaxL statement for copying an outline from one DB to another (Unless you are converting from BSO to ASO). But you can shell system commands like xcopy within a MaxL script (of course you could just do this in your batch or shell script) . Just make sure you stop the Dbs before doing the copy

  • Logon Scripts for copying files in Windows 7

    Issues using Logon scripts to copy files in windows 7.  Its default is to append the file rather than copy and replace, which is what XP did.  How can I achieve the same results using
    logon scripts in W7 to copy any files to specified folders and replacing old files.  The reason for this is that we use a software that performs offsite/onsite updates and the only way all the users can have the correct version/tables is to either manually
    update each user in a 90+ user environment or use a logon script to perform the coping of the updates.  Unfortunately the software support won’t create a (while logging in to software) patch for this.  So we have to force it during the user logon.

    Hi Novice,
    It should depend on your script content. it's recommended you ask in the official scripting guys forum for professional help:
    https://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    Karen Hu
    TechNet Community Support

  • Photoshop script for Expand/Contract of Selection

    Hi!
    I need script that will make Expand or Contract Selection for example 1px each time I hit keyboard shortcut. I mean I would like to use this options because I use it very often but I would like without dialog box when PS ask for value of expand/contract. When I will have script for those I could make it by wheel in my Intuos Pro. Now I can't because every time I have dialog box. Thanks in advance for help!
    Regards
    Arek

    cool, thanks, the script works great!
    #target photoshop
    app.bringToFront();
    try {
            // test for active selection
            if (hasSelection(app.activeDocument)) {
                // expand selection
                //app.activeDocument.selection.expand(new UnitValue (100, "px"))   
                // contract selection
                app.activeDocument.selection.contract(new UnitValue (100, "px"))
            else {
                alert ("ERROR: no active selection \n USAGE: the script requires an active selection")
    catch (e) {
            alert ("ERROR: the script did not execute")
    //////////// FUNCTIONS ////////////
    function hasSelection(doc) {
      var res = false;
      var as = doc.activeHistoryState;
      doc.selection.deselect();
      if (as != doc.activeHistoryState) {
        res = true;
        doc.activeHistoryState = as;
        return res;

  • Script for copying or moving files from windows server to another remote windows server

    Copy below 2 line into notepad and save as movescript.vbs
    execute in command prompt
    c:\cscript movescript.vbs  (Press ENTER)
    Files will move to remote location.
    =========================================
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    objFSO.MoveFile "C:\scripts\*.txt","\\servername\c$\share"
    =========================================
    for copy files to remote location
    =========================================
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    objFSO.CopyFile "C:\scripts\*.txt","\\servername\c$\share"
    =========================================
    Lets us know if you face any error. reply back to me on [email protected]
    Thank you.....
    Regards Ravikiran MCITP

    What is your question?  Are you asking how to do this?  Can you post the errors?
    ¯\_(ツ)_/¯

  • A script for copying certain files to a new location

    I have a folder with over 50,000 images in it. I need about 15,000 of them copied to another folder.
    Is there a script (that I can paste the list of the ones I need copied) to perform this action?
    Thanks in advance.

    perhof,
    After much googling, I was fortunate enough to find your beautiful script!
    I added a couple of things like subfolder recusion ( by tweaking scripts I found) .
    Would you be kind enough to look this over and see if it's ok or needs fixing?
    Thanks for any help,
    ec
    [code]
    ' Read a list of images from text file
    ' and copy those images from SourceFolder\SubFolders to TargetFolder
    ' Should files be overwriten if they already exist? TRUE or FALSE.
    Const blnOverwrite = TRUE
    Dim objFSO, objShell, WSHshell, objFolder, objFolderItem, strExt, strSubFolder
    Dim objFileList, strFileToCopy, strSourceFilePath, strTargetFilePath
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objShell = CreateObject("Shell.Application")
    Set WSHshell = CreateObject("WScript.Shell")
    Const ForReading = 1
    ' Make the script useable on anyone's desktop without typing in the path
    DeskTop = WSHShell.SpecialFolders("Desktop")
    strFileList = DeskTop & "\" & "images.txt"
    ' File Extension type
    strExt = InputBox("Please enter the File type" _
    & vbcrlf & "For Example: jpg or tif")
    If strExt="" Then
       WScript.Echo "Invalid Input, Script Canceled"
    Wscript.Quit
    End if
    ' Get the source path for the copy operation.
    Dim strSourceFolder
    Set objFolder = objShell.BrowseForFolder(0, "Select source folder", 0 )
    If objFolder Is Nothing Then Wscript.Quit
    Set objFolderItem = objFolder.Self
    strSourceFolder = objFolderItem.Path
    ' Get the target path for the copy operation.
    Dim strTargetFolder
    Set objFolder = objShell.BrowseForFolder(0, "Select target folder", 0 )
    If objFolder Is Nothing Then Wscript.Quit
    Set objFolderItem = objFolder.Self
    strTargetFolder = objFolderItem.Path
    Set objFileList = objFSO.OpenTextFile(strFileList, ForReading, False)
    On Error Resume Next
    Do Until objFileList.AtEndOfStream
        ' Read next line from file list and build filepaths
        strFileToCopy = objFileList.Readline & "." & strExt
        ' Check for files in SubFolders
        For Each strSubFolder in EnumFolder(strSourceFolder)
          For Each strFileToCopy in oFSO.GetFolder(strSubFolder).Files
        strSourceFilePath = objFSO.BuildPath(strSubFolder, strFileToCopy)
        strTargetFilePath = objFSO.BuildPath(strTargetFolder, strFileToCopy)
        ' Copy file to specified target folder.
        Err.Clear
        objFSO.CopyFile strSourceFilePath, strTargetFilePath, blnOverwrite
        If Err.Number = 0 Then
            ' File copied successfully
            iSuccess = iSuccess + 1
            If Instr(1, Wscript.Fullname, "cscript.exe", 1) > 0 Then
                ' Running cscript, output text to screen
                Wscript.Echo strFileToCopy & " copied successfully"
            End If
        Else
            ' Error copying file
            iFailure = iFailure + 1
            TextOut "Error " & Err.Number & _
            " (" & Err.Description & ")trying to copy " & strFileToCopy
        End If
       Next
    Next
    Loop
    strResults = strResults + 0 '& vbCrLf
    strResults = strResults & iSuccess & " files copied successfully." & vbCrLf
    strResults = strResults & iFailure & " files generated errors" & vbCrLf
    Wscript.Echo strResults
    Sub TextOut(strText)
        If Instr(1, Wscript.Fullname, "cscript.exe", 1) > 0 Then
            ' Running cscript, use direct output
            Wscript.Echo strText
        Else
            strResults = strResults & strText & vbCrLf
        End If
    End Sub
    Function EnumFolder(ByRef vFolder)
    Dim oFSO, oFolder, sFldr, oFldr
    Set oFSO = CreateObject("Scripting.FileSystemObject")
    If Not IsArray(vFolder) Then
    If Not oFSO.FolderExists(vFolder) Then Exit Function
    sFldr = vFolder
    ReDim vFolder(0)
    vFolder(0) = oFSO.GetFolder(sFldr).Path
    Else sFldr = vFolder(UBound(vFolder))
    End If
    Set oFolder = oFSO.GetFolder(sFldr)
    For Each oFldr in oFolder.Subfolders
    ReDim Preserve vFolder(UBound(vFolder) + 1)
    vFolder(UBound(vFolder)) = oFldr.Path
    EnumFolder vFolder
    Next
    EnumFolder = vFolder
    End Function
    [/code]

  • A script for copying smilar files to a new location

    Hi,
    i newbies to scripting. My challenge is that I want a script to only copy files with names "similar" and not "exactly the same" as the filenames in the text file.
    For example some files have 10 letters file name like "ABC01FGH01.tif".  I have to copy file where starting letter "ABC" and middle letter "FGH" of file name are fixed, but other letters are changed.
    The script sees a file name like "ABC**FGH**.tif", it should search the source location and copy the files having filenames with at least this characters e.g. "ABC02FGH02.tif", "ABC03FGH04.tif" should be copied since it has
    contains "ABC**FGH**.tif".
    Please help.

    Learn how to use wildcards in file names.  '*' is for any number of characters and'?' is for one character.
    COPY ABC??DE???.?x? c:\target
    Start by using DIR
    DIR ABC??DEF???JK.?x?
    ¯\_(ツ)_/¯

  • Script for copying files to drop boxes of other Macs

    I don't know much about scripts as yet, but for daily backup purposes
    I would like to copy all new or modified files from various folders
    to the drop boxes of two other Macs (like the old DOS command XCopy)
    and then reset the "modified attributes" (is there something like that at all?)
    of these files.
    A script could do this without the need to always find and select these files
    and to always confirm the messages "You can put items into “Drop Box”,
    but you won’t be able to see them. Do you want to continue?".
    Thanks!

    Here is a short skeleton which doesn't treat subfolders.
    May you check if it do what you want ?
    property sourceFolder : "/Users/home/Documents/Pages/current/"
    property destFolder : "/cr1’s iMac.afpovertcp.tcp.local/cr1's%20Public%20Folder/Drop Box/backup/Documents/Pages/current/"
    on run
    tell application "System Events"
    set dest_folder to path of folder destFolder
    set listeSource to path of disk items of folder sourceFolder
    repeat with sf in listeSource
    if visible of disk item sf then
    tell disk item sf
    set sn to name
    set smd to modification date
    end tell
    if exists disk item sn of folder destFolder then
    set needCopy to modification date of disk item sn of folder destFolder is not smd
    else
    make new file at end of folder destFolder with properties {name:sn}
    set needCopy to true
    end if -- exists disk item
    if needCopy then my copyFile(sf, dest_folder)
    end if -- visible …
    end repeat
    end tell -- System Events
    end run
    on copyFile(sourceFile, targetFolder) (*
    sourceFile is the path to the source file as text,
    dest_folder is the path to the destination folder as text
    newFileName is the name of the file as text
    tell application "Finder"
    duplicate file sourceFile to folder targetFolder with replacing
    end tell
    end copyFile
    Yvan KOENIG (VALLAURIS, France) mercredi 16 décembre 2009 18:33:43

  • Script for copying keywords to description field

    Does anyone have a script that can be used in cs5 to copy the keywords to the description field?
    Thanks
    Mark

    This should do it...
    #target bridge  
    if( BridgeTalk.appName == "bridge" ) { 
    keysToDesc = MenuElement.create("command", "Keywords To Description", "at the end of Tools");
    keysToDesc.onSelect = function () {
       keysToDesc();
    function keysToDesc(){
        function getArrayItems(ns, prop){
    var arrItem=[];
    var items = myXmp.countArrayItems(ns, prop);
       for(var i = 1;i <= items;i++){
         arrItem.push(myXmp.getArrayItem(ns, prop, i));
    return arrItem.toString();
    if (ExternalObject.AdobeXMPScript == undefined) ExternalObject.AdobeXMPScript = new ExternalObject("lib:AdobeXMPScript");
    var thumb = app.document.selections;
        for(var s in thumb){
    if(thumb[s].hasMetadata){
            var selectedFile = thumb[s].spec;
      var myXmpFile = new XMPFile( selectedFile.fsName, XMPConst.UNKNOWN, XMPConst.OPEN_FOR_UPDATE);
      var myXmp = myXmpFile.getXMP();
            var Keywords = getArrayItems(XMPConst.NS_DC,'subject').replace(/,/g,';')
             myXmp.deleteProperty(XMPConst.NS_DC, "description");
            myXmp.setLocalizedText( XMPConst.NS_DC, "description", null, "x-default", Keywords );
            if (myXmpFile.canPutXMP(myXmp)) {
            myXmpFile.putXMP(myXmp);
            myXmpFile.closeFile(XMPConst.CLOSE_UPDATE_SAFELY);
             } else {
      xmpFile.closeFile();

  • CATT script for creating Contract Detail lines

    In my requirement I have to use the transaction SCAT and record the transaction ME31K for creating the line items. But when adding more than 1 line item the function is not working only the first detailed line item is added, no more. Please help.

    Hi shashikant
    Use  Message type BLAORD .. FM: IDOC_OUTPUT_BLAORD (Process code is ME15 (Not sure)  in AFS it is /afs/md15- BLAORD:  AFS Contract via EDI)
    Thanks
    Ramesh
    302 290 5677

  • NAnt Script for copying msi's

    hi all,
    how are you:)
    i want to copy msi's from more than one shared location to my system's staging folder. i mean some msi's from one shared location and some from other shared location
    but all should be in staging folder created in my system. it is like daily nightly builds will run and a msi's will be placed in the folder. it should pick the msi's from folder created with current date.
    i am need of this, please help me
    Thanks and Regards,
    Tilakraj

    Hello,
    The TechNet Sandbox forum is designed for users to try out the new forums functionality. Please be respectful of others, and do not expect replies to questions asked here.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?&lt;=\G.{2})'|%{if($_){[char][int]&quot;0x$_&quot;}})

  • Script for copy and compile objects from one schema to another

    Hi,
    I have 2 schemas like schema1 and schema2 in both schemas i have same procedures/function like p_test1 .If i modify a procedure in schema1 i want same modifications in schema2 so i want a script to apply these changes to schema 2.
    except bellow process  any alternative
      SET PAGESIZE 10000
      SET feedback OFF
      SET heading OFF
      SET echo OFF
      spool d:\SQL.OUT
       SELECT TEXT
        FROM USER_SOURCE
        WHERE NAME = 'MY_PROCEDURE';
      spool OFF
      SET echo ON
      SET feedback ON
      SET heading ON
    CONNECT OTHER_USER/OTHER_PASSWORD@OTHER_DATABASE;
    @d:\SQL.OUT

    All what you have to know about that function :
    http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_metada.htm#sthref3536
    Nicolas.

  • RSI_COPY_MASS_PARAMETER scripts for all mass activity types

    We have CPS version 7 and I am trying to submit some mass activities
    The first task is to copy mass parameters there are three scripts one for BILLING, BIPR and for INVOICES
    Where can I obtain the scripts for copy mass activity parameters for other types, Such as meter reads?
    Do I have to define them myself?
    Thanks for help

    Hi Joseph,
    The first question to ask is for which of these 24 mass activities you really need to change parameter sets.
    If you only need to copy existing parameter sets and maybe apply a date shift, then for these mass activities the standard RSI_COPY_MASS_PARAMETER will do just fine.
    For those mass activities where you do need to modify the content of the parameter sets from CPS, you need to create one of these scripts. If you need to modify many parameters, this can be somewhat cumbersome, however often the mass activity structures are somewhat similar so you could start off with one of the existing scripts. And you only need to specify the parameters you need to modify, as well as the standard parameters for these scripts (on the first tab on the submit window).
    Regards,
    Anton.

  • VB script for file copy

    Hi 
       Im a beginner and this is a basic vb script to copy a file from a network location.  This works sometimes but  fails at times with error " File not Found" .  I don't understand why it should fail sometimes.
     The below is the code.
    Function Main()
    dim fso, f
    Set fso = CreateObject("Scripting.FileSystemObject")
    set f = fso.getfile("\\servername\X$\jobs\my file copy.mdb")
    f.delete
    set f = fso.getfile("\\servername\my-folder$\my data\access files\folder\Databases\my file.mdb")
    f.copy ("\\servername\X$\jobs\my file Copy.mdb")
    set fso = nothing
    Main = DTSTaskExecResult_Success
    End FUNCTION
    Mli.a | Mark the answers if it helps to solve your problem |

    For SQL server ActiveX scripts you need to post in the MSSQLServer developers form or the SSIS forum.  Are you running this under DTS or SSIS.  Some controls are not allowed under SSIS.
    The scripts wil work as a VBS so test them as a VBS first.
    The account running SSIS/DTS does nto have access to shares or Admin shares so this will likely never work.
    The error say you are using parenthesis and you cannot when calling a sub so the code posted is not what you are running.
    Function Main()
    Set fso = CreateObject("Scripting.FileSystemObject")
    fso.CopyFile "\\servername\my-folder$\my data\access files\folder\Databases\my file.mdb", "\\servername\X$\jobs\my file copy.mdb",True
    Main = DTSTaskExecResult_Success
    End Function
    Be sure you are set to run VBScript and not Jscript.
    ¯\_(ツ)_/¯

  • Custom Calculation Script to copy value of a field

    Hi,
          I'm trying to copy the value of a field into another field and display it in the pdf. This is for the 1099's. We are trying to print 2 copies(Copy B and Copy 2) in one page. The first field will come from the XML file. I need to copy the value of this field into the second field. Can anyone please help me with the calculation script for this. I tried the getField.value and it didn't work in the pdf. Thanks.
    With Regards,
    Satishpdf.

    Hi,
    There are a couple of approaches.
    One would be to put the script in the radio buttons that when clicked would do the calculate and set the value of the numeric field.
    Another would be to have the script in the calculate event of the numeric field looking back at the value of the radio button. Taking this approach the script in the numeric field calculate event would look like this:
    if (radioButton.rawValue == 1) // radio button bound to 1 is on/yes
         this.rawValue = ; // your calculation goes here
    else
         this.rawValue = null;
    This is testing the value of the radio button and then taking appropriate calculations.
    Hope that helps,
    Niall

Maybe you are looking for

  • Which version of SCOM is this ?????

    Hi All, Question may sound silly, But i don't know a answer for it hence raised this question. I was reading this blog and found this type of a SCOM which i have never seen in the below link. http://www.opsmanager.se/2012/11/06/text-log-monitoring-pa

  • Testing movie on a remote machine (server)

    one machine is functioning as a server. on the other machine i run a swf file (test movie). i want it to function as if it is on the same machine. i get an error (504) Error opening URL 'bla bla bla......../flashlogin.aspx' is there any definitions t

  • Print gets cut off C4280

    I am sending from a hospital - we have purchased a Photosmart C4280 All in One Printer - The printer has now started cutting off the 4x6 print - we print all our specimen pictures from a SD card - It's like the picture gets cut off - the date is part

  • Problem on startup

    My husband has a 3000 n200 laptop which always starts up in lenovo care before Windows boots up.  is there any way we can stop it doing this? jiffyrat

  • XML export, while applying XSLT, gives a jumbled mess

    From InDesign, I export to XML and apply an XSLT which transforms it into HTML. Trying to edit the document is almost impossible because the whole thing is a few giant lines of code. What's going on with this behaviour? Can Dreamweaver view it correc