Page 2 of 2
Re: Another one for ya: using put from server to stack
Posted: Mon Jan 19, 2015 1:36 am
by shawnblc
instead of a button, what if i wanted it like the above on closestack? Not really understanding what you're saying though.
Re: Another one for ya: using put from server to stack
Posted: Mon Jan 19, 2015 1:46 am
by Simon
put tLcCode
Will only put the text file into the messagebox.
You have to set the script of something so ...
wait..
Using the three lines from the text file (on mouseUp etc.) just get line 2 and
What FUN!
Simon
Re: Another one for ya: using put from server to stack
Posted: Mon Jan 19, 2015 1:59 am
by shawnblc
lol. I'm locking LC up.
Code: Select all
on closeStack
do mYahoo
end closeStack
Code: Select all
on mYahoo
put line 2 of URL "http://mydomain.com/launch.txt" into tURL
end mYahoo
text file
Code: Select all
on mYahoo
launch URL "http://www.yahoo.com"
end mYahoo
Re: Another one for ya: using put from server to stack
Posted: Mon Jan 19, 2015 2:14 am
by Simon
Get rid of the "do"
Code: Select all
on closeStack
mYahoo
end closeStack
on mYahoo
put line 2 of URL "http://mydomain.com/launch.txt" into tURL
do tURL
end mYahoo
add the "do"
Simon
Re: Another one for ya: using put from server to stack
Posted: Mon Jan 19, 2015 2:17 am
by shawnblc
Gonna try it Simon!
LC started smoking!!!!
Re: Another one for ya: using put from server to stack
Posted: Mon Jan 19, 2015 2:20 am
by shawnblc
It WORKED! Awesome. I'd get so far away from the solution, then so close. Thanks for being there and helping out. LC is addictively fun!
Re: Another one for ya: using put from server to stack
Posted: Mon Jan 19, 2015 2:26 am
by Simon
Interesting.
I wonder if Apple will see this as a binary?
Well you could script anything from a text file.
I'm not sure how stable using what we just did in the "closeStack" maybe further up the line is safer "on closeStackRequest".
Simon
Re: Another one for ya: using put from server to stack
Posted: Mon Jan 19, 2015 2:27 am
by shawnblc
Simon wrote:Interesting.
I wonder if Apple will see this as a binary?
Well you could script anything from a text file.
I'm not sure how stable using what we just did in the "closeStack" maybe further up the line is safer "on closeStackRequest".
Simon
I'll give it a whirl! Thanks again bud.