typing in a same project

Working on making the switch to SuperCard? Many here have done it... ask your questions here.

typing in a same project

Postby p.gabriel » Sun Feb 20, 2011 12:12 am

when working with Hypercard my secretary (connected with my powerbook) received a warning sign that the stack was closed when she tried to open the stack in which i was working.
Her work is to put text in some stacks when i am working in other stacks

in SuperCard, however, there is no warning sign when opening the same project and afterwards all the text she put in the project is lost
Can you help me ?
p.gabriel
 
Posts: 4
Joined: Sat Feb 19, 2011 12:33 pm

Re: typing in a same project

Postby Scott » Sun Feb 20, 2011 9:23 am

This is due to OS X's ability to let more than one application open a file simultaneously. SuperCard provides write permission to the app that opens it first. Adding the following line to an open project handler will inform the user they do not have write permission:

Code: Select all
if the cantmodify of this proj then alert sheet stop "This Project is Already Open With Write Permission" explain "Changes will not be saved."
User avatar
Scott
Site Admin
 
Posts: 1217
Joined: Sat Jul 05, 2008 1:37 pm
Location: Northern Sierra Nevada

Re: typing in a same project

Postby p.gabriel » Sun Feb 20, 2011 11:24 pm

Thanks Scott
I will try it
P. Gabriel
p.gabriel
 
Posts: 4
Joined: Sat Feb 19, 2011 12:33 pm

Re: typing in a same project

Postby p.gabriel » Mon Feb 21, 2011 6:49 am

it works ... great !!
Thanks Scott
p.gabriel
 
Posts: 4
Joined: Sat Feb 19, 2011 12:33 pm


Return to Upgrading From HyperCard

Who is online

Users browsing this forum: No registered users and 1 guest

cron