full justification in a text field

2022-02-10 Thread Curt Ford via use-livecode
Peter, that works really well. Looks like it does require a monospaced font (I tried it with Monaco, looks good), so I'm not sure if my current client will want this approach, but it's nice to have a relatively simple native solution. Thanks so much! Curt -- Sent from Postbox

full justification in a text field

2022-02-09 Thread Curt Ford via use-livecode
This seems like an awfully basic question, but is it possible to have text with full justification in a field? I've looked at using WordLib, but this client's text has lots of fussy formatting (background colors, different colors for individual characters) that didn't come through well. Than

Livecode and interactive video

2022-01-21 Thread Curt Ford via use-livecode
I can't help with a LiveCode implementation, but if web delivery is an option, I've had good results using the free H5P technology for videos that include embedded quizzes of various kinds; I think it does image hotspots and branching as well. https://h5p.org -Curt -- Sent from Postbox

video formats for Windows in LC 9.6.5? *solved*

2022-01-21 Thread Curt Ford via use-livecode
Thanks Klaus, Curry, Paul – just changing the suffix didn't help, but fortunately, converting the videos to divX format (.avi) with a free converter seems to have done the trick. The target audience is creative/theater types so the simplest solution is best here, but that's helpful to know abo

video formats for Windows in LC 9.6.5?

2022-01-21 Thread Curt Ford via use-livecode
A client has asked me to update a project from a few years ago that includes a few videos. In the previous version we used clips in MP4 format with the suffix .m4v;  the codecs (judging from Get Info on a Mac) are H.264, AAC. These worked well on both platforms before. With LiveCode 9.6.5 on W

Symantec quarantining LiveCode standalone on client's machine

2019-07-02 Thread Curt Ford via use-livecode
Guess it's time to finally look into this. I just visited https://comodosslstore.com but am not sure of the differences between Comodo code signing, Microsoft Authenticode, etc... Any suggestions on best practices with LiveCode/Inno Setup are appreciated! -- Sent from Postbox

Symantec quarantining LiveCode standalone on client's machine

2019-07-02 Thread Curt Ford via use-livecode
A client has reported that a small utility I've made for him is being blocked by Symantec on his Windows machine. We haven't had this issue before with an earlier version of the same utility, but now he gets this report: "Threat type: Insight Network Threat. There are many indications that th

Using community to update text of a project distributed with Indy license?

2019-06-18 Thread Curt Ford via use-livecode
Dear Heather, Thanks for the clarification. This is the answer I'd basically expected, but it'll be easier for me to steer the client in a different direction with the official word from you at LiveCode, so this is helpful. (They had originally suggested using Splashtop to try and make the u

Using community to update text of a project distributed with Indy license?

2019-06-17 Thread Curt Ford via use-livecode
A client needs to make minor updates to the text in a number of modules I've created over several years. To eliminate the back-and-forth of corrections and proofs, he's asked about making the changes himself in LiveCode. (He's never used LiveCode and doesn't have a copy.) The question has aris

how to load a local file into the browser widget?

2019-05-25 Thread Curt Ford via use-livecode
Thanks, hh, that does it! :) *answer*file"Choose an html file" *put*urlEncode(textEncode(it, "UTF-8")) intotPathWithCyrillic *set*theurlofwidget"Browser"totPathWithCyrillic Occasional accents & punctuation in the file names are not causing problems either (so far). But then the spaces.. *r

how to load a local file into the browser widget?

2019-05-24 Thread Curt Ford via use-livecode
Thanks Klaus, those are great tips! While I'm at it... some of the folders in the file path will be in Russian, which is breaking my current handler. Is there a way to run them through some unicode-type function to make them work in a file path? I can run those items of the file path through

how to load a local file into the browser widget?

2019-05-24 Thread Curt Ford via use-livecode
Ah, thanks, Tore, that was it! Using two slashes in the handler *put*"file://"& thedefaultFolder& slash& "Future.html"intotFile produced the filePath with three slashes, file:///Users/cford/Desktop/BrowserTryout/Future.html which is now working fine. :) -- Sent from Postbox

how to load a local file into the browser widget?

2019-05-24 Thread Curt Ford via use-livecode
You must make sure that the filePath to the html file you would like to see does not contain any invalid characters like spaces, which you will find is OK by the file system but not with the browser. I had wondered about this; I renamed the file to "Browsertryout" and moved it to the desktop (

how to load a local file into the browser widget?

2019-05-24 Thread Curt Ford via use-livecode
Is there a trick to getting a local html file to display in the browser widget? I'm using this in a test button (in 9.0.4, on a Mac): *on*mouseUp *# set the defaultFolder to the folder containing the stackfile* *set*theitemDelimitertoslash* get*theeffectivefilenameofthisstack* set*thedefaultFo

players misplaced & not functional on Windows 10

2019-03-16 Thread Curt Ford via use-livecode
Those grey player bars look like you are using Quicktime for Windows vs DirectShow? What version of LiveCode are you using? Hm, these modules were done in LiveCode 7 or 8, I'd need to check. I dragged out Player objects for these sounds. Since they still run fine on my machine (and no other co

players misplaced & not functional on Windows 10

2019-03-15 Thread Curt Ford via use-livecode
I've done a series of modules for a client that involve lots of sound files in scrolling groups. To make layout consistent across platforms I have a handler that sets the location of the sounds above certain paragraphs. One user on Windows 10 is reporting that the sounds don't play; the layou

problem with revZipOpenArchive in a Mac app bundle?

2018-12-18 Thread Curt Ford via use-livecode
I'm working on updating a client's project for 64bit compatibility on the Mac side. The project is a menu app that downloads and unzips a number of modules from a server. The previous version, done in LiveCode 7, saved & unzipped the modules in the app bundle, at /Contents/Resources/_MacOS/Mo

updating to 64bit for Macs: standalones vs stacks opened by a standalone

2018-11-14 Thread Curt Ford via use-livecode
A few years ago I did a project for a client that involved a standalone that was basically just a menu of modules. When you clicked on an item, it downloaded the module, which was a Livecode stack (not standalone); after downloading, clicking on an item in the menu app would open the downloaded

reliability of QT for sound files on Windows? :(

2015-07-21 Thread Curt Ford
I’ve had a series of modules done in recent years for a client that have many .mp3 files; sometimes one, sometimes up to 15 on a card. They’re stored in a folder named “media,” and I’ve set the fileName for the QT players by building the path to the correct mp3 file. This has worked fine on XP a

mp3 files not playing on Windows

2014-08-26 Thread Curt Ford
Hi Mark, Thanks - they are both 16bit; the one that works is 22.1 kHz, bitrate 56 kbps, the ones that don't work are 44.1 kHz, 128 kbps. But we've delivered many other modules with files at 44.1/128 with no issues. Could that cause a problem on this one computer, or is there something else in t

re: positioning graphics in relation to a line in a text field

2013-04-01 Thread Curt Ford
Ah, this is getting me pretty close: select line 3 of fld "Field2" set the left of graphic "Rectangle" to item 1 of the selectedLoc - 10 set the top of graphic "Rectangle" to item 2 of the selectedLoc - 10 select empty And checking the formattedHeight of the selectedLine will let me a

positioning graphics in relation to a line in a text field

2013-04-01 Thread Curt Ford
My client's project has long text fields, in which are a number of separate lines that, in the original Word files, had boxes around them. The "box" style in LiveCode is too tight around the text for their taste, so I've been creating graphic rectangles and positioning them by hand. An issue ha

Scots & English.. [was the Scottish Dialect]

2013-03-13 Thread Curt Ford
Hang on, Richmond! No offense intended. In retrospect I should have known better than to suggest that pronunciation alone can help you 'pass as a local.' I'll retract that bit. In fairness, Paul's material does mention that "the Scots tongue has its origins in the Germanic language spoken by t

[ANN] The Scottish Dialect

2013-03-13 Thread Curt Ford
your accent & see if you can pass for a local.. Also: a big thanks to Jacque for her help with the registration scheme! Curt Curt Ford Sona Software LLC ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subsc

LiveCode cgi and https?

2012-04-25 Thread Curt Ford
I have a LiveCode cgi that takes a few parameters from a form on a web page, generates a registration code from another stack on the server, and sends out an e-mail. It's working well in tests on my server (I'm using on-rev). The client has recently switched to Bluehost with an SSL certificate

livecode cgi and https?

2012-04-24 Thread Curt Ford
I have a LiveCode cgi that takes a few parameters from a form on a web page, generates a registration code from another stack on the server, and sends out an e-mail. It's working well in tests on my server (I'm using on-rev). The client has recently switched to Bluehost with a certificate s

options for safe transfer of data to a server - ?

2012-03-13 Thread Curt Ford
My client wants to have a routine that records when a user first installs the project, by incrementing an item in a text file on his server. We've got it working well with ftp but I'm wondering if whether sending the ftp login & password over regular ftp is a security issue; some digging in the

scrolling QT controller issues

2011-10-18 Thread Curt Ford
I'm working on a project (using 4.6.4) that requires a long scrolling text field with QT controllers for sound-only files in between paragraphs. I created the text and some QT controllers and grouped them, then added a scroll bar to the group. When I scroll a QT controller onto the screen there

5.0: strange graphic artifacts with QT controller

2011-10-11 Thread Curt Ford
I just downloaded 5.0, so glad that "the long standing issue of standalones being incorrectly sized should no longer happen." on Mac. I opened up my current project, which includes a number of QuickTime control bars linked to mp3 files. They were fine in 4.6.4, both in development and in st

images gone in standalone

2011-10-04 Thread Curt Ford
Thanks, everyone, for the suggestions.. turns out it was a different issue. The project is still small with just a few images, so I began to rebuild it from scratch, making standalones after any major additions. Images in the standalones were fine until I checked 'copy referenced files' in

images gone in standalone

2011-10-03 Thread Curt Ford
My project has about 12 images, most of which are used as the icons for buttons with normal, hover, and disabled states, and two as images displayed on a card. When I build a standalone on Mac (haven't tried Windows yet), the images are gone, replaced by grey boxes; the buttons function normally

Re: revFontLoad: font size issues?

2011-09-14 Thread Curt Ford
Scott, thanks for the ideas.. I'm not sure what you mean by explicitly setting the font styling at startup - would that be setting the textSize & textFont of the stack, or something else? In a handler, or the stack's property inspector, or both? I've tried setting the textSize & textFont

revFontLoad: font size issues?

2011-09-13 Thread Curt Ford
I'm using 4.0 on a Mac and need to load a font for both Mac & Windows versions of the standalone. There are fields which need to use a mix of generic 18 pt Times New Roman, and an IPA (international phonetic alphabet) font, also at 18pt. I'm able to get the font to load without issues but the I

Re: Russian (UTF-8) in LC 4.6

2011-05-08 Thread Curt Ford
Hello Slava, One of my projects worked pretty well with Russian, but it involved mostly typing in Russian, saving to a file as HTMLText, and later reading in that HTMLText for display in fields. The one place that involved manipulating the strings directly ('exploding' the words to display indi