Script that adds objects every 2ft.

Hi,
So I need to make a script that adds an object every 2 feet around the perimeter of the page.
I really just have no idea how to start. If anyone could point me in the right direction, or show me an example of something similar being done, that would be awesome!
This is what I have so far:
if (x2 >= 96 || y2 >= 96) { /* If x or y are longer than 8 Feet (96 inches) */   
    var x = x2/24;
    while (x > 36 && x < 24) { /* Objects need to be added every 2 to 3 feet */
        x /= 24;
    var y = y2/24;
    while (y > 36 && y < 24) { /* Objects need to be added every 2 to 3 feet */
        y /= 24;
What I've been thinking (and what I have) is to get some fixed amount between 2 to 3 feet. Then I divide the total x or total y by that fixed amount, and that tells me how many objects I'll need to add.
I feel like I'm heading on the right track, but making the elements seems to be the most challenging part. I have a function that makes the element I need, and the function is formatted like this: addCircle(page, top, left, bottom, right);
Any help would be greatly appreciated! Thanks.
EDIT:
I have come up with a solution! (somewhat)
So far it only does one side, but this works:
var x = x2/24;
while (x > 36 && x < 24) {
    x /= 24;
x = Math.round(x);
var stride = (x2/x);
for (var i = 0; i <= x; i++) {
    if (i == 0) {
        addCircle (myPage, 0.25, stride*i + 0.25, 0.5, stride*i + 0.5);
    } else if (i == x) {
        addCircle (myPage, 0.25, stride*i - 0.25, 0.5, stride*i);
    } else {
        addCircle (myPage, 0.25, stride*i, 0.5, stride*i + 0.25);

It seems you are on the right track, but I'm a really curious sort of person.
How BIG are these 'pages' when you are going to have more than a single object on each side, spaced apart by 61cm!?

Similar Messages

  • Need script that delete objects of certain color...

    Hello. For my Hobby I would need an Illustrator script that can delete objects of a certain color on selected layer. The color can be set in a dialog like #000000 or anything alike.
    I will need it to delete letters in text that has a certain color (different than letters around it). Letters to delete can be inside sentances or free. It doesn't matter if the text need to be outlined and ungrouped before run script, or not.
    I would apprechiate any help. Thank you.

    // CharacterColorizedIfNotMatchPrompt.jsx
    // Hint: test the script with little text.
    // The more extensive the text, the more time it takes the script.
    // greetings pixxxel schubser
    // http://forums.adobe.com/thread/1190610?tstart=0
    var aDoc  = app.activeDocument;
    var col = new CMYKColor();
    col.cyan = 0;
    col.magenta = 20;
    col.yellow = 0;
    col.black = 0;
    var aTFrame = aDoc.textFrames;
    if (aTFrame.length > 0) {
        var check = prompt ("Which character?", "a");
        check1 = check;
        check2 = check1.toUpperCase();
        for (i=0; i<aTFrame.length; i++) {
            for (j=0; j<aTFrame[i].characters.length; j++) {
                aChar = aTFrame[i].characters[j];
                if (aChar.contents != check1 && aChar.contents != check2) {
                    aChar.fillColor = col;
    alert("done")
    Try this.
    Have fun.

  • Need script to add path and file name to fillable  form

    I have a fillable pdf form that I would like to have a script that adds the path and file name to the form. This script would be in a field at the end of the document.
    I am a newbie to javascript and formcalc. The script will be the only one in the form.
    Thanks for any assistance.
    Lisa

    Hi,
    I have a sample that attach a file to the PDF and write in a text field the file name. I don´t know how to get the full path and it only works in Acrobat. To work in Adobe Reader is necessary the LC Reader Extensions to give some special permissions to the document. But, regard this, you still want the sample send me a email to [email protected]
    Best Regards,

  • Hello,  Is there a script that I can change all the colors of a layer in to 1 PMS color, unite every object and than give it an offset of -0,2 mm ?

    Hello,
    Is there a script that I can change all the colors of a layer in to 1 PMS color, unite every object and than give it an offset of -0,2 mm ?

    the offset has to be semi-automatic, apply an Offset Path Effect (by hand), create a Graphic Style out of it (by hand), then the script can apply this graphic style to objects.

  • IDCS6(MAC) 10.9.4 - a script that will make an anchored object and paste in clipboard contents

    I'm trying to create a script that will create an anchored object that will paste in clipboard contents.
    So far I have:
    var frameRef = app.selection[0];
        var parentObj = frameRef.insertionPoints.item(0);
        var anchorFrame = parentObj.rectangles.add();
    And this works fine, creating an inline object, that can further be defined (with anchor point settings etc).
    However, it is when I go to use app.paste() or app.pasteInto() that all hell breaks loose.
    The line of code I added was:
    anchorFrame.content = app.pasteInto();
    and the error I get is:
    What am I doing incorrectly?
    Colin

    @Colin – For the paste command you like to use, you have to:
    1. First select an object, in your case the added rectangle object
    2. Then use the pasteInto() method from the app object
    3. There is no content property for a rectangle object
    Watch out what is selected after you added the rectangle.
    What you have is a selection of the text frame when you start your code in line one.
    Adding a rectangle will not change that selection.
    The following code will do the job.
    However, if you use pasteInto() the pasted objects could be only partly visible inside the frame.
    Depends on the size and position of the added rectangle relative to the original copied page items.
    Make sure that you give the rectangle a proper size after or while you are adding it:
    var frameRef = app.selection[0];
    var parentObj = frameRef.insertionPoints.item(0);
    //Will add a rectangle sized 40 x 40 mm
    var anchorFrame = parentObj.rectangles.add({geometricBounds:[0,0,"40mm","40mm"]});
    app.select(null); //Optional
    app.select(anchorFrame);
    app.pasteInto();
    Uwe

  • Speeding up a script that checks ACLs on every folder

    I have a script that is looking for a very specific level of NTFS access permissions, specifically a specific SDDL. I already know that SDDL and have checked to make sure that I can submit the SDDL as a test string and compare it against a get-acl SDDL.
    The problem is this takes a long time (about 4 minutes for 4300 folders) and I've been asked to search through a few hundred thousand folders. Here's the code I have so far:
    $folders = gci c:\foo -Directory -Recurse
    ForEach ($folder in $folders)
    $path = $folder.fullname
    $acl = get-acl $path
    if ($acl.sddl -eq "O:BAG:DUD:PARAI(A;OICI;FA;;;BA)") {write-host -ForegroundColor Red "$path has only admins"}}
    Obviously I'll want to output to something other than my screen, but essentially I'm looking for ideas to speed that up.
    [email protected]

    Go here and get the LongPath.zip file. Inside it should be a file named 'Microsoft.Experimental.IO.dll'. You can use that with the code below to get around the 248 character path limit, and it should
    be pretty fast, too. Just fill in the first few variables with the information you're looking for. Note that it is possible for a security descriptor's effective access to be identical to another one that has a different SDDL string (I don't think that will
    happen here, though, because of the use of the CommonSecurityDescriptor class).
    This creates a C# class that uses the LongPath methods to list files and folders, and it uses the GetNamedSecurityInfo() API call along with the paths to get the binary form of the security descriptors. The searching for the SDDL happens inside of a C# method,
    too, to try to speed things up. I'm not really a C# developer, so someone else could probably make this even faster. Please give it a shot, though, and let me know if it works for you:
    $ExperimentalIoPath = "C:\path\to\Microsoft.Experimental.IO.dll"
    $PathToSearch = "c:\path\to\search"
    $SddlToFind = "O:BAG:DUD:PARAI(A;OICI;FA;;;BA)"
    Add-Type -Path $ExperimentalIoPath
    Add-Type @"
    using System;
    using System.Runtime.InteropServices;
    using System.Security.AccessControl;
    using System.Collections.Generic;
    using Microsoft.Experimental.IO;
    namespace HSG {
    public class Helper {
    // http://msdn.microsoft.com/en-us/library/windows/desktop/aa446645%28v=vs.85%29.aspx
    [DllImport("advapi32.dll", EntryPoint = "GetNamedSecurityInfoW", CharSet = CharSet.Unicode)]
    internal static extern uint GetNamedSecurityInfo(
    string ObjectName,
    System.Security.AccessControl.ResourceType ObjectType,
    SecurityInformation SecurityInfo,
    out IntPtr pSidOwner,
    out IntPtr pSidGroup,
    out IntPtr pDacl,
    out IntPtr pSacl,
    out IntPtr pSecurityDescriptor
    [DllImport("advapi32.dll")]
    internal static extern Int32 GetSecurityDescriptorLength(
    IntPtr pSecurityDescriptor
    [DllImport("kernel32.dll", SetLastError=true)]
    internal static extern IntPtr LocalFree(
    IntPtr hMem
    [Flags]
    public enum SecurityInformation : uint {
    Owner = 0x00000001,
    Group = 0x00000002,
    Dacl = 0x00000004,
    Sacl = 0x00000008
    public static CommonSecurityDescriptor GetSecurityDescriptor(string path, System.Security.AccessControl.ResourceType objectType, SecurityInformation securityInformation, bool isContainer) {
    IntPtr pOwner, pGroup, pDacl, pSacl, pSecurityDescriptor;
    pOwner = pGroup = pDacl = pSacl = pSecurityDescriptor = IntPtr.Zero;
    uint exitCode;
    exitCode = GetNamedSecurityInfo(path, objectType, securityInformation, out pOwner, out pGroup, out pDacl, out pSacl, out pSecurityDescriptor);
    if (exitCode != 0) {
    throw new Exception((new System.ComponentModel.Win32Exception(Convert.ToInt32(exitCode))).Message);
    if (pSecurityDescriptor == IntPtr.Zero) {
    throw new Exception(String.Format("No security descriptor available for {0} object with path {1}", objectType, path));
    byte[] binarySd;
    try {
    int sdSize = GetSecurityDescriptorLength(pSecurityDescriptor);
    binarySd = new byte[sdSize];
    Marshal.Copy(pSecurityDescriptor, binarySd, 0, sdSize);
    catch(Exception e) {
    throw e;
    finally {
    if (LocalFree(pSecurityDescriptor) != IntPtr.Zero) {
    throw new Exception(String.Format("Error freeing memory for security descriptor at path {0}", path));
    return new CommonSecurityDescriptor(isContainer, false, binarySd, 0);
    public class LongPathFileSystemItem {
    public LongPathFileSystemItem(string path, bool isContainer) {
    this.Path = path;
    this.IsContainer = isContainer;
    public string Path { get; private set; }
    public bool IsContainer { get; private set; }
    public static List<LongPathFileSystemItem> GetChildItemLongPath(string path, bool recurse) {
    List<LongPathFileSystemItem> results = new List<LongPathFileSystemItem>();
    try {
    // Get directories
    foreach (string folderName in LongPathDirectory.EnumerateDirectories(path)) {
    if (recurse) {
    results.AddRange(GetChildItemLongPath(folderName, true));
    results.Add(new LongPathFileSystemItem(folderName, true));
    // Get files:
    foreach (string fileName in LongPathDirectory.EnumerateFiles(path)) {
    results.Add(new LongPathFileSystemItem(fileName, false));
    catch (Exception e) {
    // Not the best way to handle errors, but didn't want to terminate
    results.Add(new LongPathFileSystemItem(string.Format("Error enumerating FS objects for '{0}': {1}", path, e.Message), false));
    return results;
    public static List<string> GetFileSystemObjectsWithSpecificSddl(string path, string sddl, bool recurse) {
    List<string> results = new List<string>();
    string currentSddl;
    foreach (LongPathFileSystemItem childItem in GetChildItemLongPath(path, recurse)) {
    if (childItem.Path.StartsWith("Error")) {
    results.Add(childItem.Path);
    continue;
    try {
    currentSddl = GetSecurityDescriptor(
    string.Format(@"\\?\{0}", childItem.Path),
    ResourceType.FileObject,
    SecurityInformation.Owner | SecurityInformation.Group | SecurityInformation.Dacl,
    childItem.IsContainer
    ).GetSddlForm(AccessControlSections.All);
    catch (Exception e) {
    results.Add(string.Format("Error getting security descriptor for '{0}': {1}", childItem.Path, e.Message));
    continue;
    if (sddl == currentSddl) {
    results.Add(childItem.Path);
    return results;
    "@ -ReferencedAssemblies $ExperimentalIoPath
    function Search-Sddl {
    [OutputType([string])]
    [CmdletBinding()]
    param(
    [string] $Path,
    [string] $Sddl,
    [switch] $Recurse
    process {
    [HSG.Helper]::GetFileSystemObjectsWithSpecificSddl($Path, $SddlToFind, $Recurse) | ForEach-Object {
    if ($_ -match "^Error") { Write-Error $_ }
    else { $_ }
    #All of that is used to define the Search-Sddl function, which is used like this:
    Search-Sddl -Path $PathToSearch -Sddl $SddlToFind -Recurse

  • Error while using custom xslt: Cannot find the script or external object that implements prefix 'ScriptNS0'.

    Hi,
    We had a complex map. Because of some requirement, we used custom xslt on this map. Somehow at runtime that custom xslt is giving below error:
    Cannot find the script or external object that implements prefix 'ScriptNS0'.
    I checked below links, it seems this is a bug in Biztalk 2010/Visual stuio 2010.
    http://sandroaspbiztalkblog.wordpress.com/2012/07/29/biztalk-mapper-patterns-calling-an-external-assembly-from-custom-xslt-in-biztalk-server-2010/
    The above link suggest to add a xml element in the .btm file. I tried that as well but no luck. Can anyone suggest me reason and solution for this?
    Thanks, Girish R. Patil.

    When using the Custom XSLT option, you have to maintain the Extension Xml yourself, just as you would for inline custom Xslt that calls external Assemblies.
    Docs:
    http://msdn.microsoft.com/en-us/library/aa547368.aspx
    Sample:
    http://blog.vertica.dk/2013/03/20/using-custom-xslt-in-biztalk/

  • Can Firefox be a global object or is there a script that will enable reuse of a Firefox browser window? We are doing it with IE (Global ie as object) but I and others prefer Firefox.

    A macro script, that is used very often by many workers, opens a new Firefox browser every time it is used. We want to reuse the Firefox browser window if it is already open. We have a script that does this with IE, but... well, it's IE.
    == This happened ==
    Every time Firefox opened
    == We tried to make our macro work with Firefox

    Kevin, there are a few questions I can answer, but if you have irc you can also reach out to the #addons channel. I will also try to get in touch.
    As far as I know:
    * Starting point: [https://developer.mozilla.org/en-US/docs/Developing_add-ons Developing Add Ons: MDN]
    * [https://developer.mozilla.org/en-US/docs/addons.mozilla.org_%28AMO%29_API_Developers%27_Guide/The_generic_AMO_API AMO API ]
    * [https://developer.mozilla.org/en-US/Add-ons/Plugins/Gecko_Plugin_API_Reference/Plug-in_Development_Overview Registering Plugins and Developement Overview]
    *[https://developer.mozilla.org/en-US/Add-ons/Overlay_Extensions/XUL_School/The_Essentials_of_an_Extension Install.rdf file info for extensions]
    ''Is there a way to find the GUIDs for these other browsers: K-Meleon, Waterfox, Firefox Nightly (we are guessing the Nightly builds use the same GUID as Firefox) so that we can add the appropriate information to our install.rdf and update.rdf files or does one need to get in contact with the respective projects to determine these?''
    I do not know. There are generating GUIDS [https://developer.mozilla.org/en-US/docs/Generating_GUIDs]
    Be right back. I will try asking for backup.

  • I have uninstalled and installed the latest Flash Player 17 many times.  I am currently working on a yearbook site that gets locked every time I try to add photos.  I have also received a plug in error even though the plug in box is checked.  I have a Mac

    I have uninstalled and installed the latest Flash Player 17 many times.  I am currently working on a yearbook site that gets locked every time I try to add photos.  I have also received a plug in error even though the plug in box is checked.  I have a MacBook Pro.  Please help!!!

    To give you any useful advice, I'm going to need to know more about your computer and browser:
    https://forums.adobe.com/message/5249945#5249945

  • Add Object Attributes to a DisplayObject that is created in the Authoring Tool

    Hello, how can I add attributes to a Display Object, that I have created in the Authoring Tool, so I can acces it by:
    myDisplayObjectInstance.myNewAttribute
    Is a DisplayObejct a dynamic class, that can be extended from anywhere?
    Thanks a lot

    I just found the syntax to add a new ObjectAttribute to an Instance of the Object. But is this ObjectAttribute also added to all other  Instances of the Obejct?
    My plan was to create a MovieClip and set some ActionScript inside its timeline in the first frame that adds some Objcet Attributes to that MovieClip, so that the new Object Attribute can be used for all Instances of this MovieClip, that are created in the runtime.

  • How to stop an "Add-ons Manager" tab that keeps appearing every time I open a new web page ?

    Does anyone know how to stop a Firefox "Add-ons Manager" tab that keeps appearing every time I open a new web page ?
    Thanks....

    ''arcadiune [[#question-1052917|said]]''
    <blockquote>
    Does anyone know how to stop a Firefox "Add-ons Manager" tab that keeps appearing every time I open a new web page ?
    Thanks....
    </blockquote>
    Solved it shortly afterwards thanks as I realised it must have happened when I refreshed Firefox, so went through the process again and found the boxes for tabs already pre-ticked so cancelled them. Would have been a lot easier though had it been left as an option to tick as I assumed it was another safeguard leaving me with no idea what had happened....
    Anyway thanks :-)

  • Script that enables Remote Management and adds user

    I need to make a script that can enable Remote Management and add a user to control it.
    I have tried to watch which plist files it uses so I could edit those.
    It writes some text in com.apple.RemoteManagement.plist and com.apple.ARDAgent.plist bit I can't find where the user is added.
    Any ideas guys
    Thanks

    No need to mess around with .plists. ARD has a command-line admin tool. The syntax is a little funky, but this should give you an idea:
    $ sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/k ickstart -activate -configure -access -on -users john -restart -agent -privs -all
    This is all covered in more detail in Apple's technote.

  • Advanced "Save as PDF" script that saves 2 PDF presets with 2 different Names

    HI Everyone,
    I am looking to improve a save as pdf workflow and was hoping to get some direction. Here is the background...
    I routinely have to save numerous files as 2 separate PDFs with different settings (a high res printable version and a low res email version). Each file has to be renamed as follows...
    Original filename = MikesPDF.ai
    High Res PDF Filename = MikesPDF_HR.pdf
    Low Res PDF Filename = MikesPDF_LR.pdf
    I was able to alter the default "SaveAsPDF" script to save the files to my desired settings and to add the suffix to the name. So with these scripts here is how the workflow operates...
    1. Open all files I wish to save as pdfs
    2. Select script to save files as high res pdfs
    3. Illustrator asks me to choose a destination.
    4. Illustrator adds the appropriate suffix and saves each file as a pdf to my desired setting. ("Save As" not "Save a Copy").
    5. Now all of the open windows are the new pdfs, not the original ai files.
    6. Now I have to close each window. For some reason Illustrator asks me if I want to save each document when I tell it to close window, even though the file was just saved. I tell it to not save and everything seems to be fine.
    7. Reopen all the files I just saved as high res pdfs.
    8. Repeat the entire process except I run the script specifically designed for the low res pdfs.
    What I would like to do is to combine these two processes so that there will be one script that saves both pdfs. From what I understand, the script can't support "Save A Copy" so the workflow would go as follows...
    1. Open all files I wish to save as pdfs
    2. Select single script to save files as both high res and low res pdfs
    3. Illustrator asks me to choose a destination.
    4. Illustrator saves each file as a High Res PDF and adds the the "_HR" suffix.
    5. Illustrator then re-saves the open windows as a Low Res PDF and replaces the "_HR" suffix with "_LR".
    Here is the code for the High Res script, The Low Res script is pretty much the same except for a different preset name and different suffix. Any pointer that anyone could give me would be most appreciated. I am pretty much a noob to this stuff so please keep that in mind.
    Thanks!
    Mike
    ---------------------------CODE----------------------------
    /** Saves every document open in Illustrator
      as a PDF file in a user specified folder.
    // Main Code [Execution of script begins here]
    try {
      // uncomment to suppress Illustrator warning dialogs
      // app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
      if (app.documents.length > 0 ) {
      // Get the folder to save the files into
      var destFolder = null;
      destFolder = Folder.selectDialog( 'Select folder for PDF files.', '~' );
      if (destFolder != null) {
      var options, i, sourceDoc, targetFile;
      // Get the PDF options to be used
      options = this.getOptions();
      // You can tune these by changing the code in the getOptions() function.
      for ( i = 0; i < app.documents.length; i++ ) {
      sourceDoc = app.documents[i]; // returns the document object
      // Get the file to save the document as pdf into
      targetFile = this.getTargetFile(sourceDoc.name, '.pdf', destFolder);
      // Save as pdf
      sourceDoc.saveAs( targetFile, options );
      alert( 'Documents saved as PDF' );
      else{
      throw new Error('There are no document open!');
    catch(e) {
      alert( e.message, "Script Alert", true);
    /** Returns the options to be used for the generated files. --------------------CHANGE PDF PRESET BELOW, var NamePreset = ----------------
      @return PDFSaveOptions object
    function getOptions()
    {var NamePreset = 'Proof High Res PDF';
      // Create the required options object
      var options = new PDFSaveOptions();
         options.pDFPreset="High Res PDF";
      // See PDFSaveOptions in the JavaScript Reference for available options
      // Set the options you want below:
      // For example, uncomment to set the compatibility of the generated pdf to Acrobat 7 (PDF 1.6)
      // options.compatibility = PDFCompatibility.ACROBAT7;
      // For example, uncomment to view the pdfs in Acrobat after conversion
      // options.viewAfterSaving = true;
      return options;
    /** Returns the file to save or export the document into.----------------CHANGE FILE SUFFIX ON LINE BELOW, var newName = ------------------
      @param docName the name of the document
      @param ext the extension the file extension to be applied
      @param destFolder the output folder
      @return File object
    function getTargetFile(docName, ext, destFolder) {
      var newName = "_HR";
      // if name has no dot (and hence no extension),
      // just append the extension
      if (docName.indexOf('.') < 0) {
      newName = docName + ext;
      } else {
      var dot = docName.lastIndexOf('.');
      newName = docName.substring(0, dot)+newName;
      newName += ext;
      // Create the file object to save to
      var myFile = new File( destFolder + '/' + newName );
      // Preflight access rights
      if (myFile.open("w")) {
      myFile.close();
      else {
      throw new Error('Access is denied');
      return myFile;

    Thank you for the reply Bob!
    Am I correct in assuming that these few lines of code replace all of the lines that I posted above?
    Also, When populating the PDFSaveOptions lines, would the end result look like this? FYI, LowRes preset name = "Proof Low Res PDF - CMYK". HighRes preset name = "Proof High Res PDF"
    #target illustrator
    #targetengine "main"
    for (x=0;x<app.documents.length;x++)
         var workingDoc = app.documents[x];
         var workingDocFile = workingDoc.fullName;
    // populate these with your settings
         var lowResOpts = new PDFSaveOptions(Proof Low Res PDF - CMYK);
         var highResOpts = new PDFSaveOptions(Proof High Res PDF);
         var lowResFile = new File(workingDocFile.toString().replace(".ai","_LR.pdf"));
         workingDoc.saveAs(lowResFile,lowResOpts);
         var highResFile = new File(workingDocFile.toString().replace(".ai","_HR.pdf"));
         workingDoc.saveAs(highResFile,highResOpts);
         workingDoc.close(SaveOptions.DONOTSAVECHANGES);

  • Order to script creation of objects? Some reference each other.

    I'm writing a script that will add objects to a 10g schema. I have packages containing functions and procedures. The functions and procedures reference some views that also need to be added. The views themselves reference some of the package's functions. Which has to be added first? I think the package first then the views? Or maybe it does not matter?
    At the end of the script can a command be added to compile the various objects that have been added?

    I'm a little late to the party here but.
    To do this type of interdependent compile, the logical ordering would be:
    1. Package specifications (i.e. CREATE PACKAGE)
    2. Create views, since the views are really dependent on the public specification for the packaged functions, not the actual implementation.
    3. Package bodies, since the implementation is dependent on the existence of the views.
    At the end of the process, you will, assuming that everything is syntactically correct, have all valid objects.
    john

  • Script throwing error" Object required: 'API'

    Hi All,
    We need help in one issue. We have following script which is running fine when we ran it from script editor, but when use this as expression in import format is throwing error
    Error: An error occurred importing the file.
    Detail: Object required: 'API'
    At line: 12
    Script:
    Function ME_to_LE(strField, strRecord)
    ME_to_LE =API.SqlMgr.fMapItemLookup (749, "UD8", Left(strField,3))
    End Function
    We have created few other Scripts which are running fine and producing required result when we check them with MsgBox. But when we are using these scripts in import format it is saying: Object required: 'API'
    IF I can not use API object in import script, how can I process multiple column with one script. We need to derive three-four column based on one input column and we don't want to write separate import script for each column. How and where we can write this script?
    Are we missing any step? Any help will be highly appreciated. Looks I asked long question :)
    Thanks,
    Shivendra
    Edited by: shiv2 on Sep 16, 2011 9:30 AM
    Edited by: shiv2 on Sep 16, 2011 10:36 AM

    Hi Robb,
    "It looks like you and James are on the same project" That is correct.
    OK. In requirment we have three-four column based on these column we need to derive few other column. We want to do spilitting and validation in Import itself. This is mainly a Validation requirment.
    There is one column which may have 12,13,14,17 or any other number of character in it. first three will represent one dimension but exact value be a mapped result based on these three digits.
    There are many validation based on the number on charaters and most importantly we don't want to process other column is validation get failed at any stage.
    Do we have anything like Import Action? Probably we want to change that script. Or if we can write something like integration script. We need every column to be processed in one shot.
    I don't think it is self explantry. Can we have your email please?
    Thanks,
    Shivendra
    Edited by: shiv2 on Sep 16, 2011 8:52 PM

Maybe you are looking for