Newbie Questions

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Nov 4 17:30:07 EST 2007


Hi Jonathan,

Nice to see you here. Welcome to the Rev community.

I am pretty sure that something is wrong with the path. Note that Rev  
paths don't use colons but slashes to delimit the components of the  
path.

Do you see similar problems if you run the following script?

on foo
   ask file "Save as..."
   if it is not empty then
     put it into myFile
     open file myFile for write
     write "some string" to file myFile
     close file myFile
     put "You can find your file at:" && myFile
   end if
end foo

Best regards,

Mark Schonewille

--

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Quickly extract data from your HyperCard stacks with DIFfersifier.  
http://differsifier.economy-x-talk.com


Op 4-nov-2007, om 22:58 heeft Jonathan Scott het volgende geschreven:

> Hi,
> 	My name is Jonathan Scott.  I was using SuperCard for quite a  
> while.  Hypercard before that.  I recently moved over to RunRev.   
> I'm sorry to bug you with simple stuff, but I don't seem to be able  
> to find the answers on my own.
> 	I have a stack that is supposed to write out text files.  When I  
> use the normal file writing procedure (as shown below):
>
> open file thisfile for write
> write thisstuff to file thisfile
> close file thisfile
>
> 	I can get the files to show up, but they don't appear  
> immediately.  Even if I reboot the computer, the files won't show  
> up.  The only way to get them to show up is to do a search of my  
> hard drive for the file name and then, the computer will tell me  
> about them.
> 	So, I switched to the put thisstuff into URL "file:thisfile"  
> method.  And that works a whole lot better.
>
> 	Here's the problem though: I can't get either of these methods to  
> work in a standalone.  When I save the stacks out as a standalone,  
> no files ever get written, no matter what I do.
>
> ----------
>
> Next problem:
>
> 	send "mouseUp" to bg btn "Bob" doesn't work for me at all when I  
> put it in the openstack handler.
> 	I researched it out on the net, and they said that this was a  
> problem with the preferences file getting corrupted.  The suggested  
> advice was to throw away the preferences file.  I did this, but, it  
> still didn't work.  It goes without saying that it was also  
> unsuccessful in a standalone.
>
> 	Thanks.  I'm sorry to bother you with trivial matters.
>
> 	P.S. I'm on a mac running Tiger.  Thank you again.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the Use-livecode mailing list