From string to method

Hi all,
i have a property file.
i need to read from the file some string and activate a method with the same name.
i know how to read the file.
my question is how can i transfer from the string to actual method.
Gabi

How much of this are you doing? If it's a lot, then you may be reinventing the Spring .

Similar Messages

  • Conversion from string "20041023 " to type 'Date' is not valid.

    Hi ,
       I have a table with one of the column(EmpHiredate) datatype is char(10). It has value like "20141023". I need to display this value as date format(dd/mm/yyyy) in report. 
    Following methods i tried in textbox expression but no luck.
    =Format(Fields!EmpHireDate.Value,"dd/MM/yyyy")
    =Cdate(Fields!EmpHireDate.Value)
    Error:
    [rsRuntimeErrorInExpression] The Value expression for the textrun ‘EmpHireDate.Paragraphs[0].TextRuns[0]’ contains an error: Conversion from string "20041023  " to type 'Date' is not valid.
    Is it possible to convert string to date using SSRS textbox expression ? Can anyone help me with the solution.
    Thanks,
    Kittu

    Hi Jmcmullen,
         Found one more issue on the same. I have one value like "00000000" for the column(EmpHiredate)
    , when i use above expression values(ex:"20141023")
    are displaying in dd/MM/yyyy format in report except value like "00000000" and giving following error:
    [rsRuntimeErrorInExpression] The Value expression for the textrun ‘EmpHireDate.Paragraphs[0].TextRuns[0]’ contains an error: Conversion from string "0000/00/00" to type 'Date' is not valid.
    Even i tried to pass its original value("00000000") as below but no luck.
    =IIF(Fields!EmpHireDate.Value = "00000000","00000000",Format(CDATE(MID(Fields!EmpHireDate.Value,1,4) + "/" + MID(Fields!EmpHireDate.Value,5,2) + "/" + MID(Fields!EmpHireDate.Value,7,2)),"dd/MM/yyyy"))
    Also tried this:
    =IIF(Fields!EmpHireDate.Value = "00000000","2000/10/21",Format(CDATE(MID(Fields!EmpHireDate.Value,1,4) + "/" + MID(Fields!EmpHireDate.Value,5,2) + "/" + MID(Fields!EmpHireDate.Value,7,2)),"dd/MM/yyyy"))
    Please Suggest. 
    Thanks ,
    Kittu

  • How to get value from Thread Run Method

    I want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that it seems that scope of the variable gets lost resulting to null value in the called method/class..
    How can I get the variable with the value?
    This is sample code:
    public class SampleSynchronisation
    public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run method "+sathr.x);
    /* I should get Inside the run method::: But I get only Inside */
    class sampleThread extends Thread
         public String x="Inside";
         public void run()
              x+="the run method";

    I think this is what you're looking for. I hold up main(), waiting for the results to be concatenated to the String.
    public class sampsynch
        class SampleThread extends Thread
         String x = "Inside";
         public void run() {
             x+="the run method";
             synchronized(this) {
              notify();
        public static void main(String[] args) throws InterruptedException {
         SampleThread t = new sampsynch().new SampleThread();
         t.start();
         synchronized(t) {
             t.wait();
         System.out.println(t.x);
    }

  • Calling a method from a static method

    hello all,
    I'm calling a non-static method from a static method (from the main method). To overcome this i can make the method i am calling static but is there another way to get this to work without making the method that is being called static?
    all replies welcome, thanks

    When you call a non-static method, you are saying you are calling a method on an object. The object is an instance of the class in which the method is defined. It is a non-static method, because the instance holds data in it's instance variables that is needed to perform the method. Therefore to call this kind of method, you need to get (or create an instance of the class. Assuming the two methods are in the same class, you could do
    public class Foo
         public static void main(String[] args)
                Foo f = new Foo();
                f.callNonStaticMethod();
    }for instance.

  • How can I get the variable with the value from Thread Run method?

    We want to access a variable from the run method of a Thread externally in a class or in a method. Even though I make the variable as public /public static, I could get the value till the end of the run method only. After that scope of the variable gets lost resulting to null value in the called method/class..
    How can I get the variable with the value?
    This is sample code:
    public class SampleSynchronisation
         public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run method "+sathr.x);
    // I should get Inside the run method::: But I get only Inside
    class sampleThread extends Thread
         public String x="Inside";
         public void run()
              x+="the run method";
    NB: if i write the variable in to a file I am able to read it from external method. This I dont want to do

    We want to access a variable from the run method of a
    Thread externally in a class or in a method. I presume you mean a member variable of the thread class and not a local variable inside the run() method.
    Even
    though I make the variable as public /public static, I
    could get the value till the end of the run method
    only. After that scope of the variable gets lost
    resulting to null value in the called method/class..
    I find it easier to implement the Runnable interface rather than extending a thread. This allows your class to extend another class (ie if you extend thread you can't extend something else, but if you implement Runnable you have the ability to inherit from something). Here's how I would write it:
    public class SampleSynchronisation
      public static void main(String[] args)
        SampleSynchronisation app = new SampleSynchronisation();
      public SampleSynchronisation()
        MyRunnable runner = new MyRunnable();
        new Thread(runner).start();
        // yield this thread so other thread gets a chance to start
        Thread.yield();
        System.out.println("runner's X = " + runner.getX());
      class MyRunnable implements Runnable
        String X = null;
        // this method called from the controlling thread
        public synchronized String getX()
          return X;
        public void run()
          System.out.println("Inside MyRunnable");
          X = "MyRunnable's data";
      } // end class MyRunnable
    } // end class SampleSynchronisation>
    public class SampleSynchronisation
    public static void main(String df[])
    sampleThread sathr= new sampleThread();
    sathr.start();
    System.out.println("This is the value from the run
    method "+sathr.x);
    // I should get Inside the run method::: But I get
    only Inside
    class sampleThread extends Thread
    public String x="Inside";
    public void run()
    x+="the run method";
    NB: if i write the variable in to a file I am able to
    read it from external method. This I dont want to do

  • CRIO: Unflatten from string into lvclass not working in deployment

    Hello,
    I am working on a problem for some hours now and I need some help.
    I am using a cRIO-9022. I need to do some tasks, and I created a couple of classes which contain the parameters and the methods. They contain using dynamic dispatch VIs. I have an array of these classes (all derived from a parent class) which is my "configuration". I am using "flatten to string" and saving those file on disk. "Unflatten from string" is working fine. These file is created on a LV WIndows Application.
    I need to use this file on my cRIO: Unflatten from string, and then work with the array of my classes. When running the cRIO Main VI it's working fine. But when building the application and deploying it as startup, it's not working. I am getting:
    Error 1403 occurred at Unflatten From String in Gantry CommEngine.vi->RT Main.vi
    Possible reason(s):
    LabVIEW:  Attempted to read flattened data of a LabVIEW class. The data is corrupt. LabVIEW could not interpret the data as any valid flattened LabVIEW class.
    What I tried so far:
    - Added the whole lvlib containing the classes and also every single class to "Source files / always included".
    - Created constants of the array (containing the classes) to the VI (forcing LV to include the classes?)
    - Loaded the file from cRIOs flash and also by shared variable
    What else can I do?
    Thanks a lot for support!

    I tried to reproduce the matter, but couldn't. 
    I attached my example to the post. 
    What it does:
    It creates a class with only a string a bool and a number. This class oblect is saved to C:/somename.xml. The number is a random number.
    In the second case the same file is read and the number broadcasted to a variable.
    It worked quite fine building it as a startupexe.
    Nothing else was necessary. Does it work for you?
    Attachments:
    class exe.zip ‏45 KB

  • Question about the java doc of String.intern() method

    hi all, my native language is not english, and i have a problem when reading the java doc of String.intern() method. the following text is extract from the documentation:
    When the intern method is invoked, if the pool already contains a string equal to this String object as determined by the equals(Object) method, then the string from the pool is returned. Otherwise, this String object is added to the pool and a reference to this String object is returned.
    i just don't know the "a reference to this String object is returned" part, does the "the reference to this String" means the string that the java keyword "this" represents or the string newly add to the string pool?
    eg,
    String s=new String("abc");  //create a string
    s.intern();  //add s to the string pool, and return what? s itself or the string just added to string pool?greate thanks!

    Except for primitives (byte, char, short, int, long, float, double, boolean), every value that you store in a variable, pass as a method parameter, return from a method, etc., is always a reference, never an object.
    String s  = "abc"; // s hold a reference to a String object containing chars "abc"
    foo(s); // we copy the reference in variable s and pass it to the foo() method.
    String foo(String s) {
      return s + "zzz"; // create a new String and return a reference that points to it.
    s.intern(); //add s to the string pool, and return what? s itself or the string just added to string pool?intern returns a reference to the String object that's held in the pool. It's not clear whether the String object is copied, or if it's just a reference to the original String object. It's also not relevant.

  • Convert from String to Int

    Hi,
    I have a question.
    How do I convert from String to Integer?
    Here is my code:
    try{
    String s="000111010101001101101010";
    int q=Integer.parseInt(s);
    answerStr = String.valueOf(q);
    catch (NumberFormatException e)
    answerStr="Error";
    but, everytime when i run the code, i always get the ERROR.
    is the value that i got, cannot be converted to int?
    i've done the same thing in c, and its working fine.
    thanks..

    6kyAngel wrote:
    actually it convert the string value into decimal value.In fact what it does is convert the (binary) string into an integer value. It's the String representation of integer quantities that have a base (two, ten, hex etc): the quantities themselves don't have a base.
    To take an integer quantity (in the form of an int) and convert it to a binary String, use the handy toString() method in the Integer class - like your other conversion, use the one that takes a radix argument.

  • Convert from String to boolean ??

    hi everyone..
    is there any way to convert from String (as a class) to boolean (as a primitive type) ?
    thunx

    I used : Boolean.valueOf(s).booleanValue(); ,I got the same error.What same error? Surely not this one:
    cannot resolve simple in parseBoolean method??
    equals is OK, but I think it is not convert method,
    the prev. solutions by equals don't convert the value of s (String).Yes it does, for any reasonable definition of "converts". In fact, that is essentially how parseBoolean() is implemented. From the JDK 5.0 source code, class java.lang.Boolean:
         return ((name != null) && name.equalsIgnoreCase("true"));

  • Passing array from JS to method of applet

    There is unable in IE pass array of values from javascript to method of applet, but in Mozilla it's working fine. In IE i have got exception:
    Exception:
    java.lang.Exception: setTest{0} :no such method exists
         at sun.plugin.com.JavaClass.getMethod1(Unknown Source)
         at sun.plugin.com.JavaClass.getDispatcher(Unknown Source)
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    java.lang.Exception: java.lang.Exception: setTest{0} :no such method exists
         at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
         at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
    JavaScript code:
    var testArr=[];
        testArr[0]=1;
        testArr[1]=2;
        testArr[2]=3;
        document.sync.setTest(testArr);
    Applet method:
    public void setTest(Object[] test){
            System.out.println("Test "+test.length);
            for (Object o: test){
                System.out.println(o.toString());
        }How do passing in IE?

    yes, MAYSCRIPT just allow to call methods. but as i know it's unable to pass simply array from js to applet and from applet to js. so i convert array of values to String and in applet i use StringTokenizer to parsing. Thanks. ;)

  • Strange behavior of std::string find method in SS12

    Hi
    I faced with strange behavior of std::string.find method while compiling with Sunstudio12.
    Compiler: CC: Sun C++ 5.9 SunOS_sparc Patch 124863-14 2009/06/23
    Platform: SunOS xxxxx 5.10 Generic_141414-07 sun4u sparc SUNW,Sun-Fire-V250
    Sometimes find method does not work, especially when content of string is larger than several Kb and it is needed to find pattern from some non-zero position in the string
    For example, I have some demonstration program which tries to parse PDF file.
    It loads PDF file completely to a string and then iterately searches all ocurrences of "obj" and "endobj".
    If I compile it with GCC from Solaris - it works
    If I compile it with Sunstudio12 and standard STL - does not work
    If I compile it with Sunstudio12 and stlport - it works.
    On win32 it always works fine (by VStudio or CodeBlocks)
    Is there any limitation of standard string find method in Sunstudio12 STL ?
    See below the code of tool.
    Compilation: CC -o teststr teststr.cpp
    You can use any PDF files larger than 2kb as input to reproduce the problem.
    In this case std::string failes to find "endobj" from some position in the string,
    while this pattern is located there for sure.
    Example of output:
    CC -o teststr teststr.cpp
    teststr in.pdf Processing in.pdf
    Found object:1
    Broken PDF, endobj is not found from position1155
    #include <string>
    #include <iostream>
    #include <fstream>
    using namespace std;
    bool parsePDF (string &content, size_t &position)
        position = content.find("obj",position);
        if( position == string::npos ) {
            cout<<"End of file"<<endl;
            return false;
        position += strlen("obj");
        size_t cur_pos = position;
        position = content.find("endobj",cur_pos);
        if( position == string::npos ){
            cerr<<"Broken PDF, endobj is not found from position"<<cur_pos<<endl;;
            return false;
        position += strlen("endobj");
        return true;
    int main(int argc, char ** argv)
        if( argc < 2 ){
            cout<<"Usage:"<<argv[0]<<" [pdf files]\n";
            return -3;
        else {
            for(int i = 1;i<argc;i++) {
                ifstream pdfFile;
                pdfFile.open(argv,ios::binary);
    if( pdfFile.fail()){
    cerr<<"Error opening file:"<<argv[i]<<endl;
    continue;
    pdfFile.seekg(0,ios::end);
    int length = pdfFile.tellg();
    pdfFile.seekg(0,ios::beg);
    char *buffer = new char [length];
    if( !buffer ){
    cerr<<"Cannot allocate\n";
    continue;
    pdfFile.read(buffer,length);
    pdfFile.close();
    string content;
    content.insert(0,buffer,length);
    delete buffer;
    // the lets parse the file and find all endobj in the buffer
    cout<<"Processing "<<argv[i]<<endl;
    size_t start = 0;
    int count = 0;
    while( parsePDF(content,start) ){
    cout<<"Found object:"<<++count<<"\n";
    return 0;

    Well, there is definitely some sort of problem here, maybe in string::find, but possibly elsewhere in the library.
    Please file a bug report at [http://bugs.sun.com] and we'll have a look at it.

  • How to get InputStream from String ?

    Hi !
    I want to get InputStream object from String.
    String str = "balabalabala";
    InputStream stream = getInputStream(str);
    How to realize getInputStream(str) function ?
    Thanks!

    The preferred method nowadays is to use Readers and Writers for String data - hence StringReader(String). If you're going to operate on the InputStream directly, then I'd modify your code to use the Reader calls and go that route.
    If, however, you need to pass the InputStream to some other piece of API that requires an InputStream instead of a Reader, then the ByteArrayInputStream is probably your best bet. StringBufferInputStream is deprecated because it doesn't work reliably in the face of many character encodings.
    Speaking of encodings - never call Strng.getBytes() - always use the getBytes(character-encoding) version, so you KNOW what encoding you're getting!
    Grant

  • Creating SOAPElement from String

    Hi!
    I'm working with generic web services, i have a String representing an XML document, and i need to create a SOAPElement with that information; i have seen another forums but i haven't found the solution to my problem
    I need to return a SOAPElement, and i have an String with all the XML document information.
    For making the input to my method, i had a SOAPElement and i converted it to an String (toString() method), to call the unmarshal method from the JAXB API;but with the response i can`t make nothing similar with an String i have and i want to get it like a SOAPElement.
    Could anyone help me? Thanks

    hi i think that i can help you can u put ur code as an example to see how could i help u

  • GetColumns(String x,String y,String z,String w) method in  DatabaseMetaData

    hi!
    i want information about tables n their columns for perticular database.
    i m using getcolums(String catlog,String schemapattern,String tablenamepattern,String columnnamepattern) method in DatabaseMetaData.I m using sql server 2000 as my db n i want all columns from all the tables.
    what should be the last 2 string parameters in the above method.
    i have tried the following.
    DatabaseMetaData dbmd = dbcon.getMetaData();//dbcon is connection object
    ResultSet rs = dbmd.getColumns("students","dbo","*","*");
    while(rs.next())
    this code does not enter the while loop what cud b the problem??

    what should be the last 2 string parameters in the
    above method.
    dbmd.getColumns("students","dbo","*","*");The wildcard character in SQL is % not *
    (Why are some many people using the * as the wildcard?)
    dbmd.getColumns("students","dbo","%","%");
    Should return all columns for all tables.
    Thomas

  • Loading JavaFX code from string

    Hi,
    Here is my JavaFX code that I put to the SimplePainter.fx file:
    import javafx.stage.*;
    import javafx.scene.*;
    import javafx.scene.paint.*;
    import javafx.scene.input.*;
    import javafx.scene.shape.*;
    var elements: PathElement[];
    Stage {
        title: "Simple Painter"
        scene: Scene {
            content: Group{
                content: [
                    Rectangle{
                        width: 400
                        height: 300
                        fill: Color.WHITE
                        onMousePressed: function( e: MouseEvent ):Void {
                                insert MoveTo {x : e.x, y : e.y } into elements;
                        onMouseDragged: function( e: MouseEvent ):Void {
                                insert LineTo {x : e.x, y : e.y } into elements;
                    Path{
                        stroke: Color.BLUE
                        elements: bind elements
    }I am trying to use the ScriptEngineManager to evaluate the SimplePainter file:
    import java.io.FileReader;
    import javax.script.ScriptEngineManager;
    var path = "C:/Temp/fx/SimplePainter.fx";
    var manager = new ScriptEngineManager();
    var engine = manager.getEngineByExtension("fx");
    engine.eval(new FileReader(path));It throws AssertionError:
    java.lang.AssertionError
    at com.sun.tools.javac.jvm.Gen.visitBreak(Gen.java:1631)
    at com.sun.tools.javac.tree.JCTree$JCBreak.accept(JCTree.java:1167)
    at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:679)
    at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:714)
    However the simple 'println("Hello World!")' code is invoked fine.
    Do I do something wrong?
    Is it possible to use JavaFX compile methods to execute a JavaFX code from string?
    Thanks in advance.

    I experimented with that a while ago with JavaFX 1.1, with success: [Creating JavaFX Classes from Java Classes then running?|http://forums.sun.com/thread.jspa?threadID=5368159]
    I tried again:
    import java.io.*;
    import com.sun.javafx.api.JavaFXScriptEngine;
    import javax.script.ScriptEngine;
    import javax.script.ScriptEngineManager;
    class RunJavaFXScript
      static String SCRIPT_NAME = "Test.fx";
      public static void main(String[] args)
        // Get the current directory
        File curDir = new File(".");
        // Get the script's file content
        BufferedReader reader = null;
        File fScript = new File(curDir.getAbsolutePath(), SCRIPT_NAME);
        System.out.println("Reading the " + fScript.getAbsolutePath() + " script");
        try
          reader = new BufferedReader(new FileReader(fScript));
        catch (FileNotFoundException e)
          System.err.println("File not found: " + fScript.getAbsolutePath());
          return;
        // Create a script on the fly
        String script = "function Demo() { println('Hello World!'); return 'It works!'; }";
        System.out.println("Getting the engines");
        ScriptEngineManager manager = new ScriptEngineManager();
        ScriptEngine engine = manager.getEngineByExtension("fx");
        System.out.println("Getting the generic ScriptEngine (by extension): " + engine);
        JavaFXScriptEngine fxEngine = (JavaFXScriptEngine) manager.getEngineByName("javafx");
        System.out.println("Getting the JavaFXScriptEngine: " + fxEngine);
        // Try to run it
        try
          System.out.println("Running the script read from a file: " + reader);
          Object readScript = engine.eval(reader);
          System.out.println("Running a built-in script");
          Object internalScript = fxEngine.eval(script);
          Object r = fxEngine.invokeFunction("Demo");
          System.out.println("Returned: " + (String) r);
        catch (Exception e)
          e.printStackTrace();
        finally
          try { reader.close(); } catch (IOException e) {}
    }Compiled with:
    javac -cp %JAVAFX_HOME%/lib/shared/javafxc.jar RunJavaFXScript.java(with JAVAFX_HOME pointing at javafx-sdk1.1)
    Ran with:
    java -cp %JAVAFX_HOME%/lib/shared/javafxc.jar;%JAVAFX_HOME%/lib/desktop/javafxgui.jar;%JAVAFX_HOME%/lib/desktop/Scenario.jar;. RunJavaFXScriptIt works:
    Reading the E:\Dev\PhiLhoSoft\Java\_QuickExperiments\.\Test.fx script
    Getting the engines
    Getting the generic ScriptEngine (by extension): com.sun.tools.javafx.script.JavaFXScriptEngineImpl@758fc9
    Getting the JavaFXScriptEngine: com.sun.tools.javafx.script.JavaFXScriptEngineImpl@1113708
    Running the script read from a file: java.io.BufferedReader@133f1d7
    Running a built-in script
    Hello World!
    Returned: It works!(and it shows a Stage with a small FX script showing an animation).
    Now, I try to do the same of JavaFX 1.2: same command line for compiling (except of course pointing to javafx-sdk1.2), run command is:
    java -cp . -Djava.ext.dirs=%JAVAFX_HOME%/lib/shared;%JAVAFX_HOME%/lib/desktop RunJavaFXScript(more jars to take in account, I take everything...)
    And when I run it I have:
    Reading the E:\Dev\PhiLhoSoft\Java\_QuickExperiments\.\Test.fx script
    Getting the engines
    Getting the generic ScriptEngine (by extension): com.sun.tools.javafx.script.JavaFXScriptEngineImpl@8813f2
    Getting the JavaFXScriptEngine: com.sun.tools.javafx.script.JavaFXScriptEngineImpl@1d58aae
    Running the script read from a file: java.io.BufferedReader@83cc67
    An exception has occurred in the OpenJavafx compiler. Please file a bug at the Openjfx-compiler issues home (https://openjfx-compiler.dev.java.net/Issues) after checking for duplicates. Include the following diagnostic in your report and, if possible, the source code which triggered this problem.  Thank you.
    java.lang.AssertionError
            at com.sun.tools.javac.jvm.Gen.visitBreak(Gen.java:1631)
            at com.sun.tools.javac.tree.JCTree$JCBreak.accept(JCTree.java:1167)
            at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:679)
            at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:714)
            at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:700)
            at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:751)
            at com.sun.tools.javac.jvm.Gen.genStats(Gen.java:735)
            at com.sun.tools.javac.jvm.Gen.visitSwitch(Gen.java:1210)
            at com.sun.tools.javac.tree.JCTree$JCSwitch.accept(JCTree.java:943)
            at com.sun.tools.javac.jvm.Gen.genDef(Gen.java:679)
            at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:714)
            at com.sun.tools.javac.jvm.Gen.genStat(Gen.java:700)
            at com.sun.tools.javac.jvm.Gen.genLoop(Gen.java:1076)
            at com.sun.tools.javac.jvm.Gen.visitForLoop(Gen.java:1047)
            at com.sun.tools.javac.tree.JCTree$JCForLoop.accept(JCTree.java:856)
    (and so on)So I have the same issue.
    Looks like something have been broken in 1.2... :-(
    Of course, the tested scripts compile without problem.
    If I put only my simple built-in script in the Test.fx file, it works... I can put an empty Stage in the script (it is displayed), but if I add an empty Scene to it, I have the same error.

Maybe you are looking for

  • DME file in XML format in SAP 4.6C

    Hi Experts, For a Belgium client, I have a requirement to generate DME file in XML format for payments made to foreign and domestic vendors.  I want to know the following, 1.  Can DME file be generated in XML format using classic payment medium progr

  • Using Acrobat Object in InDesign Javascript Script

    Hi there, for a current job, I would like to replace pages in a PDF document right after I have exported the pages from InDesign. The export works well, but now I need to instantiate an acrobat object in my InDesign Script. At the moment, I only have

  • Can't read opened attachments in emails

    When I try to open an attachment received in an email, I get a "notepad" sheet filled with unreadable gobbledegook! Does this mean I will never be able to open attachments sent from Windows users in emails? (probably no great loss) or have I not down

  • Different DVI?

    I just exchanged my mac mini which i purchased 2 weeks ago for the newer one. I spent the extra 50 bucks. I was wondering if anyone else had the problem of a different DVI? Meaning, I put in the mini-dvi to dvi adapter. Then I tried to put on my dvi

  • To define summer holiday period in factory calendar

    Dear All, I have to define summer and midterm holidays to factory calendar. I defined them by using "special rules" in transaction SCAL. I saw the days as holiday in factory calendar. On the other hand, when I use function HR_RO_WORKDAYS_IN_INTERVAL