How to save as a 'Legacy Revolution Stack'

2006-08-11 Thread Joel Guillod
How can I force to save as a 'Legacy Revolution Stack' with the save  
command, i.e. without passing by the save dialog?
And how to know if the saved format is 'Legacy Revolution Stack' or  
'Revolution Stack'?

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to save as a 'Legacy Revolution Stack'

2006-08-11 Thread Sarah Reichelt

On 8/12/06, Joel Guillod [EMAIL PROTECTED] wrote:

How can I force to save as a 'Legacy Revolution Stack' with the save
command, i.e. without passing by the save dialog?


Set the stackFileVersion. It is 2.7 for modern stacks and 2.4 for legacy stacks.


And how to know if the saved format is 'Legacy Revolution Stack' or
'Revolution Stack'?


Open the stack in a Text editor, or load it into a Rev field as text
i.e. using file: not binfile:
Legacy stacks start with:

#!/bin/sh
# MetaCard 2.4 stack
# The following is not ASCII text,
# so now would be a good time to q out of more

and modern stacks start with:

REVO2700

where characters 5 to 8 may vary with differetn versions of Rev.

HTH,
Sarah
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution