Re: filename property

2002-08-21 Thread Rich Mooney

> Has there been a change in the filename property in 2.4.3?


This probably isn't related to your problem but, there was an undocumented
change to the filename property in the windows version of 2.4.2.  Before
that version, if you saved a stack over a network path, MetaCard only put
one "/" in front of the filename i.e. "/PC2/C/windows/desktop/file.txt".
Windows needs a "//" to recognize it as a network path i.e.
"//PC2/C/windows/desktop/file.txt".

Rich Mooney
Payne Sparkman Mfg.
[EMAIL PROTECTED]

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: filename property

2002-08-21 Thread Richard Gaskin

Rick Rice wrote:

> Has there been a change in the filename property in 2.4.3?
> 
> When I use
> put the filename of this stack into imagelocation
> the variable imaglocation is blank. It used to come back with the full
> path for the stack.

Is it a substack?

Try:  get the effective filename of this stack

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Custom Software and Web Development for All Major Platforms
 Developer of WebMerge 2.0: Publish any Database on Any Site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: filename property

2002-08-21 Thread Rick Rice

Sorry folks, I figured it out. Actually I really don't know what the answer
is and I have asked on the list previously and didn't get an answer. The
problem is I have a stack on my hard drive with a button that is scripted
to:

on mouseUp
  go url "http://www.cariboo.bc.ca/SCHS/AHT/downloads/DiffsV2/wbc_diffs.mc";

end mouseUp

The stack it is sent to is a standalone on our DNS server. If I use the
filename property on the stack on my hard drive it works. When I use the
filename property on the server it comes back empty.

rick

Ken Ray wrote:

> Rick,
>
> It works for me. I launched MC 2.4.3, opened the message box and typed:
>
> put the fileName of this stack
>
> and got "C:/Program Files/MetaCard 2.4.3/mchome.mc"
>
> Is this on a Mac? (Not that it should make a difference...)
>
> Ken Ray
> Sons of Thunder Software
> Email: [EMAIL PROTECTED]
> Web Site: http://www.sonsothunder.com/
>
> - Original Message -
> From: "Rick Rice" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 21, 2002 2:11 PM
> Subject: filename property
>
> > Has there been a change in the filename property in 2.4.3?
> >
> > When I use
> > put the filename of this stack into imagelocation
> > the variable imaglocation is blank. It used to come back with the full
> > path for the stack.
> >
> > Thanks
> > Rick
> >
> >
> > ___
> > metacard mailing list
> > [EMAIL PROTECTED]
> > http://lists.runrev.com/mailman/listinfo/metacard
> >
>
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard

--
:::

:: PLAN!!  I'd rather be surprised.
:: F.A. (Rick) Rice, Instructor
[EMAIL PROTECTED]
:: Div. of Sciences and Health Sciences   Phone: (250) 828-5424
:: The University College of the Cariboo  Fax: (250) 828-5450
:: 900 McGill Road
:: Box 3010
:: Kamloops, BC
:: V2C 5N3
:::



___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: filename property

2002-08-21 Thread Rick Rice

Ken:
When I type:
put the fileName of this stack
into the message box its blank.
Yes this is a Mac.  iMac MOS 9.2

Rick


Ken Ray wrote:

> Rick,
>
> It works for me. I launched MC 2.4.3, opened the message box and typed:
>
> put the fileName of this stack
>
> and got "C:/Program Files/MetaCard 2.4.3/mchome.mc"
>
> Is this on a Mac? (Not that it should make a difference...)
>
> Ken Ray
> Sons of Thunder Software
> Email: [EMAIL PROTECTED]
> Web Site: http://www.sonsothunder.com/
>
> - Original Message -
> From: "Rick Rice" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 21, 2002 2:11 PM
> Subject: filename property
>
> > Has there been a change in the filename property in 2.4.3?
> >
> > When I use
> > put the filename of this stack into imagelocation
> > the variable imaglocation is blank. It used to come back with the full
> > path for the stack.
> >
> > Thanks
> > Rick
> >
> >
> > ___
> > metacard mailing list
> > [EMAIL PROTECTED]
> > http://lists.runrev.com/mailman/listinfo/metacard
> >
>
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard

--
:::

:: PLAN!!  I'd rather be surprised.
:: F.A. (Rick) Rice, Instructor
[EMAIL PROTECTED]
:: Div. of Sciences and Health Sciences   Phone: (250) 828-5424
:: The University College of the Cariboo  Fax: (250) 828-5450
:: 900 McGill Road
:: Box 3010
:: Kamloops, BC
:: V2C 5N3
:::



___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: filename property

2002-08-21 Thread Karl Becker

Actually, a funny thing happens with getting the filename of a stack 
that is a standalone on Mac OS X with 2.4.3.

Since the application is built as a bundle on OS X, and the actual 
stack is located in a physically different location (not at the place 
in the hard drive heirarchy that it appears to be, but actually down 
a few levels... right click on your built application and select 
"Show Package Contents" to see what I mean), this means that the 
fileName of the stack will return something very different from what 
you'd expect.

fileName as a stack only:
/Macintosh HD/Applications/MetaCard/My Stack.mc

fileName in a standalone:
/Macintosh HD/Applications/MetaCard/My Stack.app/Contents/MacOS/My Standalone

Something to take into account if you're finding file names in 
relation to the fileName of the stack... however, using the directory 
that MetaCard defaults to will give you to the directory that 
contains "My Stack.mc" and "My Stack.app"

Hopefully that's somewhat clear, though I don't know if that 
addresses your problem or not.

I can still get the fileName on my OS X version...


>Has there been a change in the filename property in 2.4.3?
>
>When I use
> put the filename of this stack into imagelocation
>the variable imaglocation is blank. It used to come back with the full
>path for the stack.
>
> Thanks
> Rick
>
>
>___
>metacard mailing list
>[EMAIL PROTECTED]
>http://lists.runrev.com/mailman/listinfo/metacard


-- 
Karl Becker, KB Productions - http://www.karlbecker.com
Featuring: Tiger's Eye Pub, The Fishin' Hole, and New Tricks
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: filename property

2002-08-21 Thread Ken Ray

Rick,

It works for me. I launched MC 2.4.3, opened the message box and typed:

put the fileName of this stack

and got "C:/Program Files/MetaCard 2.4.3/mchome.mc"

Is this on a Mac? (Not that it should make a difference...)

Ken Ray
Sons of Thunder Software
Email: [EMAIL PROTECTED]
Web Site: http://www.sonsothunder.com/

- Original Message - 
From: "Rick Rice" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 2:11 PM
Subject: filename property


> Has there been a change in the filename property in 2.4.3?
> 
> When I use
> put the filename of this stack into imagelocation
> the variable imaglocation is blank. It used to come back with the full
> path for the stack.
> 
> Thanks
> Rick
> 
> 
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
> 

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



filename property

2002-08-21 Thread Rick Rice

Has there been a change in the filename property in 2.4.3?

When I use
put the filename of this stack into imagelocation
the variable imaglocation is blank. It used to come back with the full
path for the stack.

Thanks
Rick


___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard