In MetaCard 2.2 when I tried to port a stack written
in French from MacOS to Windows all my accents were
changed.
Since English has no accents this is not a problem -
in English.
However every other major language that I know of has
accents. (French, Russian, Spanish, Italian... the
list is not
Buenos dias Alejandro,
on Mon, 09 Sep 2002 23:28:00 -0700
Chipp Walters wrote
...
Worked well in RunRev. I look forward to the future
enhancements you mentioned. I believe the drag
window code was created by Scott Rossi
Then, thanks to Scott Rossi for sharing his code!
I'll repost the
I have stack with a scores field.
I want to write the scores to a text file *in the same folder*
Is it possible to get the directory property for a stack, i.e. the
folder in which it resides?
Anyway, I have a answer folder command, but I want to avoid it...
--
Regards,
Dominique
Domi wrote:
I have stack with a scores field.
I want to write the scores to a text file *in the same folder*
Is it possible to get the directory property for a stack, i.e. the
folder in which it resides?
Anyway, I have a answer folder command, but I want to avoid it...
From a related post
on 9/11/02 5:55 AM, Domi at [EMAIL PROTECTED] wrote:
I have stack with a scores field.
I want to write the scores to a text file *in the same folder*
Is it possible to get the directory property for a stack, i.e. the
folder in which it resides?
Anyway, I have a answer folder command, but I
put the effective filename of this stack into fn
set the itemdel to /
delete item -1 of fn
put / after fn
OK!
I thought really of something like this.
Could turn this into a custom function/property :-)
--
Merci
(-8 Dominique
___
metacard mailing
function AppPath
put the filename of mainstackName into tPath
set the delimiter to /
delete last item of tPath
return tPath /
end AppPath
Beautiful :-)
--
Regards,
(-8 Dominique
___
metacard mailing list
[EMAIL PROTECTED]
This behavior is not unique to Windows XP or Metacard, it works like this in
Windows 2000 as well, and for all apps that use standard file dialogs. I
discovered this quite by accident about a week ago, as I accidentally pasted
a filename into the wrong place, well, not thinking that the filename
You guys were so helpful! Jacque is the official winner of the
Dreamboat Challenge, and still hasn't claimed her free registration
:-)
The final solution to allow me to hide/show menu buttons and have the
Mac menubar update is this:
For people searching the archives with this question, this
Klaus (or other),
Why do you use effective filename instead of just filename??
-Chipp
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Klaus Major
Sent: Wednesday, September 11, 2002 8:05 AM
To: [EMAIL PROTECTED]
Subject: Re: Stack Directory?
Chipp Walters wrote:
Why do you use effective filename instead of just filename??
The filename refers to the stack file. A mainstack is a stack file, so te
property is associated with the mainstack.
A substack does not have its own stackfile per se, but rather inherits the
filename from the
Actually, this has worked in versions of WIndows going back quite a ways (I
think even Win 95 did this to some degree). It's just a facet of the
operating system; without rolling your own dialog box (which you *can* do,
BTW - all the tools are there to do it), you are stuck with what the OS
gives
Thanks Richard,
I've used the effective keyword before when referencing the backcolor of a
stack or object, but I didn't know that substacks didn't return filenames
unless effective was used. Thanks for the tip.
-Chipp
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Actually, with MC 2.4.2 and above, you can use regular expressions (yeah,
it's the RegEx guy again... ;-) to do this:
function AppPath
local tPath
get matchText(the effective fileName of this stack,(.*\/),tPath)
return tPath
end AppPath
For those of you trying to pick up RegEx, the code
Honestly, I don't know about speed... it all looks blazing to me. :-) I know
Richard's got a benchmark app; perhaps someone could run this and report to
the list?
Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/
- Original Message -
From:
15 matches
Mail list logo