Best Method for Importing and Exporting Data to a local 'resrouce'  file

I've searched the forum, and seen glimmers of hope to what I am trying to piece together - but not in a concise way that will sink into my brain.
Using Javascript on a PC for IDCS2, I'm writing a simple script that has a user interface.
I'd like to have 4 default values for the user interface to be read from (and if altered, written to) a text file.
What's the simplest way to go about this? I've read through many posts, and toyed around with readln and writeln functions, but nothing is working out. For some reason, I can't send any information to any file - let alone read it back in.
Could somebody point me in the right direction? For simplicity sake let's say I have just one variable, "myVariable" - and I want to send it to and read it from c:\test.txt.
Someday - this will all sink in. Right now, I'm reaching for Aspirin.

Hi D Scott Chinn,
Try something like this:
var myFile = File.saveDialog ("Save file as:")
if(myFile != undefined){
var myString = "Write this string to a file."
myFile.open("w");
myFile.write(myString);
myFile.close();
Thanks,
Ole

Similar Messages

  • Best Method For Importing Clips Between FCP Projects

    What is the best method for importing clips between FCP 7.0.3 projects?  I am wondering whether or not pulling the clips from the Capture Scratch folder is the way to go or will using Import from the new FCP project create a new folder in Capture Scratch with the imported clips?  I have a new HD camcorder with different clips for different projects and Log and Transfer makes it so easy to bring them all in at once but now wondering how best to separate them into separate Capture Scratch folders for each project. 

    well, I simply either drag them in to the new/different project from the finder, or drag or copy and paste between open fcp projects.  Never had any problems working this way.  Just remember that if you delete a specific project scratch disk folder, you may be deleting media used in another project.

  • Best method for importing mini DV tape movies directly to an external seagate hard drive for later import to iMovies ??

    Best method for importing mini DV tape movies directly to an Seagate external hard drive,for later import to imovie event???

    The simplest and cheapest option is LifeFlix.  They have more info at www.lifeflix.com or on the Mac app store at https://itunes.apple.com/us/app/lifeflix/id630212114?ls=1&mt=12

  • Best methods for importing artwork via Illustrator with tranparency?

    I'm new to Final Cut Pro and am tryin to figure out the best methods for importing artwork via Illustrator. So far, I've been saving the artwork as a transparent PNG, but I feel like there should be a better way. Any help would be greatly appreciated.
    Thanks,
    Mike
    MacBook Pro   Mac OS X (10.4.8)  

    Hi:
    Ussually I have to rebuild in AI the company logo (I use to work for industries) to include in FCP edit.
    - If you have CS2, open Photoshop and create a new file using the right preset (i.e. DV PAL) using transparent background. That creates a PSD empty file with all attributes you need (pixels dimensions and aspect ratio) to use later in FCP.
    - Select your work (i.e. the final logo) in the AI canvas and copy it.
    - Paste it in the empty PSD file as "vextor information" (I don't remember right now the exact words!). That way you can resize it in the PSD file without loosing quality.
    - The better ir deciding the size NOW in Photoshop, or create sveral version in different sizes. Yuo'll get better quality id you make the resizings in Photoshop rather that doing a scale in FCP timeline.
    - Once your logo is in the right dimension into the PSD file, save a copy and flatten all layers keeping the transparent background. If you don't need the layers during editing in FCP, you better have all layers flattened.
    - Import that file in FCP.
    That's my workflow, but probably you'll find different flavors here!
      Alberto

  • Itunes keeps telling me "the registry setting for importing and exporting and burning cds are missing" reinstall itunes.  I have reinstalled itunes about 30 times and still get the same message.  I do not have another cd burning software loan

    I keep getting the message "the registry settings for importing and exporting and burning cds are missing. Please reinstall itunes. This may be the result of other cd burining software on your computer"  I do not have another CD burning software on my computer and have reinstalled itunes about 30 times and still get the same message and am not able to burn CDs.  All of my drivers and firmware are up to date. Please help

    Check out this Apple article -> iTunes for Windows: "Registry settings" warning when opening iTunes
    The article will walk you through reinstalling iTunes and then checking for or creating device filters. Did it help? Did you run into any problems?

  • Importing and Exporting Data with a Clob datatype with HTML DB

    I would like to know what to do and what to be aware of when Importing and Exporting data with a Clob Datatype with HTML DB?

    Colin - what kind of import/export operation would that be, which pages are you referring to?
    Scott

  • Problem with Import and Export Data Wizard

    Downloaded and installed SQL Server Express 2008 R2 today because I want to explore how Access interacts with SQL Server (using my home computer). I'm using Access 2010 (under Windows 7), so the 2008 version of SQL Server Express seemed to be the version
    to use.
    After a couple of false starts, installation appeared to go okay. After the installation. My Start menu listed Microsoft SQL Server 2008 and Microsoft SQL Server 2008 R2. The latter listed Import and Export Data (64-bit). When I clicked that, the first Import
    and Export Data Wizard page was displayed. I wasn't ready at that time to explore the wizard, so I closed it. An hour or so later I again attempted to open the Import and Export Data wizard. This time, the wizard didn't open. Instead this error message was
    displayed: "The SSIS Runtime object could not be created. Verify that DTS.dll is available and registered."
    I found DTS.dll on my computer at C:\Program Files\Microsoft SQL Server\100\DTS\Binn, so the file is available, but don't know whether it is registered.
    How can I correct this problem?

    First can you please post all log file errors
    >> I can't really give you a solution or specific recommendation since I did not saw this error yet myself, but on your own risk you can try:
    1. You may try to just register 'dts.dll' using regsvr32.exe, but this error may indicate a bigger problem with setup.
    If you are running SQL Server 64bit then try running this at the command prompt: %windir%\syswow64\regsvr32 "%ProgramFiles(x86)%\Microsoft SQL Server\90\dts\binn\dts.dll"
    2. You can try reinstall from start (In this case you have to make sure that you un-install all)
    [Personal Site] [Blog] [Facebook]

  • Best practice for Plan and actual data

    Hello, what is the best practice for Plan and actual data?  should they both be in the same app or different?
    Thanks.

    Hi Zack,
    It will be easier for you to maintain the data in a single application. Every application needs to have the category dimension, mandatorily. So, you can use this dimension to maintain the actual and plan data.
    Hope this helps.

  • What is the best way to import and export footage from the 5D Mark II?

    Hello,
    I've just finished shooting what I am considering to be my directorial masterpiece.  Shot it on the Canon 5D (1080p, 24fps), and the footage looks amazing.  Now I am ready to start editing and have been using premiere lately, but I have yet to figure out the proper pipeline.  I want to know the best way to retain resolution before I delve into this project.
    My questions:
    1)  What is the best way to start a new project and import the footage without having to render whilst editing, so as to retain all resolution and originality of the source footage?
    2)  What is the best way/ codec/ format to export this same footage once editing is complete so as to retain that crisp 1080p for which the 5D is so recognized?
    3)  What is the best way/ codec/ format to import and export/ render between premiere and after effects?  I am speaking mostly of vfx and color correction.  I also have some 30fps footage that I intend to slow down in AE and then import into premiere.
    I know this is pretty broad, but as a solo filmmaker I really need someone's guidance.  I rarely ever finish my films with the same, crisp look as the footage.  I need pipeline help, and really appreciate it!

    ascreenwriter wrote:
    Hello,
    I've just finished shooting what I am considering to be my directorial masterpiece.  Shot it on the Canon 5D (1080p, 24fps), and the footage looks amazing.  Now I am ready to start editing and have been using premiere lately, but I have yet to figure out the proper pipeline.  I want to know the best way to retain resolution before I delve into this project.
    My questions:
    1)  What is the best way to start a new project and import the footage without having to render whilst editing, so as to retain all resolution and originality of the source footage?
    2)  What is the best way/ codec/ format to export this same footage once editing is complete so as to retain that crisp 1080p for which the 5D is so recognized?
    3)  What is the best way/ codec/ format to import and export/ render between premiere and after effects?  I am speaking mostly of vfx and color correction.  I also have some 30fps footage that I intend to slow down in AE and then import into premiere.
    I know this is pretty broad, but as a solo filmmaker I really need someone's guidance.  I rarely ever finish my films with the same, crisp look as the footage.  I need pipeline help, and really appreciate it!
    1. Follow the advice above. Also use the Media Browser to import the footage in case you have spanned media files. Import files with the Media Browser.
    2. It largely depends on what you wish to ouput to: Blu-ray, web, etc. This FAQ gives the best answer: What are the best export settings?
    3. Use the Replace with Adobe After Effects Composition function.

  • Best method for collecting low frequency data

    Hello everyone,
    I'm looking for suggestions on the best way to collect relatively low frequency data (about 1 Hz). I know there are a few different ways to do so in labview such as the DAQ assistant or making DAQ mx and making your own virtual channel. Also there are an abundence of different settings to choose from. I'm using an NI 9215 DAQ card and am collecting voltages. I would be interested to here any opinions on a method for doing so and maybe the settings that they would use.
    The reason I'm asking is because I'm just using the DAQ assistant but I'm really not sure if that's what I want to be using. I feel like there is a better way.
    Thank you all!

    winterfresh11 wrote:
    Is this different from triggering? Because this particular DAQ card can't be triggered.
    There is a big difference between triggering and sample clock.  The trigger tells the DAQ to start acquiring data.  The sample clock tells the DAQ when to take a sample.  You trigger once per acquisition.  The sample clock just keeps on going until the acquisition is complete (either aborted or desired number of samples is acquired).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Problem choose method for save and retrive data

    Hi
    I want to conver sql database to berkeley db.my sql database has over that 40 tables and each table has diffrent fields (like varchar,int,...)and some tables have over that 30 fields .I want to use method that berkeleydbcorec pdf explain in chapter 3(Using C Structures with DB):
    what is the limitation for use first method for store information?
    I think only limitation is waste database.
    what are the advantages of use (marshalling the data)?
    if I use marshalling the data for store records does speed for fetch information reduce or not?
    is it good use marsharling or first method for store information?
    please help me.
    regards,
    saaed

    Hi,
    Since nobody else has posted anything I thought I would mention a couple of things:
    Most applications that need a database need a way to work with records and fields. Berkeley DB does not have a schema so it is up to the application to format the data. Some databases through their DML make it easy to the application to look at fields but they are doing work for you behind the scenes.
    Some dbms's if they support variable length fields store some information on the page to delimit fields. At run time there is some overhead in doing that as the dbmx needs to find the location on the page for the next field and so forth. So although the application may not have to write the code to obtain fields from records there still is the overhead in the database to do so.
    As you noted in Berkeley DB, you do the marshalling and unmarshalling of data. Since you know your data best, you can optimize it as you see fit.
    Perhaps you should try this on one table first and see what the performance is.
    I hope this helps.
    Ron

  • BDC Program - Session Method For Add and Edit Data

    Hi,
    How to write a BDC program (For Session Method) to upload Sales Order Data (VA01) and at the same
    time to modify the data if the Order exists?
    Thanks
    Murthy

    Hi,
    go to SHDB
            Create a project and recording the Va01 and then u write the code for That recording.

  • Need a method for importing Palm III data into a Palm Centro

    I just bought a Palm Centro (Verizon), with the expectation of importing data from my old Palm III.  From the Palm III Desktop, I exported Contacts, Calendar, Tasks, and Memos into separate folders (this was done on a Windows XP PC) and copied the resulting folders & files onto a flash drive.  But when I try to import these files into the Palm Centro desktop (on a new Mac Pro with OSX), the backup files are not in a "recognized format."  Does anyone have a process for reliably getting the Palm III data into the Palm Centro?  Also, is there an easy way to purge unwanted Contacts/Calendar events from the Palm Centro handheld?  With all the trial and error, its accumulating a lot of garbage.  Thanks...
    Post relates to: Centro (Verizon)

    Click on the following link for the upgrade guide on kb.palm.com
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=12926
    You will need to hard reset the Centro in order to clear out the Centro before sync'ing. Click on the following link for the hard reset procedure.
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=887
    Click on the following link for the support page for your devices on the kb.palm.com webpage.
    http://www.palm.com/us/support/centro/centro_vzw/
    http://www.palm.com/us/support/palm3/
    There are links on the pages to the user guide, troubleshooting, how to's, downloads, etc.
    You could try to export the data in each category in Palm desktop, save to the flash drive and import the data.
    Click here for the data export procedure.
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=36288
    Make sure you select "ALL" for the range during the export procedure. If you don't, it will only export the currently selected record.
    Post relates to: Palm i705

  • Drivers for Import and Export Wizard

    How do I load the drivers for adding Excel and Access to the Data Sources options in the Import Export wizard?

    Hello,
    The wizard will show up all installed OleDB data provider, so install the provider (as 32 bit!!!) =>
    Microsoft Access Database Engine 2010 Redistributable
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Best method for importing AVCHD

    Another AVCHD question. Which method would give the best quality?
    1) Import AVCHD via FCP log and capture using Pro res.
    2) Import via HDMI using Blackmagic Intenisty card.
    Thanks in advance. I've found a lot of good info so far by reading older posts.

    Much of a muchness really ... do you intend to work in ProRes?
    Log and Transfer will access the RAW data, decompress it in software and the recompress to ProRes, whereas Log and Capture will access an the uncompressed data as provided from the camera via the Intensity card and then compress that to whatever you've chosen.
    If you want to work in ProRes (or AIC) then you may see faster than realtime ingest using Log and Transfer, but if you want to work in DVCProHD or other then you'd want to use Log and Capture.

Maybe you are looking for

  • Oracle Internal error while executing sys objects

    Hi, I recently restored an oracle 9i database from datafiles I received from client. I am consistently getting the following error whenever I try to open a new sqlplus session. bash-2.03$ sqlplus $IQ_DBLOGON SQL*Plus: Release 9.2.0.6.0 - Production o

  • Since donwloading iOS 6

    my apps crash constantly even when i'm searching for apps on the app store. apple can you please work on this?

  • How do I crop an image using Illustrator

    I am trying to work out how to crop an image in Illustrator without having to use Photoshop to do so??

  • Zen Touch Still CANNOT read chin

    I have bought my zen touch since last dec. Till now after trying all means, my zen touch still can't read chinese. I have followed the steps to change the language setting to chinese-prc for non-unicode programs. However, my computer started to hang

  • Send mail to multiple users

    Dear all, I'm using FM 'EFG_GEN_SEND_EMAIL' to send an Email, for a single user its working fine, but I want to know is it possible sending the same mail to multiple users with the same FM, I searched the forum for the same & ended up finding no sati