Re: Player object controller bar

2019-05-25 Thread Klaus major-k via use-livecode
> Am 25.05.2019 um 18:13 schrieb Paul Dupuis via use-livecode > : > > On 5/25/2019 11:49 AM, Klaus major-k via use-livecode wrote: >> why not try by yourself? Your machine won't exlode, promised!:-D >> >> With this slider you can control the speed of play

Re: FFI & VLC Player

2019-05-31 Thread Klaus major-k via use-livecode
> Am 31.05.2019 um 16:48 schrieb Bob Sneidar via use-livecode > : > > Not to be one of those spell check nanny, but I think it's, "duly". > > Bob S you mean "...one of those spell check nannies" (plural), right? :-D >> On May 30, 2019, at 10:19 , Tom Glod via use-livecode >> wrote: >> >>

Re: FFI & VLC Player

2019-05-31 Thread Klaus major-k via use-livecode
> Am 31.05.2019 um 16:57 schrieb Bob Sneidar via use-livecode > : > > I caught that right after I sent it. I was going to say, "a spell check > nanny". :-) nice try! ;-) >> On May 31, 2019, at 07:55 , Klaus major-k via use-livecode >> wrote: >&

radiobuttons, checkboxes and icongravity

2019-06-01 Thread Klaus major-k via use-livecode
Hi friends, anyone knows why we cannot set the icongravity for radiobuttons and checkboxes? Is this an HIG thing? Best Klaus -- Klaus Major http://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please vis

Re: radiobuttons, checkboxes and icongravity

2019-06-01 Thread Klaus major-k via use-livecode
into the IDE, right? LC 9.0.4 Indy, macOS 10.14.5 > Yours aye, Richmond. My aye? Come on! :-D > On 1.06.19 18:40, Klaus major-k via use-livecode wrote: >> Hi friends, >> >> anyone knows why we cannot set the icongravity for radiobuttons and >> c

Re: radiobuttons, checkboxes and icongravity

2019-06-02 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 02.06.2019 um 11:42 schrieb Richmond via use-livecode > : > > I'm sorry, I forgot to post the link to the stack: > http://forums.livecode.com/viewtopic.php?f=7&t=32668 thank you, I know the icongravity porperty and how to use it. I was only surprised that the IDE does not pro

Re: radiobuttons, checkboxes and icongravity

2019-06-02 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 02.06.2019 um 13:14 schrieb Richmond via use-livecode > : > > Hence my feature request and my barbed comment re some of LiveCode's claims: > http://forums.livecode.com/viewtopic.php?f=6&t=32669 well, Mr. b. is still using version 0.9 beta of Runtime Revolution, so don't exspe

Re: A question about openCard

2019-06-02 Thread Klaus major-k via use-livecode
Hi David, > Am 03.06.2019 um 00:00 schrieb David Epstein via use-livecode > : > > Is there some simple way that an openCard handler can branch based on what > card it is coming from? checl "recentNames" in the dictionary, that may be what you are looking for. > When a user goes to a different

Re: Player endTime is not respected!

2019-06-07 Thread Klaus major-k via use-livecode
Hi Rick, > Am 07.06.2019 um 15:52 schrieb Rick Harrison via use-livecode > : > > Good Morning LC Users, > > I have a Player object that I have > set the startTime and endTime for > the movie. When I inspect the > object I can see that my values > were set correctly. However, > when I play the

Big problems creating standalone

2019-06-09 Thread Klaus major-k via use-livecode
Hi friends, I have an old stack with 18 substacks from 2012. I saved it in current format with LC 9.04 on macOS 10.14.5. I selected 64bit in the standalone application settings and tried to create a standalone, but had to cancel (CMD+. period did not work I had to quit with CMD+Q) LC, which wor

stack can write to prefs-folder, and cannot!?

2019-06-10 Thread Klaus major-k via use-livecode
Hi friends, another mistery with my "uncompilable" stack. :-/ The stack created a subfolder in specialfolderpath("preferences") (Mac only!) and two more subfolders in that folder, so the pathnames are: tAppData -> specialfolderpath("preferences") & "/nameofapp/appdata/ tUserData -> specialfolderp

Re: stack can write to prefs-folder, and cannot!?

2019-06-10 Thread Klaus major-k via use-livecode
Hallo Hermann, > Am 10.06.2019 um 15:44 schrieb hh via use-livecode > : > >> Klaus M. wrote: >> What the hell is going on here? What am I overlooking? > > I have here these problems also from a new stack or the message box on > MacOS 10.14.5 using LC 9.5.0/ 9.0.5/ 8.1.10. > But with "preferenc

Re: one computer, but not other, cannot use breakpoints of any type under 9.5.0_dp1

2019-06-11 Thread Klaus major-k via use-livecode
Hi JJS, > Am 11.06.2019 um 22:13 schrieb JJS via use-livecode > : > > try delete your preferences file and restart LC. > sometimes with strange issues this might help. > LC creates then a new one at start-up > But i don't know exactly where it is located on mac..someone else might jump > in si

Re: stack can write to prefs-folder, and cannot!?

2019-06-17 Thread Klaus major-k via use-livecode
f-preferences/ so being able to create a folder there does not count as proof of having write permission in your opinion? 8-) > Bob S > >> On Jun 10, 2019, at 07:12 , Klaus major-k via use-livecode >> wrote: >> >> Hallo Hermann, >>> Am 10.06.2019 um 1

Re: Rename object

2019-07-04 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 04.07.2019 um 10:26 schrieb Richmond via use-livecode > : > > I've lost this . . . having done it several times before . . . > > So: I duplicate an object, let's call it img "XXX", so I end up with > 2 objects called "XXX" (which is problematic), and I wish to > rename the new

name vs short name

2019-07-04 Thread Klaus major-k via use-livecode
Hi friends, this is on my mind for a very long time. put the name of img 1 -> image "xyz" put the short name of img 1 -> xyz However: set the short name of img 1 to "xyz2" -> compilation error, see below... We have to: set the name of img 1 to "xyz2" This does not seem logical at all to me!?

Re: Rename object

2019-07-04 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 04.07.2019 um 14:02 schrieb Richmond via use-livecode > : > > Thank you, Klaus, > > makes me feel even more stupid than I was feeling already. ;-) you are welcome! :-D > Richmond. Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de

Re: name vs short name

2019-07-04 Thread Klaus major-k via use-livecode
) is not allowed until now, but would make a lot of sense! So this would be an addition and nothing that might break older syntax. > On 7/4/2019 6:03 AM, Klaus major-k via use-livecode wrote: >> Hi friends, >> >> this is on my mind for a very long time. >> >> p

Re: Rename object

2019-07-04 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 04.07.2019 um 14:14 schrieb Richmond via use-livecode > : > > However . . . > > If I do this: > > onmouseUp > setthelockScreentotrue > setthemoveSpeedto65000 > putitem 1 ofthemouseLocintoML1 > putitem 2 ofthemouseLocintoML2 > moveimg "mill" toML1, ML2 > copyimg "mill" togroup

Re: name vs short name

2019-07-04 Thread Klaus major-k via use-livecode
> Am 04.07.2019 um 14:22 schrieb Klaus major-k via use-livecode > : > > Hi Paul, > >> Am 04.07.2019 um 14:12 schrieb Paul Dupuis via use-livecode >> : >> >> No it is not consistent, but some of the syntax was baked into Metacard long >> ago, &

Re: name vs short name

2019-07-04 Thread Klaus major-k via use-livecode
Hi all, > Am 04.07.2019 um 14:31 schrieb Sean Cole (Pi) via use-livecode > : > > Klaus, > > you are right! The dictionary entry is wrong. > > It would not make logical sense to be able to set the short name of > something just as it is not logical to set the long or abbreviated name of > it. H

Re: name vs short name

2019-07-05 Thread Klaus major-k via use-livecode
Hi Mark, > Am 05.07.2019 um 21:20 schrieb Mark Wieder via use-livecode > : > > On 7/5/19 10:17 AM, Bob Sneidar via use-livecode wrote: >> If you can set the name and you get the same effect, why try to set the >> short name? > > because... > logical but wrong: > set the name of button 1 to the

Re: name vs short name

2019-07-05 Thread Klaus major-k via use-livecode
> Am 05.07.2019 um 21:24 schrieb Klaus major-k via use-livecode > : > ... >> >> because... >> logical but wrong: >> set the name of button 1 to the name of button 2 >> logical but error: >> set the short name of button 1 to the short name of butto

Re: Best Practice with Player object to determine audio or video

2019-07-11 Thread Klaus major-k via use-livecode
Hi Paul, > Am 11.07.2019 um 21:02 schrieb Paul Dupuis via use-livecode > : > > the mediaTYpes property returns tracks (and the documentation doesn't say > whether the list is cr delimited or comma delimited, but that is a docs issue) > > Are you saying that for example if (the mediaTypes of pl

Re: Local files in browser widget

2019-07-12 Thread Klaus major-k via use-livecode
Hi Jaques, > Am 12.07.2019 um 20:43 schrieb J. Landman Gay via use-livecode > : > > On 7/12/19 9:10 AM, Devin Asay via use-livecode wrote: >> On Jul 11, 2019, at 9:34 PM, J. Landman Gay via use-livecode >> wrote: >>> >>> I think I asked this before but it isn't working now. I thought >>> spe

Re: Buttons and DragDrop

2019-07-31 Thread Klaus major-k via use-livecode
Hi Bob, > Am 31.07.2019 um 22:27 schrieb Bob Sneidar via use-livecode > : > > Spoke too soon. Tabbed buttons respond to dragEnter but not dragDrop. Why is > the dragDrop handler listed in the left pane as a possible handler then? > > Bob S just made a quick gtest with LC 9.5 on my Mac. These

"template" stack in custom property

2019-08-02 Thread Klaus major-k via use-livecode
Hi friends, I have done this a lot in the past, but currently got stuck with this in LC 9.5 I store a stack in a custom property and open it via script like: ... put "NewJob_" & the seconds into tName go invisible stack (the cTemplateStack of this stack) ## Works so far, the stack is in -> the ope

Re: "template" stack in custom property

2019-08-02 Thread Klaus major-k via use-livecode
Hi all, I found a workaround by creating two handlers and use them with a little dealy. > Am 02.08.2019 um 14:59 schrieb Klaus major-k via use-livecode > : > > Hi friends, > > I have done this a lot in the past, but currently got stuck with this in LC > 9.5 > I s

Re: "template" stack in custom property

2019-08-02 Thread Klaus major-k via use-livecode
Hi all, in case someone is interested. > Am 02.08.2019 um 16:00 schrieb Klaus major-k via use-livecode > : > > Hi all, > > I found a workaround by creating two handlers and use them with a little > dealy. > >> Am 02.08.2019 um 14:59 schrieb Klaus major-k vi

Re: "template" stack in custom property

2019-08-02 Thread Klaus major-k via use-livecode
Hi Jaque, > Am 02.08.2019 um 20:24 schrieb J. Landman Gay via use-livecode > : > ... > The "can't find handler" error, as well as not finding controls or cards, has > been around for a while but I see it more oftn in the last few versions of LC > 9. I haven't got a repeatable recipe yet so have

Re: "template" stack in custom property

2019-08-03 Thread Klaus major-k via use-livecode
Hi guys, > Am 03.08.2019 um 17:19 schrieb Paul Dupuis via use-livecode > : > On 8/2/2019 10:33 PM, ambassador--- via use-livecode wrote: >> What are the advantage of instantiating the new stack from data in a prop >> rather than by cloning a substack? > That was my question too. well the first

"copy files", specialfolderpath("resources") and missing files = SHOWSTOPPER

2019-08-09 Thread Klaus major-k via use-livecode
Hi friends, I am currently making an existing app "64Bit safe" for a customer with LC 9.5 on macOS 10.14.6. In this app there are some "compiled shell scripts" (? I guess, have no infor about this) which changes the keyboard layout (chinese and back) to german depending of the target fields i

Re: "copy files", specialfolderpath("resources") and missing files = SHOWSTOPPER

2019-08-09 Thread Klaus major-k via use-livecode
> specialfolderpath("engine") What is happening here and why does LC not copy everything to the RESOURCES folder? > Am 09.08.2019 um 15:22 schrieb Klaus major-k via use-livecode > : > > Hi friends, > > I am currently making an existing app "64Bit safe" for

Re: "copy files", specialfolderpath("resources") and missing files = SHOWSTOPPER

2019-08-10 Thread Klaus major-k via use-livecode
nd then moved on a second pass. That > would explain the presence of the empty folders. thank you, yes, I imagined something like this. But what does get moved and why, and what can I do to make my app run? > Thanks, > Brian > On Aug 9, 2019, 4:47 PM -0400, Klaus major-k via use-livec

Re: "copy files", specialfolderpath("resources") and missing files = SHOWSTOPPER

2019-08-10 Thread Klaus major-k via use-livecode
Hallo Hermann, > Am 10.08.2019 um 12:30 schrieb hh via use-livecode > : > >> Klaus M. wrote: >> and what can I do to make my app run? > > Did you already try to put the compiled things on startup > from custom props into the temporary folder? > I never had problems with running compiled shell s

Re: "copy files", specialfolderpath("resources") and missing files = SHOWSTOPPER

2019-08-10 Thread Klaus major-k via use-livecode
Hallo Hermann, > Am 10.08.2019 um 12:45 schrieb Klaus major-k via use-livecode > : > > Hallo Hermann, > >> Am 10.08.2019 um 12:30 schrieb hh via use-livecode >> : >> >>> Klaus M. wrote: >>> and what can I do to make my app run? >> >

Re: "copy files", specialfolderpath("resources") and missing files = SHOWSTOPPER

2019-08-10 Thread Klaus major-k via use-livecode
Hi Brian, > Am 10.08.2019 um 04:43 schrieb Brian Milby via use-livecode > : > > Some files are moved to a different location based on type. I can’t recall > the details and would need to look at the source. It is related to binary > code though. Stuff is copied first and then moved on a sec

Re: "copy files", specialfolderpath("resources") and missing files = SHOWSTOPPER

2019-08-10 Thread Klaus major-k via use-livecode
Hallo Hermann, > Am 10.08.2019 um 19:32 schrieb hh via use-livecode > : > >> Klaus M. wrote: >> yes, success, at least partly, now I get a SHELL error -> ... access denied >> Although I "chmod"ded that file to "777" (via the INFO window on my Mac), so >> everyone should be able to access it, bef

Re: "copy files", specialfolderpath("resources") and missing files = SHOWSTOPPER

2019-08-10 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 10.08.2019 um 19:56 schrieb hh via use-livecode > : > >> But does that mean that my previous "chmod" does not stick? > Yes, on every unix system. From security reasons. ah, thank you, didn't know this. > The Carbon question should better be answered by a team member. Hopefull

Re: "copy files", specialfolderpath("resources") and missing files = SHOWSTOPPER

2019-08-12 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 10.08.2019 um 19:32 schrieb hh via use-livecode > : > >> Klaus M. wrote: >> yes, success, at least partly, now I get a SHELL error -> ... access denied >> Although I "chmod"ded that file to "777" (via the INFO window on my Mac), so >> everyone should be able to access it, before

Re: Is this broken (set the cursor to watch)

2019-08-14 Thread Klaus major-k via use-livecode
Hi Rolf, > Am 14.08.2019 um 10:14 schrieb Rolf Kocherhans via use-livecode > : > Is it just me, or are all "set the cursor to xx“ broken ? > -> I use LC 9.5 on macOS same here, but this works for me: ... set cursor to hand lock cursor ... > Regards > Rolf Best Klaus -- Klaus Major https:

Re: This Web URL Stopped Working in LiveCode all versions. HELP!

2019-08-21 Thread Klaus major-k via use-livecode
Hi Ralph, > Am 21.08.2019 um 20:04 schrieb Ralph DiMola via use-livecode > : > > This URL suddenly stopped working in LC. I tried 6.7.11, 9.04 and 9.5 IDE > with same results. It returns garbage. I looks like some sort of encryption > problem? If you put this URL into a browser it returns the ex

Re: This Web URL Stopped Working in LiveCode all versions. HELP!

2019-08-21 Thread Klaus major-k via use-livecode
Hi Mark > Am 21.08.2019 um 20:11 schrieb Mark Wieder via use-livecode > : > On 8/21/19 11:04 AM, Ralph DiMola via use-livecode wrote: >> put url ("https://api.apixu.com/v1/current.json?&days=10&q=Bandon+OR+97411";) > > put decompress(url > ("https://api.apixu.com/v1/current.json?&days=10&q=Band

Re: Odd paste in 9.5

2019-09-11 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 11.09.2019 um 21:22 schrieb Richmond via use-livecode > : > > This seems very odd indeed . . . > > Macintosh 10.14.something-or-other > > When I copy-paste an image from one card to the next with the menu and a > mouse the image pastes correctly, > when I copy-paste with CMD

Re: Export Snapshot

2019-09-18 Thread Klaus major-k via use-livecode
Hi all, > Am 18.09.2019 um 15:38 schrieb Tom Glod via use-livecode > : > > are you sure it wasn't just dumping it into the "defaultfolder" wherever > that may be? and not specifically inside the app package? > > > On Wed, Sep 18, 2019 at 3:57 AM Richmond via use-livecode < > use-livecode@lists

Re: Print to PDF on Android?

2019-09-19 Thread Klaus major-k via use-livecode
Hi Dan, > Am 19.09.2019 um 18:39 schrieb Dan Friedman via use-livecode > : > > I can't seem to find a way to generate a PDF on Android. Is this really not > possible? no, unfortunately still not supported by LC. > Thanks! > -Dan Best Klaus -- Klaus Major https://www.major-k.de kl...@major

Re: Print to PDF on Android?

2019-09-19 Thread Klaus major-k via use-livecode
Hi all, > Am 19.09.2019 um 19:43 schrieb JJS via use-livecode > : > > You can't even print to paper, and i need that. > It's 2019 and Android 9/10 and it was already possible(not lc) in Android > 4.4.2 if not earlier. > Only direct solution now is recreate the app in Android Studio using Java o

Re: Guess encoding for text file...

2019-09-19 Thread Klaus major-k via use-livecode
> Am 19.09.2019 um 20:53 schrieb Dar Scott Consulting via use-livecode > : > > Yeah. I love the smell of burning bytes... ... in the morning. :-) > ... >> 'Cuz I don't even plan to use a loop if it ain't strictly called for >> What's that smell? Oh yeah, burning bytes. :) -- Klaus Major

Re: Access Resource Files

2019-09-20 Thread Klaus major-k via use-livecode
Hi JB, > Am 20.09.2019 um 10:34 schrieb JB via use-livecode > : > > Does anyone know of a way to access resource files > in the StandAlone .app bundle? > > Let’s say I want to include a jpg file in my .app bundle > & then copy that file to the desktop at various times. > > From what I understa

Re: Access Resource Files

2019-09-20 Thread Klaus major-k via use-livecode
Hi JB, > Am 20.09.2019 um 11:11 schrieb JB via use-livecode > : > > Hi Klaus, > > Thanks for the info! A file path alone does not work for me. > Here is what I have tried. > In the Stack Script; > global dirName > on openStack > put the defaultFolder into dirName > end openStack > —From a bu

Re: Access Resource Files

2019-09-20 Thread Klaus major-k via use-livecode
hat's wrong. Did you use my exact syntax? If not, please post your code. Did you create a standalone and added the pic via "Copy files"? > JB > > >> On Sep 20, 2019, at 2:30 AM, Klaus major-k via use-livecode >> wrote: >> >> Hi JB, >> >

Re: Access Resource Files

2019-09-20 Thread Klaus major-k via use-livecode
Hi JB, > Am 20.09.2019 um 11:54 schrieb JB via use-livecode > : > > I used your code as it was and changed the name of the file > to match your code. > > I did not use Copy files and added it on my own after it > was built. as I wrote: ... IF you copy your files to the correct folder inside

Re: Access Resource Files

2019-09-20 Thread Klaus major-k via use-livecode
Hi JB > Am 20.09.2019 um 12:10 schrieb JB via use-livecode > : > > Now this is interesting! > > I added the code snipped you just gave me and put > it above your other code. > > When I clicked the button it worked like a charm as > far as copying the file to the desktop. That is great! > > B

Re: Access Resource Files

2019-09-20 Thread Klaus major-k via use-livecode
> Am 20.09.2019 um 12:24 schrieb JB via use-livecode > : > > The MacOs folder is there and the file gets added > to it automatically. As for what version I am using > it is Revolution Enterprise 4.5.0. I needed to use > some things in the Enterprise version that are > only in a commercial ve

SFTP and Community version

2019-09-20 Thread Klaus major-k via use-livecode
Hi friends, unfortunately there is no entry/hint for SFTP in the dictionary. :-/ I know that tsNet does support SFTP in the commercial versions of LC, but does the scripted "liburl" in the community version of LC support SFTP, too? Best Klaus -- Klaus Major https://www.major-k.de kl...@major

Re: SFTP and Community version

2019-09-20 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 20.09.2019 um 14:14 schrieb hh via use-livecode > : > > No. > See line 568 to 574 of revliburl.livecodescript > (put "sftp protocol not supported in this version") ok, thank you for the confirmation! Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de __

Re: Access Resource Files

2019-09-20 Thread Klaus major-k via use-livecode
Hi JB, > Am 20.09.2019 um 19:31 schrieb JB via use-livecode > : > > Thank you for the info. > > I am using a earlier version and specialfolderpath("resources”) is not > available ah, yes, I saw that specialfolderpath() codes have been introduced in LC 1.1 but did no know that the RESOURCES fol

...and Livecode... where are we now?

2019-10-02 Thread Klaus major-k via use-livecode
Hi Panos, BTW, obviously LC 9.05 did not make it through the summer, right? 8-) Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubsc

Re: ...and Livecode... where are we now?

2019-10-02 Thread Klaus major-k via use-livecode
IRONY tags! 8-) > > On Wed, Oct 2, 2019 at 1:10 PM Klaus major-k via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Hi Panos, >> >> BTW, obviously LC 9.05 did not make it through the summer, right? 8-) Best

Re: De-Combine: stupid question number 4732

2019-10-09 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 09.10.2019 um 14:40 schrieb Richmond via use-livecode > : > > So: I have a socking-great multidimensional array that I display in a table > field by using > combine > as in: > combine myGUFF using return and tab > put myGUFF into field "completeGUFF" > but then I realise I wan

id3lib from Mark Smith -> id3_getPictureData

2019-10-12 Thread Klaus major-k via use-livecode
Hi all, I am currently looking at the "id3lib" of Mark Smith, works fine, however I cannot get the function "id3_getPictureData" to return usable data. I am using the function correctly, passing the correct parameter dfor the image TYPE, but it returns nothing I can use in an image object nor ex

Re: id3lib from Mark Smith -> id3_getPictureData

2019-10-12 Thread Klaus major-k via use-livecode
Hi Matthias, > Am 12.10.2019 um 17:52 schrieb Matthias Rebbe via use-livecode > : > > Hi Klaus, > > i´ve tried here with library version 1.0.2 and an mp3 file which contains > only 1 image. > I was able to read the picture data from the .mp3 and to store to a new file. aha, I have version 1.

Re: id3lib from Mark Smith -> id3_getPictureData

2019-10-12 Thread Klaus major-k via use-livecode
Hi Matthias, > Am 12.10.2019 um 17:52 schrieb Matthias Rebbe via use-livecode > : > > Hi Klaus, > > i´ve tried here with library version 1.0.2 and an mp3 file which contains > only 1 image. > I was able to read the picture data from the .mp3 and to store to a new file. yeah, that works, than

Re: Is there a command to display number of seconds as hrs:min:seconds?

2019-10-17 Thread Klaus major-k via use-livecode
Hi all, > Am 17.10.2019 um 02:41 schrieb Terry Judd via use-livecode > : > > Not built-in but... > > function formatRemainingTime pTime > put trunc(pTime/3600) into tHours > put pTime mod 3600 into tTimeX > put trunc(tTimeX/60) into tMins > put tTimeX mod 60 into tSecs > if tHours < 1

Re: Is there a command to display number of seconds as hrs:min:seconds?

2019-10-17 Thread Klaus major-k via use-livecode
Hi Mark, > Am 17.10.2019 um 12:21 schrieb Mark Waddingham via use-livecode > : > > On 2019-10-17 10:50, Klaus major-k via use-livecode wrote: >> save some lines by setting the numberformat first (lazy moi :-) >> ... > Save even more lines by using format, d

Re: Windows Command Line Silent Option

2019-10-23 Thread Klaus major-k via use-livecode
Hi Bob, > Am 23.10.2019 um 18:05 schrieb Bob Sneidar via use-livecode > : > > Hi all. > > Shell is great, but on Windows when a shell call is made it shows a command > window briefly. This has the effect of freaking end users right out of their > minds. For all they know, hackers are breakin

Re: Guaranteed crash to desktop!

2019-10-23 Thread Klaus major-k via use-livecode
Hi Bob, > Am 23.10.2019 um 22:26 schrieb Bob Sneidar via use-livecode > : > > Hi all. > > This is really obscure, but if you want to try it you can. On MacOS open > script editor, then copy the path to a file from the get info dialog. Paste > that part. It has little right arrow icons for th

past unformatted & inspector field "styled text"

2019-10-28 Thread Klaus major-k via use-livecode
Hi all, when I "paste unformatted"*** into the field "styled text" in the inspector for a field, nothing gets into that namely field in the end!? ***Via menu or shortcut As if I did not paste anything! Can someone please confirm this before I report this as a bug? Or is this an undocumented fe

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread Klaus major-k via use-livecode
Hi Craig, > Am 28.10.2019 um 18:01 schrieb dunbarx--- via use-livecode > : > > Klaus. > I get whatever I copied into that inspector field. But it retains the > formatting of the source. sure you did "past UNformatted"? > Craig > > > -Original Me

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread Klaus major-k via use-livecode
Hi Craig, > Am 28.10.2019 um 18:43 schrieb dunbarx--- via use-livecode > : > > Klaus. > Yes, from the menu. Works the same as CMD-V. > I get something each way. But it is NOT unformatted, each way. ??? That works here as advertized, no formatted text after using the shortcut or menu! Problem,

Re: past unformatted & inspector field "styled text"

2019-10-28 Thread Klaus major-k via use-livecode
heeesh... :-) > -Original Message----- > From: Klaus major-k via use-livecode > To: How to use LiveCode > Cc: Klaus major-k > Sent: Mon, Oct 28, 2019 1:51 pm > Subject: Re: past unformatted & inspector field "styled text" > > Hi Craig, > >> Am 28.

drag'n'drop in text fields

2019-10-28 Thread Klaus major-k via use-livecode
Hi all, quick question LC 9.5 on macOS 10.14.6: We can drag'n'drop text into textfields and this works without any scripting. We can also drag'n'drop one or more files into a textfield and the filepath appears in the field where we dropped the file(s). However there does not seem to be any m

Re: drag'n'drop in text fields

2019-10-28 Thread Klaus major-k via use-livecode
quot;1" into fldState end if if fldState > 0 then set the > textColor of fld "fff" to red end if end mouseWithin | sorry, Bulgaria: Zero points 8-) Definitvely NOT what I am after... > On 28.10.19 23:03, Klaus major-k via use-livecode wrote: >> Hi all, >> >

Re: drag'n'drop in text fields

2019-10-28 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 28.10.2019 um 22:15 schrieb hh via use-livecode > : > > on dragDrop > if "files" is among the keys of the dragData then >put line 1 of the dragData["files"] -- or whatever > end if > end dragDrop > > on dragEnter > set the dragAction to "copy" > end dragenter thank you,

Re: drag'n'drop in text fields

2019-10-28 Thread Klaus major-k via use-livecode
Hi Paul. > Am 28.10.2019 um 22:34 schrieb Paul Dupuis via use-livecode > : > ... >> >>> on dragDrop >>> if "files" is among the keys of the dragData then >>>put line 1 of the dragData["files"] -- or whatever >>> end if >>> end dragDrop >>> >>> on dragEnter >>> set the dragAction to "copy

Re: drag'n'drop in text fields

2019-10-28 Thread Klaus major-k via use-livecode
Hi Paul, > Am 28.10.2019 um 22:47 schrieb Paul Dupuis via use-livecode > : > > On 10/28/2019 5:40 PM, Klaus major-k via use-livecode wrote: >> Hi Paul. >> >>> It sounds like a bug that should be reported. If there is text in a field >>> (regar

Re: past unformatted & inspector field "styled text"

2019-10-29 Thread Klaus major-k via use-livecode
Hi all, > Am 28.10.2019 um 19:32 schrieb Klaus major-k via use-livecode > : > > Hi Craig, > >> Am 28.10.2019 um 19:24 schrieb dunbarx--- via use-livecode >> : >> >> Klaus. >> All works for me here. >> It is possible you have not placed a b

Re: drag'n'drop in text fields

2019-10-29 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 29.10.2019 um 00:55 schrieb hh via use-livecode > : > > Hi Klaus. > >>> I wrote: >>> on dragDrop >>> if "files" is among the keys of the dragData then >>>put line 1 of the dragData["files"] -- or whatever >>> end if >>> end dragDrop >>> >>> on dragEnter >>> set the drag

Re: drag'n'drop in text fields

2019-10-29 Thread Klaus major-k via use-livecode
Hallo Hermann, > Am 29.10.2019 um 13:32 schrieb hh via use-livecode > : > >> Klaus M. wrote: >> Yep, I meant without any "dragxxx" script. > Why do you fear "dragxxx"? ;-) I really don't! But if it works out-of-the box without any dragXXX scripting, I highly welcome this, lazy moi. :-) Be

Re: drag'n'drop in text fields

2019-10-29 Thread Klaus major-k via use-livecode
Hi Hermann, > Am 29.10.2019 um 13:41 schrieb hh via use-livecode > : > >>> I wrote: Why do you fear "dragxxx"? ;-) >> You wrote: I really don't! > > I really know. Was a 'language' joke, sorry. AHA! Now I get it (I think)! 8-) Well my first professional job as a musician (bass player) was a

Re: drag'n'drop in text fields

2019-10-29 Thread Klaus major-k via use-livecode
Hi Brian, > Am 29.10.2019 um 14:47 schrieb Brian Milby via use-livecode > : > > It looks like selectionChanged only reacts to explicit user events (mouse > click or cursor moved via keyboard navigation). If I select a chunk of text > in another app and drag it in, the same thing happens (it i

encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hi all, macOS 10.14.6, LC 9.5 I have a file created with BBEdit with this content: -- - äÄüÜöÖßßß --- Then I set the url of a browser widget to that file. All fine so far... Now I want to add some more text with

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
> Am 29.10.2019 um 18:24 schrieb Klaus major-k via use-livecode > : > > Hi all, > > macOS 10.14.6, LC 9.5 > > I have a file created with BBEdit with this content: > -- > > > - > > > äÄüÜöÖßßß > >

Re: drag'n'drop in text fields

2019-10-29 Thread Klaus major-k via use-livecode
Hi Brian, > Am 29.10.2019 um 18:34 schrieb Brian Milby via use-livecode > : > > In those cases the selection change is a side effect of something else. The > user isn’t changing the selection, the user is doing something else that > changes the selection. As this thread covered, the textchan

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hi Brian, > Am 29.10.2019 um 18:44 schrieb Brian Milby via use-livecode > : > > Binfile? tried that, no difference. The dictionary als uses just FILE in the examples. > Thanks, > Brian > On Oct 29, 2019, 1:33 PM -0400, Klaus major-k via use-livecode > , wrote: >>

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hallo Hermann, > Am 29.10.2019 um 19:14 schrieb hh via use-livecode > : > > Did you check the encoding of test.html > with BBEdit (should be Unicode (UTF-8))? yes, BBEdit shows "Unicode (UTF-8)" in the bottom bar. That is what's puzzling me... Best Klaus -- Klaus Major https://www.major-k.de

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hallo Hermann, > Am 29.10.2019 um 20:02 schrieb hh via use-livecode > : > > Just saw it now, overlooked that first: > > You script > put textencode(tTExt,"UTF8") into url ("file": ...) > > This should read > put textDecode(tTExt,"UTF8") into url ("file": ...) mhhh, when I have this in fld 1:

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
url("file:" & Kommunikations_ordner() & "kommunikation.html") ... Now loading that file again into the widget looks as exspected, pheeeewwww! :-) > Am 29.10.2019 um 19:44 schrieb Klaus major-k via use-livecode > : > > Hallo Hermann, > >> Am 29.10.2019 um 19

scroll browser widget via script?

2019-10-29 Thread Klaus major-k via use-livecode
Hi all, can we (v)scroll a browser widget via scipt? Did not find a clue/property in the dictionary. Best Klaus -- Klaus Major https://www.major-k.de kl...@major-k.de ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hello Hermann, > Am 29.10.2019 um 22:06 schrieb hh via use-livecode > : > > Hi Klaus, > > this is dangerous because the code could have "mixed" encodings > if you (or your partner) edits the code in texteditors with > different encoding settings. we both use the same stack, so no text editor i

Re: scroll browser widget via script?

2019-10-29 Thread Klaus major-k via use-livecode
Hello Hermann, > Am 29.10.2019 um 22:45 schrieb hh via use-livecode > : > >> Klaus M. wrote: >> can we (v)scroll a browser widget via script? > > Of course by setting anchors and jumping via URL to there. > But you don't mean that, so: > No. OK, thanks. > But we have a forum. From post "Scrol

Re: encoding woes!?

2019-10-29 Thread Klaus major-k via use-livecode
Hello Hermann, > Am 29.10.2019 um 23:01 schrieb hh via use-livecode > : > >>> Also LiveCode uses a BOM. If there is no UTF-8 BOM it uses >>> Mac OS Roman. That is what you see when you type into msg >>> put textEncode(the htmltext of widget "Browser", "UTF-8"). >> >> Which shows exactly the

Fun with the templateimage

2019-10-30 Thread Klaus major-k via use-livecode
Hi all, we know that "the templatexx" is a very helpful thingie. But I was really surprised that we can even EXPORT something from the templateimage until I tried this: - on mouseUp ## My good ol' banana, older users of MC might remember that

Re: cr, lf, and reading in terminals/vim

2019-10-30 Thread Klaus major-k via use-livecode
Hi Richard, > Am 30.10.2019 um 22:28 schrieb Dr. Hawkins via use-livecode > : > > I’ve tried every combination of cr, lf, and crlf, but whenever I assemble > into a file, I get something that neither the OSX terminal or vim recognizes > as having lf in it > > I build a set of commands in mrgC

Re: cr, lf, and reading in terminals/vim

2019-10-30 Thread Klaus major-k via use-livecode
Hi Richard, > Am 30.10.2019 um 22:55 schrieb Dr. Hawkins via use-livecode > : > > On Oct 30, 2019, at 2:42 PM, Matthias mentioned >> I am not sure, if this will help with your task, but if i want to avoid >> that the os replaces the line breaks with it´s default i am writing a binary >> file

Re: cr, lf, and reading in terminals/vim

2019-10-31 Thread Klaus major-k via use-livecode
Hi Ben, > Am 31.10.2019 um 16:16 schrieb Ben Rubinstein via use-livecode > : > >> My suggestion is to just bite the bullet and build LC where 'file' exports >> using LF on Mac > Oh please yes! > It's been 18 years since the Mac standardised on LF. (And AFAIK Metacard only > started supporting t

Re: Fun with the templateimage

2019-10-31 Thread Klaus major-k via use-livecode
Hi Bob, > Am 31.10.2019 um 16:00 schrieb Bob Sneidar via use-livecode > : > > Or better yet: -- No error checking, assumes parameters are correct. Also not > tested. :-) > > on exportScaledImage pSourceFile, pDestFile, pScaleFactor, pFormat > ... > switch pFormat > case "JPEG" >

Re: Fun with the templateimage

2019-10-31 Thread Klaus major-k via use-livecode
> Am 31.10.2019 um 18:04 schrieb Bob Sneidar via use-livecode > : > > When you call the command or when you save the script? when hitting ENTER in the script editor = compiling > Mine compiled. ??? I use LC 9.5 on macOS 10.14.6 > In any case I'll update it to use DO. > > Bob S > ... >>

Re: Fun with the templateimage

2019-10-31 Thread Klaus major-k via use-livecode
> Am 31.10.2019 um 18:22 schrieb Bob Sneidar via use-livecode > : > > BTW do you use strict variables? NEVER! :-) > Bob S > >> On Oct 31, 2019, at 10:20 , Bob Sneidar via use-livecode >> wrote: >> >> Me too. I just tested it and got a 50% scaled image as a JPEG file. Let me >> try sendi

Re: Fun with the templateimage

2019-10-31 Thread Klaus major-k via use-livecode
Hi all, > On Oct 31, 2019, at 10:01 , Klaus major-k via use-livecode > wrote: >> >> Hi Bob, >> >>> Am 31.10.2019 um 16:00 schrieb Bob Sneidar via use-livecode >>> : >>> >>> Or better yet: -- No error checking, assumes p

<    5   6   7   8   9   10   11   12   >