On 14.06.10 at 07:38 -0700 charles61 apparently wrote:
Hi Sarah,
The user does not get the file by selecting ti. In this situation,
1. The user creates a new file and populates the file
2. Then saves the file abc.
3. User decides to make a change in the file.
4. The user opens a new file
Hi Sarah,
The user does not get the file by selecting ti. In this situation,
1. The user creates a new file and populates the file
2. Then saves the file abc.
3. User decides to make a change in the file.
4. The user opens a new file without saving the changes to file abc.
This is where I
On Jun 14, 2010, at 10:38 AM, charles61 wrote:
Hi Sarah,
The user does not get the file by selecting ti. In this situation,
1. The user creates a new file and populates the file
2. Then saves the file abc.
3. User decides to make a change in the file.
4. The user opens a new file without
The question is how do you get the name of the file that is opened from a
script to save in a variable. This is what I been unable to do.
How do you open the file? Do you get the user to select a file using
the answer file dialog?
If so, try something like this:
global gOpenDataFile
answer
Hi Sarah,
The situation is the same as the user who has created and saved a document but
then decides to make a change to the document before creating a new document.
The dialog is essentially a Save As Dialog where the user is asked whether to
save the document with the same name or
Ok, so the file is created or opened to start with. If its a
pre-existing file that is opened by using answer file as long as the
user doesn't cancel, the path to the chosen file will be in the it
special variable.
So if you put it into some place to store it, you then have the
filename. YOU need
I have going through various scripts to get the name of a text file (not
stack) that is open in my app using the message box. Does anyone know how to
do this?
--
View this message in context:
answer file select file:;put it into temp;get URL(file: temp);put temp
return return it
On 12 June 2010 12:16, charles61 csz...@mac.com wrote:
I have going through various scripts to get the name of a text file (not
stack) that is open in my app using the message box. Does anyone know how
Otherwise I misread what you were asking. If you have an app and you load a
file, it's up to the programmer (you) to keep track of it in a variable or a
custom property. There is no last file loaded property.
On 12 June 2010 12:48, stephen barncard stephenrevoluti...@barncard.comwrote:
answer
Stephen,
I typed your suggestion in the message box and I only got the select file
dialog box but not the name of the file that is already opened. Any other
suggestions? I went through the RevList archives and could not find an example
of getting the name of an open file!
Charles Szasz
Stephen,
I just saw your second e-mail reply. My plan is to put the name of the open
file in a variable but getting the name of the open file has been difficult.
How do you get the name of the open file?
--
View this message in context:
You are not communicating very well. It is still not clear what you want.
Do you want to place a suggested file name in an ask dialog entry field
instead, or have a the filename show up instead of the prompt of the ask
dialog?
Again, how would the dialog 'know' what the last filename was unless
On Sun, Jun 13, 2010 at 5:16 AM, charles61 csz...@mac.com wrote:
I have going through various scripts to get the name of a text file (not
stack) that is open in my app using the message box. Does anyone know how to
do this?
Charles, at some stage in your scripts, the file was opened. At that
Stephen,
I am sorry for the confusion. All I want to do to provide a save dialog when
the user makes a change to a saved file asking the user to save the file
after a change was made to the file. In my current script, I have a dialog
appear that asks if the user wants to save the file with
so what we've all told you is all you need. Have you put it all together
yet?
On 12 June 2010 20:29, charles61 csz...@mac.com wrote:
Stephen,
I am sorry for the confusion. All I want to do to provide a save dialog
when
the user makes a change to a saved file asking the user to save the
Stephen,
I understand how to put the name in the variable and store it but I have not
been able to get the name of the current file to put in a variable. But I will
keep working on it. Thanks for all of your comments and suggestions!
Charles Szasz
csz...@mac.com
On Jun 12, 2010, at 11:30
Sarah,
The question is how do you get the name of the file that is opened from a
script to save in a variable. This is what I been unable to do.
--
View this message in context:
17 matches
Mail list logo