OK, I have to confess I'm confused :-(
I thought you were trying to run a script on LC server (on-rev) and
having trouble getting "start using stack" to work.
But the testing stack below is actually a desktop stack which does a "go
stack URL ..." ??
So - if the rest of this reply is misguided - let's step back and
describe the problem & stacks in question again.
Anyway - the problem with this test stack ( goStackURL.livecode ) is ....
ON mouseUp
put empty into field "info" of this card
go stack URL field "target" of this card in a new window
put the result into field "info" of this card
END mouseUp
but currently (i.e. as downloaded) the field "target" is empty. I
copy/pasted the name of the URL you mentioned
http://runtime-revolution.278305.n4.nabble.com/file/n4665288/drawings.livecode
into the field, and it then works OK - the drawings stack is downloaded and run
in my IDE.
BTW - there is then a problem with
put the result into field "info" of this card
I think that's a problem because "this card" is not clear just after the "go
stack" - not entirely sure about that.
-- Alex.
On 23/05/2013 13:20, Robert Mann wrote:
Thanks for the warning, I re-checked as following :-- tried to upLoad as txt,
bin or mapped-- then checked by launching the stacks from Interarchy, with
the open with option i regularly use for working with stack files on
on-rev.=> indeed the save as txt format proved.. bad! crashes LC6 on load
such a file!The standard mode save with "file mapping" of Interachy does
save stacks in binary mode on the server, so that is fine.There may be
something though : when I try to get to a stack saved in the wrong "txt"
mode with the go stack URL command, i get the msg "stack is corrupted"
instead of "Hi you crashed me on the server!!" msg!Could there be a problem
somewhere with mime type?here are 2 test stacks i use : drawings.livecode
<http://runtime-revolution.278305.n4.nabble.com/file/n4665288/drawings.livecode>
images.livecode
<http://runtime-revolution.278305.n4.nabble.com/file/n4665288/images.livecode>
and the testing one : goStackURL.livecode
<http://runtime-revolution.278305.n4.nabble.com/file/n4665288/goStackURL.livecode>
I also re-tested the save in legacy format, but does not help.And checked if
there was an appleEvent call with contribution from jan Schenkel [apple
Event & path normalizer routine]
<http://quartam.blogspot.fr/2009/10/revolution-snow-leopard-and-appleevent.html>
But no apple Event seem to fire up.(I remembered there was a problem with
apple leopard - and YES i'm using LEOPARD 10.7.4) [file opening bug on max
os x and rev 4.0]
<http://runtime-revolution.278305.n4.nabble.com/anyone-know-how-to-fix-that-silly-stack-file-opening-bug-on-mac-os-x-and-rev-4-0-td348151.html>
??
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/start-using-stack-tp4665159p4665288.html
Sent from the Revolution - User mailing list archive at Nabble.com.
_______________________________________________
use-livecode mailing list
use-livecode@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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode