Hi Mark

I'm not sure I explained myself too well, but looks like this will work
either in the message box or in the stack itself I guess. What I meant was
knowing where the original stack file came from on my drive when I came to
save it again (outside the app). When using SaveAs, Rev displays the
Defaultfolder as set by the app not the original folder the file came from.
For example, if I open a file from EXCEL, then do a SaveAs I get the same
folder again. In Rev, if running the Stack changes the defaultFolder, then
SaveAs points to this folder as well. It wasn't clear to me in the docs that
the IDE folder pointers were also modified when testing an app in the IDE

This should do fine though, 
Cheers

Mark Schonewille wrote:
// full path
put the effective filename of this stack into myPath

// parent folder
set the itemDel to slash
put item 1 to -2 of the effective filename of this stack into myFolder

You might also want to read in the dictionary about the defaultFolder  
propery. 

Message: 14
Date: Sun, 4 Jul 2010 11:14:14 +0100
From: "Steve King" <[email protected]>
Subject: Rev Studio - How to determine the file location of the
        currently       open Rev file
To: <[email protected]>
Message-ID: <ee75ced5e535401584cc837a573a5...@home>
Content-Type: text/plain;       charset="us-ascii"

Hi

This is a very simple question, but driving me nuts! In the application I am
working on I set the default folder to My Documents. When I want to save the
current Rev file (in IDE) as a new filename, SaveAs drops back to the
'default' folder, not the original folder location for the Rev file itself.
I can't see any way of determining where the  Rev file was previously
stored, so I can navigate back to the correct folder and save a new filename
there, there doesn't seem to be a properties option. 

Cheers
Steve
--------------------000---------------------------

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to