Re: "Save" on Linux, not on Mac, Win

2005-12-06 Thread Jerry Muelver


From: "Sarah Reichelt"

It sounds like the filter on your answer file is not matching your
data file type correctly. Try using answer file without any filters
and see if that works.


Yup. That was it. Runs fine without the filter.

This is great! My little hypertext-doc-building app now runs on Linux, Win, 
and Mac, and the data files swap across platforms with no glitches. I can 
use my app to build its own documentation now!


 Jerry Muelver


___
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: "Save" on Linux, not on Mac, Win

2005-12-06 Thread Ken Ray
On 12/6/05 6:56 AM, "Jerry Muelver" <[EMAIL PROTECTED]> wrote:

>> Jerry, I'll contact you offlist to follow up on this so we can patch
>> StackRunner to make it work for you situation.
>> 
> 
> Looks like it was me, not StackRunner, Ken. I tweaked my stack to fix some
> file-processing glitches. Then I fed the fixed stack to StackRunner and it
> ran perfectly! Superb product, Ken!

Glad to hear it, Jerry! If you run into any other issues, let me know...

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

___
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: "Save" on Linux, not on Mac, Win

2005-12-06 Thread Jerry Muelver

From: "Ken Ray"




On 12/5/05 8:23 PM, "Jerry Muelver" <[EMAIL PROTECTED]> wrote:

Ken, StackRunner won't even run the stack on Win XP. It just goes away 
after
I select the stack file. On Mac, is showed the same reluctance to access 
the

file as Dreamcard Player.


Jerry, I'll contact you offlist to follow up on this so we can patch
StackRunner to make it work for you situation.



Looks like it was me, not StackRunner, Ken. I tweaked my stack to fix some 
file-processing glitches. Then I fed the fixed stack to StackRunner and it 
ran perfectly! Superb product, Ken!


 Jerry Muelver 


___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread Ken Ray
On 12/5/05 10:12 PM, "Rishi Viner" <[EMAIL PROTECTED]> wrote:

> Hi Ken,
> 
> Here is one little vote for a Linux version of StackRunner! That would be
> really handy for me for all my in-house stuff. Being able to configure things
> to start on a double click, without the need to use a file picker each time
> you want to run a stack would be great!

Thanks, Rishi... I'm hoping to have it ready by the end of the year... :-)

I'll make an announcement to the list when it happens.

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

___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread Ken Ray
On 12/5/05 8:23 PM, "Jerry Muelver" <[EMAIL PROTECTED]> wrote:

> Ken, StackRunner won't even run the stack on Win XP. It just goes away after
> I select the stack file. On Mac, is showed the same reluctance to access the
> file as Dreamcard Player.

Jerry, I'll contact you offlist to follow up on this so we can patch
StackRunner to make it work for you situation.


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

___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread Ken Ray
On 12/5/05 8:46 PM, "Charles Hartman" <[EMAIL PROTECTED]> wrote:

>> I recommend StackRunner for those times when you just want to ship
>> stacks. It is zero hassle -- you just send out StackRunner and your
>> stack in a single folder. Very easy.
> 
> And -- let me say again, on behalf of the "'hobbyists'" among us -- a
> whole brave new world for users of Dreamcard.

Thanks to both of you for the kudos. :-)

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

___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread Rishi Viner
Hi Ken,

Here is one little vote for a Linux version of StackRunner! That would be 
really handy for me for all my in-house stuff. Being able to configure things 
to start on a double click, without the need to use a file picker each time 
you want to run a stack would be great! 

Hoping... :)

Rishi Viner.

On Tue, 6 Dec 2005 01:09 pm, Ken Ray wrote:
>
> If you want to avoid all the secure mode stuff, you can use StackRunner
> instead of DreamCard Player for Mac and Windows (sorry, I don't have a
> Linux version ready yet).
>
> More info at:
>
> http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm
>
> HTH,
>
> Ken Ray

-- 
Rishi Viner
--
PUREDATA
Australia

www.puredata.com.au
___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread Charles Hartman


On Dec 5, 2005, at 9:32 PM, J. Landman Gay wrote:


Ken Ray wrote:

If you want to avoid all the secure mode stuff, you can use  
StackRunner
instead of DreamCard Player for Mac and Windows (sorry, I don't  
have a Linux

version ready yet).
More info at:
http://www.sonsothunder.com/devres/revolution/downloads/ 
StackRunner.htm


I've been meaning to tell people (and you too, Ken, not that you  
aren't "people") -- I recently shipped a client project with  
StackRunner. I really like this little thing. Rev's Player doesn't  
include some crucial dialog boxes and libraries, but StackRunner  
has all of them. The project was for a private individual who  
didn't need a full app, we just needed an engine to run his  
HyperCard ported stack. It worked great.


I recommend StackRunner for those times when you just want to ship  
stacks. It is zero hassle -- you just send out StackRunner and your  
stack in a single folder. Very easy.


And -- let me say again, on behalf of the "'hobbyists'" among us -- a  
whole brave new world for users of Dreamcard.


Charles Hartman

___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread J. Landman Gay

Alex Tweedly wrote:
> J. Landman Gay wrote:
>
>> Alex Tweedly wrote:
>>
>>> Jerry Muelver wrote:
>>>
 My first Rev app, being developed on Linux with Rev 2.2.1, saves and
 reads a data file. On Windows XP, with Dreamcard Player running the
 stack, the program goes through the motions of saving when called
 to, but nothing gets saved. On Mac, with Player, the file gets
 saved, but can't be opened by the program -- "answer file" dialog
 shows the file grayed out, and not selectable. I use "ask file" to
 SaveAs originally, direct "open file" for in-progress saves, and
 "answer file" to open or re-open the file.

>>> Doesn't seem likely, but ...
>>>
>>> In the Player, are you sure you are running in non-secure mode ?
>>>
>>> The Player, by default, is in secure mode, and cannot write to the
>>> disk or access the network. The preferences are available by clicking
>>> the RunRev logo at top right of the window.
>>>
>>
>> It's very likely, actually. Player ships with secure mode turned on by
>> default, for the protection of the user. I was about to suggest
>> exactly what you said.
>>
> It seemed like a good explanation for the symptoms described on Windows
> - but I couldn't figure out how on the Mac it could apparently create
> the file (even though it couldn't then read it). In secure mode it
> shouldn't be able to create the file at all.
>
> Hmmm - maybe when the app re-opens the file using "answer file" with a
> default answer of a non-existent file, that allows it to show as grayed
> out ? Time for me to spend more time on the Mac 
>

I'm thinking the greyed out file is because the author is filtering on a 
file type and didn't get the Mac syntax quite right, or something 
similar. That's the most common reason why a file would be greyed out in 
the file dialog.


That doesn't explain how it could save the file in the first place 
though. The only thing I can think of is that maybe the file was 
pre-existing by accident. Secure mode is supposed to block all file 
access, and I think it works correctly.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread Jerry Muelver

The non-secure mode check did the trick.

Now I can work on the "disappearing 'return'" when saving HTMLtext to a 
container and then to a file, and loading it back in again.


Oh well... If programming were actually easy, everybody would be doing it!

 Jerry Muelver 


___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread J. Landman Gay

Ken Ray wrote:


If you want to avoid all the secure mode stuff, you can use StackRunner
instead of DreamCard Player for Mac and Windows (sorry, I don't have a Linux
version ready yet).

More info at:

http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm


I've been meaning to tell people (and you too, Ken, not that you aren't 
"people") -- I recently shipped a client project with StackRunner. I 
really like this little thing. Rev's Player doesn't include some crucial 
dialog boxes and libraries, but StackRunner has all of them. The project 
was for a private individual who didn't need a full app, we just needed 
an engine to run his HyperCard ported stack. It worked great.


I recommend StackRunner for those times when you just want to ship 
stacks. It is zero hassle -- you just send out StackRunner and your 
stack in a single folder. Very easy.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread Jerry Muelver
Thanks to all, for the suggestions and methods. The "Easter Egg" click on 
the logo is intriguing. I'll try each of them, and let you know what worked.


Ken, StackRunner won't even run the stack on Win XP. It just goes away after 
I select the stack file. On Mac, is showed the same reluctance to access the 
file as Dreamcard Player.


Looks like I may have to sell one of the kids, or maybe just the pets, to 
finance an upgrade.


 Jerry Muelver 


___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread Alex Tweedly

J. Landman Gay wrote:


Alex Tweedly wrote:


Jerry Muelver wrote:

My first Rev app, being developed on Linux with Rev 2.2.1, saves and 
reads a data file. On Windows XP, with Dreamcard Player running the 
stack, the program goes through the motions of saving when called 
to, but nothing gets saved. On Mac, with Player, the file gets 
saved, but can't be opened by the program -- "answer file" dialog 
shows the file grayed out, and not selectable. I use "ask file" to 
SaveAs originally, direct "open file" for in-progress saves, and 
"answer file" to open or re-open the file.



Doesn't seem likely, but ...

In the Player, are you sure you are running in non-secure mode ?

The Player, by default, is in secure mode, and cannot write to the 
disk or access the network. The preferences are available by clicking 
the RunRev logo at top right of the window.




It's very likely, actually. Player ships with secure mode turned on by 
default, for the protection of the user. I was about to suggest 
exactly what you said.


It seemed like a good explanation for the symptoms described on Windows 
- but I couldn't figure out how on the Mac it could apparently create 
the file (even though it couldn't then read it). In secure mode it 
shouldn't be able to create the file at all.


Hmmm - maybe when the app re-opens the file using "answer file" with a 
default answer of a non-existent file, that allows it to show as grayed 
out ? Time for me to spend more time on the Mac 


--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 02/12/2005

___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread Ken Ray
On 12/5/05 7:38 PM, "J. Landman Gay" <[EMAIL PROTECTED]> wrote:

> Alex Tweedly wrote:
>> Jerry Muelver wrote:
>> 
>>> My first Rev app, being developed on Linux with Rev 2.2.1, saves and
>>> reads a data file. On Windows XP, with Dreamcard Player running the
>>> stack, the program goes through the motions of saving when called to,
>>> but nothing gets saved. On Mac, with Player, the file gets saved, but
>>> can't be opened by the program -- "answer file" dialog shows the file
>>> grayed out, and not selectable. I use "ask file" to SaveAs originally,
>>> direct "open file" for in-progress saves, and "answer file" to open or
>>> re-open the file.
>>> 
>> Doesn't seem likely, but ...
>> 
>> In the Player, are you sure you are running in non-secure mode ?
>> 
>> The Player, by default, is in secure mode, and cannot write to the disk
>> or access the network. The preferences are available by clicking the
>> RunRev logo at top right of the window.
>> 
> 
> It's very likely, actually. Player ships with secure mode turned on by
> default, for the protection of the user. I was about to suggest exactly
> what you said.

If you want to avoid all the secure mode stuff, you can use StackRunner
instead of DreamCard Player for Mac and Windows (sorry, I don't have a Linux
version ready yet).

More info at:

http://www.sonsothunder.com/devres/revolution/downloads/StackRunner.htm

HTH,

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

___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread J. Landman Gay

Alex Tweedly wrote:

Jerry Muelver wrote:

My first Rev app, being developed on Linux with Rev 2.2.1, saves and 
reads a data file. On Windows XP, with Dreamcard Player running the 
stack, the program goes through the motions of saving when called to, 
but nothing gets saved. On Mac, with Player, the file gets saved, but 
can't be opened by the program -- "answer file" dialog shows the file 
grayed out, and not selectable. I use "ask file" to SaveAs originally, 
direct "open file" for in-progress saves, and "answer file" to open or 
re-open the file.



Doesn't seem likely, but ...

In the Player, are you sure you are running in non-secure mode ?

The Player, by default, is in secure mode, and cannot write to the disk 
or access the network. The preferences are available by clicking the 
RunRev logo at top right of the window.




It's very likely, actually. Player ships with secure mode turned on by 
default, for the protection of the user. I was about to suggest exactly 
what you said.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com
___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread Alex Tweedly

Jerry Muelver wrote:

My first Rev app, being developed on Linux with Rev 2.2.1, saves and 
reads a data file. On Windows XP, with Dreamcard Player running the 
stack, the program goes through the motions of saving when called to, 
but nothing gets saved. On Mac, with Player, the file gets saved, but 
can't be opened by the program -- "answer file" dialog shows the file 
grayed out, and not selectable. I use "ask file" to SaveAs originally, 
direct "open file" for in-progress saves, and "answer file" to open or 
re-open the file.



Doesn't seem likely, but ...

In the Player, are you sure you are running in non-secure mode ?

The Player, by default, is in secure mode, and cannot write to the disk 
or access the network. The preferences are available by clicking the 
RunRev logo at top right of the window.


--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.11/191 - Release Date: 02/12/2005

___
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: "Save" on Linux, not on Mac, Win

2005-12-05 Thread Sarah Reichelt
On 12/6/05, Jerry Muelver <[EMAIL PROTECTED]> wrote:
> My first Rev app, being developed on Linux with Rev 2.2.1, saves and reads a
> data file. On Windows XP, with Dreamcard Player running the stack, the
> program goes through the motions of saving when called to, but nothing gets
> saved.

Check "the result" after saving. This might tell you why the save has failed.

> On Mac, with Player, the file gets saved, but can't be opened by the
> program -- "answer file" dialog shows the file grayed out, and not
> selectable. I use "ask file" to SaveAs originally, direct "open file" for
> in-progress saves, and "answer file" to open or re-open the file.

It sounds like the filter on your answer file is not matching your
data file type correctly. Try using answer file without any filters
and see if that works.

> I'll try using "*.txt" instead of my own extension, just in case. But in the
> meantime, are there file access issues I have to tweak for each platform?
> Are there filename extension or type conditions that come into play?

The filter options for the answer file dialog were improved in Rev
2.6. The docs for this were in the Engine Change Log file that came
with the 2.6 installation, but I haven't found them anywhere else, so
I'll include the relevant section below.

Cheers,
Sarah



answer/ask file with type
~
  There is now a new form of answer and ask file allowing
cross-platform specification of file filters:

  answer file[s]  [ with  ] with type  \
[ or type  or ... ] [ titled  ] [ as  ]

  ask file[s]  [ with  ] with type  \
[ or type  or ... ] [ titled  ] [ as  ]

The  parameters are return-delimited lists of the form:
  ||
Where:
   is a textual description of the filter
   is a comma-delimited list of extensions
   is a comma-delimited list of MacOS filetypes

If more than one filter (in total) is specified, then the dialog box
displayed will contain a drop-down list consisting of the filter name
(this is always visible on Windows). When the user selects from this
list, the corresponding filter will be applied to the file dialog.

Upon selecting a file, the filename(s) will be placed in the it
variable and the result variable will contain the  of the last
selected element from the drop-down list.

Upon cancelling the action, both the it and the result variable will be empty.

With the introduction of this new form, commands of the form:
  answer file ... of type ...
  answer file ... with filter ...
  ask file ... with filter ...
Have been deprecated and should not be used in new applications.
___
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


"Save" on Linux, not on Mac, Win

2005-12-05 Thread Jerry Muelver
My first Rev app, being developed on Linux with Rev 2.2.1, saves and reads a 
data file. On Windows XP, with Dreamcard Player running the stack, the 
program goes through the motions of saving when called to, but nothing gets 
saved. On Mac, with Player, the file gets saved, but can't be opened by the 
program -- "answer file" dialog shows the file grayed out, and not 
selectable. I use "ask file" to SaveAs originally, direct "open file" for 
in-progress saves, and "answer file" to open or re-open the file.


I'll try using "*.txt" instead of my own extension, just in case. But in the 
meantime, are there file access issues I have to tweak for each platform? 
Are there filename extension or type conditions that come into play?


 Jerry Muelver 


___
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