How to write the text file in Shockwave?

Someone knows how to write the text file in Shockwave on the disc of the user?

Thanks in advance.

These Xtras can cause a lot of havoc when used with the intent to hurt.
What you can do is to write with setpref and store a list of backups and the
registers itself separately. Next, you need to build your own save/open
dialog box for the user:
* Choose a previously saved file to load or replace
to create a user type the name of a new file to be saved.

The only thing that remains is that the user can't decide where files
are saved.

Manno

SiuLinda wrote:
> Thanks a lot for your answer.
> Yes, cookies is good, but I have to write a program to save the text file in
> When the user wants, the user can open these files later if they like as, using
> Filextra and Fileio, but I found that all these Xtra extensions seem to be not supported by
> shockwave.
>

--
----------
Manno Bult
[email protected]

Tags: Director

Similar Questions

  • How to load the text file into a table and retrieve data line by line?

    I'm looking to help understand how to open a text file, each line in a table of load.  The data will be called to change the content of the text layer.  Thanks for any help.

    I did not test this code, but something like

    var a = [];

    var f = new File (Folder.desktop + "/ TestFile.txt");

    If (f.open ('r')) {}

    While (! f.eof) {}

    a.push (f.Readln ());

    }

    f.Close ();

    }

    Alert ("I read" + a.length + "lines in the file.");

    for (var i = 0; i)< a.length;="" i++)="">

    DoSomethingWithThisLine (a [i]); //<-- you="" need="" to="" write="">

    }

  • How to save the text file input array

    Hello, I am very new to LabVIEW, so apologies if I use the wrong terminology.

    I did a VI which reads 25 text files from a 3D array.  When I click on run I need to select the files 25 text.  Is there a way I can save the data imported for later calculations without having to select the files each time?

    Here's what I have:

    Dan_Owen101 wrote:

    Thanks for that.  But the user will not have access to these files during execution of the VI.  There are many other paintings that I'll need to save and index for other variables as well, so just for that would use the method of you would be useful to know.  All I really need is a way to save these relatively few values in a table.

    So do you intend to have these values hard-coded into your executable?  This seems dangerous and likely to have you to make updates much.  Believe me when I say you want to have the sitting files with the executable.

    But if you're insistent on this, I would use a global variable.  Have a VI just read all files and build the table for you and write in the global variable.  Then you can right-click on the control on the Panel before global variable 'Create default value'.  Save the variable and build your executable file.

  • How to erase a text file...

    Hi all...

    I wud would like to know how to delete a text file...

    Am currently replacing the text file and writing... In fact, I need to open the file (after erasing the content) and write.

    I think that replace the file every time is not a good idea...

    So please let me know how to delete the text file.

    Thanks in advance.

    You can set the file size to zero using "Set File Size" in the palette of advanced file i/o.

  • How to read and write a text file to the folder of the user preferences?

    I'm trying to code for the user to record the plug-in, the first time that the user opens Acrobat after you have installed the plug-in. I want to write a file of registration of preference of the user folder access later to check that they are already registered.

    Is there an easy way to do this? I wrote the code to access the preference of the user folder to search for the file, but I have not been able to code for the write file. All I've found is how to write a PDF file.

    Any suggestions?

    Gregory

    ASFileRead/ASFileWrite

  • Writes a text file from a network computer to another computer on the network.

    It is possible to write a text file from a computer on the network to another computer on the network through labview without using FTP?

    Hi bebo_lm,

    It depends on how they are connected. If you have a 'normal' access to the pc and you can write on a hard drive of the other computer, you can use the writing functions of files or the copy of the file. If they are not connected like this, then you need another service. Why you do not use FTP?

    Mike

  • Write in the text file on request

    Hello

    I've been struggling with the "write to text file" in the part of the attached .vi button

    I want to be able to say my program when I press on the Boolean key it should collect 1 sample point only from the mean.vi - now that I managed to do a Boolean-button that starts the collection of data and then I have to press the button again when I 'think' now, I collected a data point using the structure of the case.

    Can someone help me to collect the data a not that when I press the Boolean?

    Thank you!

    Change the mechanical action of the key "lock when released.  It is an option to right click on the button on the front panel.

  • Need help: UTL_FILE read and write in the text file

    Hello, I'm on version 11 GR 2 by using the UTL_FILE function to read a text file and then write the lines where it starts with the word "foo" and put an end to my writing in the text file where the line with the word "ZEN". Now I have several lines that begin with 'foo' and 'ZEN' allow a paragraph, and in this paragraph, there is a line that begins with "DE4.2". Therefore,.
    I need to write all of the paragraphs that include the "DE4.2" line in their beginning and end of lines 'foo' and 'ZEN '.

    FOR EXAMPLE:

    FOO/234E53LLID
    IT'S MY SECOND LINE
    IT'S MY THIRD LINE
    DE4.2 IT OF MY FOURTH LINE
    IT'S MY FIFTH LINE
    ZEN/DING3434343

    FOO/234E53LLID
    IT'S MY SECOND LINE
    IT'S MY THIRD LINE
    IT'S MY FIFTH LINE
    ZEN/DING3434343

    I'm only interested in writing the first paragraph tha includes line DE4.2 in one of the paragraph of lines not the second ther that does not include the "DE4.2".

    Here is my code so far:

    CREATE OR REPLACE PROCEDURE my_app2 IS
    Utl_file.file_type INFILE;
    outfile utl_file.file_type;
    buffer VARCHAR2 (30000);
    b_paragraph_started BOOLEAN: = FALSE; -flag to indicate which required paragraph is started

    BEGIN
    -Open a file to read
    INFILE: = utl_file.fopen ('TEST_DIR', 'mytst.txt', 'r');
    -Opens a file for writing
    outfile: = utl_file.fopen ('TEST_DIR', "Out.txt", "w");

    -Check the file is open
    IF utl_file.is_open (infile)
    THEN
    -lines in the file in loop
    LOOP
    BEGIN
    UTL_FILE.get_line (infile, buffer);
    APPLICATION STARTING POINT-
    Buffer IF LIKE 'foo %' THEN
    b_paragraph_started: = TRUE;
    END IF;
    -SEARCH FOR GRADS APPS
    IF b_paragraph_started AND buffering LIKE '% 4% ' THEN
    UTL_FILE.put_line (outfile, buffer, FALSE);
    END IF;
    -REQUEST FOR ENDPOINT
    Buffer IF LIKE '% ZEN' THEN
    b_paragraph_started: = FALSE;
    END IF;
    UTL_FILE.fflush (outfile);

    EXCEPTION
    WHEN no_data_found THEN
    EXIT;
    END;
    END LOOP;
    END IF;
    UTL_FILE.fclose (INFILE);
    UTL_FILE.fclose (outfile);
    EXCEPTION
    WHILE OTHERS THEN
    raise_application_error ("-20099, ' UTL_FILE unknown error");
    END my_app2;
    /

    When I run this code I get only one line: DE4.2 it ME LACK THE WHOLE PARAGRAPH

    PLEASE ADVISE...

    I agree with reservations of Justin on the length of a "paragraph" and the number of users that are running at the same time, so here is a version without the collections.

    CREATE or replace PROCEDURE my_app2 IS
       infile utl_file.file_type;
       outfile utl_file.file_type;
       buffer VARCHAR2(30000);
       b_paragraph_started BOOLEAN := FALSE; -- flag to indicate that required paragraph is started
       b_toprint BOOLEAN := FALSE;
       l_para_start pls_integer;  -- start of "paragraph"
    BEGIN
       infile := utl_file.fopen('TEST_DIR', 'mytst.txt', 'r');
       outfile := utl_file.fopen('TEST_DIR', 'out.txt', 'w');
       LOOP
          BEGIN
             utl_file.get_line(infile, buffer);
             IF buffer LIKE 'FOO%' THEN
                b_paragraph_started := TRUE;
                l_para_start := UTL_FILE.FGETPOS(infile) - (length(buffer) + 1);
             END IF;
             IF b_paragraph_started and buffer like '%DE4%' THEN
                b_toprint := TRUE;
             END IF;
             If buffer like 'ZEN%' THEN
                IF b_toprint THEN
                   UTL_FILE.FSEEK(infile, l_para_start);
                   utl_file.get_line(infile, buffer);
                   while buffer not like 'ZEN%' loop
                      utl_file.put_line(outfile,buffer, FALSE);
                      utl_file.get_line(infile, buffer);
                   end loop;
                   utl_file.put_line(outfile,buffer, FALSE);
                end if;
                b_paragraph_started := FALSE;
                b_toprint := false;
                utl_file.fflush(outfile);
             end if;
          EXCEPTION
             WHEN no_data_found THEN
                EXIT;
             END;
       END LOOP;
       utl_file.fclose(infile);
       utl_file.fclose(outfile);
    END my_app2;
    

    Test:

    SQL> !cat mytst.txt
    FOO/234E53LLID
    THIS IS MY SECOND LINE
    THIS IS MY THIRD LINE
    DE4.2 THIS IS MY FOURTH LINE
    THIS IS MY FIFTH LINE
    ZEN/DING3434343
    
    FOO/234E53LLID
    THIS IS MY SECOND LINE
    THIS IS MY THIRD LINE
    THIS IS MY FIFTH LINE
    ZEN/DING3434343
    
    FOO/234E53LLID again
    THIS IS MY second SECOND LINE
    THIS IS MY second THIRD LINE
    DE4.2 THIS IS MY second FOURTH LINE
    THIS IS MY second FIFTH LINE
    ZEN/DING3434343 again
    
    SQL> exec my_app2;
    
    PL/SQL procedure successfully completed.
    
    SQL> !cat out.txt
    FOO/234E53LLID
    THIS IS MY SECOND LINE
    THIS IS MY THIRD LINE
    DE4.2 THIS IS MY FOURTH LINE
    THIS IS MY FIFTH LINE
    ZEN/DING3434343
    FOO/234E53LLID again
    THIS IS MY second SECOND LINE
    THIS IS MY second THIRD LINE
    DE4.2 THIS IS MY second FOURTH LINE
    THIS IS MY second FIFTH LINE
    ZEN/DING3434343 again
    

    You may need to change the length (buffer) + 1 depending on your platform and if you want a blank line s NLE out paragraphs, add another call to put_line after that outside of the loop in the fi l_toprint block.

    John

  • How to convert a text file and give the table

    Hai

    How to convert a text file and give the data of the table

    ISN'T THERE!

    You must put this

    SET_BLOCK_PROPERTY ('TEST_MS', insert_allowed, property_false);
    SET_BLOCK_PROPERTY ('TEST_MS', update_allowed, property_false);

    just before the last exception...

    Published by: Dora on January 19, 2010 14:54

  • Can all help with VI to get data (HEX) serial number and write in the text file

    Hello I am struggling with this problem for 2 months... They get help from different I thought I solved the problem, but of no use yet I stand on zero

    Problem: I need to get data on USB high speed HEXAGON shaped (coming in hexadecimal and be stored in the text file to the hexadecimal format as each hexadecimal value online different I'll also to attach the file)

    Get us ASCII on series or VISA read but when trying to convert to hex as shown in text file making it slower to deal with code, I know that my VI will have to improve more... I'm waiting for suggestions

    Need urgent help...

    Thanks in advance

    Hi Ali Afzal,.

    I think that the attached example can work for you. If not, then try the solution with sending the data to a parallel running the loop and store it there.

    Mike

  • Problem with end of line in the text file.

    Using LabVIEW 2010 on W7 64 bit in the USA.

    I have an application in which I write in a text file.  I use the function "Write to a text file" to write the text and "Reading a text file" function to read again.  My problem is with the end of line character.  The text that I write is a long chain, not an array of strings.  While building this chain, I insert the constant EOL of the palette of channels function to indicate that a new line is planned.  My tests showed this EOL constant values of consecutive bytes 13 and 10.  After writing all the text in a file, I can open the file with Notepad, or Word, or something else, and it is displayed correctly.  When I read he returned with the function of text file reading, I'm trying to parse the string by searching for the same constant EOL, but it does not work.  A closer examination of the extracted string from the file reveals that the value of end of LIFE has changed for only 10.  The location of the byte to 13 disappeared.  I know there is a note on the writing of the function of text file add/change the EOL characters, which are the default values of the system, but the note specific tables.  I manually put the value in the string.  Does anyone know why this happens and how to fix it?

    Thank you.

    The help of reading from text file function

    The function converts all characters in end of line break characters online platform, dependent unless you right-click the function and remove the check mark next to the menu item Convert EOL .

    Right-click your reading and uncheck the EOL conversion.  I recommend to do the same thing to your writing to text file feature.

  • How to access the textedit files in Icloud on time machine

    Hi all

    Bad, I need your help! I'm trying to access all my text edit files, which I had saved on ICloud.
    My laptop does not run successfully. I was proposed to restore and re - install the op system. So I run a Machine back up full time and I restored my laptop. I should all have backed up, right?
    Problem is: I'm trying to get all my work on Tex Edit, but I can't find it on Time Machine. Does anyone know how can I recover these files? I have two important years of drafting work there!
    It would be good to have your suggestion.

    Thanks in advance for your help

    Did you you save the files in the correct format - OS X Server: how to modify the configuration files - Apple support?

  • error: could not write the destination file (1 003)

    I am trying to export 40 photos of Photos.  I just installed OX El Capitan.  Only 13 of them get downloadable.  For the rest, I get this message: error: could not write the destination file (1 003)

    I tried to manually fix the library but still does not work (command + option + opening photos).

    And I do not have a backup on icloud photo library I have a backup on an external drive...

    You try to export the originals of your photos or revised versions?

    When you try to export photos to?

    You try to export to a folder on your system drive or a folder on an external drive?  If an external drive, which is the file system? And how the player is connected?

    You have permissions to write to the folder, when you export to?

  • Writing data in the text file or excel spreadsheet

    Hello

    I have a silly question to ask questions about the writing of data in a text file or a spreadsheet. I have an example that simulates a sine-swept DAQmx. The output it provides is the (amplitude and phase) frequency response function that is plotted on a graph (see VI) attached. I like to use these data for further analysis by transmitting the data to a text file or a spreadsheet. I've tried a few things, but the thread is broken. I guess I use the sink badly - so I was wondering, can you please advise me on what sink should I use?

    Your help would be very appreciated,

    Thank you very much

    REDA

    The wire is broken, because you cannot connect this type of data to one of these two functions. The data source type is a table 1 d of the clusters, where each cluster contains two tables. The text file write accepts strings, not clusters. Writing on a file action accepts dynamic data, and while you can convert dynamic data tables, there is no built-in mechanism to convert a table 1 d of the clusters of two matrices.

    What you need to do is to convert the data in a format which can be accepted by these functions. Since you want to have a "spreadsheet" file then you should use writing to the spreadsheet file that creates a delimited text file. Since the frequency data would be the same for the plot of the magnitude and phase diagrams, you can have 3 columns: frequency, amplitude, and phase. You can take off the items using Unbundle by name, and then create a table 2D of each element of the cluster. The real question is to know if you want to save the data at each iteration and if you simply add on the file. The attached figure shows write an initial header and then adding just streaming the data.

  • Add data at the end of a specific line in the text file

    Hello

    I'm trying to add data at the end of the last 4 lines of the text file attached with the ' table to add.  4 rows (422.5800 entry), I would add the first entry of the 'Array to add' entry, on the 5th line to add the second entry of the 'Add picture' and so on.  How can I do this?

    Any help will be appreciated.

    Sincerely,.

    hiNi.

    After re-reading your post, I think that's what you really want to start adding after the first 4 rows.

Maybe you are looking for