OT: Mac question

Jim Ault JimAultWins at yahoo.com
Sat Apr 21 15:22:10 EDT 2007


On 4/21/07 10:22 AM, "Richard Gaskin" <ambassador at fourthworld.com> wrote:

> Joe Lewis Wilkins wrote:
>> Though this works; even with most OSX compliant application
>> documents, one of the first complaints I had with Rev was that it
>> does not work when you have a Rev Stack open. This should not be a
>> truly difficult fix I should think.
> 
> Wow.  I knew about Cmd-click in the title for Finder windows, but never
> knew that was a standard behavior across most apps.  So cool.
> 
> With Rev it may be challenging to determine when to support this, since
> a stack file can contain multiple stacks.  But if we came up with a rule
> that made sense, or maybe better a property of mainstacks, I'd vote for
> the BZ suggestion.
> 
> Now that I know about this I want it for the document windows in my
> Rev-based apps, and I'll bet some of my cusyomers do too.
In some of my apps (for myself) and clients I want to be able to know which
folder the stack is running from so I put a field at the top called
"appLocation", shared = true, in a group by itself, behave as background =
true.

on openstack
   put the effective filename of this stack into fld "appLocation"
   --the effective filename =  the mainstack for substacks

When the content of a card is linked to a folder on the hard drive, I do the
same thing (but not shared text) on opencard or closefield, etc.

Jim Ault
Las Vegas





More information about the use-livecode mailing list