Hypercard to Studio conversion
Mark Schonewille
m.schonewille at economy-x-talk.com
Wed Oct 4 18:14:59 EDT 2006
Hi Gordon,
instead of the filename use the effective filename:
get the effective filename of this stack
and then continue the script as Jacque posted it.
Best,
Mark
--
Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Get your store on-line within minutes with Salery Web Store software.
Download at http://www.salery.biz
Op 4-okt-2006, om 22:57 heeft Gordon Shimizu het volgende geschreven:
> Hello Jacque,
> Start the clock! Please keep track of your time and I will send
> you billing
> information for your services.
>
> I tried this in various places (stack script, card script, and the
> button).
> In the stack script location, it was in the openStack script. It
> doesn't
> make any sense to put it into the card or button script but I did
> it anyway
> out of desperation (frustration!)
>
>> get the filename of this stack -- path to your main directory
>> stack
>> set the itemDelimiter to slash -- all file paths use slashes
>> put item 1 to -2 of it into theFolderPath -- negatives count
>> from the
>> end of the string
>> set the defaultfolder to it -- now the default folder location
>> is set
>
> I have the converted HC stacks in one dedicated folder. I guess I'm
> not
> putting it in the right place in my main directory stack to go the
> subdirectory stack and eventually to the specific topic stack.
>
> Gordon
More information about the use-livecode
mailing list