save stack as filename failing most of the time

Rick Harrison harrison at all-auctions.com
Thu Jan 5 12:47:06 EST 2017


Hi Mike,

Using your code in the button shows in the message box
TestSaveStack

Which is the name of the file.

Searching my entire hard drive doesn’t show 
any file named “TestSaveStack”.

There is no error reported for "the result”.

Rick


> On Jan 5, 2017, at 11:32 AM, Mike Bonner via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> If you change it to
> on mouseup
> save this stack as "TestSaveStack"
> put it && the result
> put cr & the files after msg
> end mouseup
> does it return an error?
> If not, does it show the file?
> 
> If the default folder is set to an unwritable folder you should receive an
> error. If not, you should see the saved stack in the files.
> the defaultfolder on startup (windows) seems to be
> C:/Users/myUserName/AppData/Local/RunRev/Documentation
> Cache/9_0_0_dp_1_community/IDE
> 
> Not exactly where one would look for it. Also, the "recent files" of the
> file menu doesn't reflect the save.
> 
> On Thu, Jan 5, 2017 at 9:20 AM, Rick Harrison via use-livecode <
> use-livecode at lists.runrev.com> wrote:
> 
>> 
>>> On Jan 3, 2017, at 6:38 PM, Bob Sneidar <bobsneidar at iotecdigital.com>
>> wrote:
>>> 
>>> Not sure this helps you but I use Save this stack all the time and I can
>> see the stack in the finder append a tilde (~), create a new stack file
>> then the file with the tilde goes away. My changes are always there
>> afterwards.
>>> 
>>> Bob S
>>> 
>> 
>> Hi again,
>> 
>> 1. Create a new stack
>> 
>> 2. Put a button on it.
>> 
>> 3. Edit the button to insert the following code:
>> 
>> on mouseUp
>> 
>> save this stack as  “TestSaveStack"
>> 
>> end mouseUp
>> 
>> 
>> 4. Test the button
>> 
>> It just doesn’t work at all.  No stack gets saved!
>> 
>> I’m using LC Indy version 8.1.2
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list