Search found 279 matches
- Tue Aug 04, 2020 5:56 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: [SOLVED] Something is not right with my data
- Replies: 45
- Views: 21848
[SOLVED] Something is not right with my data
I am absolutely perplexed. I am iterating through a series of data and putting them into variables I am then testing these string variables and trying to have a hit counter count them up: Let's say ccMonthDecrypted does = "January" and I have actually "put" this result into a field just to ensure I ...
- Tue Aug 04, 2020 5:16 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Does Livecode have a prettify option?
- Replies: 39
- Views: 17172
Re: Does Livecode have a prettify option?
Right now all development is on Windows 10 64 bit. My newest Mac is old as hell. I do have to 'Macify' our code, so I will have to get to work on my ancient Mac at some point. These speed problems do not manifest on my old as crap Mac. They are INTOLERABLE on Windows. One thing to note - we use a cr...
- Sun Jul 26, 2020 12:36 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Does Livecode have a prettify option?
- Replies: 39
- Views: 17172
Re: Does Livecode have a prettify option?
Livecode's script editor chokes with large scripts... Do you have a sense for how large? And what hangs? I'd like to include tests for that for the script editor I'm making. Thanks in advance. Our stack script holds ALL the technology and commands - which is now an API for other programmers to use ...
- Sun Jul 26, 2020 12:31 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Does Livecode have a prettify option?
- Replies: 39
- Views: 17172
Re: Does Livecode have a prettify option?
For LiveCode I use the IDE Script Editor (for all its drawbacks) Indeed. The sheer fiddle of "bonging back and forth" between LiveCode and an external text editor does not seem justified in view of the very few advantages gained from an external editor. LOL. Look at it this way, with over 10,000 li...
- Sat Jul 25, 2020 2:03 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Does Livecode have a prettify option?
- Replies: 39
- Views: 17172
Re: Does Livecode have a prettify option?
LCS?
I use LiveCode. The language and it's included IDE (Business License).
I do not use LiveCode Server at all.
Mike
I use LiveCode. The language and it's included IDE (Business License).
I do not use LiveCode Server at all.
Mike
- Sat Jul 25, 2020 4:51 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Does Livecode have a prettify option?
- Replies: 39
- Views: 17172
Re: Does Livecode have a prettify option?
I do use Sublime Text with Livecode formatting. However, sometimes I just want to quickly edit something. Livecode's script editor chokes with large scripts, so I copy and paste into notepad to do quick search and replace or editing and then copy and paste back again to save the script. I do not and...
- Fri Jul 24, 2020 4:02 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Does Livecode have a prettify option?
- Replies: 39
- Views: 17172
Re: Does Livecode have a prettify option?
Ty. I will try that.
Mike
Mike
- Thu Jul 23, 2020 10:50 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Does Livecode have a prettify option?
- Replies: 39
- Views: 17172
Does Livecode have a prettify option?
In other languages/IDE's there is a prettify feature. It pretty much takes the code and makes sure it indents properly. I write a lot of Livecode code either in Sublime or even notepad/notepad++ However, the code, when pasted into Livecode's editor, does not indent automatically. I would have to pre...
- Thu Jul 23, 2020 10:48 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: how to get text from a file on a server
- Replies: 14
- Views: 6738
Re: how to get text from a file on a server
Not writing to the server in this case, just wanting to read a text file's contents. I have reading and writing through SFTP using TSNet working perfectly by downloading/transferring the file and reading it on the node. I was hoping to avoid all that extra code and just 'take it's temperature' essen...
- Thu Jul 23, 2020 1:16 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: how to get text from a file on a server
- Replies: 14
- Views: 6738
Re: how to get text from a file on a server
I made a work around today.
I am writing to a .ini file at the very beginning and then checking against it at any write time.
It works as error correction but is more like a bandage and not a fix.
Mike
I am writing to a .ini file at the very beginning and then checking against it at any write time.
It works as error correction but is more like a bandage and not a fix.
Mike
- Wed Jul 22, 2020 8:23 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: how to get text from a file on a server
- Replies: 14
- Views: 6738
Re: how to get text from a file on a server
Richard, I agree with you. In fact, I already do this. However, I am having a very WEIRD problem. I cannot discuss it fully, but in a nutshell, I keep track of what is being written and track it at all times. Say I have a number, say 50. Now I add one to it and write it. Now it's, ta dah, 51. Right?...
- Wed Jul 22, 2020 8:06 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: how to get text from a file on a server
- Replies: 14
- Views: 6738
Re: how to get text from a file on a server
Hi. Generically, something like this does not work: open file yourFile for read read from file yourFile until EOF close file yourFile Are you sure you know the pathName to the file? If not, you can use the "open file" command to get that information directly. Craig No. Something like that does not ...
- Wed Jul 22, 2020 8:04 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: how to get text from a file on a server
- Replies: 14
- Views: 6738
Re: how to get text from a file on a server
File is tiny. 1k to 2k.
Right now it’s on a server I control but in the future I will not have explicit access. No way to read it?
It’s just a simple text file.
Mike
Right now it’s on a server I control but in the future I will not have explicit access. No way to read it?
It’s just a simple text file.
Mike
- Wed Jul 22, 2020 5:54 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: how to get text from a file on a server
- Replies: 14
- Views: 6738
how to get text from a file on a server
I have tried 10 ways to sunday using the file: command, the url command, the ftp:// command, etc. I am simply trying to read a number from a text file located on a web server without having to download it at all. How is this done? I am sure it is easy, but for some odd reason I just cannot get the c...
- Thu Jul 16, 2020 5:28 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: [SOLVED] How to load a pdf file and then save it through programming?
- Replies: 2
- Views: 2062
Re: How to load a pdf file and then save it through programming?
Thank you.
That 100% worked.
I did not know that command.
Mike
That 100% worked.
I did not know that command.
Mike