Re: Live LiveCode Create demo - join us tomorrow

2024-08-12 Thread Tim Selander via use-livecode
Hi Heather, Being in Japan, the time (midnight) is a little too late for this old man! Any chance it will be recorded? I would love to watch it later. Thanks, Tim Selander On 2024/08/12 19:34, Heather Laine via use-livecode wrote: Hello List Folks, Just to make you aware, we are holding a

Re: Community edition

2024-07-27 Thread Tim Selander via use-livecode
It works on the older M1 macs, as long as you don't upgrade to OS14 -- I'm keeping my M1 Macbook air for as long as I can! Tim Selander On 2024/07/27 8:48, Neville Smythe via use-livecode wrote: On 26 Jul 2024, at 8:01 pm, Heriberto wrote: I am currently using the "Community" version, b

Re: Livecode Future

2024-07-24 Thread Tim Selander via use-livecode
Yes, this is quite important to me as well. Thanks, Tim Selander On 2024/07/24 19:14, Tweedly via use-livecode wrote: Can you say anything about the future of LiveCode Server ? Thanks, Alex Sent from my iPad On 24 Jul 2024, at 10:03, Kevin Miller via use-livecode wrote: I'm sorry to h

Re: Tutorial for Livecode Server log in system

2024-03-27 Thread Tim Selander via use-livecode
Dear Alex and Pere Thank you both for your code and and the time you took to help! I'm am working through the code you sent, studying out how it works. Great learning experience. Also, Alex, your point of not using password log ins is a philosophical re-frame in my thinking! Thank you! Tim

Tutorial for Livecode Server log in system

2024-03-25 Thread Tim Selander via use-livecode
Hi all. As a hobbiest/amateur I continue to plunk away with Livecode, mostly the server product in my on-rev account. Can anyone point me to a tutorial or sample of an online log in system (username, email and password) for a website using Livecode? I've found some php tutorials, and /think

Uploading progress bar

2023-08-07 Thread Tim Selander via use-livecode
We are airing a kid's anime program on TV this fall, and are encouraging parents to video their kids singing the theme song -- which we'll air at the end of the program. Using LC Server, I made a simple page for the parents to use to upload the videos. It's working fine, but I would like to ad

Re: google translator access via livecode

2023-06-05 Thread Tim Selander via use-livecode
I use google translate API with an LC Server web application. It would probably work exactly the same with LC desktop. The call looks like this: put "https://www.googleapis.com/language/translate/v2?key=(your google API account key)&q=cat&source=en&target=ja" into tURL put URL tURL into vholde

Re: LC Server and forcing page refreshes

2023-06-04 Thread Tim Selander via use-livecode
Hi, Yes, Matthias suggested similar, and it works too. But it slowed down the pages a bit, and I'm on the old, slow on-rev server! Tim On 2023.06.02 21:57, Georges Malamoud via use-livecode wrote: You can also add parameters into your .htaccess file on your server (if you have access) Rewr

Re: LC Server and forcing page refreshes

2023-06-02 Thread Tim Selander via use-livecode
the member’s URL like: ?foo=1685433742125 Ralf On 30.05.2023 02:32, Tim Selander via use-livecode wrote: Once again find myself over my head in just a simple programming project. I made a little club members directory website, using LC server on on-rev's hosting site. Members can

LC Server and forcing page refreshes

2023-05-29 Thread Tim Selander via use-livecode
Once again find myself over my head in just a simple programming project. I made a little club members directory website, using LC server on on-rev's hosting site. Members can edit their info. I use a form, with the action going to an LC script. This script gets all the post data, shuffles it

Re: More Server Silliness -- Nevermind

2022-08-15 Thread Tim Selander via use-livecode
Using Firefox developer tools, found out jquery was not loading property. Hangs head in shame at rookie mistake... Still not working properly, but continue to poke at it. Tim Selander On 2022.08.15 21:58, Tim Selander via use-livecode wrote: With Alex and everyone's help, I got the glob

More Server Silliness

2022-08-15 Thread Tim Selander via use-livecode
With Alex and everyone's help, I got the global vs cookies, etc., sorted out and am happily paginating away with my little membership web site. With Kenji's help, I got automatic address fill-in from Japanese zip codes. However, I was looking at LiveCode's server samples (serversamples.live

Re: Server globals

2022-08-13 Thread Tim Selander via use-livecode
not already a cookie, create a filename using something like uuid(), and store the file name in it - then retrieve the cookie, and read or write the file. Alex. On 12/08/2022 14:18, Tim Selander via use-livecode wrote: Hi Matthias, It is user specific, but I just tried the saving to a text file o

Re: Server globals

2022-08-12 Thread Tim Selander via use-livecode
storage is a better solution. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Tim Selander via use-livecode Sent: Friday, August 12, 2022 9:18 AM To: us

Re: Server globals

2022-08-12 Thread Tim Selander via use-livecode
is available at all pages in the same domain. Regards, Matthias Am 12.08.2022 um 13:27 schrieb Tim Selander via use-livecode : As always, appreciate everyone's help. Have made several little projects using LC Server on the on-rev.com host. For the first time, I would like a global variable

Server globals

2022-08-12 Thread Tim Selander via use-livecode
As always, appreciate everyone's help. Have made several little projects using LC Server on the on-rev.com host. For the first time, I would like a global variable -- that is a variable that would retain it's value even if the page is re-loaded. Or if a user goes to another .lc page/file in t

Re: Auto populate an HTML form with LC server

2022-08-07 Thread Tim Selander via use-livecode
-fan.com/ajaxzip3 and http://www.webdesign-fan-guide.com/ajaxzip3/ I believe you can use these on the LC server. Best, -- Kenji Kojima / 小島健治 http://www.kenjikojima.com/ On Aug 7, 2022, at 3:29 AM, Tim Selander via use-livecode <mailto:use-livecode@lists.runrev.com>> wrote: Many web

Auto populate an HTML form with LC server

2022-08-07 Thread Tim Selander via use-livecode
Many web forms in Japan automatically fill in prefecture, town, ward and block when you just put in the zip code. I would like to do that on my web site, and know the api I would use. I assume these sites are using javascript, but can LC server pick up user input before the submit button is cl

Re: What is the best way to trigger an action at a certain time?

2022-07-13 Thread Tim Selander via use-livecode
Gentlemen, The trigger will be 'pulled' once or twice a day only -- so these external to LC options are also viable. Hadn't entered my head at all! Will be playing around with all these ideas and learn something! Basically use Macs, but have couple unused Windows laptops -- sounds like Task

Re: What is the best way to trigger an action at a certain time?

2022-07-11 Thread Tim Selander via use-livecode
r routines of checking time, performing the required action etc. send checkTime to me in 300 seconds. ## you set the interval to whatever is best for you end checkTime Best regards Tore Nilsen 11. jul. 2022 kl. 13:35 skrev Tim Selander via use-livecode : Dear all, I want to have an LC app ru

What is the best way to trigger an action at a certain time?

2022-07-11 Thread Tim Selander via use-livecode
Dear all, I want to have an LC app running on a computer doing nothing but watching the time. At predetermined times, I then want it to run a command. A call to an API on a website. In the old HC days, I remember using "on idle" to watch for a set time. But even then, using "on idle" was les

Re: access DOM in browser widget?

2021-11-22 Thread Tim Selander via use-livecode
Sorry to pick up this thread half a year later, but I am searching for an answer to a related problem. On the LiveCode Forums I learned that if the page is loaded in a Browser widget on the desktop version of LC, you can [get the htmltext of widget "browser"] and get the info JS provides that

Re: Whatever happened to on-rev?

2021-08-19 Thread Tim Selander via use-livecode
A few weeks back (months?) they upgraded the servers. I have two accounts, personal and work. Before they were on different servers, but after the upgrade, both are on quartz.on-rev.com, and I can get at them through c-panel. Same user name and password. Recommend contacting support -- on-...

Re: Writing file to server with Livecode Server

2021-07-09 Thread Tim Selander via use-livecode
kyo, Japan On 2021.07.09 15:31, Tim Selander via use-livecode wrote: Hi, Several years back, I had a POST web form for our company where I saved responses to a .csv file on the same server and same folder as the .lc file. (All hosted on on-rev.com) That page is long gone, but I now need to do the

Writing file to server with Livecode Server

2021-07-08 Thread Tim Selander via use-livecode
Hi, Several years back, I had a POST web form for our company where I saved responses to a .csv file on the same server and same folder as the .lc file. (All hosted on on-rev.com) That page is long gone, but I now need to do the same thing. But when I try to write the data to the csv file, I

Re: Getting user's IP address in LC Server

2021-05-04 Thread Tim Selander via use-livecode
e CGI interface related variables, along with any HTTP_* variables that are available. $_SERVER["REMOTE_ADDR] contains the remote ip address. Matthias - Matthias Rebbe Life Is Too Short For Boring Code Am 04.05.2021 um 06:30 schrieb Tim Selander via use-livecode : Hi, I am trying to

Getting user's IP address in LC Server

2021-05-03 Thread Tim Selander via use-livecode
Hi, I am trying to make a web page that changes content a bit based on the user's location. I am using my on-rev hosting account and am trying two different service's APIs: 1) put "My country is" && url "https://api.ipdata.co/country_name?api-key=my/key"; 2) put "curl https://api.ipgeoloca

Re: background images

2021-01-18 Thread Tim Selander via use-livecode
on stored data about that image/card combination. Peter Bogdanoff On Jan 18, 2021, at 4:44 PM, Tim Selander via use-livecode wrote: Right, which is why this is so confusing. I do not want a 'shared text' image. Each card should keep it's own unique image, but when I change t

Re: background images

2021-01-18 Thread Tim Selander via use-livecode
major-k via use-livecode wrote: Hi Tim, Am 18.01.2021 um 19:12 schrieb Tim Selander via use-livecode : This is driving me nuts. Have a 'background' group with an image. If I change the filename of an image on one card, ALL the cards change to that image. Yet a field in the same group

background images

2021-01-18 Thread Tim Selander via use-livecode
This is driving me nuts. Have a 'background' group with an image. If I change the filename of an image on one card, ALL the cards change to that image. Yet a field in the same group properly will take unique values for each card. I know I've done this before... what setting am I missing?? D

Re: multi line Livecode field uploaded to MySQL

2019-02-16 Thread Tim Selander via use-livecode
2019 à 09:17, Tim Selander via use-livecode a écrit : Thank you for your reply, but I haven't gotten it working yet. The code in my first post was from my working stack. Here is what I have from my non-working stack after re-writing to follow your instructions: # Construct

Re: multi line Livecode field uploaded to MySQL

2019-02-16 Thread Tim Selander via use-livecode
cution error at line n/a (External handler execution error: revdberr,syntax error) near "revdberr,syntax error"} I appreciate your taking the time to educate me. Tim Selander On 2019.02.16 16:12, Ludovic THEBAULT via use-livecode wrote: Le 16 févr. 2019 à 07:59, Tim Selander via use

multi line Livecode field uploaded to MySQL

2019-02-15 Thread Tim Selander via use-livecode
I have a routine to take data from fields on a card and upload to a mysql database. Has worked well for years, got the original script off the Livecode learning site. --- # Construct SQL put "INSERT INTO podcast(IP,accesstime,access_date,pgm_name,access_code,bytes,agent,city,reg

Re: Images and Players in "background" groups

2019-02-03 Thread Tim Selander via use-livecode
ard where tURL is a path to a local or remote file. Player controls would use similar methods as above. Peter Bogdanoff On Feb 2, 2019, at 10:55 PM, Tim Selander via use-livecode wrote: For the first time ever, probably, I have a little project that needs the HC "stack of cards"

Images and Players in "background" groups

2019-02-02 Thread Tim Selander via use-livecode
For the first time ever, probably, I have a little project that needs the HC "stack of cards" structure. Have a few buttons and fields in a group, acting a a background and it all works as expected. However, I also have an image and a play in the group/background. Oddly, when I set one card'

Re: Writing a UTF8 text file to server -- solved

2018-10-04 Thread Tim Selander via use-livecode
properly saved the data as utf8/kanji to the file on the server. All's well that ends well. Tim Selander Tokyo, Japan On 2018.10.04 15:48, Tim Selander via use-livecode wrote: Hi Scott, Added info; I have at the top of the web page source. Then, I only found outputTextEncoding i

Re: Writing a UTF8 text file to server.

2018-10-03 Thread Tim Selander via use-livecode
o Tim, Did you look at the textEncode function? — Scott Morrow On Oct 3, 2018, at 10:22 PM, Tim Selander via use-livecode wrote: I am using Livecode Server on Livecode's hosting plan. Taking my first stab at a web response form. I am getting the data from $_POST fine, and when I simply do

Writing a UTF8 text file to server.

2018-10-03 Thread Tim Selander via use-livecode
I am using Livecode Server on Livecode's hosting plan. Taking my first stab at a web response form. I am getting the data from $_POST fine, and when I simply do something like: put $_POST[firstname] the UTF8/Kanji word shows up fine in the webpage. But I am unable to save the data to a file o

Re: Using the $_POST global in LiveCode server

2018-08-02 Thread Tim Selander via use-livecode
Thanks, Mike. This seemed like a good hint/possible solution. Another though has just occurred to me also.. If you use session variables, you can store the search term in the session, and since the browser will re-post on reload, if $_POST and your session variable contain the same search term,

Using the $_POST global in LiveCode server

2018-08-02 Thread Tim Selander via use-livecode
Hi, Is it possible to change, or even delete, the $_POST[] array in LiveCode server? I want to clear it after my script has pulled out the info it needs. Or, maybe there's another way to skin the cat. I have a search page that returns a list of our online TV programs. But even if the page is

$_POST[] variable?

2018-08-02 Thread Tim Selander via use-livecode
Hi, Is it possible to manipulate the contents of the $_Post[] global directly on Livecode serve? When I reload a page, the values in the array still have the values in them from the previous time the "Submit" button was used... efforts to delete or put empty into, do not seem to work. Than

Re: UTF8 on LC server

2018-06-01 Thread Tim Selander via use-livecode
Mark, Success! Greatly appreciate your walking me through this. Have a great weekend. Tim Selander Tokyo, Japan On Fri, Jun 1, 2018 at 7:15 AM, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: On 2018-06-01 12:53, Tim Selander via use-livecode wrote: H

Re: UTF8 on LC server

2018-06-01 Thread Tim Selander via use-livecode
Hi Mark, Here is the script. The files I'm using are bamboobabies.com/getjapanesetext.lc, and the text it is getting is bamboobabies.com/news.txt. In the script, there are two lines reading the text file that I've taken turns commenting out If you can give me any hints, it would be gre

Re: UTF8 on LC server

2018-05-31 Thread Tim Selander via use-livecode
what the key in $_Server for than info is, and Googling failed me this time... Tim Selander On 2018/06/01 8:55, kee nethery via use-livecode wrote: I’m assuming you are using “unicode” (aka UTF-16) and not UTF8 to do all your transforming of the data? Kee On May 31, 2018, at 4:46 PM, Tim

Re: UTF8 on LC server

2018-05-31 Thread Tim Selander via use-livecode
kanji got split in half. Identical results to "put char 500 to 550." Tim Selander On 2018/06/01 8:39, kee nethery via use-livecode wrote: On May 31, 2018, at 4:33 PM, Tim Selander via use-livecode wrote: Thanks, Warren. Yes, I've got that header set up, and UTF8 is working fi

Re: UTF8 on LC server

2018-05-31 Thread Tim Selander via use-livecode
3, Warren Samples via use-livecode wrote: On 05/31/2018 06:43 AM, Tim Selander via use-livecode wrote: Is there any way to get LC Server to handle double-byte characters the same way LC desktop does? Tim Selander Tokyo, Japan LC Server serves pages with a default "Content-Type" hea

UTF8 on LC server

2018-05-31 Thread Tim Selander via use-livecode
Hi, In LC, if I have a field or variable in Japanese (double-byte) and get, say, the 5th character, it returns the correct double-byte character. But on LC server (on-rev hosting) "character" commands get single bytes, breaking the Japanese character turning it into gibberish. Is there any

Re: another mac to Windows gotcha

2018-02-24 Thread Tim Selander via use-livecode
gdanoff via use-livecode wrote: Tim, Try both commands in order: set playRate, then start. Peter Bogdanoff On Feb 24, 2018, at 10:16 AM, Tim Selander via use-livecode wrote: Hi Paul, Using 9.0 dp11 community. After sending the post, I found in the dictionary that for windows, commandkeydown

Re: another mac to Windows gotcha

2018-02-24 Thread Tim Selander via use-livecode
elander Tokyo, Japan On 2018.02.24 23:44, Paul Dupuis via use-livecode wrote: controlKeyDown is absolutely available on Windows. See the dictionary entry in LC8.1.9 for example. What version of LiveCode are you using? On 2/24/2018 9:04 AM, Tim Selander via use-livecode wrote: Hi, Trying my first

another mac to Windows gotcha

2018-02-24 Thread Tim Selander via use-livecode
Hi, Trying my first little LC app on Windows. I wrote an app on osx and am now trying to get it to work in a Win7 machine. On the mac app, I use ctrl-J, ctrl-K, and ctrl-L to control the video player. JKL is pretty standard video player control in video editing software. On the mac app, th

playing a video in Win7?

2018-02-24 Thread Tim Selander via use-livecode
Hi, Trying to simply play an h264 video on LC 9 in a player on a Win7 machine. Quicktime installed. I have .mov, .mp4, .mv4 videos that all play fine on Mac osx /and/ in QT on the Win7 machine. But I can only get .wmv to play in the LC player object on Win7. Have to create a little in-house

Re: Getting current line number of a table field.

2018-02-14 Thread Tim Selander via use-livecode
Hi Mike, Thanks! I put the script in the table field itself with no luck. But when I moved it to the card script, it works! Great! I never would have come up with that in a million years. This list is fantastic. Oh, and I just re-named the table field to "Opera" ;-) Tim Selander Tokyo, Jap

Getting current line number of a table field.

2018-02-14 Thread Tim Selander via use-livecode
Hi, Editing a table field (not datagrid) and need to track the number of the line that is being edited. If I click into a new line, "selectionchanged" will let me figure out what line I'm editing. But if I hit return or tab to go to a new line, how can I track what line the cursor is in? Rawk

Getting directory list from web server??

2017-11-06 Thread Tim Selander via use-livecode
Hi, Up until now, in my livecode server script, put URL "http://www.myserver.com/radio/15/"; after vlist has gotten me text list of the directory contents. Now it gets me a "You don't have permission to access." error message. on-rev hosting, "sage" is the server. Anyone know what is goi

Re: Sending an FTP command from one web server to another?

2017-07-19 Thread Tim Selander via use-livecode
Richard, Have never written a CGI in my life but you got me thinking; a quick Google found me a php script to "print" a folder listing. So now my .lc script on my on-rev serve puts the url of the .php page on the server with the mp3s into a variable -- which gives me the list of file names I

Re: Sending an FTP command from one web server to another?

2017-07-18 Thread Tim Selander via use-livecode
.0 of lc server. Regards, Matthias Matthias Rebbe +49 5741 31 ‌matthiasrebbe.eu <http://matthiasrebbe.eu/>‌ Am 18.07.2017 um 12:50 schrieb Tim Selander via use-livecode mailto:use-livecode@lists.runrev.com>>: Hi Matthias, Good idea. I just sent support an email asking to h

Re: Sending an FTP command from one web server to another?

2017-07-18 Thread Tim Selander via use-livecode
u/>‌ Am 18.07.2017 um 10:38 schrieb Tim Selander via use-livecode mailto:use-livecode@lists.runrev.com>>: Hi, My company gave up on hosting our email and website at on-rev.com <http://on-rev.com/> back when they were having lots of reliability problems. We're using a host in

Re: Sending an FTP command from one web server to another?

2017-07-18 Thread Tim Selander via use-livecode
em with ftp outgoing connections. Matthias Matthias Rebbe +49 5741 31 ‌matthiasrebbe.eu <http://matthiasrebbe.eu/>‌ Am 18.07.2017 um 10:38 schrieb Tim Selander via use-livecode mailto:use-livecode@lists.runrev.com>>: Hi, My company gave up on hosting our email and website at

Sending an FTP command from one web server to another?

2017-07-18 Thread Tim Selander via use-livecode
Hi, My company gave up on hosting our email and website at on-rev.com back when they were having lots of reliability problems. We're using a host in Japan; no LC server installed, nor is it installable. I still have our Founder's account on on-rev.com, and use quite a few .lc scripts, callin

Re: Goofy question #7234

2017-07-10 Thread Tim Selander via use-livecode
Hi Richmond This works (both scripts in the button): on mouseUp put goRed() end mouseUp function goRed set the backGroundColor of card 1 to red end goRed I think the general idea is that a function returns information. So date() returns the date. But just having a line "date()" in the script

Re: IP to decimal function?

2017-05-15 Thread Tim Selander via use-livecode
be in the master library. Bob S On May 13, 2017, at 22:25 , Tim Selander via use-livecode wrote: Hi I need to convert IP address from web logs to decimal for easier processing... Before I try to "reinvent the wheel" (and no doubt roll off a cliff) I'm wondering if anyone al

Re: IP to decimal function?

2017-05-14 Thread Tim Selander via use-livecode
On 2017.05.14, 17:02, Richmond Mathewson via use-livecode wrote: I almost never know anything, but I do know where to look to find out: https://www.mkyong.com/java/java-convert-ip-address-to-decimal-number/ Hope that spoils your Sunday :) Richmond. On 5/14/17 8:25 am, Tim Selander via use-live

IP to decimal function?

2017-05-13 Thread Tim Selander via use-livecode
Hi I need to convert IP address from web logs to decimal for easier processing... Before I try to "reinvent the wheel" (and no doubt roll off a cliff) I'm wondering if anyone already has such a function they'd be willing to share? TIA Tim Selander Tokyo, Japan ___

Re: Messages sent while mouse is down?

2017-03-11 Thread Tim Selander via use-livecode
Yes, that had occurred to me, but my explanation was too simplistic. While it is a Scrabble-esque game with tiles, the tiles are hexagons and are staggered on the board. (pic-- http://tinyurl.com/jjcqolm) That still might be calculate-able, but is beyond my math skills! Thanks, Tim On 2017.

Re: Messages sent while mouse is down?

2017-03-11 Thread Tim Selander via use-livecode
ish to check against (or array, or whatever) on mousemove if the mouse is down then repeat for each line tLine in objectList if within(tLine,the mouseloc) then put tLine into tResult exit repeat end repeat end if if tResult end mousemove On Sat, Mar 11, 2017 at 1:02 AM, Tim Selander via u

Messages sent while mouse is down?

2017-03-11 Thread Tim Selander via use-livecode
I miss the Zynga "Pathwords" game on Facebook, so for my own amusement I'm trying to recreate it in Livecode. For those who don't know the game, it had a solid screenful of Scrabble-like lettered tiles. Click and drag the mouse through adjacent letters to make words. Without clicking, simply

Re: Cancelling a script??

2017-02-10 Thread Tim Selander via use-livecode
10, 2017 at 8:00 AM, Tim Selander via use-livecode < use-livecode@lists.runrev.com> wrote: The documentation says Cmd + . should stop a running script. I haveset the allowinterrupts to true in my openstack script. But if I get into a long repeat loop, cmd + . does not stop anything.

Cancelling a script??

2017-02-10 Thread Tim Selander via use-livecode
The documentation says Cmd + . should stop a running script. I haveset the allowinterrupts to true in my openstack script. But if I get into a long repeat loop, cmd + . does not stop anything. Community v8.1, OSX 10.9. Any advice appreciated. Tim Selander Tokyo, Japan

Re: Using LC server to check for existence of mp3 on our web server?

2017-01-22 Thread Tim Selander via use-livecode
n your server. You pass it a filename in the url and it tells you if the file is in the programs folder or not. So the url would look something like this: http://my.programserver.com/check.lc?1234.mp3 The text of the 'check.lc' file: This is most likely not exactl

Using LC server to check for existence of mp3 on our web server?

2017-01-21 Thread Tim Selander via use-livecode
Hi, On-rev.com hosting, using LC server to present a list of our AM/FM radio programs for people to listening to on-demand. Out of a month's 20 programs, 3 or 4 might not get uploaded due to copyright issues, etc. Also, mp3's are not on the on-rev.com server, but another hosting service we u