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 
>  wrote:
> 
> 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 in
> to your developer account from xcode loads them - I don't remember off the
> top of my head).
> 
> On Sat, Jan 6, 2018 at 7:01 PM, Roger Guay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> 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 of Xcode Prefs.
>> 
>> Roger
>> 
>>> On Jan 6, 2018, at 10:41 AM, Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> 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 notation, e.g. com.roger.guay.myAwesomeGame.
>>> Note that it is case-sensitive.
>>> 
>>> 
>>> On Sat, Jan 6, 2018 at 11:53 AM, Roger Guay via use-livecode <
>>> use-livecode@lists.runrev.com> wrote:
>>> 
 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
 Portal and manually developed a profile. Not sure of the details yet,
>> and
 I’m left with the question of how one generates the "Internal App ID”
>> from
 Xcode. But, at least I’m up and running.
 
 Thanks to all,
 
 Roger
 
> On Jan 6, 2018, at 8:04 AM, Roger Guay via use-livecode <
 use-livecode@lists.runrev.com> wrote:
> 
> 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 using LC 8.1.8 and Xcode 9.1 and I do get the green indication
 in LC Prefs.
> 
> Thanks for your help,
> Roger
> 
> 
>> On Jan 6, 2018, at 5:07 AM, Mike Kerner via use-livecode <
 use-livecode@lists.runrev.com> wrote:
>> 
>> 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
>> "Accounts".  Log in using your AppleID, then hit "Download all
 profiles".
>> The next time you start LC, all your ios apps and profiles should
 appear.
>> 
>>> 
 Hi Folks,
 
 Once again, I’m trying to figure out the Apple maze for developing
>> on
>>> iOS.
 Fat chance, eh?
 
 Can someone please tell me where the items of the Profile menu in
>> the
 Standalone Application Settings come from? Nothing I do has any
 effect on
 that pulldown menu, and I’ve been messing with this for days!!!
 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
>>> 
>>> 
>>> 
>>> --
>>> On the first day, God created the heavens and the Earth
>>> On the second day, God created the oceans.
>>> On the third day, God put the animals on hold for a few hours,
>>>  and did a little diving.
>>> And God said, "This is good."
>>> ___
>>> use-livecode mailing list
>>> 

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 in
to your developer account from xcode loads them - I don't remember off the
top of my head).

On Sat, Jan 6, 2018 at 7:01 PM, Roger Guay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> 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 of Xcode Prefs.
>
> Roger
>
> > On Jan 6, 2018, at 10:41 AM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > 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 notation, e.g. com.roger.guay.myAwesomeGame.
> > Note that it is case-sensitive.
> >
> >
> > On Sat, Jan 6, 2018 at 11:53 AM, Roger Guay via use-livecode <
> > use-livecode@lists.runrev.com> wrote:
> >
> >> 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
> >> Portal and manually developed a profile. Not sure of the details yet,
> and
> >> I’m left with the question of how one generates the "Internal App ID”
> from
> >> Xcode. But, at least I’m up and running.
> >>
> >> Thanks to all,
> >>
> >> Roger
> >>
> >>> On Jan 6, 2018, at 8:04 AM, Roger Guay via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>>
> >>> 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 using LC 8.1.8 and Xcode 9.1 and I do get the green indication
> >> in LC Prefs.
> >>>
> >>> Thanks for your help,
> >>> Roger
> >>>
> >>>
>  On Jan 6, 2018, at 5:07 AM, Mike Kerner via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> 
>  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
>  "Accounts".  Log in using your AppleID, then hit "Download all
> >> profiles".
>  The next time you start LC, all your ios apps and profiles should
> >> appear.
> 
> >
> >> Hi Folks,
> >>
> >> Once again, I’m trying to figure out the Apple maze for developing
> on
> > iOS.
> >> Fat chance, eh?
> >>
> >> Can someone please tell me where the items of the Profile menu in
> the
> >> Standalone Application Settings come from? Nothing I do has any
> >> effect on
> >> that pulldown menu, and I’ve been messing with this for days!!!
> >>
> >>>
> >>> ___
> >>> use-livecode mailing list
> >>> use-livecode@lists.runrev.com
> >>> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >>> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >> ___
> >> use-livecode mailing list
> >> use-livecode@lists.runrev.com
> >> Please visit this url to subscribe, unsubscribe and manage your
> >> subscription preferences:
> >> http://lists.runrev.com/mailman/listinfo/use-livecode
> >>
> >
> >
> >
> > --
> > On the first day, God created the heavens and the Earth
> > On the second day, God created the oceans.
> > On the third day, God put the animals on hold for a few hours,
> >   and did a little diving.
> > And God said, "This is good."
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> 

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 of Xcode Prefs.

Roger

> On Jan 6, 2018, at 10:41 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> 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 notation, e.g. com.roger.guay.myAwesomeGame.
> Note that it is case-sensitive.
> 
> 
> On Sat, Jan 6, 2018 at 11:53 AM, Roger Guay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> 
>> 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
>> Portal and manually developed a profile. Not sure of the details yet, and
>> I’m left with the question of how one generates the "Internal App ID” from
>> Xcode. But, at least I’m up and running.
>> 
>> Thanks to all,
>> 
>> Roger
>> 
>>> On Jan 6, 2018, at 8:04 AM, Roger Guay via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>> 
>>> 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 using LC 8.1.8 and Xcode 9.1 and I do get the green indication
>> in LC Prefs.
>>> 
>>> Thanks for your help,
>>> Roger
>>> 
>>> 
 On Jan 6, 2018, at 5:07 AM, Mike Kerner via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
 
 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
 "Accounts".  Log in using your AppleID, then hit "Download all
>> profiles".
 The next time you start LC, all your ios apps and profiles should
>> appear.
 
> 
>> Hi Folks,
>> 
>> Once again, I’m trying to figure out the Apple maze for developing on
> iOS.
>> Fat chance, eh?
>> 
>> Can someone please tell me where the items of the Profile menu in the
>> Standalone Application Settings come from? Nothing I do has any
>> effect on
>> that pulldown menu, and I’ve been messing with this for days!!!
>> 
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> 
> 
> -- 
> On the first day, God created the heavens and the Earth
> On the second day, God created the oceans.
> On the third day, God put the animals on hold for a few hours,
>   and did a little diving.
> And God said, "This is good."
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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, 2018, at 4:29 PM, Roger Guay via use-livecode 
>  wrote:
> 
> 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 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 as 
>> object, the dictionary states that it is not supported on mobile platforms, 
>> but the messages deleteAudioClip and newAudioClip seems to be supported, as 
>> is the keyword templateAudioClip.
>> 
>> In my opinion it is always best to use external files for audio and video, 
>> and store them in a designated folder where you have write permissions. This 
>> makes it easier to update these resources without the need to update the 
>> whole application.
>> 
>> Regards 
>> Tore Nilsen
>> 
>>> 6. jan. 2018 kl. 20:34 skrev 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 Hengst via use-livecode 
  wrote:
 
 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 control you call the play command… for example:
 play specialFolderPath("engine") &"/"& “0.wav"
 
 I’ve used buttons, graphic objects, and images as the control.
 
 If you change the location of the wav file or the location of the 
 .livecode file you’re working after importing via the Copy Files tab, 
 you’ll need to change the path or the wav file won’t be found when 
 building your standalone.
 
 In case you’re interested, here is a link to one of my free iOS apps that 
 plays wav files via buttons:
 https://itunes.apple.com/us/app/number-id/id642054717?mt=8
 
 randy
 
> On Jan 6, 2018, at 12:45 PM, Roger Guay via use-livecode 
>  wrote:
> 
> 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 bring the wav files into the app using the Copy Files tab in the 
>> Standalone Applications Settings.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url 

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 Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/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 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 as 
> object, the dictionary states that it is not supported on mobile platforms, 
> but the messages deleteAudioClip and newAudioClip seems to be supported, as 
> is the keyword templateAudioClip.
> 
> In my opinion it is always best to use external files for audio and video, 
> and store them in a designated folder where you have write permissions. This 
> makes it easier to update these resources without the need to update the 
> whole application.
> 
> Regards 
> Tore Nilsen
> 
>> 6. jan. 2018 kl. 20:34 skrev 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 Hengst via use-livecode 
>>>  wrote:
>>> 
>>> 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 control you call the play command… for example:
>>> play specialFolderPath("engine") &"/"& “0.wav"
>>> 
>>> I’ve used buttons, graphic objects, and images as the control.
>>> 
>>> If you change the location of the wav file or the location of the .livecode 
>>> file you’re working after importing via the Copy Files tab, you’ll need to 
>>> change the path or the wav file won’t be found when building your 
>>> standalone.
>>> 
>>> In case you’re interested, here is a link to one of my free iOS apps that 
>>> plays wav files via buttons:
>>> https://itunes.apple.com/us/app/number-id/id642054717?mt=8
>>> 
>>> randy
>>> 
 On Jan 6, 2018, at 12:45 PM, Roger Guay via use-livecode 
  wrote:
 
 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 bring the wav files into the app using the Copy Files tab in the 
> Standalone Applications Settings.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 as object, the 
dictionary states that it is not supported on mobile platforms, but the 
messages deleteAudioClip and newAudioClip seems to be supported, as is the 
keyword templateAudioClip.

In my opinion it is always best to use external files for audio and video, and 
store them in a designated folder where you have write permissions. This makes 
it easier to update these resources without the need to update the whole 
application.

Regards 
Tore Nilsen

> 6. jan. 2018 kl. 20:34 skrev 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 Hengst via use-livecode 
>>  wrote:
>> 
>> 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 control you call the play command… for example:
>> play specialFolderPath("engine") &"/"& “0.wav"
>> 
>> I’ve used buttons, graphic objects, and images as the control.
>> 
>> If you change the location of the wav file or the location of the .livecode 
>> file you’re working after importing via the Copy Files tab, you’ll need to 
>> change the path or the wav file won’t be found when building your standalone.
>> 
>> In case you’re interested, here is a link to one of my free iOS apps that 
>> plays wav files via buttons:
>> https://itunes.apple.com/us/app/number-id/id642054717?mt=8
>> 
>> randy
>> 
>>> On Jan 6, 2018, at 12:45 PM, Roger Guay via use-livecode 
>>>  wrote:
>>> 
>>> 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 bring the wav files into the app using the Copy Files tab in the 
 Standalone Applications Settings.
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 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 
>>  wrote:
>> 
>> 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 Hengst via use-livecode 
>>>  wrote:
>>> 
>>> 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 control you call the play command… for example:
>>> play specialFolderPath("engine") &"/"& “0.wav"
>>> 
>>> I’ve used buttons, graphic objects, and images as the control.
>>> 
>>> If you change the location of the wav file or the location of the .livecode 
>>> file you’re working after importing via the Copy Files tab, you’ll need to 
>>> change the path or the wav file won’t be found when building your 
>>> standalone.
>>> 
>>> In case you’re interested, here is a link to one of my free iOS apps that 
>>> plays wav files via buttons:
>>> https://itunes.apple.com/us/app/number-id/id642054717?mt=8
>>> 
>>> randy
>>> 
 On Jan 6, 2018, at 12:45 PM, Roger Guay via use-livecode 
  wrote:
 
 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 bring the wav files into the app using the Copy Files tab in the 
> Standalone Applications Settings.
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your 
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 
>  wrote:
> 
> 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 Hengst via use-livecode 
>>  wrote:
>> 
>> 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 control you call the play command… for example:
>> play specialFolderPath("engine") &"/"& “0.wav"
>> 
>> I’ve used buttons, graphic objects, and images as the control.
>> 
>> If you change the location of the wav file or the location of the .livecode 
>> file you’re working after importing via the Copy Files tab, you’ll need to 
>> change the path or the wav file won’t be found when building your standalone.
>> 
>> In case you’re interested, here is a link to one of my free iOS apps that 
>> plays wav files via buttons:
>> https://itunes.apple.com/us/app/number-id/id642054717?mt=8
>> 
>> randy
>> 
>>> On Jan 6, 2018, at 12:45 PM, Roger Guay via use-livecode 
>>>  wrote:
>>> 
>>> 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 bring the wav files into the app using the Copy Files tab in the 
 Standalone Applications Settings.
>>> 
>>> ___
>>> use-livecode mailing list
>>> use-livecode@lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your 
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 has now at about the original size of the gif

2. Display the loader as follows.

on mouseUp
  set the htmltext of widget "browser" to \
""
end mouseUp
-- optionally add width and height attributes


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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.
> >
> > --
> > Trevor DeVore
> > ScreenSteps
> >>
>
> Nailed it. I have a sub-routine that tries to use an image thumbnail for
> each row and this new image had some weird naming issues so it didn’t load
> properly. I need to wrap a try statement around it and use a fallback.
> Thank you Trevor!
>
You’re welcome. Glad you found the problem.


--
Trevor DeVore
ScreenSteps
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 thumbnail for each 
row and this new image had some weird naming issues so it didn’t load properly. 
I need to wrap a try statement around it and use a fallback. Thank you Trevor!

-Andrew Bell

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 a url appearing like so..

"file:///path/to/your/html/file/myfile.html"

At this point the browser widget has a path location so any relative
addressing should work.


It doesn't work to relative reference when you set the htmltext unless you
give a proper frame of reference.  IE by setting the defaultfolder to the
location of the html file.  (I think it will work that way)  Otherwise the
browser widget has no frame of reference to locate things.

As far as why your line:
put path_Assets() & "img/global-icons/ajax_loader_big.gif" into imgPath
 and then pasting it in, isn't working..  Not sure, seems like it should
work.

After load is complete, have you looked at the htmltext of the widget to
see exactly what is showing up as the src in the img tag?

On Sat, Jan 6, 2018 at 12:45 PM, Sannyasin Brahmanathaswami via
use-livecode  wrote:

> 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"
>   /info
> web-loading.html
> views
>view_Browser.livecode # Card 1 has the browser widget…
>
> I have this in the preopenstack handler
>
> setWebURL
>
> command setWebURL
>put path_Assets() & "info/web-loading.html" into tLocalPath
>put url ("binfile://" & tLocalPath) into tLoader
>put path_Assets() & "img/global-icons/ajax_loader_big.gif" into
> imgPath
>replace "##IMAGE-PATH##" with imgPath in tLoader
>set the htmlText of widget "body" to tLoader   # html is set, but
> img not found
>put tLoader # let's see what we are getting..
> end setWebURL
>
> path_Assets() function returns the  specialFolderPath("resources") &
> "assets/"
>
> it is working for the html itself, but inside html both of these fail
>
> # full URL from "root"  which would translate correctly on mobile to the
> app package…
>
>  alt="ajax_loader_big">
>
> # I manually tried a relative path
>
> 
>  height="128" alt="ajax_loader_big">
> 
>
> The html is found because we see in the browser widget the broken image
> icon with the name "ajax_loader_big" so the path function works, html is
> set as expected, but the browser widget can't find the image locally.
>
> I can "proof" this locally by moving a copy of web-loading.html into the
> same folder as the stack..
> drag and drop onto a browser from that location, which is the same
> location as the stack with the browser widget…
>
> both of these work
>
> src="/Users/Brahmanathaswami/Documents/_Siva-Siva-App/
> assets/img/global-icons/ajax_loader_big.gif"
> src="../assets/img/global-icons/ajax_loader_big.gif"
>
> I could have sworn I had this working last year, but not today.  At that
> time we were working right in the same directory… so I tried this:
>
> views
>/img
>ajax_loader_big.gif
>view_Browser.livecode
>web-loading.html
>
> src="img/ajax_loader_big.gif"  in the html for the browser widget but it
> still can't find it
>
> What am I missing?  Why can't the browser widget find the image?
>
> BR
>
>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 into the field and directly into
___the contents of the header

So clipboard effects and different default font settings are excluded.

The effect remains exactly the same as you (Klaus) describe.
For me it is now clear that this is a bug of the datagrid.

p.s. Tested only in the simulator but the font is the same on real hardware.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 lots of trouble doing LC things on two monitors 
(bits of the IDE disappearing, stack windows being relocated off screen etc), 
but I think the recent LC8 series was much the same. I’ve put in a bug report, 
but I am worried that the whole issue may be particular to my setup so the 
mother ship won’t see anything wrong.)

Thanks for the advice

Graham

> On 5 Jan 2018, at 00:18, Richard Gaskin via use-livecode 
>  wrote:
> 
> Graham Samuel wrote:
> >>> I notice using LC 8.1.8 (the latest stable release AFAIK) that in
> >>> the Standalone Application Settings, building for Mac OS X is still
> >>> described as EXPERIMENTAL. Is this right? Has anyone experienced any
> >>> gotchas by using this type of build? In reality I don’t know what
> >>> OSX started to expect 64 bit apps, but it must have been a good few
> >>> iterations ago.
> ...
> > Then the mother ship should remove the word EXPERIMENTAL. I will raise
> > it in the quality database.
> 
> One more reason to use the most recent build during development:
> 
> In v9 you'll find that's already done: 64-bit is now the default, 
> "Experimental" has been removed, as "(Deprecated)" is now added next to 
> 32-bit.
> 
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> 
> ambassa...@fourthworld.comhttp://www.FourthWorld.com
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/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"
  /info
web-loading.html
views
   view_Browser.livecode # Card 1 has the browser widget…

I have this in the preopenstack handler

setWebURL

command setWebURL
   put path_Assets() & "info/web-loading.html" into tLocalPath
   put url ("binfile://" & tLocalPath) into tLoader
   put path_Assets() & "img/global-icons/ajax_loader_big.gif" into imgPath
   replace "##IMAGE-PATH##" with imgPath in tLoader
   set the htmlText of widget "body" to tLoader   # html is set, but img 
not found
   put tLoader # let's see what we are getting..
end setWebURL

path_Assets() function returns the  specialFolderPath("resources") & "assets/"

it is working for the html itself, but inside html both of these fail

# full URL from "root"  which would translate correctly on mobile to the app 
package…



# I manually tried a relative path





The html is found because we see in the browser widget the broken image icon 
with the name "ajax_loader_big" so the path function works, html is set as 
expected, but the browser widget can't find the image locally.

I can "proof" this locally by moving a copy of web-loading.html into the same 
folder as the stack..
drag and drop onto a browser from that location, which is the same location as 
the stack with the browser widget…

both of these work

src="/Users/Brahmanathaswami/Documents/_Siva-Siva-App/assets/img/global-icons/ajax_loader_big.gif"
src="../assets/img/global-icons/ajax_loader_big.gif"

I could have sworn I had this working last year, but not today.  At that time 
we were working right in the same directory… so I tried this:

views
   /img
   ajax_loader_big.gif
   view_Browser.livecode
   web-loading.html

src="img/ajax_loader_big.gif"  in the html for the browser widget but it still 
can't find it

What am I missing?  Why can't the browser widget find the image?

BR





___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 Hengst via use-livecode 
>  wrote:
> 
> 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 control you call the play command… for example:
> play specialFolderPath("engine") &"/"& “0.wav"
> 
> I’ve used buttons, graphic objects, and images as the control.
> 
> If you change the location of the wav file or the location of the .livecode 
> file you’re working after importing via the Copy Files tab, you’ll need to 
> change the path or the wav file won’t be found when building your standalone.
> 
> In case you’re interested, here is a link to one of my free iOS apps that 
> plays wav files via buttons:
> https://itunes.apple.com/us/app/number-id/id642054717?mt=8
> 
> randy
> 
>> On Jan 6, 2018, at 12:45 PM, Roger Guay via use-livecode 
>>  wrote:
>> 
>> 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 bring the wav files into the app using the Copy Files tab in the 
>>> Standalone Applications Settings.
>> 
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription 
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 
:

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 the rawClipboardData["public.utf8-plain-text"] \
  to textEncode("äöüÄÖÜß", "UTF-8" ) -- OSX
unlock the clipboard

not sure I can follow, I did the copy in the IDE!

No scripting, copying, pasting or anything else in the standalone,
it immediately looks like this way after the app started up in the simulator.

Am I really talking chinese (specivo Mandarin)? :-D

I uploaded the stack here if someone likes to take a look:



Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 "blahblah" to the unicodeText /of however you refer 
to a column in a datagrid/

"unicodetext" etc. have been deprecated since version 7.
Remember version 7: "Unicode, it just works!" :-D

But that is really not my problem I think!
These are just two FIELD object (field and LABEL of column), or not?
If yes, why the difference?


?

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

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 german umlauts
for the LABEL of the only column named "Col 1"
3. I created one field and copied/pasted that LABEL into the field
4. Saved the stack and run it in the simulator

5. I did NOT set any font for the stack, field and datagrid or any other prop!
6. But this is how it looks in the simulator and, as I was told, also on an 
actual devidce!?

I use LC 8.1.9 RC1 and Xcode 9.2, same with LC 9 DP11.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 control you call the play command… for example:
play specialFolderPath("engine") &"/"& “0.wav"

 I’ve used buttons, graphic objects, and images as the control.

If you change the location of the wav file or the location of the .livecode 
file you’re working after importing via the Copy Files tab, you’ll need to 
change the path or the wav file won’t be found when building your standalone.

In case you’re interested, here is a link to one of my free iOS apps that plays 
wav files via buttons:
https://itunes.apple.com/us/app/number-id/id642054717?mt=8

randy

> On Jan 6, 2018, at 12:45 PM, Roger Guay via use-livecode 
>  wrote:
> 
> 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 bring the wav files into the app using the Copy Files tab in the 
>> Standalone Applications Settings.
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 bring the wav files into the app using the Copy Files tab in the Standalone 
> Applications Settings.

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 notation, e.g. com.roger.guay.myAwesomeGame.
Note that it is case-sensitive.


On Sat, Jan 6, 2018 at 11:53 AM, Roger Guay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> 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
> Portal and manually developed a profile. Not sure of the details yet, and
> I’m left with the question of how one generates the "Internal App ID” from
> Xcode. But, at least I’m up and running.
>
> Thanks to all,
>
> Roger
>
> > On Jan 6, 2018, at 8:04 AM, Roger Guay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > 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 using LC 8.1.8 and Xcode 9.1 and I do get the green indication
> in LC Prefs.
> >
> > Thanks for your help,
> > Roger
> >
> >
> >> On Jan 6, 2018, at 5:07 AM, Mike Kerner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >>
> >> 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
> >> "Accounts".  Log in using your AppleID, then hit "Download all
> profiles".
> >> The next time you start LC, all your ios apps and profiles should
> appear.
> >>
> >>>
>  Hi Folks,
> 
>  Once again, I’m trying to figure out the Apple maze for developing on
> >>> iOS.
>  Fat chance, eh?
> 
>  Can someone please tell me where the items of the Profile menu in the
>  Standalone Application Settings come from? Nothing I do has any
> effect on
>  that pulldown menu, and I’ve been messing with this for days!!!
> 
> >
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 missing glyphs
[or the font in the datagrid is encoded differently from the font
in the IDE].

HTML5 deployment had for three years a fallback font with missing
glyphs (umlauts etc.). The font with same name displayed in the IDE
correctly.


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 app.

upper/lower case in the wav file name matters.

randy
-
> On Jan 6, 2018, at 12:06 PM, Roger Guay via use-livecode 
>  wrote:
> 
> 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 anything in the archives about 
> this.
> 
> Thanks,
> Roger
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 anything in the archives about 
this.

Thanks,
Roger
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 where the
> error is occurring (worth every penny of the upgraded license) and
> found this:
>
> 89,79,11
> 77,79,11
> 456,79,11
> 465,79,11
> 253,79,11
> 241,35,1,FillInData


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

>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 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 the rawClipboardData["public.utf8-plain-text"] \
>>> to textEncode("äöüÄÖÜß", "UTF-8" ) -- OSX
>>> unlock the clipboard
> 
> not sure I can follow, I did the copy in the IDE!

to be precise:
I copied the text of the label of the datagrid column from the appropriate 
field in the INSPECTOR
and pasted it into the appropriate field of the INSPECTOR for the field. IN THE 
IDE!


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 of glyphs missing.
> 
> Possibly you mave have also to encode the text that you paste.
> 
>> lock the clipboard
>> set the rawClipboardData["public.utf8-plain-text"] \
>>  to textEncode("äöüÄÖÜß", "UTF-8" ) -- OSX
>> unlock the clipboard

not sure I can follow, I did the copy in the IDE!

No scripting, copying, pasting or anything else in the standalone, 
it immediately looks like this way after the app started up in the simulator.

Am I really talking chinese (specivo Mandarin)? :-D

I uploaded the stack here if someone likes to take a look:



Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 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 this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 Portal and 
manually developed a profile. Not sure of the details yet, and I’m left with 
the question of how one generates the "Internal App ID” from Xcode. But, at 
least I’m up and running.

Thanks to all,

Roger

> On Jan 6, 2018, at 8:04 AM, Roger Guay via use-livecode 
>  wrote:
> 
> 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 using LC 8.1.8 and Xcode 9.1 and I do get the green indication in LC 
> Prefs.
> 
> Thanks for your help,
> Roger
> 
> 
>> On Jan 6, 2018, at 5:07 AM, Mike Kerner via use-livecode 
>>  wrote:
>> 
>> 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
>> "Accounts".  Log in using your AppleID, then hit "Download all profiles".
>> The next time you start LC, all your ios apps and profiles should appear.
>> 
>>> 
 Hi Folks,
 
 Once again, I’m trying to figure out the Apple maze for developing on
>>> iOS.
 Fat chance, eh?
 
 Can someone please tell me where the items of the Profile menu in the
 Standalone Application Settings come from? Nothing I do has any effect on
 that pulldown menu, and I’ve been messing with this for days!!!
 
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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

there is no scripting involved in my stack at all!

I saved the stack the way you can see in in the screenshot and in the sim it 
looks
like in the screenshot, with wrecked umlauts in the LABEL of the datagrid.

No scripting, no nothing actually :-/

I only set the language of the simulator to GERMAN, but this also happens 
when set to english/default.


Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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 this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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.
Remember version 7: "Unicode, it just works!" :-D

But that is really not my problem I think!
These are just two FIELD object (field and LABEL of column), or not?
If yes, why the difference?

> ?
> 
> 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
>> 
>> 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 german umlauts
>> for the LABEL of the only column named "Col 1"
>> 3. I created one field and copied/pasted that LABEL into the field
>> 4. Saved the stack and run it in the simulator
>> 
>> 5. I did NOT set any font for the stack, field and datagrid or any other 
>> prop!
>> 6. But this is how it looks in the simulator and, as I was told, also on an 
>> actual devidce!?
>> 
>> I use LC 8.1.9 RC1 and Xcode 9.2, same with LC 9 DP11.

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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

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 german umlauts
for the LABEL of the only column named "Col 1"
3. I created one field and copied/pasted that LABEL into the field
4. Saved the stack and run it in the simulator

5. I did NOT set any font for the stack, field and datagrid or any other prop!
6. But this is how it looks in the simulator and, as I was told, also on an 
actual devidce!?

I use LC 8.1.9 RC1 and Xcode 9.2, same with LC 9 DP11.

Thanks for any hints!


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 using LC 8.1.8 and Xcode 9.1 and I do get the green indication in LC 
Prefs.

Thanks for your help,
Roger


> On Jan 6, 2018, at 5:07 AM, Mike Kerner via use-livecode 
>  wrote:
> 
> 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
> "Accounts".  Log in using your AppleID, then hit "Download all profiles".
> The next time you start LC, all your ios apps and profiles should appear.
> 
>> 
>>> Hi Folks,
>>> 
>>> Once again, I’m trying to figure out the Apple maze for developing on
>> iOS.
>>> Fat chance, eh?
>>> 
>>> Can someone please tell me where the items of the Profile menu in the
>>> Standalone Application Settings come from? Nothing I do has any effect on
>>> that pulldown menu, and I’ve been messing with this for days!!!
>>> 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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
77,79,11
456,79,11
465,79,11
253,79,11
241,35,1,FillInData
353,0,0,button id 1024 of card id 1020 of stack "Data Grid Templates  
1463581868125" of stack  
"/Users/andrew/Library/Developer/CoreSimulator/Devices/A6595259-264B-47AD-A442-E3751D5B5E57/data/Containers/Bundle/Application/2AA2C84D-3833-4BE5-AC0D-7E6CCFB14081/Indiana On Tap.app/Indiana On  
Tap"

675,3169,1,FillInData
253,3169,1
253,3169,1
490,3169,1
253,3169,1
241,3099,1,_list.DrawControlsInRealTime
353,0,0,stack "RevDataGridLibraryBehaviorsDataGridButtonBehavior"
573,2895,1,_list.DrawControlsInRealTime
253,2895,1
241,2892,1,_list.DrawWithProperties
353,0,0,stack "RevDataGridLibraryBehaviorsDataGridButtonBehavior"
573,2584,1,_list.DrawWithProperties
587,2584,1
241,2578,1,_DrawListWithProperties
353,0,0,stack "RevDataGridLibraryBehaviorsDataGridButtonBehavior"
573,8201,1,_DrawListWithProperties
253,8201,1

I tried to insert some breakpoints (virtual and hard coded) before the  
script that set the dgText so I could figure out what the bad data was  
but they weren't getting triggered. Can anyone shed some light onto  
this error while I backtrack the changes made recently since this  
worked (yesterday).


--Andrew Bell


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 german umlauts 
for the LABEL of the only column named "Col 1"
3. I created one field and copied/pasted that LABEL into the field
4. Saved the stack and run it in the simulator

5. I did NOT set any font for the stack, field and datagrid or any other prop!
6. But this is how it looks in the simulator and, as I was told, also on an 
actual devidce!?

I use LC 8.1.9 RC1 and Xcode 9.2, same with LC 9 DP11.

Thanks for any hints!


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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 FREE simple but full featured under cursor colour picker / 
finder.
http://www.pointandsee.co.uk  - made with LiveCode
--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


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
"Accounts".  Log in using your AppleID, then hit "Download all profiles".
The next time you start LC, all your ios apps and profiles should appear.

On Sat, Jan 6, 2018 at 12:43 AM, Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Are you talking about Property Profiles on the General Tab? Also which
> version of LC?
>
> For that, see the “profile library” association in the dictionary
> (9.0DP11).
> On Fri, Jan 5, 2018 at 10:19 PM Roger Guay via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Hi Folks,
> >
> > Once again, I’m trying to figure out the Apple maze for developing on
> iOS.
> > Fat chance, eh?
> >
> > Can someone please tell me where the items of the Profile menu in the
> > Standalone Application Settings come from? Nothing I do has any effect on
> > that pulldown menu, and I’ve been messing with this for days!!!
> >
> >
> > TIA,
> > ROger
> > ___
> > use-livecode mailing list
> > use-livecode@lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode