Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2006
    Posts
    181

    Lightbulb How Can I Print The Data In Input Object ???

    How Can I Print The Data In Input Object ???

  2. #2
    Join Date
    Oct 2005
    Location
    MI
    Posts
    524
    Here is one way using the File.Print action...

    Code:
    -- Set a variable with the name of your input object
    str_MyInputObject = "Input1";
    
    -- Set a variable with the temp location and filename you would like to use
    str_TempFile = _TempFolder .. "\\Input.txt";
    
    -- Get the text from you input object to a string
    str_InputContents = Input.GetText(str_MyInputObject);
    
    -- If the previous action was successful, write the string to a text file,
    -- and print the file to the default printer using the users preferred 
    -- text editor
    num_Error = Application.GetLastError()
    if num_Error == 0 then
    TextFile.WriteFromString(str_TempFile, str_InputContents, false); File.Print(str_TempFile);
    else
    Dialog.Message("Error Getting Text from Input Object",_tblErrorMessages[error]);
    end
    Yeah right. Who's the only one here who knows the illegal ninja moves from the government?

    ()))))))))o)))))))==============================================

  3. #3
    Join Date
    Apr 2006
    Posts
    181

    Talking

    Thanks Alot Tjs

Similar Threads

  1. Input object loses focus after Internet
    By dthompson16 in forum AutoPlay Media Studio 5.0
    Replies: 6
    Last Post: 08-26-2004, 07:55 AM
  2. Function: Validate the Contents of an Input Object
    By Lorne in forum AutoPlay Media Studio 5.0 Examples
    Replies: 2
    Last Post: 06-17-2004, 08:47 AM
  3. Function: Test Whether An Input Object Is Empty
    By Lorne in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 06-08-2004, 02:18 PM
  4. INFO: Difference between the Media Player Object and the AVI Object
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-29-2002, 02:15 PM
  5. HOWTO: Make a Media Player Object Go Full Screen
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-23-2002, 11:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts