Search found 400 matches
- Mon Mar 08, 2021 7:35 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Creating a text file isn't working for me
- Replies: 18
- Views: 8186
Re: Creating a text file isn't working for me
Hi Klaus I guess I'm trying to do something that maybe can't be done. When the app is sent to a user I was under the impression that the app would be able to generate about 9 or 10 empty txt files that will be used when the app is running. As they enter data on a card it is saved in a field on the c...
- Mon Mar 08, 2021 6:57 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Creating a text file isn't working for me
- Replies: 18
- Views: 8186
Re: Creating a text file isn't working for me
This app isn't going to be on mobile.
Tom
Tom
- Mon Mar 08, 2021 6:30 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Creating a text file isn't working for me
- Replies: 18
- Views: 8186
Re: Creating a text file isn't working for me
It still does not work.
There is not a file named PC.txt anywhere on my computer.
Tom
There is not a file named PC.txt anywhere on my computer.
Tom
- Mon Mar 08, 2021 5:38 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Creating a text file isn't working for me
- Replies: 18
- Views: 8186
Re: Creating a text file isn't working for me
Klaus This doesn't work. You are missing a "(" somewhere I put it after the "&" didn't work I removed the ")" before the into and that didn't work I put it in front of "special and that doesn't work either on openStack put specialFolderPath("documents") & "/PC.txt") into tfile if there is NOT a file...
- Mon Mar 08, 2021 3:47 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Creating a text file isn't working for me
- Replies: 18
- Views: 8186
Re: Creating a text file isn't working for me
Thanks bogs but....
THis doesn't work either.
Tom
Code: Select all
on openStack
set the defaultFolder to (specialFolderPath("Documents") )
put URL("file:" & (specialFolderPath("Documents") & "/PC.txt")) into tfile
end openStack
THis doesn't work either.
Tom
- Mon Mar 08, 2021 3:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Creating a text file isn't working for me
- Replies: 18
- Views: 8186
Creating a text file isn't working for me
Hi again, I have worked on this for hours now and cannot find what I am doing wrong. on openStack set the defaultFolder to (specialFolderPath("Documents") & slash) put URL("file:" & (specialFolderPath("Documents") & "/PC.txt")) into tfile end openStack This code works on iPhone. only difference is I...
- Sun Mar 07, 2021 1:18 pm
- Forum: Windows
- Topic: Create a folder on Windows
- Replies: 3
- Views: 5163
Re: Create a folder on Windows
Thanks Bogs!
You have come to my rescue AGAIN!
Tom
You have come to my rescue AGAIN!
Tom
- Sun Mar 07, 2021 12:54 pm
- Forum: Windows
- Topic: Create a folder on Windows
- Replies: 3
- Views: 5163
Create a folder on Windows
Trying to create folder in the "Documents" folder on a Windows 10 computer.
I have done this many times on iPhone but something is different on Windows.
Help Please
Tom
I have done this many times on iPhone but something is different on Windows.
Help Please
Tom
- Sat Mar 06, 2021 3:35 pm
- Forum: Talking LiveCode
- Topic: Project Browser Selects something I didn't click
- Replies: 10
- Views: 5342
Re: Project Browser Selects something I didn't click
Hi All,
I think I discovered what the problem is.
At one time (maybe more) I had 2 open instances of LC in memory!
Advice to self and anyone else who might do that.
DON'T
Tom
I think I discovered what the problem is.
At one time (maybe more) I had 2 open instances of LC in memory!
Advice to self and anyone else who might do that.
DON'T
Tom
- Thu Mar 04, 2021 1:46 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Setting hilite property of a button in the main Stack from a subStack
- Replies: 1
- Views: 1186
Setting hilite property of a button in the main Stack from a subStack
I Have a Main Stack that at the end of the app gets saved as a PDF file. There is a sub stack that provides the user the ability to enter data into the Main stack. I need to coordinate a few check boxes between the 2 stacks. In the sub stack when a checkbox is selected or deselected I want a corresp...
- Sat Feb 27, 2021 3:13 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using a variable to refer to a field
- Replies: 9
- Views: 3337
Re: Using a variable to refer to a field
Hi Liveme Here is an explanation of what I'm doing in this part of the App. I have a set of fields that hold a list of selections by the user. I this case the number is 15. The user may delete a field for any of a number of reasons. I want to keep the list (is the word congruous?) with no empty line...
- Fri Feb 26, 2021 5:53 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using a variable to refer to a field
- Replies: 9
- Views: 3337
Re: Using a variable to refer to a field
Klaus,
Thank you so much!
Tom
Thank you so much!
Tom
- Fri Feb 26, 2021 5:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using a variable to refer to a field
- Replies: 9
- Views: 3337
Re: Using a variable to refer to a field
Hi Klaus and Bogs! Here is where I have the problem. repeat with N=1 to 15 put "pHlp" & N into emptyFLD if fld emptyFLD of cd"Page 2" of stack"MJADMIN" is empty then put "pHlp" & N into field "ifa" exit repeat end if end repeat if the hilite of btn "ic1" then put fld"ifa" into tfirst put the label o...
- Fri Feb 26, 2021 4:59 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using a variable to refer to a field
- Replies: 9
- Views: 3337
Re: Using a variable to refer to a field
Sorry Bogs
Where I have the problem is in the code that uses the result. I didn't have any coffee when I wrote the post.What I posted works swimmingly!
I'll work that for a few minutes and get back.
Tom
Where I have the problem is in the code that uses the result. I didn't have any coffee when I wrote the post.What I posted works swimmingly!
I'll work that for a few minutes and get back.
Tom
- Fri Feb 26, 2021 3:36 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Using a variable to refer to a field
- Replies: 9
- Views: 3337
Using a variable to refer to a field
I have a series of fields named pHlp1,pHlp2 ... Trying to find the first empty field (if any) and store that in another field... iFA (First Available) repeat with N=1 to 15 put "pHlp" & N into emptyFLD if fld emptyFLD of cd"Page 2" of stack"MJADMIN" is empty then put N into field "iFA" exit repeat e...