Applescript for QuickTime help needed.

I have some mkv files that I would like to re-encapsulate as mov files.
Through the GUI I would normally open the mkv in quicktime, then Save or Save As with self-contained option selected, and just hit enter. This would save the re-encapsulate the movie with no re-encoding to the same directory with the same filename, but now with the .mov extension. This works with no issues.
Now, I want to be able to automate this process, but the only thing I can't figure out is how to tell the movie to *save self contained* with the *+same name in the same directory+*.
Thanks in advance for any help you can offer!

I don't know what the rest of your script is, but the following snippet will save the front document - no error checking (such as existing files or loaded state of the document) is done:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
font-weight: normal;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #DAFFB6;
overflow: auto;"
title="this text can be pasted into the AppleScript Editor">
tell application "QuickTime Player 7" to tell document 1
set thePath to it's path & ".mov" -- just add a new extension to the existing file path
save self contained it in thePath
-- close
end tell
</pre>

Similar Messages

  • Quicktime help needed - I have an Imac 800Mhz PPC G4 with OSX 4.11 installed , Quicktime help needed? - I have an Imac 800Mhz PPC G4 with OSX 4.11 installed?

    I have an Imac 800Mhz PPC G4 with OSX 4.11 installed, THANKS! Quicktime help needed?

    Thanks for your kind reply Quicktime Kirk!  Thanks in advance to anyone who replies to this as well. I have heard that what I need is an older Quicktime Version that allows for saving files, etc. But apple does not support it & I should look elsewhere - hence my appeal on this forum. Also, for some reason, when I try to upgrade to Quicktime Pro my browser  (both Safari & Firefox) quits as I am about to complete my purchase. In any event, the real question is this: would the Quicktime Pro upgrade be compatible with my current system?

  • Sprite For Quicktime Help

    Hello
    I'm looking for someone to help us create sprites for quicktime.   I know that you used to be able to do it in Go Live.  Can you do this in Dreamweaver? Does it need to be done with CSS?   I'm looking for someone to help us out with this.  Drop me an email if you're interested in some freelance work.
    Thanks
    Peter
    [email protected] 

    I suspect a Sprite has some meaning in GoLive, but this term doesn't exist in DW or QuickTime.
    Perhaps you will get better answers in this forum if you tell us what a GoLive Sprite is and exactly what you expect to do with it in DW. There may be something comparable you could use that goes by another name.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Trying to work on a script for QuickTime X, need help

    So, I've been working on scripts to restore some functionality back to QuickTime X (mainly the preferences part of QuickTime).
    http://web.me.com/celebi23/QuickTimeXScripts/Main.html
    http://discussions.apple.com/thread.jspa?threadID=2135161
    I'm now trying to implement the "Recent Items" selection.
    I almost have it all set up. It still won't make the selection though >_< The script won't open when I'm in QuickTime (via the script menu. all of the others open just fine. Have to run it from the AppleScript Editor to test it out). All of the individual Terminal commands work just fine though. Oh & there's an invalid connection with QuickTime apparently >_<
    <a class="jive-link-external-small" href="http://">http://i23.photobucket.com/albums/b355/eisnerguy1/Recent_Items.p ng
    "set recentItems to {"None", "5", "10", "15", "20", "30", "50"}
    display dialog (choose from list recentItems with prompt "Select the amount of Recent Items.")
    if recentItems is "None" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 0"
    else if recentItems is "5" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 5"
    else if recentItems is "10" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 10"
    else if recentItems is "15" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 15"
    else if recentItems is "20" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 20"
    else if recentItems is "30" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 30"
    else if recentItems is "50" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 50"
    end if
    display dialog "Please restart QuickTime Player for the preference changes to take effect." & return buttons {"Restart QuickTime Player"} default button 1 with icon alias ((path to me) & "Contents:Resources:QuickTimePlayerX_128.icns" as string)
    copy the result as list to {restartButton}
    if restartButton is "Restart QuickTime Player" then
    tell application "QuickTime Player" to quit
    tell application "QuickTime Player" to open
    end if"
    Still trying to figure out how to include the "Restore Defaults" button. The code would be something like this. It would go before the restart dialog. Not sure where in the code to include the "Restore Defaults" button though >_<
    "defaults delete com.apple.QuickTimePlayerX NSRecentDocumentsLimit"
    end if"
    Any help would be greatly appreciated

    Thank you. The script now loads but, the preference never stays set. I chose "5" & the recent items still continue to be added to the recent items list. I've got 10 items in my "recent items" list even though I chose "5". The Terminal commands themselves work fine though
    set recentItems to {"None", "5", "10", "15", "20", "30", "50"}
    display dialog (choose from list recentItems with prompt "Select the amount of Recent Items.")
    if recentItems is "None" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 0"
    else if recentItems is "5" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 5"
    else if recentItems is "10" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 10"
    else if recentItems is "15" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 15"
    else if recentItems is "20" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 20"
    else if recentItems is "30" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 30"
    else if recentItems is "50" then
    do shell script "defaults write com.apple.QuickTimePlayerX NSRecentDocumentsLimit 50"
    end if
    set buttonClicked to button returned of (display dialog "Please restart QuickTime Player for the preference changes to take effect." & return buttons {"Restart QuickTime Player"} default button 1 with icon alias ((path to me) & "Contents:Resources:QuickTimePlayerX_128.icns" as text))
    if buttonClicked is "Restart QuickTime Player" then
    tell application "QuickTime Player" to quit
    delay 3 -- give the app time to quit, otherwise the next command may fail
    tell application "QuickTime Player" to activate
    end if
    I took out the "Restore Defaults" because, according to the Terminal
    There is no (NSRecentDocumentsLimit) default for the (com.apple.QuickTimePlayerX) domain.
    Defaults have not been changed.
    Message was edited by: Alex Brofsky
    Message was edited by: Alex Brofsky
    Message was edited by: Alex Brofsky

  • Applescript for quicktime player 7 in 10.6

    I've been using an applescript that can take a bunch of movie clips and merge them into a single file. (see script below) now with 10.6 and quicktime x. this script no longer works. Can anyone help me to get quicktime player 7 to launch and start doing it's trick. any help most appreciated.
    on open these_items
              tell application "Finder" to set sorted_items ¬
                        to sort these_items by name
              repeat with i from 1 to the count of sorted_items
                        set this_item to (item i of sorted_items)
                        tell application "QuickTime Player 7"
                                  if i is equal to 1 then
      make new document
                                  end if
      open this_item
                                  tell document 1
      rewind
      select all
                                            copy
      select none
                                  end tell
      close document 1 saving no
                                  tell document 1
                                            add
      select none
                                  end tell
                        end tell
              end repeat
    end open

    The scripts below work for me, using Mac OS 10.4.11 and QuickTime Pro v. 7.6.4.
    Note that my version of AppleScript (v. 2.1.1) doesn't recognize application QuickTime Player 7. Hence, application "QuickTime Player" was used throughout. Your needs may vary; if you can or must use the "7" by all means do so.
    The first is based on the script Craig Williams posted in this thread: http://macscripter.net/viewtopic.php?id=31674 (in post #6). I modified the script a bit so that a new file is created on the front end, and the merged file gets written to it once the script finishes:
    set file_name to text returned of (display dialog "A new merged QuickTime file will be created on the desktop. Please choose a name:" default answer "Enter Name")
    tell application "Finder"
      try
      set make_file to make new file at (path to desktop folder as string) with properties {name:file_name & ".mov"}
      set new_file to make_file as alias
      on error
                        display dialog "A file with the name " & "“" & file_name & "”" & " already exists on the desktop. Please try again." buttons {"OK"} default button 1 cancel button 1 with icon stop
      end try
    end tell
    set theCount to 1
    set theFolder to choose folder with prompt "Choose the folder with QuickTime files you want to join together."
    tell application "Finder"
      set theFiles to every file of folder theFolder
      set totalFiles to (count the theFiles)
      repeat with i from 1 to totalFiles --to 1 by -1
      set thisfile to item i of theFiles as alias
                        --QT Pro
      my mergeFilesUsingQT(thisfile, theCount, totalFiles)
      set theCount to theCount + 1
      end repeat
    end tell
    delay 1
    tell application "QuickTime Player"
      tell document 1
      rewind
                        delay 0.5
      save as self contained in new_file
      close
      end tell
    end tell
    on mergeFilesUsingQT(thisfile, theCount, totalFiles)
              tell application "QuickTime Player"
      activate
                        --the first file only gets copied
                        if theCount = 1 then
      open thisfile
                                  delay 0.5
      tell document 1
      select all
                                            copy
      end tell
      close document 1 saving no
      else
                                  --these files get the previous file added to it and
                                  --then it is copied to be added to the next file
      open thisfile
                                  delay 1
      tell document 1
      set x to get duration
      set current time to x
      paste
      select all
                                            copy
      end tell
      end if
      end tell
    end mergeFilesUsingQT
    My own version, below, creates a new file and then opens a temporary QuickTime document to which each file is copied in turn. Once copying is complete, the temporary file is written to the file that was created at the beginning of the script:
    set file_name to text returned of (display dialog "A new merged QuickTime file will be created on the desktop. Please choose a name:" default answer "Enter Name")
    tell application "Finder"
      try
      set make_file to make new file at (path to desktop folder as string) with properties {name:file_name & ".mov"}
      set new_file to make_file as alias
      on error
                        display dialog "A file with the name " & "“" & file_name & "”" & " already exists on the desktop. Please try again." buttons {"OK"} default button 1 cancel button 1 with icon stop
      end try
    end tell
    tell application "QuickTime Player"
      set temp_doc to make new document
    end tell
    set fol to choose folder with prompt "Choose the folder containing QuickTime files to be merged:"
    tell application "Finder"
      set the_files to every file of folder fol
      repeat with i from 1 to count of the_files
      set a_file to item i of the_files
      my merge_files(a_file, temp_doc)
      end repeat
    end tell
    delay 1
    tell application "QuickTime Player"
      tell document 1
      select none
      save as self contained in new_file
      close
      end tell
    end tell
    on merge_files(a_file, temp_doc)
              tell application "QuickTime Player"
      activate
      make new document
      open a_file
      delay 1
      tell document 1
      set t to get duration
      set current time to t
      select all
      copy
      close
      end tell
      activate document temp_doc
      delay 1
      tell document 1
      paste
      end tell
      end tell
    end merge_files
    Hope this helps. Good luck.

  • ITunes + Quicktime help needed!

    okay so Quicktime uses up a lot of space on my hard drive and I only have it because its required for iTunes (the only media player I use). My music library is like 30+ gb and since I am a college student with no money to purchase an external harddrive for my 40gb labtop, I am forced to uninstall every program I can (and I've used up all my options)..
    SO my question is this: what is the bare minimum tools, software, (whatever), etc. that I need to have in order to satisfy the iTunes requirements? AND is there any way to uninstall the components that I don't need/use? (and I don't need anything video related at all because I obviously don't have space for them anyway)
    Whoever can help, if you can help, or if it even CAN be helped, please do.. I'm desperate and I love my music/music library.

    Petey G,
    I had success in uploading iT6 andd QT7 after performing the following steps. Good luck ...
    Hey troubled Podheads,
    I was one of the legion with problems in downloading iTunes6 and QT7 for Windows until I tried something (I must say that I am not a pc wizard and I don't know the technical reasons for why the following worked, it just did! So if there are any pc geeks out there, be sure to chime in). Anyway, this is what I did. First uninstall QuickTime if you do have it on your pc. If not, just go to the next step:
    Go to START, then RUN. Type in regedit and then click OK. Your REGISTRY EDITOR should open. You should see HKEYLOCALMACHINE in the scroll down menu on the left, with a small box to its left. Make sure that the inside of the box has a negative sign - this will open up the next set of subfolders. Next, make sure that the subfolder, SOFTWARE, has a negative sign in the small box to its left. Next, make sure that there is a negative sign in the box next to the subfolder entitled, Apple Computer, Inc. You'll see at least three subfolders: iPod, iTunes and QuickTime. Click once on the QuickTime folder until it is highlighted and then delete it. You will be asked if you want to delete QuickTime and its subfolders. Click ok and then close out the Registry Editor.
    Next, download the stand alone QuickTime 7 at this link (you may have to cut and paste this link to open this website):
    http://www.apple.com/quicktime/download/standalone.html
    When you download the stand alone QT7, you may get a couple of error messages (I did), but if you repeatedly click ok (like I did), the QT7 player should load with no problems.
    Again, I am no pc geek, but this worked for me and I have gained access to iTunes6 (with video capacity) and my complete library is intact. Nothing like trial and error!! Good luck -- I hope this works for all of you frustrated Podheads out there!

  • AppleScript for QuickTime export of frames

    I would like to get an AppleScript to --
    1) Take a folder full of QT movies (slideshows), and for each movie create a new folder with the name of the orig movie (e.g. "nelson.mov" --> "nelson" foldername), and for each movie --
    2) export a series of frames from each 30 - 200 second QuickTime narrated slideshow movie (typically 4-8 frames per movie), with each frame saved with name nnnnnn.jpg, where "nnnnn" is the TIME for that frame in the movie, into the folder for that movie
    3) export the audio track as a .aif audio file into the folder for that movie
    Although I have done some AppleScripting, the above is Way Beyond my expertise...
    Can anyone help me ?
    Thanks

    You don't ask for much, do your Donald?
    http://www.apple.com/applescript/quicktime/
    Most of these AppleScripts still work with QT 7 and Tiger. Some are "broken" but fixable.
    You may also want to look toward Automator (part of Tiger) that can help you write (no real writing) Workflows and Contextual menu apps that you can invoke with a few mouse clicks.

  • AppleScript for QuickTime: How to select microphone?

    (I'm new to AppleScript.)
    Using AppleScript, I want to change the selected microphone from "Built-in Microphone: Internal microphone" to another input I have called "Soundflower (2ch)".
    I looked at QuickTime in the AppleScript dictionary, but all I could find was "audio recording device", and I have no idea what to do with that.
    Help? / Write it for me please? =D

    The only normal user (non-admin type) who can mark an answer as helpful or correct is the user who started the discussion.

  • Want to use Logic 8 Pro for Podcasting, help needed

    I have a few problems. I just switched over to Logic after using ProTools for 4 years so I'm a newbie. I'm about to start a podcast soon and I want to use Logic 8 Pro to do so. Is there a book that someone can recommend me for getting familiar with Logic?
    Here are the things I need to get done:
    I have a mixer and I need to know how to record the sounds playing through my computer to end up in Logic. I basically want to be able to capture the audio playing on my computer and have that be on the podcast. How do I do this?
    Secondly, I'm confused about what Input 1 and Input 2 are. What is the difference?
    I'd appreciate anyone who could IM me to help me further with Logic if I have a quick question or anything. My AIM screen name is DirtyVibes. Any help would be appreciated.
    Thank you,
    -RandomSkater

    Is there a book that someone can recommend me for getting familiar with Logic?
    Yes, the Getting Started manual, you can download it from Apple.
    I have a mixer and I need to know how to record the sounds playing through my
    computer to end up in Logic. I basically want to be able to capture the audio
    playing on my computer and have that be on the podcast. How do I do this?
    I'm not sure what you are asking here. If you want to record the whole output of your computer, I recommend using a virtual audio driver like Soundflower or Jack.
    Secondly, I'm confused about what Input 1 and Input 2 are. What is the difference?
    Input 1 is the input marked "1" on your audio interface (or the left channel on a stereo pair).
    Input 2 is the input marked "2".
    If your audio interface has more than 2 inputs, they will all show up, so you can record different inputs to different tracks if required.
    You might be better off using Garageband to record your podcasts, it's simpler and has dedicated podcast functions (like adding iTunes artwork and so on).

  • Flash and publishing for iOS (Help Needed)

    I currently own Adobe Create Suite 3 Design Premium.  I just recently heard that CS 5.5 can develop iOS Apps.  So I downloaded trial 2 days ago and thought I would see if I  could develop some apps and if things go well upgrade.
    Here is the issue I'm running into.  I created the CSR file with openssl since I don't own a mac, only a windows 7 based pc.  Apples developers program accepted my CSR and created the provisioning file for it.
    However, when I go to publish the for iOS it asks for a .p12 file.  I found online that is my CSR file.  However, it asks for a password.  I have no password for it.  It does not allow leaving the password field blank, and anything I put in it is incorrect.
    All I need help with is the .p12 file and getting past the password and I will be good to go.
    Anyone know a step by step guide or could walk me though this part.  Thank you and I greatly appreciate it.
    ~Chris

    the only thing is that i havent got a password set to my computer but i will have a look in to that thanks for the help

  • Quicktime Help Needed

    I recently deleted Quicktime X so I could install Quicktime 7 to convert bmp images to mpeg but when I tried to install QT 7, it said QT X was still installed. I've looked all over my HD and cannot find anything remotely dealing with QT X. I read that you can install QT 7 from the SL install disc but I seem to have misplaced it during a recent move. Any help would be appreciated.

    Click here for it.
    (51596)

  • K8N -Thanks for the help - Need to be a little quieter

    AIM: to build an ass kicking video editing & music production PC
    Just wanted to say thanks to the peeps who contribute to this forum.  Although I have only just registered I have been coming here for the past month and have put together all the missing pieces of my first ever PC Build project.  My previous experience was to upgrade the odd part.  This forum has enabled me to make the equipment choices, tackle the engineering & build (including fitting the CPU fan which was my worst worry), update the bios & load the drivers & software in the correct order.  99% of the items have been sourced from eBay to save money and so far no DOA's.
    Still got some way to go, so any suggestions regarding my future upgrades would be welcome…..
    The Winfast graphics card is possibly the weakest link (borrowed from my outgoing PC) and I am looking for an ATI x800xt PE vivo.
    Looking to replace the HDD with two WD Raptors in Raid?
    Not sure If I will fit My Terratec Sound Card (the front plate has all the connections which is not good for the door on the front of my case) or to go the Audigy way?
    I have no idea how to overclock and not sure if I need to go this way for video editing, if yes would the dane-elec memory need to be upgraded?  How do I test this?
    I gather from previous posts that once all this kit is added  I may need to be upgrade the 400w PSU due to a shortage of amps?  I am a little reluctant as it is almost totally silent @ 14db. I like the look of the OCZ moonsomething?
    Finally, the case Tsunami Dream case is a little noisy. I just purchased some acoustic absorption mats to help. Has anyone had any luck changing the stock Tsunami 120mm fans to quieter ones? 
    Thanks Again

    Hi.  Happy you have found the forum helpful.
    I would buy  a good PSU first.  Otherwise you risk damaging  your new equiment.  Recommended makes are Enermax, Tagan, Hiper and OCZ with amps on the 12 rail at least in the mid twenties, but preferably around 30.
    For video cards, I have preferred nvidia-based cards in recent years because of their better driver support.  The 6800GT is a good choice.  The ultra version, IMHO, is not worth the added cost since you can ususally OC the GT ot ultra speeds.
    Raptors in RAID offer the best performace but suffer a big price premium over 7200 SATA drives.
    I would leave the Audio issue for last.  You just might like the on-board audio.
    Deciding whether to chage the case might be the very first thing to decide since it would be awfully inconvenient to install everything and then have to resinstall because of a case change.  I wish there was a way to get a totally silent case/fan combo, but I don't.  Maybe someone else will help you on this.
    Good luck.

  • Report for PO help needed (Urgent)

    Hi all,
    do anyone has code for a report which is used to create Purchase Order for materials which has purchase requisition.
    if anyone has the plz share it with me.
    bcoz it is urgently needed & it is required to be deliver today.
    Regards
    sanjeev

    Hi
    Take the data from <b>EBAN</b> table and try to display the same after fecthing from it.
    PO related tables are EKKO and EKPO, EKET,and EKBE.
    Reward points if useful
    Regards
    Anji

  • Ripping DVD's ready for iPod - Help Needed!!

    Hi All
    I have been using Handbrake to rip my DVD's and for some reason it has stopped working now..
    It goes through the process of encoding the files, all the settings are correct and I have noted the saved directory (even changed it a couple of times), and when it completes 100% there is no file to be found anywhere......
    I have posted a note on the handbrake forum but got no reply yet.
    Does anybody know what the problem may be?
    Also, does anybody know of an application that will rip DVD's so that they are iPod ready, or maybe into MPG/MPEG/AVi format.
    Many thanks
    Garry

    It goes through the process of encoding the files, all the settings are correct and I have noted the saved directory (even changed it a couple of times), and when it completes 100% there is no file to be found anywhere.
    How long do you wait? Once conversion has completed, the YourFileName.temp file must be rewritten to your desitination location. This can take some seconds, depending on the size of your movie. While we're at it, is the temporary file even being created when conversion begins?
    Also, does anybody know of an application that will rip DVD's so that they are iPod ready, or maybe into MPG/MPEG/AVi format.
    Ripping/extraction of DVDs can be done by a number of Mac compatible appliations. MacTheRipper (free) is probably one the most popular at the moment. Stripping and/or conversion, however, still requires an ancillary application like MPEG2 Works 4 Advanced ($$) or MPEG StreamClip (free). However, since your were less than specific as to type (stream file, elementary streams, VCD compatible, SVCD compatible, DVD compatible, etc.) of target file desired, I can only generalize. Conversion basically depends on the workflow you utilize. Both applications have some "intrinsic" capabilities but, for the most part, rely on QT, QT Tools, and/or QT components you have installed and available. In addition, both application allow output to what is basically the QT Pro "Movie to QuickTime" export option. This simply means that in addition to the specific formats you mentioned, you also have full access to all of the same target QT formats you could normally access directly from your QT Pro application. (I.e., you can go directly from a VOB file or file segment to any available QT compatible compression format based on QT Pro and installed QT Pro components.)
    REMINDER: These alternative compression formats are not iPod compatible.
    ADDED: Forty-TwoDVD-VXPlus ($$) will convert ripped/extracted DVD directly to iPod compatible formats.

  • Username and password for airprint help needed

    hi
    i have set up airprint through the wifi and my iphone 3GS and ipad wifi are able to find the printers in the house but it says that a user name and password are required to connect to the printer but i do not believe that i have a password set to the printers. any help or ideas would be very useful
    many thanks

    the only thing is that i havent got a password set to my computer but i will have a look in to that thanks for the help

Maybe you are looking for

  • Sending km document as an email attachment

    Hi all, I am trying to send a KM document as email attachment with the following peice of code. But I am getting FileNotFoundExceptio. Can anyone guide me as to where its going wrong. Any help will be appreciated. String filePath = ""; ResourceContex

  • Run time error during transcation execution in ECC 6.0

    Dear All, Working on ECC 6.0; Activated the Business Function, and  any transaction that is run, we face the Run time error as follows: Category : Internal Kernal Error Runtime Errors : DDIC_TYPE_INCONSISTENCY

  • Query Not Returning Enough Records

    have two tables that I am trying to join together.  The first table shows the income for each department of the store broken down by period like this: Store_Data: Store_Type  Dept    Year  Period  Sales Grocer      Produce   11  01      31865.00    G

  • I get an error message "invalid character in line 1" when loading my ISP's webmail program

    I've tried ALL possible solutions offered in the Firefox articles without success. No problem with any other web sites, just the web mail site offered by the ISP, which blames Firefox. However, I can load the web mail site in IE (don't want to, thoug

  • Implementation of prolog in Oracle 11g

    Hi how do i implement prolog quries in Oracle 11g Is there any API in oracle to cater to it Thanks