Re: iOS Profile Menu

2018-01-06 Thread Mike Kerner via use-livecode
Roger, These come from your apple developer profile. After you have created your various app identifiers and profiles, the easiest way to keep them up-to-date is from within xCode, but xCode tends to add extras, sometimes. Go into xCode, choose Preferences. Then pick the second tab, called

Re: text encoding problem Mac to iOS?

2018-01-06 Thread Klaus major-k via use-livecode
Hi Hermann > Am 06.01.2018 um 18:49 schrieb hh via use-livecode > : > > You use the clipboard with different objects. > These objects may have different default font settings and > different default text encodings. > And these default fonts may have different sets

DataGrid error

2018-01-06 Thread Andrew Bell via use-livecode
A published mobile app built using LC8.1.8 that suddenly stopped working. It retrieves info from a database and populates a few datagrids. I was able to use the Remote Debugger to pinpoint where the error is occurring (worth every penny of the upgraded license) and found this: 89,79,11

Re: iOS Profile Menu

2018-01-06 Thread Roger Guay via use-livecode
Thank you, Mike. I had done what you propose and just did it again (except mine gives only the “Download Manual Profiles”). To no avail! My LC seems to be stuck with 3 profiles from years ago, which I don’t see anywhere else I’ve looked, but I’m not sure where to even look for this?? BTW, I’m

Re: text encoding problem Mac to iOS?

2018-01-06 Thread Richmond Mathewson via use-livecode
set the unicodeText of fld "blahblah" to the unicodeText /of however you refer to a column in a datagrid/ ? On 6/1/2018 5:01 pm, Klaus major-k via use-livecode wrote: Hi friends, please take a look at this screenshot: left: IDE right: simulator

Re: text encoding problem Mac to iOS?

2018-01-06 Thread hh via use-livecode
Assuming you are on Mac you could try: lock the clipboard set the rawClipboardData["public.utf8-plain-text"] \ to textEncode("äöüÄÖÜß", "UTF-8" ) -- OSX unlock the clipboard ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: text encoding problem Mac to iOS?

2018-01-06 Thread Klaus major-k via use-livecode
Hi all, > Am 06.01.2018 um 17:22 schrieb hh via use-livecode > : > > Assuming you are on Mac you could try: > > lock the clipboard > set the rawClipboardData["public.utf8-plain-text"] \ > to textEncode("äöüÄÖÜß", "UTF-8" ) -- OSX > unlock the clipboard

Re: DataGrid error

2018-01-06 Thread Trevor DeVore via use-livecode
On Sat, Jan 6, 2018 at 10:02 AM Andrew Bell via use-livecode < use-livecode@lists.runrev.com> wrote: > A published mobile app built using LC8.1.8 that suddenly stopped > working. It retrieves info from a database and populates a few > datagrids. I was able to use the Remote Debugger to pinpoint

Re: text encoding problem Mac to iOS?

2018-01-06 Thread Klaus major-k via use-livecode
> Am 06.01.2018 um 18:57 schrieb Klaus major-k via use-livecode > : > > Hi Hermann > >> Am 06.01.2018 um 18:49 schrieb hh via use-livecode >> : >> >> You use the clipboard with different objects. >> These objects may have

Play WAV audio clips in iOS

2018-01-06 Thread Roger Guay via use-livecode
According to my research the Play command should work in iOS. But so far, no luck. I’ve imported (as controls) a few WAV sound files into my stack and I’m using the “play” command successfully in the IDE as well as Mac Standalones, but not iOS. What am I missing please? I can’t seem to find

Re: Visibility problem

2018-01-06 Thread AndyP via use-livecode
Don't you need to go to the stack after setting the visibility? go stack - Andy Piddock My software never has bugs. It just develops random features. TinyIDE a Free alternative minimalist IDE Plugin for LiveCode Script editor Themer for LC http://2108.co.uk PointandSee is a

text encoding problem Mac to iOS?

2018-01-06 Thread Klaus major-k via use-livecode
Hi friends, please take a look at this screenshot: left: IDE right: simulator Maybe someone can explain what I am doing wrong, if at all? Here is what I did: 1. I created a new stack (for iPhone 5) 2. I created an empty datagrid and entered some

Re: text encoding problem Mac to iOS?

2018-01-06 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 06.01.2018 um 17:14 schrieb Richmond Mathewson via use-livecode > : > > set the unicodeText of fld "blahblah" to the unicodeText /of however you > refer to a column in a datagrid/ "unicodetext" etc. have been deprecated since version 7.

Re: iOS Profile Menu

2018-01-06 Thread Roger Guay via use-livecode
Problem solved . . . I think. I got misdirected by instructions to go to Xcode’s Organizer window where in fact, I think that, one needs to go to the “Devices and Simulators” window. Alas that did not seem to provide adequate instruction for generating rofiles. I finally went to the Apple

Re: text encoding problem Mac to iOS?

2018-01-06 Thread hh via use-livecode
You use the clipboard with different objects. These objects may have different default font settings and different default text encodings. And these default fonts may have different sets of glyphs missing. Possibly you mave have also to encode the text that you paste. > lock the clipboard > set

Re: Play WAV audio clips in iOS

2018-01-06 Thread Randy Hengst via use-livecode
Hi Roger, WAV files do work on iOS. I use them regularly. I bring the wav files into the app using the Copy Files tab in the Standalone Applications Settings. Then when you call the sound with the play command making sure you’ve spelled the name exactly the way you’ve brought it into your

Re: text encoding problem Mac to iOS?

2018-01-06 Thread hh via use-livecode
If the font you are using (may be some default) in the IDE 1. is not available in the standalone/simulator or 2. available in the standalone/simulator but not identical (only same names) then in both cases the standalone uses a font (in case 1 a fallback) for the datagrid that has obviously

Re: Play WAV audio clips in iOS

2018-01-06 Thread Randy Hengst via use-livecode
The wav file is imported via the Copy File tab…the wav file is not a control. The path is then listed in the copy files window… for example: /Users/randyhengst/Desktop/iOS App SOUNDS and ICON folders/FingerGloveCounting ICONS/0.wav In this case, the name of my wav file is “0.wav” So in a

Re: text encoding problem Mac to iOS?

2018-01-06 Thread Richmond Mathewson via use-livecode
A datagrid is "a funny composite", and that might be where the secret lies. Richmond. On 6/1/2018 6:19 pm, Klaus major-k via use-livecode wrote: Hi Richmond, Am 06.01.2018 um 17:14 schrieb Richmond Mathewson via use-livecode : set the unicodeText of fld

Re: Mac 64 bit?

2018-01-06 Thread Graham Samuel via use-livecode
OK, I stopped using LC 9 in earlier versions because of instability. Richard, you remind me how long ago all that was… anyway since your email (below) I’ve switch to 9.0.0 DP11. Seems fine, although the Project Browser still seems to update itself in real time. (Just as an aside, I’m having

Re: use-livecode Digest, Vol 172, Issue 15

2018-01-06 Thread MWCM via use-livecode
> Looks like the FillInData handler in your row template script has an error > in it. Maybe some data isn?t what the script expects? Check line 79 and see > if there might be an error there. > > -- > Trevor DeVore > ScreenSteps >> Nailed it. I have a sub-routine that tries to use an image

Re: Play WAV audio clips in iOS

2018-01-06 Thread Roger Guay via use-livecode
Thanks Randy. I missed that! Is this done instead of Importing (them) As Controls, or in addition to Importing As Controls? Or is Importing As Controls useless? Thanks again, Roger > On Jan 6, 2018, at 10:18 AM, Randy Hengst via use-livecode > wrote: > > I

Re: Play WAV audio clips in iOS

2018-01-06 Thread Roger Guay via use-livecode
I really appreciate your patience with me, Randy, but, here is my question: Under the File menu of LiveCode, one is offered the option of "Importing As Control” -> “Audio File…” What’s Up with that and how is that related to your solution? Thanks, Roger > On Jan 6, 2018, at 11:12 AM, Randy

Re: text encoding problem Mac to iOS?

2018-01-06 Thread hh via use-livecode
I tested this as follows (what shows that all my presumptions are wrong): 1. Downloaded and installed in the IDE the default iOSFont SF from here ___https://developer.apple.com/fonts/ 2. Set the font SF Text Regular for both the field and the dataGrid header 3. Wrote Text (incl. umlauts) directly

Re: Local Image Paths in HTML for Browser Widget Fails

2018-01-06 Thread Mike Bonner via use-livecode
It may be easier if you hit the file directly.. Build up your path string to the html file and put it into a variable (including the file itself) Then rather than grabbing the contents of the file, first edit and hard code a relative path to your image in the file itself. Then load the file as

Re: iOS Profile Menu

2018-01-06 Thread Mike Kerner via use-livecode
Roger, It's preferences in XCode, not Organizer. As for your internal app id, it's just what you define so that when you do installs, etc. ios knows which app you're talking about. When the user does a download or an update, it knows which app. Apple recommends a reverse-whatever-its-called

Re: text encoding problem Mac to iOS?

2018-01-06 Thread Richmond Mathewson via use-livecode
Well, if it is any comfort at all, it looks OK on Mac OS 10.7.5. HOW did you paste the text into the Column header? as cannot find that in the props palette. Richmond. On 6/1/2018 7:57 pm, Klaus major-k via use-livecode wrote: Hi Hermann Am 06.01.2018 um 18:49 schrieb hh via use-livecode

Local Image Paths in HTML for Browser Widget Fails

2018-01-06 Thread Sannyasin Brahmanathaswami via use-livecode
I'm trying to send some local html to the browser widget to display a local loading GIF until the page "comes down" from the cloud. This needs to work on mobile too. the directory structure main app folder /assets /img /global-icons ajax_loader_big.gif"

Re: use-livecode Digest, Vol 172, Issue 15

2018-01-06 Thread Trevor DeVore via use-livecode
On Sat, Jan 6, 2018 at 2:20 PM MWCM via use-livecode < use-livecode@lists.runrev.com> wrote: > > > Looks like the FillInData handler in your row template script has an > error > > in it. Maybe some data isn?t what the script expects? Check line 79 and > see > > if there might be an error there. >

Re: iOS Profile Menu

2018-01-06 Thread Roger Guay via use-livecode
Thanks, Mike. I got it to work but it ain’t pretty!! If I ever get to the point of understanding this process, I’m going to build a tutorial stack with an interactive and linked process flowchart. I won’t hold my breath. Roger > On Jan 6, 2018, at 8:21 PM, Mike Kerner via use-livecode >

Re: iOS Profile Menu

2018-01-06 Thread Mike Kerner via use-livecode
Until Panos or someone else from the mother ship chimes in and corrects me... If memory serves me correctly, use the "download manual profiles" button. I believe that when you create apps and certs on the developer portal you have to download them manually using xcode (but maybe the act of logging

Re: The coming of SVG

2018-01-06 Thread J. Landman Gay via use-livecode
On 1/5/18 9:03 AM, Mark Waddingham via use-livecode wrote: Take a look in the dictionary under drawingSvgCompile(). I just read this and, not being very familiar with SVG formats, I'm confused. Is there a way to use this to provide a larger hit region around an SVG? -- Jacqueline Landman

Re: Play WAV audio clips in iOS

2018-01-06 Thread Randy Hengst via use-livecode
Yes, Tore, thank you for that from me too…now play audioClip does ring a bell. I must have used it at some point. But as I mentioned in an earlier response, now I only use Copy Files… I bet that became my practice when I began developing exclusively for iOS 8-ish years ago. randy > On Jan 6,

Re: iOS Profile Menu

2018-01-06 Thread Roger Guay via use-livecode
Thanks, Mike. I misspoke . . . What I meant to say was that Organizer in Xcode 9.1 has only Archives and Crashes. I had to go to Devices and Simulators under the Window menu to connect my iPad etc. Plus, on my setup, I see only "Download Manual Profiles” (emphasis on Manual) in my Accounts tab

Re: Local Image Paths in HTML for Browser Widget Fails

2018-01-06 Thread hh via use-livecode
Yet another option. 1. Put ONCE the loader into a custom property on mouseUp answer file "input your loader.gif" if it is empty then exit mouseUp put base64Encode(url("binfile:")) into ii replace linefeed with empty in ii set the loader of this card to compress(ii) end mouseUp -- this

Re: Play WAV audio clips in iOS

2018-01-06 Thread Randy Hengst via use-livecode
Hi Roger, Sorry, but I have no idea. I’ve only used wav files added via the Copy Files pane for sound. In fact, I can’t even say I remember seeing the audio file under import as control. randy - > On Jan 6, 2018, at 1:34 PM, Roger Guay via use-livecode >

Re: Play WAV audio clips in iOS

2018-01-06 Thread Roger Guay via use-livecode
Thank you Tore. That clears up a lot and makes good sense. Roger > On Jan 6, 2018, at 2:15 PM, Tore Nilsen via use-livecode > wrote: > > When you import an audio file into the stack as a control you need to use: > play audioClip "the name of your imported

Re: Play WAV audio clips in iOS

2018-01-06 Thread Roger Guay via use-livecode
Aha, the thought plickens! BTW, I was able to find all the numbers in your app, so I guess there’s hope? Thanks for your help. Roger > On Jan 6, 2018, at 1:49 PM, Randy Hengst via use-livecode > wrote: > > Hi Roger, > > Sorry, but I have no idea. I’ve only

Re: Play WAV audio clips in iOS

2018-01-06 Thread Tore Nilsen via use-livecode
When you import an audio file into the stack as a control you need to use: play audioClip "the name of your imported sound”, as the imported file becomes an audio clip. The dictionary is somewhat confusing when it comes to support for audio clips om mobile platforms. If you look at audioClip