Search found 21 matches

by Alex_CTZ
Fri Apr 18, 2014 4:58 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help!
Replies: 8
Views: 4880

Re: Help!

Thanks so much all!, I am really happy I chose Livecode to start out with as the help community is the best :D Thanks again

-Alex
by Alex_CTZ
Fri Apr 18, 2014 4:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help!
Replies: 8
Views: 4880

Re: Help!

Hi Alex, If you change your title into some descriptive text, you'll get more help. You need to delete the files in the folder before you can delete the folder. Use a different file extension or use different syntax: launch documentPath with applicationPath Kind regards, Mark Is there a way to dele...
by Alex_CTZ
Fri Apr 18, 2014 4:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Help!
Replies: 8
Views: 4880

Help!

How can i delete a folder with item in it.

I know about the

Code: Select all

 delete folder "C:/pathHere"
but that only seems to work when it is empty.


Also,

For some reason open file and launch file
wont open a .log file

how can I make it so when a user presses a button it opens a file?

-Thanks
by Alex_CTZ
Thu Apr 17, 2014 11:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: 1 Question <----NOOB
Replies: 12
Views: 7294

Re: 1 Question <----NOOB

Simon wrote:Well did the code I wrote work?

Simon
Oh I see I left a trailing ")"... remove that.
It does altohugh its not for html its for a .exe file

-Thanks
by Alex_CTZ
Thu Apr 17, 2014 11:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: 1 Question <----NOOB
Replies: 12
Views: 7294

Re: 1 Question <----NOOB

create folder "C:/Program Files/GNTool" set the defaultFolder to "C:/Program Files/GNTool" put url "http://www.blabla.com/index.html" into url "file:index.html") Is that what you are trying to do? Simon Im trying to make it so when a user clicks the button it downloads a file and saves it in "C:\Pr...
by Alex_CTZ
Thu Apr 17, 2014 9:57 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: 1 Question <----NOOB
Replies: 12
Views: 7294

Re: 1 Question <----NOOB

Sorry to bug but any help?
by Alex_CTZ
Thu Apr 17, 2014 8:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: 1 Question <----NOOB
Replies: 12
Views: 7294

Re: 1 Question <----NOOB

on mouseUp create folder "C:\Program Files\GNTool" get url "DOWNLOADLINK" open file "C:\Program Files\GNTool" for write write to file end mouseUp I dont understand how to layout the save after "write to file" I want the path to be "C:\Programfiles\GNTool" and I want to save the file as "server" als...
by Alex_CTZ
Thu Apr 17, 2014 8:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: 1 Question <----NOOB
Replies: 12
Views: 7294

Re: 1 Question <----NOOB

Sorry not what I was looking for, can any 1 help?
by Alex_CTZ
Thu Apr 17, 2014 8:05 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: 1 Question <----NOOB
Replies: 12
Views: 7294

Re: 1 Question <----NOOB

atout66 wrote:May be you could find the answer in this lesson:
http://lessons.runrev.com/s/lessons/m/4 ... put-output

Sorry, I can't help you farther, I'm a beginner too :wink:

Kind regards, Jean-Paul.
Cheers Ill check it out ;)
by Alex_CTZ
Thu Apr 17, 2014 7:24 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: 1 Question <----NOOB
Replies: 12
Views: 7294

1 Question <----NOOB

Hey guys,
I am trying to get it so when the user clicks button it downloads a certain file into a path such as "C:\Program Files\Server"

Ive tried using the "get" method but I don't know how to chose where to save the file. PLEASE HELP!
by Alex_CTZ
Thu Apr 17, 2014 2:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need Simple Variable Help! Please :D
Replies: 16
Views: 8776

Re: Need Simple Variable Help! Please :D

Ahhh I love you! haha. I did this: on mouseUp global serverLocation answer file "What is the server path?" put it into serverLocation end mouseUp and button 2 on mouseUp global serverLocation put serverLocation into variableserver put "start " & variableserver into myShell replace "'" with quote in...
by Alex_CTZ
Thu Apr 17, 2014 2:05 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need Simple Variable Help! Please :D
Replies: 16
Views: 8776

Re: Need Simple Variable Help! Please :D

I realized the local was unnecessary, but it still says it cant find the serverLocation container variable. is there something wrong here: on mouseUp local server answer file "What is the server path?" put it into serverLocation end mouseUp The variable serverLocation will not persist outside of th...
by Alex_CTZ
Thu Apr 17, 2014 1:50 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need Simple Variable Help! Please :D
Replies: 16
Views: 8776

Re: Need Simple Variable Help! Please :D

Simon wrote:I don't see
"local server"
being used at all?

SImon

Code: Select all

on mouseUp
   answer file "What is the server path?"
   put it into serverLocation
end mouseUp
Is there something that is not letting the start button access the serverLocation container
by Alex_CTZ
Thu Apr 17, 2014 1:39 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need Simple Variable Help! Please :D
Replies: 16
Views: 8776

Re: Need Simple Variable Help! Please :D

on mouseUp put serverLocation into variableserver put "start " & variableserver into myShell replace "'" with quote in myShell get shell(myShell) end mouseUp I realized the local was unnecessary, but it still says it cant find the serverLocation container variable. is there something wrong here: on...
by Alex_CTZ
Thu Apr 17, 2014 1:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Need Simple Variable Help! Please :D
Replies: 16
Views: 8776

Re: Need Simple Variable Help! Please :D

The reason i didnt use launch url was because I want to give this to my friends, but I couldnt find out how to make a certain user a variable to find the file automatically, so my second thought was for them to define a location, save it in a container and put it as a variable in the shell. Thanks ...