Re: Trouble with Android Keystore alias/password

2018-11-09 Thread Sannyasin Brahmanathaswami via use-livecode
On 11/8/18 5:48 PM, J. Landman Gay via use-livecode wrote:
> Did you try to paste the password? It doesn't work, you have to type it 
> very slowly...one...letter...at...a...time. Pretend you never learned to 
> touch type.
>
> Who knows what it's doing in between keystrokes.
Ahh, ok

Perhaps it was "divine grace" because 9.02 RC 1, came out today

Hopefully ready for production -- of course, we cannot say that, (RC1)
but I need bug fixes in apps right away.

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: Trouble with Android Keystore alias/password

2018-11-08 Thread J. Landman Gay via use-livecode
Did you try to paste the password? It doesn't work, you have to type it 
very slowly...one...letter...at...a...time. Pretend you never learned to 
touch type.


Who knows what it's doing in between keystrokes.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
On November 8, 2018 8:33:39 PM Sannyasin Brahmanathaswami via use-livecode 
 wrote:



It been a long time since I built a standalone for Google Play.

In the SA settings panel I choose

Sign with My Key
-- browser for the ###.keystore  file
-- it loads fine

save the stack and build to standalone

Please provide alias for the keystore
   -- ## enter it -- I have it well documented

Please provide the keystore password
   -- ### enter it

Error:

There was an error while saving the
Standalone A

BRpplication
no password provided for keystore

-
Well, if I had given wrong alias I would expect a different message.
  "That is not an alias for this keystore"

Or, if I has given a wrong password, one would expect
   "The password is incorrect"

But instead it says no password provided?

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: Trouble with iOS Logos/No Appearing on Home Screen

2018-09-03 Thread panagiotis merakos via use-livecode
Hello Brahmanathaswami,

If you only see the default icon, then you might need to download Xcode's
additional components.

See https://quality.livecode.com/show_bug.cgi?id=21531

also, why would you check (uncheck) Prerendered choice?

This was needed for some older iOS versions (I think less than iOS 5), so
this option now is not needed anyway. We probably have to remove it from
the standalone settings.

Best,
Panos
--



On Sat, Sep 1, 2018 at 4:00 AM Sannyasin Brahmanathaswami via use-livecode <
use-livecode@lists.runrev.com> wrote:

> I have tried everything, the logos in the standalone maker are as they
> are supposed to be, according to SA. And so are my splash screen images.
>
> So I went to developer.apple.com
>
> And the HIG  for app icons (and splash screens) give a different set of
> sizes.
>
> So I downloaded "Icon Set  Creator" (free)  and it produced these. Which
> do in fact correspond to the current guide at developer.apple.com
>
> Note as an example,  SivaSiva logo...@2x.png corresponds with iPhone
> icon. That would be 58px , but the standalone maker wants a 57 size icon.
>
> SivaSiva Logo-1024.png
> SivaSiva Logo-20.png
> SivaSiva logo...@2x.png
> SivaSiva logo...@3x.png
> SivaSiva Logo-29.png
> SivaSiva logo...@2x.png
> SivaSiva logo...@3x.png
> SivaSiva Logo-40.png
> SivaSiva logo...@2x.png
> SivaSiva logo...@3x.png
> SivaSiva logo...@2x.png
> SivaSiva logo...@3x.png
> SivaSiva Logo-76.png
> SivaSiva logo...@2x.png
> SivaSiva logo-8...@2x.png
>
> 1.2.2 is ready for the app store, only this one problem!
>
> also, why would you check (uncheck) Prerendered choice?
>
> ??
>
>
> ___
> 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: Trouble getting Browser Widget to work on iOS

2018-07-25 Thread prothero--- via use-livecode
Ahh, that could be it. I have a scroller control that I use to adjust the size 
of the browser farms.

Thanks!
Bill

William Prothero
http://earthlearningsolutions.org

> On Jul 25, 2018, at 5:25 PM, Terry Judd via use-livecode 
>  wrote:
> 
> Hi Bill - I had similar problems last week. Assuming you have the browser 
> widget inclusion checked then the other thing to look for is whether there 
> are any mobile scrollers on the screen that overlap with the location of the 
> widget as they appear to interfere with it being rendered. If this is the 
> case (and you are effectively hiding and showing the browser) then set the 
> visible of the scroller to false when the browser is active and back to true 
> when you’re no longer using it.
> 
> HTH,
> 
> Terry
> 
> From: use-livecode  on behalf of 
> William Prothero via use-livecode 
> Reply-To: How to use LiveCode 
> Date: Thursday, 26 July 2018 10:13 am
> To: Use-livecode Use-livecode 
> Cc: William Prothero 
> Subject: Trouble getting Browser Widget to work on iOS
> 
> I’ve been having trouble getting the browser widget to work in ios. I’m in 
> livecode 9.0.0 Business edition. It works fine in the IDE, but won’t load on 
> the iPhone.
> 
> I’m wondering if I could have left out any required inclusions. No help in 
> the dictionary for that, tho. I’ve added everything that seems related to 
> internet access.
> 
> If anybody has any ideas on this, I’d appreciate it. I haven’t tried going 
> back tot he cef browser, but will unless somebody has a great idea of what I 
> could be missing.
> 
> Best,
> Bill
> 
> William A. Prothero
> http://earthlearningsolutions.org
> 
> ___
> 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: Trouble getting Browser Widget to work on iOS

2018-07-25 Thread Terry Judd via use-livecode
Hi Bill - I had similar problems last week. Assuming you have the browser 
widget inclusion checked then the other thing to look for is whether there are 
any mobile scrollers on the screen that overlap with the location of the widget 
as they appear to interfere with it being rendered. If this is the case (and 
you are effectively hiding and showing the browser) then set the visible of the 
scroller to false when the browser is active and back to true when you’re no 
longer using it.

HTH,

Terry

From: use-livecode  on behalf of William 
Prothero via use-livecode 
Reply-To: How to use LiveCode 
Date: Thursday, 26 July 2018 10:13 am
To: Use-livecode Use-livecode 
Cc: William Prothero 
Subject: Trouble getting Browser Widget to work on iOS

I’ve been having trouble getting the browser widget to work in ios. I’m in 
livecode 9.0.0 Business edition. It works fine in the IDE, but won’t load on 
the iPhone.

I’m wondering if I could have left out any required inclusions. No help in the 
dictionary for that, tho. I’ve added everything that seems related to internet 
access.

If anybody has any ideas on this, I’d appreciate it. I haven’t tried going back 
tot he cef browser, but will unless somebody has a great idea of what I could 
be missing.

Best,
Bill

William A. Prothero
http://earthlearningsolutions.org

___
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: Trouble with Building from g8.1.5 rc1 for Early Version iOS

2017-06-24 Thread Ralph DiMola via use-livecode
I sometimes get that error on the first build with any minimum version. 
Subsequent builds work OK until LC is restarted. Try setting it back to 6.1 and 
build, if it fails build again and it should be OK. This has been reported but 
is elusive.

Ralph DiMola
IT Director
Evergreen Information Services
rdim...@evergreeninfo.net


-Original Message-
From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of 
Sannyasin Brahmanathaswami via use-livecode
Sent: Saturday, June 24, 2017 4:52 PM
To: How LiveCode
Cc: Sannyasin Brahmanathaswami
Subject: Trouble with Building from g8.1.5 rc1 for Early Version iOS 

LC: 8.1.5 rc1
xCode: 8.3.3

I had the lowest version set to iOS 6.1

xCode balked and LC error repor dialog shows up, saying app build failed 
because all  these files/libs  (many lines in the SA dialog)  were for 10.3

OK so I went back into SA settings pick "10.3 or later"

and the build went thru

so the question is… how far back, i.e. what is the older version of iOS that 
*will* work with LC now?

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: Trouble playing videos with MS DirectShow LC 8

2017-03-08 Thread Klaus major-k via use-livecode

> Am 08.03.2017 um 14:12 schrieb Tiemo Hollmann TB via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Kommste vorbei, kriegste 'nen Heiermann

:-D :-D :-D

> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag 
> von Klaus major-k via use-livecode
> Gesendet: Mittwoch, 8. März 2017 11:55
> An: How to use LiveCode <use-livecode@lists.runrev.com>
> Cc: Klaus major-k <kl...@major-k.de>
> Betreff: Re: Trouble playing videos with MS DirectShow LC 8
> 
> Hi Tiemo,
> 
>> Am 08.03.2017 um 09:07 schrieb Tiemo Hollmann TB via use-livecode 
>> <use-livecode@lists.runrev.com>:
>> 
>> Hey Klaus,
>> 
>> you saved my YEAR!
> 
> OK, das macht dann fünf Mark! :-D
> 
>> As you mentioned "LAVFilters", I remembered that I also had installed 
>> the LAV Filters on my development machine long time ago (my brain gets 
>> old), et voila, that’s the difference between my machine and the others.
>> 
>> Installing the LAV Filters (just with the mp4 option) on the other 
>> machines now the mp4 videos also run within LiveCode. I think that’s 
>> too deep under the hood that I can understand it, but I have a solution for 
>> my customers.
>> 
>> I'll file it anyhow at the QC because it still keeps strange, why mp4 
>> videos can be played outside of LC, but not with LC.
> 
> You only need to report not fully understand it! ;-)
> 
>> Thanks a lot for fiddling around!
>> Tiemo
>> ...
>> WindowsMediaPlayer plays any MP4 fine, but nothing appears in the 
>> player of Livecode!?
>> So this is definitively a LC issue!
>> 
>> Then I downloaded and installed the latest LAVFilter codec package:
>> <https://github.com/Nevcairiel/LAVFilters/releases>
>> Et voila, I can play these MP4, which did not play before, in LC!? 
>> ...

Best aus Osnabrück

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: Trouble playing videos with MS DirectShow LC 8

2017-03-08 Thread Klaus major-k via use-livecode
Hi Tiemo,

> Am 08.03.2017 um 09:07 schrieb Tiemo Hollmann TB via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Hey Klaus,
> 
> you saved my YEAR!

OK, das macht dann fünf Mark! :-D

> As you mentioned "LAVFilters", I remembered that I also had installed the
> LAV Filters on my development machine long time ago (my brain gets old), et
> voila, that’s the difference between my machine and the others.
> 
> Installing the LAV Filters (just with the mp4 option) on the other machines
> now the mp4 videos also run within LiveCode. I think that’s too deep under
> the hood that I can understand it, but I have a solution for my customers.
> 
> I'll file it anyhow at the QC because it still keeps strange, why mp4 videos
> can be played outside of LC, but not with LC.

You only need to report not fully understand it! ;-)

> Thanks a lot for fiddling around!
> Tiemo
> 
> 
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
> von Klaus major-k via use-livecode
> Gesendet: Dienstag, 7. März 2017 19:14
> An: How to use LiveCode <use-livecode@lists.runrev.com>
> Cc: Klaus major-k <kl...@major-k.de>
> Betreff: Re: Trouble playing videos with MS DirectShow LC 8
> 
> Hi Tiemo,
> 
> just made a little test on my "stock" Win10 installation (Parallels on my
> Mac).
> 
> WindowsMediaPlayer plays any MP4 fine, but nothing appears in the player of
> Livecode!?
> So this is definitively a LC issue!
> 
> Then I downloaded and installed the latest LAVFilter codec package:
> <https://github.com/Nevcairiel/LAVFilters/releases>
> Et voila, I can play these MP4, which did not play before, in LC!? 
> Does not make any sense actually!?
> 
>> On 3/7/17 9:47 AM, Tiemo Hollmann TB via use-livecode wrote:
>>> Yes, it plays fine on my development machine by selecting it via a
> dialog, but not on the other machines.
>>> 
>>> Tiemo

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: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Klaus major-k via use-livecode
Additional info:
All my MP4s are created with Handbrake with the open source x264 (H.264) codec
and run even fine out of the box on my big LG flatscreen (driven by WebOS)!

> Am 07.03.2017 um 19:24 schrieb Klaus major-k via use-livecode 
> :
> 
> Hi Tiemo,
> 
> just made a little test on my "stock" Win10 installation (Parallels on my 
> Mac).
> 
> WindowsMediaPlayer plays any MP4 fine, but nothing appears in the player of 
> Livecode!?
> So this is definitively a LC issue!
> 
> Then I downloaded and installed the latest LAVFilter codec package:
> 
> Et voila, I can play these MP4, which did not play before, in LC!? 
> Does not make any sense actually!?
> 
>> On 3/7/17 9:47 AM, Tiemo Hollmann TB via use-livecode wrote:
>>> Yes, it plays fine on my development machine by selecting it via a dialog, 
>>> but not on the other machines.
>>> 
>>> Tiemo

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: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Klaus major-k via use-livecode
Hi Tiemo,

just made a little test on my "stock" Win10 installation (Parallels on my Mac).

WindowsMediaPlayer plays any MP4 fine, but nothing appears in the player of 
Livecode!?
So this is definitively a LC issue!

Then I downloaded and installed the latest LAVFilter codec package:

Et voila, I can play these MP4, which did not play before, in LC!? 
Does not make any sense actually!?

> On 3/7/17 9:47 AM, Tiemo Hollmann TB via use-livecode wrote:
>> Yes, it plays fine on my development machine by selecting it via a dialog, 
>> but not on the other machines.
>> 
>> Tiemo

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: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Klaus major-k via use-livecode
Hi Tiemo,

just made a little test on my "stock" Win10 installation (Parallels on my Mac).

WindowsMediaPlayer plays any MP4 fine, but nothing appears in the player of 
Livecode!?
So this is definitively a LC issue!

Then I downloaded and installed the latest LAVFilter codec package:

Et voila, I can play these MP4, which did not play before, in LC!? 
Does not make any sense actually!?

> On 3/7/17 9:47 AM, Tiemo Hollmann TB via use-livecode wrote:
>> Yes, it plays fine on my development machine by selecting it via a dialog, 
>> but not on the other machines.
>> 
>> Tiemo

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: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Bleiler, Timothy via use-livecode
I’m certainly no expert on video encoding but since you used the Intel QSV 
H.264 encoder I’m wondering if the Livecode implementation of DirectShow does 
not support that hardware based encoder. You might have better luck and broader 
compatibilty using something like the default encoder in Handbrake.

Tim Bleiler



On Mar 7, 2017, at 10:28 AM, Tiemo Hollmann TB via use-livecode 
> wrote:

Making some further tests, I discovered that there must be a relation to mp4
video files.
I tested the same standalone with an old avi file and that worked, but not
with some different mp4 files
But it can't be something in general, because the mp4 file can be played
fine with the same standalone on my W10 machine.
So I am still searching for an idea, what could be different on my machine
to "all" others.

Tiemo

___
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: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Bleiler, Timothy via use-livecode
Make sure your file references to the movie are relative and not absolute. I’ve 
made that mistake once or twice.

Tim Bleiler, Ph.D.
Instructional Designer, HSIT
University at Buffalo



> On Mar 7, 2017, at 7:07 AM, Tiemo Hollmann TB via use-livecode 
>  wrote:
> 
> Hello,
> 
> 
> 
> With LC 8.1.2 I changed the video standard in my programs from Quicktime to
> the new standard interface DirectShow on Windows. I recoded all videos to
> mp4 with Intel QSV H.264.
> 
> On my developing W10 machine everything works fine in the IDE and
> standalone. Now after release it looks like my developing machine is "the
> only one" which can play the new videos in my new LiveCode program.
> 
> On a W7, W8 and other W10 machine I get the error "could not create movie
> reference" when setting the filename of the player object.
> 
> Actually the DirectShow standard should be available from W7 to W10 and when
> just double clicking the video, it can be played on all those other machines
> with the standard video player, so it doesn't seem to be an codec issue. On
> the other hand something from the environment must be different on my
> developing machine.
> 
> I also tried to build a new standalone with LC 9.0 dp3, but testing the
> standalone it show the same issue.
> 
> 
> 
> Has anybody any idea, where to start searching?
> 
> What could be different on my developing machine as on all other machines?
> 
> Are there any known system requirements for using DirectShow? (which I have
> set unconsciously on my machine)
> 
> 
> 
> Thanks for any ideas
> 
> Tiemo
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> 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: Trouble setting the font of the text of a field

2016-08-12 Thread Bob Sneidar
Right. The text of a field does not have the textfont property. Think of it as 
plain text.

Bob S


On Aug 11, 2016, at 13:45 , Dr. Hawkins 
> wrote:

It did, it did!

I had been trying "char 1 to -1 of the text of tgTg", which I suppose gets
past the same way as "the text of" . . .

___
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: Trouble setting the font of the text of a field

2016-08-11 Thread Dr. Hawkins
On Thu, Aug 11, 2016 at 12:53 PM, Jeanne A. E. DeVoto <
revolut...@jaedworks.com> wrote:

>   set the textFont of char 1 to -1 of tgTg to empty
>
> That should work.
>

It did, it did!

I had been trying "char 1 to -1 of the text of tgTg", which I suppose gets
past the same way as "the text of" . . .

The irony here is that the ability to refer to fields with other variables
is the single biggest reason for me to be using a HyperCard  solution . . .
(it was the *only* way to do what I was doing [am doing] back in the 80s
short of a LISP variant and low-level programming of the fields on my
screen . . .)




-- 
Dr. Richard E. Hawkins, Esq.
(702) 508-8462
___
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: Trouble setting the font of the text of a field

2016-08-11 Thread Jeanne A. E. DeVoto

At 11:28 AM -0700 8/11/2016, Dr. Hawkins wrote:

This code has been around a while; it's part of the maintenance routines.
But now it's glitching.

[...]

 set the textFont of the text of tgTg to empty



"the text of tgTg" would be parsed as the text content of the field.

Try using this instead:

  set the textFont of char 1 to -1 of tgTg to empty

That should work.

___
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: Trouble setting the font of the text of a field

2016-08-11 Thread Peter Bogdanoff
I've had better results with:
set char 1 to -1 of the text of ...

> On Aug 11, 2016, at 11:28 AM, Dr. Hawkins  wrote:
> 
> This code has been around a while; it's part of the maintenance routines.
> But now it's glitching.
> 
> tgTg holds the long id of a field
> 
> Inside a conditional, the last line of the code
> 
> set the txtFnt of tgTg  to "ArialMt"
> ck tgTg & cr &  the long name of tgTg
> set the textFont of the text of tgTg to empty
> 
> 
> is giving the error
> 
> button "mkArialMt": execution error at line 8 (Chunk: error in object
> expression) near "sofa_dpadr_", char 30
> 
> 
> Maybe it just hasn't hit a field with the condition in a while, but isn't
> this the correct way to clear the text of a field?
> 
> sofa_dpadr_ is indeed the name of the field in question, and it has text in
> it.
> -- 
> Dr. Richard E. Hawkins, Esq.
> (702) 508-8462
> ___
> 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: Trouble with LiveCode Server on Ubuntu

2016-02-20 Thread Sannyasin Brahmanathaswami
 

On February 19, 2016 at 5:46:15 PM, Mike Bonner 
(bonnm...@gmail.com(mailto:bonnm...@gmail.com)) wrote:

> On Fri, Feb 19, 2016 at 8:44 
> PM(http://airmail.calendar/2016-02-19%2020:44:00%20HST), Mike Bonner wrote:  
>  
> try apt-get install libxext6  

Mike...  

Awesome.. that worked! Yay 

% root@hinduismtoday:~# apt-get install libxext6
Reading package lists... Done
[SNIP]

root@hinduismtoday:/home/htoday/cgi-bin# ./echo.lc  
Hello, Livecode Server is Up and Running
root@hinduismtoday:/home/htoday/cgi-bin# 

and from public_html

http://www.hinduismtoday.com/echo.lc

Thank you!








___
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: Trouble with LiveCode Server on Ubuntu

2016-02-19 Thread Mike Bonner
or just possibly libext  Don't have a system I can test on right now, but
one of those two should work.


On Fri, Feb 19, 2016 at 8:44 PM, Mike Bonner  wrote:

> try apt-get install libxext6
>
> On Fri, Feb 19, 2016 at 8:42 PM, Sannyasin Brahmanathaswami <
> bra...@hindu.org> wrote:
>
>>
>> Ok I tried regressing to 6.7.5
>>
>> but things got worse:
>>
>> root@hinduismtoday:/home/htoday/cgi-bin# ./echo.lc
>> -bash: ./echo.lc: /home/htoday/cgi-bin/livecode-community-server: bad
>> interpreter: No such file or directory
>> root@hinduismtoday:/home/htoday/cgi-bin# ldd livecode-community-server
>> not a dynamic executable
>> root@hinduismtoday:/home/htoday/cgi-bin# ldd ./livecode-community-server
>> not a dynamic executable
>> root@hinduismtoday:/home/htoday/cgi-bin#
>>
>> So then I went the other way: installed 80 DP14 linux 64
>>
>> now we get something new:
>>
>> % /home/htoday/cgi-bin# ./echo.lc
>> /home/htoday/cgi-bin/livecode-community-server: error while loading
>> shared libraries: libXext.so.6: cannot open shared object file: No such
>> file or directory
>>
>> ldd show one missing dependency.. apt-get install cannot find it.
>>
>> % /home/htoday/cgi-bin# apt-get install libXext.so.6
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> E: Unable to locate package libXext.so.6
>> E: Couldn't find any package by regex 'libXext.so.6'
>>
>>
>> /home/htoday/cgi-bin# ldd ./livecode-community-server
>> linux-vdso.so.1 =>  (0x7ffc5a7ee000)
>> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2
>> (0x7efe1ec8e000)
>> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
>> (0x7efe1ea7)
>> libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6
>> (0x7efe1e73a000)
>> libXext.so.6 => not found
>> librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1
>> (0x7efe1e532000)
>> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
>> (0x7efe1e22d000)
>> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7efe1df27000)
>> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
>> (0x7efe1dd11000)
>> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7efe1d94b000)
>> /lib64/ld-linux-x86-64.so.2 (0x55dc8d5d8000)
>> libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1
>> (0x7efe1d72c000)
>> libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6
>> (0x7efe1d527000)
>> libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
>> (0x7efe1d321000)
>>
>> That's it for today..
>>
>>
>> On February 19, 2016 at 5:17:19 PM, Sannyasin Brahmanathaswami (
>> bra...@hindu.org(mailto:bra...@hindu.org)) wrote:
>>
>> > I'll go ahead and try regressing on the HT server... since it is
>> running XOOPS/php and our very few LC cgi are failing but not the whole
>> site.. we can test without grave consequences.
>>
>> ___
>> 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: Trouble with LiveCode Server on Ubuntu

2016-02-19 Thread Mike Bonner
try apt-get install libxext6

On Fri, Feb 19, 2016 at 8:42 PM, Sannyasin Brahmanathaswami <
bra...@hindu.org> wrote:

>
> Ok I tried regressing to 6.7.5
>
> but things got worse:
>
> root@hinduismtoday:/home/htoday/cgi-bin# ./echo.lc
> -bash: ./echo.lc: /home/htoday/cgi-bin/livecode-community-server: bad
> interpreter: No such file or directory
> root@hinduismtoday:/home/htoday/cgi-bin# ldd livecode-community-server
> not a dynamic executable
> root@hinduismtoday:/home/htoday/cgi-bin# ldd ./livecode-community-server
> not a dynamic executable
> root@hinduismtoday:/home/htoday/cgi-bin#
>
> So then I went the other way: installed 80 DP14 linux 64
>
> now we get something new:
>
> % /home/htoday/cgi-bin# ./echo.lc
> /home/htoday/cgi-bin/livecode-community-server: error while loading shared
> libraries: libXext.so.6: cannot open shared object file: No such file or
> directory
>
> ldd show one missing dependency.. apt-get install cannot find it.
>
> % /home/htoday/cgi-bin# apt-get install libXext.so.6
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package libXext.so.6
> E: Couldn't find any package by regex 'libXext.so.6'
>
>
> /home/htoday/cgi-bin# ldd ./livecode-community-server
> linux-vdso.so.1 =>  (0x7ffc5a7ee000)
> libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7efe1ec8e000)
> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> (0x7efe1ea7)
> libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6
> (0x7efe1e73a000)
> libXext.so.6 => not found
> librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7efe1e532000)
> libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6
> (0x7efe1e22d000)
> libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7efe1df27000)
> libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1
> (0x7efe1dd11000)
> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7efe1d94b000)
> /lib64/ld-linux-x86-64.so.2 (0x55dc8d5d8000)
> libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1
> (0x7efe1d72c000)
> libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6
> (0x7efe1d527000)
> libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
> (0x7efe1d321000)
>
> That's it for today..
>
>
> On February 19, 2016 at 5:17:19 PM, Sannyasin Brahmanathaswami (
> bra...@hindu.org(mailto:bra...@hindu.org)) wrote:
>
> > I'll go ahead and try regressing on the HT server... since it is running
> XOOPS/php and our very few LC cgi are failing but not the whole site.. we
> can test without grave consequences.
>
> ___
> 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: Trouble with LiveCode Server on Ubuntu

2016-02-19 Thread Sannyasin Brahmanathaswami
 
Ok I tried regressing to 6.7.5

but things got worse:  

root@hinduismtoday:/home/htoday/cgi-bin# ./echo.lc  
-bash: ./echo.lc: /home/htoday/cgi-bin/livecode-community-server: bad 
interpreter: No such file or directory
root@hinduismtoday:/home/htoday/cgi-bin# ldd livecode-community-server
not a dynamic executable
root@hinduismtoday:/home/htoday/cgi-bin# ldd ./livecode-community-server
not a dynamic executable
root@hinduismtoday:/home/htoday/cgi-bin#

So then I went the other way: installed 80 DP14 linux 64

now we get something new:

% /home/htoday/cgi-bin# ./echo.lc
/home/htoday/cgi-bin/livecode-community-server: error while loading shared 
libraries: libXext.so.6: cannot open shared object file: No such file or 
directory

ldd show one missing dependency.. apt-get install cannot find it.

% /home/htoday/cgi-bin# apt-get install libXext.so.6
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libXext.so.6
E: Couldn't find any package by regex 'libXext.so.6'
 

/home/htoday/cgi-bin# ldd ./livecode-community-server
linux-vdso.so.1 =>  (0x7ffc5a7ee000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7efe1ec8e000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x7efe1ea7)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 
(0x7efe1e73a000)
libXext.so.6 => not found
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7efe1e532000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x7efe1e22d000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7efe1df27000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x7efe1dd11000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7efe1d94b000)
/lib64/ld-linux-x86-64.so.2 (0x55dc8d5d8000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 
(0x7efe1d72c000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 
(0x7efe1d527000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 
(0x7efe1d321000)

That's it for today.. 


On February 19, 2016 at 5:17:19 PM, Sannyasin Brahmanathaswami 
(bra...@hindu.org(mailto:bra...@hindu.org)) wrote:

> I'll go ahead and try regressing on the HT server... since it is running 
> XOOPS/php and our very few LC cgi are failing but not the whole site.. we can 
> test without grave consequences.  

___
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: Trouble with LiveCode Server on Ubuntu

2016-02-19 Thread Sannyasin Brahmanathaswami
 
OK, successfully upgraded the Hinduism Today server to

Linux 4.4.0-x86_64-linode63 on x86_64

so now we have Ubuntu OS parity now between the two instances

on the one where LC works, where I think I have an old version of LC server 
6.7.5

we get:

/home/himalayan/cgi-bin# ldd ./livecode-community-server
linux-gate.so.1 => (0xf771d000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf7708000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf76c2000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76a5000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7688000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf74da000)
/lib/ld-linux.so.2 (0x56639000)

is this a 32 bit version?  


On the Hinduism Today server I installed LC server: 7.1.2 RC3 , Linux 64 and we 
are still getting failure  

[2016-02-19 19:01:52]: uid: (1000/htoday) gid: (1000/htoday) cmd: echo.lc  
[2016-02-19 19:01:52]: (2)No such file or directory: exec failed (echo.lc)

and the ldd returns a vastly different set of data for LC server 7.1.2 RC 3 
server (Linux 64)  

/home/htoday/cgi-bin# ldd ./livecode-community-server  
linux-vdso.so.1 => (0x7fff3f9e3000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f67f0a56000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f67f0838000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x7f67f0502000)
libXext.so.6 => not found
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7f67f02fa000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x7f67efff5000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f67efcef000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7f67efad9000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f67ef713000)
/lib64/ld-linux-x86-64.so.2 (0x5595f0c8)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x7f67ef4f4000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x7f67ef2ef000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x7f67ef0e9000)

So.. I am out of my depth now... should I regress to an earlier version of LC 
Server? I don't want to move up to a new version of LC server on the Himalayan 
site if it is going to fail there... 

I'll go ahead and try regressing on the HT server... since it is running 
XOOPS/php  and our very few LC cgi are failing but not the whole site.. we can 
test without grave consequences.

Actually this is good this is happening because had I upgraded our main 
RevIgniter site it would have died!



On February 19, 2016 at 4:38:46 PM, Richard wrote:

> If that's the case just dropping in the 64-bit LC should do it.  
>  
> If not we'll have to dig deeper, perhaps running LC from the command  
> line with ldd, e.g.:  
>  
> ldd ./livecode-community-server  
___
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: Trouble with LiveCode Server on Ubuntu

2016-02-19 Thread Sannyasin Brahmanathaswami
Ahh... I had already tried the latest 7.2.1 64 LiveCode

but I just discovered that the server/instance where it *does* work we have

Kernel and CPU

where as on Hinduism Today site we have the 4.1.5- version of linux

so let me see if I can get the OS upgraded without bringing down the server 
first.  Linux 4.4.0-x86_64-linode63 on x86_64




BR


On February 19, 2016 at 1:02:38 PM, Sannyasin Brahmanathaswami 
(bra...@hindu.org) wrote:

Sannyasin Brahmanathaswami wrote:
> My sys stats say:
> Operating system Ubuntu Linux 14.04.1
> Webmin version 1.780 Virtualmin version 4.16.gpl
> Time on system  Fri Feb 19 
> 14:57:14 
> 2016 Kernel and CPU Linux 
> 4.1.5-x86_64-linode61 on x86_64
>
> but I can certainly give the 32-bit version of LC server a go...

Maybe your setup is the other way around: could it be that you have a
32-bit LC engine there now without the required 32-bit multiarch packages?

If that's the case just dropping in the 64-bit LC should do it.

If not we'll have to dig deeper, perhaps running LC from the command
line with ldd, e.g.:

ldd ./livecode-community-server

--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
___
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: Trouble with LiveCode Server on Ubuntu

2016-02-19 Thread Richard Gaskin

Sannyasin Brahmanathaswami wrote:

My sys stats say:
Operating systemUbuntu Linux 14.04.1
Webmin version  1.780   Virtualmin version  4.16.gpl
Time on system  Fri Feb 19 14:57:14 2016  
Kernel and CPU  Linux 4.1.5-x86_64-linode61 on x86_64

but I can certainly give the 32-bit version of LC server a go...


Maybe your setup is the other way around:  could it be that you have a 
32-bit LC engine there now without the required 32-bit multiarch packages?


If that's the case just dropping in the 64-bit LC should do it.

If not we'll have to dig deeper, perhaps running LC from the command 
line with ldd, e.g.:


  ldd ./livecode-community-server

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


Re: Trouble with LiveCode Server on Ubuntu

2016-02-19 Thread Sannyasin Brahmanathaswami
My sys stats say:
Operating systemUbuntu Linux 14.04.1
Webmin version  1.780   Virtualmin version  4.16.gpl
Time on system  Fri Feb 19 14:57:14 2016  
Kernel and CPU  Linux 4.1.5-x86_64-linode61 on x86_64

but I can certainly give the 32-bit version of LC server a go...


On February 19, 2016 at 12:46:58 PM, Richard Gaskin 
(ambassa...@fourthworld.com) wrote:

. Just dropped in the 32-bit LC and it
worked great.
___
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: Trouble with LiveCode Server on Ubuntu

2016-02-19 Thread Richard Gaskin
I saw the "(2)No such file or directory" error on one of my VPSes 
yesterday.  Mystified me, since I know the file is there.


Looking into it further it turns out that error can happen with 
executables when the executable is 64-bit on a 32-bit system.  I had 
installed the 64-bit LC Server engine, but had forgotten that I'd set up 
that VPS with a 32-bit Ubuntu.  Just dropped in the 32-bit LC and it 
worked great.


Hopefully your resolution will be as simple.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


Sannyasin Brahmanathaswami wrote:


We have two Linode Cloud servers. Both have almost the exact same Ubuntu 14.04 
configuration.

But on one of them I cannot get LiveCode server to "fire"

the layout is correct and exact match for the server that is working. 
Permssions are all set properly to 755 and the owner and group are correct.

/cgi-bin
drivers
externals
livecode-community-server
echo.lc

the latter CGI is very simple

#!/home/htoday/cgi-bin/livecode-community-server
put the keys of $_SERVER into tCGIVars

repeat for each line x in tCGIVars
put x & ": " & $_SERVER[x] & ("
"& cr) after tGlobals
end repeat

put "Hello, Livecode Server is Up and Running" & "
" & tGlobals


but we get this in the suexec log:

[2016-02-19 14:01:51]: uid: (1000/htoday) gid: (1000/htoday) cmd: echo.lc
[2016-02-19 14:01:51]: (2)No such file or directory: exec failed (echo.lc)

 A small bin/sh cgi is working

http://www.hinduismtoday.com/cgi-bin/test-sh.cgi

%
#!/bin/sh
# make Apache happy with the right html content tags
echo "Content-Type: text/plain"
echo ""

echo "testing bin/sh"

So there is nothing wrong with sudoers and user ID for and httpd.conf is set up 
correctly or the sh cgi would also fail.

and of course using this in /public_html/.htaccess

AddHandler livecode-script .lc
Action livecode-script /cgi-bin/livecode-community-server

and a simple .lc file in public_html  gets us the same result



___
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: Trouble writing file to server

2015-05-09 Thread Mark Schonewille

Hi Bill,

0777 is for all users who have access to the computer including guests. 
This includes e.g. people who log in over FTP or SSH. However, without 
logging in first, you can't have access to a computer.


Some server accept the put command over http, but many don't. Servers 
that accept it, will still need some credentials, even if it is only 
guest:guest.


More common are FTP commands or POST and GET commands using the http 
protocol. For a file, you may want to use a multipart POST command, but 
you will need to handle the POST in a PHP or OnRev script.


FTP is really simple:

put ftp://user:passw...@ftp.server.com/www/path/file.xyz; into myURL

Because it is very simple, it is also slightly insecure.

If you let me know how you want to proceed, I can help.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book Programming LiveCode for the Real Beginner 
http://qery.us/3fi


LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 5/9/2015 21:50, William Prothero wrote:

Folks:
I can read a simple text file from my server, but can’t write to the server. My 
code is:

on getTestData
put http://waterdetective.earthednet.org/rawmeterdata/testdata; into xURL
put URL xURL into myTestData  --This works.
put “http://waterdetective.earthednet.org/rawmeterdata/mycrap; into xURL
put mycrapstuff into URL( xURL)
end getTestData

I get the testdata file ok. I wrote it using another program. But, I can’t get 
it to write to the file “mycrap”

The directory has permission 0777, so everybody should be able to write to it.
Or, is there some kind of permission and login thing I need to do first.

Aren’t there any error messages returned if the write fails?

Bill

William A. Prothero
http://es.earthednet.org/

___
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: Trouble with Android

2013-04-17 Thread Thomas McGrath III
Turns out there is a bug with the Simulator for 2.2 with Livecode. So using 
2.3.3 the sample app works in that simulator.

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On Apr 16, 2013, at 9:38 PM, Thomas McGrath III mcgra...@mac.com wrote:

 Just downloaded the Android SDK linked from the lesson at 
 http://lessons.runrev.com/s/lessons/m/4069/l/27389-how-do-i-become-an-android-developer-on-a-mac
  and built a simple test stack with one button. Test in Android and nothing 
 but a black screen. This is a new stack with one card and no scripts 
 whatsoever.
 
 Livecode 5.5.4 and Android SDK Platform Android 2.2, API 8, revision 3
 
 on OSX Mountain Lion 10.8.3
 
 Tom
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 mcgra...@mac.com
 
 On Mar 16, 2013, at 1:13 AM, J. Landman Gay jac...@hyperactivesw.com wrote:
 
 On 3/15/13 3:08 PM, Ben Rubinstein wrote:
 Hmm... attempting to do some very simple trial stacks on Android, after
 not having done any for a long time - having fought my way through a few
 strangeness with regards to expired debug certificates and the like, I
 now find that all my stacks - built with 5.5.3 or above - simply display
 black, on two different test devices.
 
 An older version of one of the stacks, an APK I happen to have lying
 around my hard drive that was built about 14 months ago, can be
 re-installed and works fine.
 
 As mentioned, using acceleratedRendering on an Android device running OS 2.2 
 or earlier will launch to a black screen if you use the defaults. If you set 
 the compositorType to software it works, but I got some unwanted artifacts 
 when I did that. As far as I know it hasn't been fixed yet, so I had to 
 require Android 2.3 or higher.
 
 Another thing is incompatibility with 4.1 Jelly Bean. I had to rebuild with 
 5.5.4 to fix that. Earlier versions of LiveCode apps opened to a black 
 screen on Jelly Bean.
 
 -- 
 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
 
 
 ___
 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: Trouble with Android

2013-04-16 Thread Thomas McGrath III
Just downloaded the Android SDK linked from the lesson at 
http://lessons.runrev.com/s/lessons/m/4069/l/27389-how-do-i-become-an-android-developer-on-a-mac
 and built a simple test stack with one button. Test in Android and nothing but 
a black screen. This is a new stack with one card and no scripts whatsoever.

Livecode 5.5.4 and Android SDK Platform Android 2.2, API 8, revision 3

on OSX Mountain Lion 10.8.3

Tom


-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On Mar 16, 2013, at 1:13 AM, J. Landman Gay jac...@hyperactivesw.com wrote:

 On 3/15/13 3:08 PM, Ben Rubinstein wrote:
 Hmm... attempting to do some very simple trial stacks on Android, after
 not having done any for a long time - having fought my way through a few
 strangeness with regards to expired debug certificates and the like, I
 now find that all my stacks - built with 5.5.3 or above - simply display
 black, on two different test devices.
 
 An older version of one of the stacks, an APK I happen to have lying
 around my hard drive that was built about 14 months ago, can be
 re-installed and works fine.
 
 As mentioned, using acceleratedRendering on an Android device running OS 2.2 
 or earlier will launch to a black screen if you use the defaults. If you set 
 the compositorType to software it works, but I got some unwanted artifacts 
 when I did that. As far as I know it hasn't been fixed yet, so I had to 
 require Android 2.3 or higher.
 
 Another thing is incompatibility with 4.1 Jelly Bean. I had to rebuild with 
 5.5.4 to fix that. Earlier versions of LiveCode apps opened to a black screen 
 on Jelly Bean.
 
 -- 
 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


___
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: Trouble with Android

2013-04-16 Thread Thomas McGrath III
Ben,

Where did you get the Orientation Stack from? I'd like to test it as well.

Thanks

Tom

-- Tom McGrath III
http://lazyriver.on-rev.com
mcgra...@mac.com

On Mar 16, 2013, at 1:13 AM, J. Landman Gay jac...@hyperactivesw.com wrote:

 On 3/15/13 3:08 PM, Ben Rubinstein wrote:
 Hmm... attempting to do some very simple trial stacks on Android, after
 not having done any for a long time - having fought my way through a few
 strangeness with regards to expired debug certificates and the like, I
 now find that all my stacks - built with 5.5.3 or above - simply display
 black, on two different test devices.
 
 An older version of one of the stacks, an APK I happen to have lying
 around my hard drive that was built about 14 months ago, can be
 re-installed and works fine.
 
 As mentioned, using acceleratedRendering on an Android device running OS 2.2 
 or earlier will launch to a black screen if you use the defaults. If you set 
 the compositorType to software it works, but I got some unwanted artifacts 
 when I did that. As far as I know it hasn't been fixed yet, so I had to 
 require Android 2.3 or higher.
 
 Another thing is incompatibility with 4.1 Jelly Bean. I had to rebuild with 
 5.5.4 to fix that. Earlier versions of LiveCode apps opened to a black screen 
 on Jelly Bean.
 
 -- 
 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


___
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: trouble playing video in iOS

2013-04-08 Thread Gerry Orkin
The ios player control is buggy and always has been. I've lodged a few bug 
reports but nothing has changed - so maybe try mergAV instead? See mergext.com. 


Gerry

On Tue, Apr 9, 2013 at 3:13 AM, Apps Foundry appsfoundr...@gmail.com
wrote:

 I am trying to build a museum kiosk app for a client. I found the excellent
 lesson at:
 http://lessons.runrev.com/s/lessons/m/4069/l/29287-How-do-I-play-a-video-in-part-of-the-screen-in-iOS
 Using this code (after applying the fix noted in the Comments), I can play
 the video on an iPad just fine, EXCEPT that there is no audio!?!
 The audio plays correctly in the IDE (if I play it via *start* player
 player3, where player3's filename property is set to point to the file.)
 The audio in question is a .mov file, but it also fails to play audio when
 I test with the .mp4 video that came with the lesson. Other videos (well,
 streaming videos anyway) play fine on the iPad (in the browser).
 Any suggestions as to a possible cause or where to look for additional
 clues?
 Thanks,
 Larry Walker
 Code follows, in case someone asks:
 *on* openCard
*// Check the control doesn't already exist. If so delete and recreate it
 *
*if* the platform is iPhone *then*
   *if* ioscontrol is among the lines of iphoneControls() *then*
  controlDelete
   *end* *if*
   iphoneControlCreate player, ioscontrol
   *// Set the basic properties including visibility, rectangle and
 video file path*
   iphoneControlSet ioscontrol, filename, specialFolderPath(engine)
  /video.mp4
   iphoneControlSet ioscontrol, preserveAspect, true
   iphoneControlSet ioscontrol, showController, true
   iphoneControlSet ioscontrol, visible, true
   iphoneControlSet ioscontrol, rect, the rect of graphic
 rectangle1
   *// Start playing the video*
   iphoneControlDo ioscontrol, play
*end* *if*
 *end* openCard
 *on* closeCard
*// Delete the control when we leave the card*
*if* the platform is iPhone *then*
   controlDelete
*end* *if*
 *end* closeCard
 *on* controlDelete
*// Delete the control*
*if* the platform is iPhone *then*
   iphoneControlDelete ioscontrol
*end* *if*
 *end* controlDelete
 ___
 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: Trouble with Android

2013-03-18 Thread Ben Rubinstein

On 15/03/2013 20:41, Michael Hatch wrote:
 I have found that in android setting the acceleratedrendering of a stack in
 preopenstack will sometimes cause black screens and other unwanted effects,
 so I now set it via opencard of the first card. Setting the compositor to
 software or disabling acceleratedrendering might be a good starting point
 to check while debugging.


On 16/03/2013 05:13, J. Landman Gay wrote:

As mentioned, using acceleratedRendering on an Android device running OS 2.2
or earlier will launch to a black screen if you use the defaults. If you set
the compositorType to software it works, but I got some unwanted artifacts
when I did that. As far as I know it hasn't been fixed yet, so I had to
require Android 2.3 or higher.

Another thing is incompatibility with 4.1 Jelly Bean. I had to rebuild with
5.5.4 to fix that. Earlier versions of LiveCode apps opened to a black screen
on Jelly Bean.


Thanks both, but it doesn't seem to be either of those.  I've never used 
acceleratedRendering, I haven't got that far yet! (and after a careful search 
have confirmed that no trace of it has crept into my stack).  One of my test 
devices is Android 2.3.4, the other is 4.0.3, but same result on both, 
including when building from LC 5.5.4.


I did have some success when, in despair, I opened took the Orientation 
Example stack and was able to build that succesfully so that it opened on 
Android.  Then I copied all the elements of my stack into it - and it still 
worked.  So now I have two apparently identical stacks - both one card, the 
same controls on each, the same scripts in the card and the stack - but one 
has developed Android-black-screen disease.  I've not yet found the critical 
difference between them.


So I'm thinking that I've stumbled across another way to cause 
Android-black-screen, which isn't either of the ones you've mentioned (and 
which happens with the latest test version of LC as well as earlier ones).  If 
anyone knows of any other causes, which I can test to see if that's what's 
going on here, please let me know.  Otherwise (when I've got some time on my 
hands) I'll try to keep cutting down the problem stack to form a minimal 
version I can report to RunRev.


Many thanks,

Ben


___
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: Trouble with Android

2013-03-15 Thread Michael Hatch
I have found that in android setting the acceleratedrendering of a stack in
preopenstack will sometimes cause black screens and other unwanted effects,
so I now set it via opencard of the first card. Setting the compositor to
software or disabling acceleratedrendering might be a good starting point
to check while debugging.

Kind Regards,
Michael Hatch


On Fri, Mar 15, 2013 at 1:08 PM, Ben Rubinstein benr...@cogapp.com wrote:

 Hmm... attempting to do some very simple trial stacks on Android, after
 not having done any for a long time - having fought my way through a few
 strangeness with regards to expired debug certificates and the like, I now
 find that all my stacks - built with 5.5.3 or above - simply display black,
 on two different test devices.

 An older version of one of the stacks, an APK I happen to have lying
 around my hard drive that was built about 14 months ago, can be
 re-installed and works fine.

 Do I need to re-install the Android SDK if I haven't done so for over a
 year?  Or is there some other obvious thing that someone can tell me I'm
 doing wrong?

 Many thanks,

 Ben

 __**_
 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-livecodehttp://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: Trouble with Android

2013-03-15 Thread J. Landman Gay

On 3/15/13 3:08 PM, Ben Rubinstein wrote:

Hmm... attempting to do some very simple trial stacks on Android, after
not having done any for a long time - having fought my way through a few
strangeness with regards to expired debug certificates and the like, I
now find that all my stacks - built with 5.5.3 or above - simply display
black, on two different test devices.

An older version of one of the stacks, an APK I happen to have lying
around my hard drive that was built about 14 months ago, can be
re-installed and works fine.


As mentioned, using acceleratedRendering on an Android device running OS 
2.2 or earlier will launch to a black screen if you use the defaults. If 
you set the compositorType to software it works, but I got some 
unwanted artifacts when I did that. As far as I know it hasn't been 
fixed yet, so I had to require Android 2.3 or higher.


Another thing is incompatibility with 4.1 Jelly Bean. I had to rebuild 
with 5.5.4 to fix that. Earlier versions of LiveCode apps opened to a 
black screen on Jelly Bean.


--
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: Trouble developing external

2013-02-13 Thread Shawn Blc
If he'd pass the code onto you, I think in an afternoon you could have his
issues solved.  Just my guesstimation though ;)



On Wed, Feb 13, 2013 at 4:01 PM, Thomas McGrath III mcgra...@mac.comwrote:

 Dear all,

 I have a project that I need to get an external created for and have run
 into a snag. The guy that is writing it for me is following the tutorial
 online and keeps getting errors. He thinks it is because the tutorial is
 for Version 2.7 and not 5.5 but I don't know enough to give him an answer.

 Here is a clip from my dev guy:

  We have managed to get our hands on a VC++ demo application which is
 able to
  trap Keyboard events even when the form is not in focus. It is an MFC
  Application which uses this functionality and it works pretty well.
 
  After this, we decided to start creating a Hello World External
 Application
  to get an idea as to how we can use the code from this VC++ application
 as
  an external. We followed the article at
 
 http://www.runrev.com/developers/lessons-and-tutorials/tutorials/advanced-externals-part-1/
  but we could not manage to get it to work and it kept on
  saying error in function handler when we click on the button. We
 believe
  that something has changed in the LiveCode IDE since this tutorial was
  written; probably the tutorial was written for LiveCode 2.7 and now we
 have
  LiveCode 5.5. So, we are kind of stuck here and are unable to move
 forward.

 Any help or suggestions will be very very appreciated.

 Tom


 -- Tom McGrath III
 http://lazyriver.on-rev.com
 mcgra...@mac.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


Re: Trouble developing external

2013-02-13 Thread Monte Goulding
Lol... nothing has changed in the externals sdk for a looong time.

On 14/02/2013, at 9:01 AM, Thomas McGrath III wrote:

 Dear all,
 
 I have a project that I need to get an external created for and have run into 
 a snag. The guy that is writing it for me is following the tutorial online 
 and keeps getting errors. He thinks it is because the tutorial is for Version 
 2.7 and not 5.5 but I don't know enough to give him an answer.
 
 Here is a clip from my dev guy:
 
 We have managed to get our hands on a VC++ demo application which is able to
 trap Keyboard events even when the form is not in focus. It is an MFC
 Application which uses this functionality and it works pretty well.
 
 After this, we decided to start creating a Hello World External Application
 to get an idea as to how we can use the code from this VC++ application as
 an external. We followed the article at
 http://www.runrev.com/developers/lessons-and-tutorials/tutorials/advanced-externals-part-1/
 but we could not manage to get it to work and it kept on
 saying error in function handler when we click on the button. We believe
 that something has changed in the LiveCode IDE since this tutorial was
 written; probably the tutorial was written for LiveCode 2.7 and now we have
 LiveCode 5.5. So, we are kind of stuck here and are unable to move forward.
 
 Any help or suggestions will be very very appreciated.
 
 Tom
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 mcgra...@mac.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

--
M E R Goulding 
Software development services
Bespoke application development for vertical markets

mergExt - There's an external for that!

___
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: Trouble developing external

2013-02-13 Thread François Chaplais
Yes, all the links to the external resources in the user's manual are dead 
links :-(
François
Le 13 févr. 2013 à 23:18, Monte Goulding a écrit :

 Lol... nothing has changed in the externals sdk for a looong time.


___
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: Trouble developing external

2013-02-13 Thread Mark Wieder
Monte-

Wednesday, February 13, 2013, 2:18:14 PM, you wrote:

 Lol... nothing has changed in the externals sdk for a looong time.

Sad but true.

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: Trouble in Paradise... with script editor

2013-01-06 Thread Kay C Lan
On Sun, Jan 6, 2013 at 9:02 AM, David C. davidoco...@gmail.com wrote:
I sure would like to find the cause just to save my
 sanity. :)

Like other's, scratching at straws.

To me it first sounded like you must have been opening LC by double
clicking a stack, this then opens the App associated with it. If LC
was bad, and in a non-standard location you are not familiar with,
then installing a new copy of LC into a standard location would not
have solved the problem, double clicking the file would still point to
the bad LC. But, and it sounds like you are, if you just double click
on the new install of LC to open it, then it's the new LC that is
open.

So the only other thing you might want to look into is:

Bad Account:

1) Select Restart from the Apple Menu
2) Login to Bad Account
3) Start Activity Monitor
4) Ensure 'All Processes' is selected in the Option Button
5) Click on the Name column to ensure the output is in alphabetical order
6) Print the output
7) Start LC
8) Go back to Activity Monitor and Print the output.

Now repeat the process in the Good Account - ensure you restart the computer.

Compare the outputs. Theoretically the Befores should be the same and
the Afters should just have one extra line -  'LiveCode'.

Unfortunately I don't think you'll find much. Unless the Bad User
account was misbehaving with non-LC apps it doesn't sound like
anything outside of LC is causing this. If it is a plugin, a front or
back script, then Activity Monitor isn't going to high-light it as it
will all just fall under the single 'LiveCode' process. If you set up
Activity Monitor so that 'My Processes' is selected in the option
button, and you high-light the CPU column and select the CPU tab so
the graph shows CPU usage, then you will probably see in the Bad
Account, when you go through your previously mentioned steps and the
Editor doesn't show, the CPU activity for LC might spike and stay
high, which wont occur in your Good Account when LC does what it's
suppose to. Unfortunately this doesn't tell you anything you don't
already know; what is actually getting in the way.

Maybe you could change your desktop picture to pretty flowers to match
the walls; just to ease the pain ;-)

___
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: Trouble in Paradise... with script editor

2013-01-05 Thread Thierry Douez
2013/1/5 David C. davidoco...@gmail.com

 Hey folks, I think I stepped into a pile of errrm.. big trouble.

 Any ideas of how I might fix this puppy?

 Regards,
 David C.


Hi David,

Happy New Year and hopefully some good news for you :)

Probably you run on this problem; please check:

http://article.gmane.org/gmane.comp.ide.revolution.user/167374/match=daz3d


HTH,

Thierry
___
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: Trouble in Paradise... with script editor

2013-01-05 Thread David C.
On Sat, Jan 5, 2013 at 10:58 AM, Thierry Douez th.do...@gmail.com wrote:
 Thierry

Thanks Thierry,
That article sounds like a pretty good description of the problem...
although I *have not* installed the DAZ3D software (didn't even know
what it is previously). In fact, with just a very few exceptions, this
Mini is in almost out of the box condition as far as installed
software is concerned.

I'll look through my archives and see if I have an older version that I can try.

Appreciate the help all the same.

Regards,
David C.

___
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: Trouble in Paradise... with script editor

2013-01-05 Thread Thierry Douez
2013/1/5 David C. davidoco...@gmail.com

 On Sat, Jan 5, 2013 at 10:58 AM, Thierry Douez th.do...@gmail.com wrote:
  Thierry

 Thanks Thierry,
 That article sounds like a pretty good description of the problem...
 although I *have not* installed the DAZ3D software


Sorry it doesn't work for you.

Around 2 years ago, I had the same problem without DAZ3D, and this trick
makes the script and the message box work again, but can't remember more.

So, if you have delete your preferences stack first and nothing better,
may be worth a try if you don't have any answer?

Regards,

Thierry
___
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: Trouble in Paradise... with script editor

2013-01-05 Thread David C.
 So, if you have delete your preferences stack first and nothing better,
 may be worth a try if you don't have any answer?

Thanks again...
I did a search in the system for references to DAZ3D and found nothing
at all other than the document you referred me to.

Would you mind telling me the exact name of the preference file and
where that might be located? (almost Mac-ignorant here)

Regards,
David C.

___
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: Trouble in Paradise... with script editor

2013-01-05 Thread David C.
This is a shout out of general (mild so far) desperation...

Since Heather and crew are likely off for the weekend, can anyone
point me to a download link for  a Rev/Livecode version around 4.0 for
Mac or thereabout? I have the original email from my purchase for 4.0,
but it points to a dead link at the RunRev site. I do have 4.5 and
4.53 for Mac here in my archives, but neither work and I really need
to see if I can get an earlier version functional.


Best regards,
David C.

___
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: Trouble in Paradise... with script editor

2013-01-05 Thread Richmond

On 01/05/2013 08:11 PM, David C. wrote:

This is a shout out of general (mild so far) desperation...

Since Heather and crew are likely off for the weekend, can anyone
point me to a download link for  a Rev/Livecode version around 4.0 for
Mac or thereabout? I have the original email from my purchase for 4.0,
but it points to a dead link at the RunRev site. I do have 4.5 and
4.53 for Mac here in my archives, but neither work and I really need
to see if I can get an earlier version functional.


Best regards,
David C.

___
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


http://lists.runrev.com/pipermail/use-livecode/2009-October/129801.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: Trouble in Paradise... with script editor

2013-01-05 Thread David C.

 http://lists.runrev.com/pipermail/use-livecode/2009-October/129801.html


I've received a couple of replies which are *very much appreciated*,
but unfortunately they are for the Enterprise versions... which I do
not have a license for. I even tried the MetaCard fix as described
in the article that Thierry pointed me to, but alas... MC won't work
with a newer engine.

Thanks for the help all the same folks.

H my Mac User Experience that is glorified all over everywhere
really hasn't gone all that well so far. Gonna try bootcamp and an old
copy of Win XP I guess.

Regards,
David C.

___
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: Trouble in Paradise... with script editor

2013-01-05 Thread Mark Wieder
David-

Saturday, January 5, 2013, 8:37:21 AM, you wrote:

 Any ideas of how I might fix this puppy?

(in the straw-graping category) any chance the script editor is there
but off-screen? Using the message box, do you see it in the list of
open stacks? Can you set its loc to the screenloc?

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: Trouble in Paradise... with script editor

2013-01-05 Thread Richmond

http://developer.runrev.com/components/revolution/studio/4.0.0-gm-1/RevStd400Full.dmg


___
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: Trouble in Paradise... with script editor

2013-01-05 Thread David C.
 (in the straw-graping category) any chance the script editor is there
 but off-screen? Using the message box, do you see it in the list of
 open stacks? Can you set its loc to the screenloc?

Hello Mark,
Yeah, I had already thought of that, but no good news I'm afraid. Here are the

1. Create new stack, add one single button  - OK
2. Bring up property dialog for button  - OK
3. Edit button script  - NOT OK
4. Script Editor is not shown   - NOT OK

- Observations -

4. Property dialog automatically shows revNewScriptEditor1
5. Stopwatch is displayed and remains…
6. revNewScriptEditor1 is now showing as an option in top Window
part of the Mac menu
7. Selecting that menu entry brings the revNewScriptEditor1 editor
up in an almost full screen state
8. After observation #7, I can then finally edit a button, card, stack
script using the normal process.

None of this makes any sense because it has been working without
problems for the little I've used the machine in the last year or so.
Using the 4.5.0 version has the same problem, installing/reinstalling
either LC version changes nothing at all.

I'm really stumped at this point.

Regards,
David C.

___
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: Trouble in Paradise... with script editor

2013-01-05 Thread David C.
On Sat, Jan 5, 2013 at 2:13 PM, Richmond richmondmathew...@gmail.com wrote:
 http://developer.runrev.com/components/revolution/studio/4.0.0-gm-1/RevStd400Full.dmg



Thanks Richmond!
Got it, installed it but for some reason the application won't accept
my license for 4.0

Email and license code received straight from RunRev:

Dear David Coker,
Thank you for your support of Revolution. The new Rev 4.0 with the
ability to publish your stacks to the Web, and new dynamic visual
effects is here and ready for you to enjoy!
You are receiving this update free of charge because of your recent purchase.
Download your copy at
http://www.runrev.com/downloads/all-downloads/revstudio/
Alternately, you may launch Rev and choose Check for Updates from
the Help menu, and the new version will automatically download and
install.
For your convenience, your personal activation code is:
WCRZAblahblahblahblahblahFDNDSBlahblahXIC (Changed to protect the Mothership)
--

Pretty stinking unbelievable luck I have.

Regards,
David C.

___
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: Trouble in Paradise... with script editor

2013-01-05 Thread Richmond

On 01/05/2013 10:35 PM, David C. wrote:

On Sat, Jan 5, 2013 at 2:13 PM, Richmond richmondmathew...@gmail.com wrote:

http://developer.runrev.com/components/revolution/studio/4.0.0-gm-1/RevStd400Full.dmg



Thanks Richmond!
Got it, installed it but for some reason the application won't accept
my license for 4.0


'tis very queer; works with mine.



Email and license code received straight from RunRev:

Dear David Coker,
Thank you for your support of Revolution. The new Rev 4.0 with the
ability to publish your stacks to the Web, and new dynamic visual
effects is here and ready for you to enjoy!
You are receiving this update free of charge because of your recent purchase.
Download your copy at
http://www.runrev.com/downloads/all-downloads/revstudio/
Alternately, you may launch Rev and choose Check for Updates from
the Help menu, and the new version will automatically download and
install.
For your convenience, your personal activation code is:
WCRZAblahblahblahblahblahFDNDSBlahblahXIC (Changed to protect the Mothership)
--

Pretty stinking unbelievable luck I have.

Regards,
David C.

___
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: Trouble in Paradise... with script editor

2013-01-05 Thread David C.

 Thanks Richmond!
 Got it, installed it but for some reason the application won't accept
 my license for 4.0


 'tis very queer; works with mine.


If you really want to hear something weird, queer, crazy, odd, wild,
your description goes here, check this out...

I added a new user account to the system, reinstalled LC 4.5.3 for
All Users and it works fine in the new account. Still does not work
in the original user account where it has been running/available for
over a year.

Guess I'll migrate all of my documents and such over to the new
account, delete the old one and keep on trucking... what a time
consuming, hair thinning mess. Not to mention all of this *after* the
laptop dev machine crashed with a motherboard failure. sigh  :-(

Again, I do appreciate everyone's assistance!

-David C.

___
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: Trouble in Paradise... with script editor

2013-01-05 Thread Mark Wieder
David-

More grasping at straws here - does tossing your preferences file help
any?

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: Trouble in Paradise... with script editor

2013-01-05 Thread J. Landman Gay

On 1/5/13 3:02 PM, David C. wrote:


I added a new user account to the system, reinstalled LC 4.5.3 for
All Users and it works fine in the new account. Still does not work
in the original user account where it has been running/available for
over a year.


Sounds like you need to delete the RR prefs. Go here and delete the 
entire folder:


/Users/yourname/Library/Preferences/RunRev

Depending on the version, the folder may be named RunRev or Runtime 
Revolution. Delete whichever you have.


If you cannot see the Library folder, hold down the option key and pull 
down the Finder's Go menu. You will see Library in there. Go there and 
then find Preferences/RunRev


Launch LiveCode. Everything will be in a default state, so you'll need 
to reset your prefs inside the program.


--
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: Trouble in Paradise... with script editor

2013-01-05 Thread David C.
 Sounds like you need to delete the RR prefs. Go here and delete the entire
 folder:

 /Users/yourname/Library/Preferences/RunRev

 Depending on the version, the folder may be named RunRev or Runtime
 Revolution. Delete whichever you have.

 If you cannot see the Library folder, hold down the option key and pull down
 the Finder's Go menu. You will see Library in there. Go there and then find
 Preferences/RunRev

 Launch LiveCode. Everything will be in a default state, so you'll need to
 reset your prefs inside the program.


Hey Jacque and Mark,
I followed the instructions to a proverbial T and removed the
preferences folder as advised. It definitely sent everything back to
the original out of the box setup, but unfortunately, it didn't solve
the problem-o. It does exactly the same thing. Crazy huh?

Regards,
David C.

___
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: Trouble in Paradise... with script editor

2013-01-05 Thread David C.
On Sat, Jan 5, 2013 at 5:49 PM, Mike Bonner bonnm...@gmail.com wrote:
 Is it possible you have a plugin that is causing issues?  (in the my
 livecode folder in your documents folder most likely)  Perhaps an external
 loading from there also?  Wouldn't hurt to temporarily move everything out
 of that folder and see what happens.

I'm pretty sure that I already tried that, but I will do it again just
to make sure.
Heh... of course, I've just about finished migrating all of my files
to the freshly made (working!) user account. Migration just about
complete or not, I sure would like to find the cause just to save my
sanity. :)

Really appreciate the suggestion, Mike!

-David C.

___
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: Trouble in Paradise... with script editor

2013-01-05 Thread Mark Wieder
David-

Saturday, January 5, 2013, 5:02:15 PM, you wrote:

 I sure would like to find the cause just to save my sanity. :)

...sanity is so overrated these days...

-- 
-Mark Wieder
 mwie...@ahsoftware.net


___
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: Trouble in Paradise... with script editor

2013-01-05 Thread David C.

 I sure would like to find the cause just to save my sanity. :)

 ...sanity is so overrated these days...

Mark, I no longer need any sanity since I now reside in a room with
rubber padded walls decorated with pretty flowers...   Mine is now up
for sale CHEAP.

- - -

Mike,
Yepper, I had already tried removing all of the plugins, without
success. This user account has just been hosed somehow. Just a few
more files to move and there will be nothing left to see here in the
wake of this particular train crash. ;-)

Regards all and thanks for all of the assistance!
David C.

___
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: Trouble with export image

2012-09-25 Thread Graham Samuel
Since writing the query below, I realise that sometimes 'export' doesn't 
export: it produces an (undocumented) result can't open file which seems 
inappropriate. I had somehow messed up the file path and hadn't noticed. There 
was a different problem with the framing of the image - hard to track down but 
not worth explaining. Sorry for the bandwidth.


Graham

Earlier post:

 I seem to be going crazy, but I can't see what I'm doing wrong. I have an 
 image say myImage, and I export it with a command like
 
 export img myImage of cd myCard of stack myStack to URL (binfile:  
 somePath /someFileName) as JPEG
 
 This works, and the file appears, but it is not the right size: I mean if I do
 
 put the rect of img myImage
 
 immediately after the 'export', I get the rect I expected from the remainder 
 of my code: but if I look at the actual file with say GraphicConverter on a 
 Mac, then I find the image is cropped vertically.
 
 I suppose I did something wrong, but I can't think what.
 
 Any ideas?
 
 TIA
 
 Graham

___
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: Trouble with 'there is a'

2012-01-27 Thread Graham Samuel
Thanks to those who replied to point out a gross stupidity on my part - the 
example I gave wasn't a legal LiveCode statement. I was too tired to notice. 
Sorry for the waste of bandwidth. I found the response of the message box 
mysterious but at least I'll recognise it next time.

My real script did have two problem but they were quite different, and might be 
of interest.

1.  I had constructed a Windows-style path with \ characters to fit in with a 
small VB script I wanted to run. This does work in some contexts, but not in 
this one: in normal circumstances (but not AFAICS in VB scripts) LC looks after 
the change from / to \. I forgot that it was this path in the variable I 
was testing. It gave a strange result, but the obvious answer is don't do it.

2. The form of my 'if' condition was
  
  if there is not a file myPath /  myfilename

it turns out that the 'there is no' statement doesn't construct the string 
before the evaluation: you have to ensure the evaluation of the string by 
putting it in brackets as in

  if there is not a file (myPath /  myfilename)

There is an obscure warning about this in the dictionary: The there is no 
operator is implemented internally as a function, and therefore has lower 
precedence than other operators. So it's a precedence issue.

Graham

I wrote
 I'm  using LS 5.0.2. on Windows XP (OK, running under Parallels on a Mac). 
 I'm getting unexpected results from the 'there is..' series of 
 functions/commands - the dictionary says they're implemented as functions, 
 which I can understand.
 
 As a very simple test, in the message box I put:
 
   put (if there is a folder (the defaultFolder))
 
 expecting to get 'true'. Instead I get the totally unexpected result:
 
   161,426,1,return (if there is a folder (the defaultFolder))
 
 I suppose it's my fault, but what does this mean? Just to be clear, 'the 
 default folder' does have a value - it's:
 
  C:/Program Files/RunRev/LiveCode 5.0.2
 
 Puzzled
 
 Graham

___
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: Trouble with 'there is a'

2012-01-27 Thread Ken Ray
 My real script did have two problem but they were quite different, and might 
 be of interest.

I'm glad you brought these up - for others reading this there are some best 
practices to learn about these things:

 1.  I had constructed a Windows-style path with \ characters to fit in with 
 a small VB script I wanted to run. This does work in some contexts, but not 
 in this one: in normal circumstances (but not AFAICS in VB scripts) LC looks 
 after the change from / to \. I forgot that it was this path in the 
 variable I was testing. It gave a strange result, but the obvious answer is 
 don't do it.

Right. If you *do* need to construct a \-delimited path for external use (for 
example, if you're creating a VBScript in LiveCode that you want to execute 
with do … as VBScript), then do your /-to-\ conversions *just before* you 
use it, and do the conversion on a variable that's not going to be used again 
in that handler (like a temporary copy of a variable or one that is solely for 
the purpose of passing off to VBScript). For example:

   put specialFolderPath(desktop)  MyFile.txt into tFile
   -- maybe some other code goes here
   put replaceText(tFile,/,\) into tTempFile
   -- construct VBScript using the tTempFile variable -- keeps tFile safe if 
you need to work with it later


 2. The form of my 'if' condition was
 
  if there is not a file myPath /  myfilename
 
 it turns out that the 'there is no' statement doesn't construct the string 
 before the evaluation: you have to ensure the evaluation of the string by 
 putting it in brackets as in
 
  if there is not a file (myPath /  myfilename)
 
 There is an obscure warning about this in the dictionary: The there is no 
 operator is implemented internally as a function, and therefore has lower 
 precedence than other operators. So it's a precedence issue.

One thing I've gotten into the habit of doing is to always surround 
concatenation and logic operations (especially those with symbols) in 
parentheses - apart from being more readable, it also saves headaches if the 
interpreter sees things differently than you intended. Examples:

   put (This is  a test) into tVar
   if (tVar  ) then …

For multiple logic operations it is even more important. Compare:

   if tVar  100 and tFileName contains   or tVar = 0 then

vs.

   if ((tVar  100) and (tFileName contains  )) or (tVar = 0) then


Just my 2 cents,

Ken Ray
Sons of Thunder Software, Inc.
Email: k...@sonsothunder.com
Web Site: http://www.sonsothunder.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: Trouble with 'there is a'

2012-01-27 Thread Bob Sneidar
I remember a long time ago in a Revolution conference far, far away, someone 
gave a class on good coding habits. One of the habits he mentioned was to 
enclose in parenthesis where you can, partly for this reason, and partly 
because it makes the code easier to read. I go halfway. If I have any doubt 
about the precedence of a statement, I use parenthesis. 

In fact, an even better habit is to put paths into variables, or just put 
anything into variables, then work with those. It makes debugging a whole lot 
easier, and code easier to read. 

Bob


On Jan 27, 2012, at 3:37 AM, Graham Samuel wrote:

 2. The form of my 'if' condition was
 
  if there is not a file myPath /  myfilename
 
 it turns out that the 'there is no' statement doesn't construct the string 
 before the evaluation: you have to ensure the evaluation of the string by 
 putting it in brackets as in
 
  if there is not a file (myPath /  myfilename)
 
 There is an obscure warning about this in the dictionary: The there is no 
 operator is implemented internally as a function, and therefore has lower 
 precedence than other operators. So it's a precedence issue.
 
 Graham


___
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: Trouble with 'there is a'

2012-01-27 Thread Bob Sneidar
What he said. ;-)

On Jan 27, 2012, at 7:42 AM, Ken Ray wrote:

 My real script did have two problem but they were quite different, and might 
 be of interest.
 
 I'm glad you brought these up - for others reading this there are some best 
 practices to learn about these things:
 
 1.  I had constructed a Windows-style path with \ characters to fit in 
 with a small VB script I wanted to run. This does work in some contexts, but 
 not in this one: in normal circumstances (but not AFAICS in VB scripts) LC 
 looks after the change from / to \. I forgot that it was this path in 
 the variable I was testing. It gave a strange result, but the obvious answer 
 is don't do it.
 
 Right. If you *do* need to construct a \-delimited path for external use 
 (for example, if you're creating a VBScript in LiveCode that you want to 
 execute with do … as VBScript), then do your /-to-\ conversions *just 
 before* you use it, and do the conversion on a variable that's not going to 
 be used again in that handler (like a temporary copy of a variable or one 
 that is solely for the purpose of passing off to VBScript). For example:
 
   put specialFolderPath(desktop)  MyFile.txt into tFile
   -- maybe some other code goes here
   put replaceText(tFile,/,\) into tTempFile
   -- construct VBScript using the tTempFile variable -- keeps tFile safe if 
 you need to work with it later
 
 
 2. The form of my 'if' condition was
 
 if there is not a file myPath /  myfilename
 
 it turns out that the 'there is no' statement doesn't construct the string 
 before the evaluation: you have to ensure the evaluation of the string by 
 putting it in brackets as in
 
 if there is not a file (myPath /  myfilename)
 
 There is an obscure warning about this in the dictionary: The there is no 
 operator is implemented internally as a function, and therefore has lower 
 precedence than other operators. So it's a precedence issue.
 
 One thing I've gotten into the habit of doing is to always surround 
 concatenation and logic operations (especially those with symbols) in 
 parentheses - apart from being more readable, it also saves headaches if the 
 interpreter sees things differently than you intended. Examples:
 
   put (This is  a test) into tVar
   if (tVar  ) then …
 
 For multiple logic operations it is even more important. Compare:
 
   if tVar  100 and tFileName contains   or tVar = 0 then
 
 vs.
 
   if ((tVar  100) and (tFileName contains  )) or (tVar = 0) then
 
 
 Just my 2 cents,
 
 Ken Ray
 Sons of Thunder Software, Inc.
 Email: k...@sonsothunder.com
 Web Site: http://www.sonsothunder.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


Re: Trouble with 'there is a'

2012-01-27 Thread Pete
Hi Ken,
You're saving my life on these Mac/Windows issues, thank you!  One question
on this.  What do the ask/answer file/folder dialogs return on Windows?
 Does LC convert the \ chars to / before putting it into the it
variable, or just pass whatever the os returns?
Thanks,
Pete



 Right. If you *do* need to construct a \-delimited path for external use
 (for example, if you're creating a VBScript in LiveCode that you want to
 execute with do … as VBScript), then do your /-to-\ conversions *just
 before* you use it, and do the conversion on a variable that's not going to
 be used again in that handler (like a temporary copy of a variable or one
 that is solely for the purpose of passing off to VBScript). For example:

   put specialFolderPath(desktop)  MyFile.txt into tFile
   -- maybe some other code goes here
   put replaceText(tFile,/,\) into tTempFile
   -- construct VBScript using the tTempFile variable -- keeps tFile safe
 if you need to work with it later



___
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: Trouble with 'there is a'

2012-01-27 Thread Klaus on-rev
Hi Pete,

Am 27.01.2012 um 18:35 schrieb Pete:

 Hi Ken,
 You're saving my life on these Mac/Windows issues, thank you!  One question
 on this.  What do the ask/answer file/folder dialogs return on Windows?
 Does LC convert the \ chars to / before putting it into the it variable,

Yes!

 or just pass whatever the os returns?

No!

:-)

Internally LiveCode always uses the UNIX slash / as the pathdelimiter.

 Thanks,
 Pete

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major.on-rev.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: Trouble with 'there is a'

2012-01-27 Thread Pete
Thanks Ken.  I am handing off the paths to an external application so I'll
need to convert the slashes.
Pete

On Fri, Jan 27, 2012 at 10:31 AM, Ken Ray k...@sonsothunder.com wrote:

 So the only times we need to deal with path delimiters is when (a) working
 with the WIndows registry (see queryRegistry/setRegistry/etc.), and (b)
 when handing off paths to external applications (like VBScript or
 AppleScript), IIRC.




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: Trouble with 'there is a'

2012-01-26 Thread Devin Asay
Graham,

The problem is you're embedding a partial 'if' structure in your statement. 
Leave out the 'if':

   put (there is a folder (the defaultFolder))

HTH

Devin

On Jan 26, 2012, at 3:13 PM, Graham Samuel wrote:

 I'm  using LS 5.0.2. on Windows XP (OK, running under Parallels on a Mac). 
 I'm getting unexpected results from the 'there is..' series of 
 functions/commands - the dictionary says they're implemented as functions, 
 which I can understand.
 
 As a very simple test, in the message box I put:
 
   put (if there is a folder (the defaultFolder))
 
 expecting to get 'true'. Instead I get the totally unexpected result:
 
   161,426,1,return (if there is a folder (the defaultFolder))
 
 I suppose it's my fault, but what does this mean? Just to be clear, 'the 
 default folder' does have a value - it's:
 
  C:/Program Files/RunRev/LiveCode 5.0.2
 
 Puzzled
 
 Graham
 
 ___
 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

Devin Asay
Humanities Technology and Research Support Center
Brigham Young University




___
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: Trouble with 'there is a'

2012-01-26 Thread Mark Schonewille
Hi Graham,

161 means error in source expression. Probably, it is saying that if there 
is a folder (the defaultFolder) can't be parsed into something that makes 
sense, which is correct because it is only the first part of an if-then-else 
control structure. If you remove the if then LiveCode can parse the string to 
true or false.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Download the Installer Maker Plugin 1.7 for LiveCode here http://qery.us/za

On 26 jan 2012, at 23:13, Graham Samuel wrote:

 I'm  using LS 5.0.2. on Windows XP (OK, running under Parallels on a Mac). 
 I'm getting unexpected results from the 'there is..' series of 
 functions/commands - the dictionary says they're implemented as functions, 
 which I can understand.
 
 As a very simple test, in the message box I put:
 
   put (if there is a folder (the defaultFolder))
 
 expecting to get 'true'. Instead I get the totally unexpected result:
 
   161,426,1,return (if there is a folder (the defaultFolder))
 
 I suppose it's my fault, but what does this mean? Just to be clear, 'the 
 default folder' does have a value - it's:
 
  C:/Program Files/RunRev/LiveCode 5.0.2
 
 Puzzled
 
 Graham


___
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: Trouble with button icon images

2011-12-27 Thread Pete
Hi Jacque,
I tried this out.  The standalone has a substack named revCopiedIcons.  I
added code to list the controls in that stack and it contained the standard
icons for the answer command (information, error, warning, etc) plus the
one icon I referenced in the Image library.  So it appears the standalone
builder is smart enough to include only the referenced icons.
Pete

On Mon, Dec 26, 2011 at 1:00 PM, J. Landman Gay jac...@hyperactivesw.comwrote:

 On 12/26/11 11:35 AM, Pete wrote:

 HI Jacque,
 Just one more follow up to this.  When the standalone is built, does it
 include all the images in the library or just the ones that are referenced
 in the application?  The library I created has around 700 icons in it and
 I
 only use perhaps a dozen or so in any one application.


 I'm not sure how that would work, I always place the images so that the
 library isn't used at all. I suppose the easiest thing would be for the
 standalone builder to just include the whole library as a substack of your
 mainstack. Copying them individually would change the IDs of the images.

 You could find out by building a small standalone with a button that uses
 a referenced icon, and whose script answers the names of the substacks. I'm
 a little curious myself what you'll find.


 --
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: Trouble with button icon images

2011-12-27 Thread J. Landman Gay

On 12/27/11 5:03 PM, Pete wrote:

Hi Jacque,
I tried this out.  The standalone has a substack named revCopiedIcons.  I
added code to list the controls in that stack and it contained the standard
icons for the answer command (information, error, warning, etc) plus the
one icon I referenced in the Image library.  So it appears the standalone
builder is smart enough to include only the referenced icons.
Pete


That's great to know, thanks for trying it and reporting back. The SB is 
smarter than I thought.


--
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: Trouble with button icon images

2011-12-26 Thread Pete
HI Jacque,
Just one more follow up to this.  When the standalone is built, does it
include all the images in the library or just the ones that are referenced
in the application?  The library I created has around 700 icons in it and I
only use perhaps a dozen or so in any one application.
Thank,

On Sat, Dec 24, 2011 at 10:02 AM, J. Landman Gay
jac...@hyperactivesw.comwrote:

 On 12/24/11 11:56 AM, Pete wrote:

 Thanks Jacque.  When I use the library, I use the Place Reference button
 to
 put a button on whatever card I'm working on, preconfigured to refer to
 the
 image as its icon.  Are you saying that those images won't show up when I
 build a standalone?


 No, they'll show up fine if they are placed. If you use them as icons, be
 sure to use the placed image's ID. It's just a convenient way to keep
 images somewhere besides on disk, but the behavior after placement is
 identical.


 --
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: Trouble with button icon images

2011-12-26 Thread J. Landman Gay

On 12/26/11 11:35 AM, Pete wrote:

HI Jacque,
Just one more follow up to this.  When the standalone is built, does it
include all the images in the library or just the ones that are referenced
in the application?  The library I created has around 700 icons in it and I
only use perhaps a dozen or so in any one application.


I'm not sure how that would work, I always place the images so that the 
library isn't used at all. I suppose the easiest thing would be for the 
standalone builder to just include the whole library as a substack of 
your mainstack. Copying them individually would change the IDs of the 
images.


You could find out by building a small standalone with a button that 
uses a referenced icon, and whose script answers the names of the 
substacks. I'm a little curious myself what you'll find.


--
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: Trouble with button icon images

2011-12-24 Thread Mark Schonewille
Hi Pete,

What happens if you change the id of the image?

--
Kind regards,

Mark Schonewille
Economy-x-Talk
Http://economy-x-talk.com

Share the clipboard of your computer over a local network with Clipboard Link 
http://clipboardlink.economy-x-talk.com


Op 23 dec. 2011 om 20:30 heeft Pete p...@mollysrevenge.com het volgende 
geschreven:

 I have a card in a substack of my mainstack that contains images for
 buttons I use in other substacks.  All seems to work fine so far but I have
 a problem with one button whose image does not show up.  The same image is
 used as the  icon for buttons on other cards and shows up just fine.  If I
 copy a button that uses the image from another card to this card, the image
 disappears from the button.  Other buttons on the same card that refer to
 different images work just fine.
 
 Any ideas?
 
 -- 
 Pete
 Molly's Revenge http://www.mollysrevenge.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: Trouble with button icon images

2011-12-24 Thread J. Landman Gay

On 12/24/11 10:45 AM, Pete wrote:

Hi Mark,
Changing the ID fixes the problem, thanks.  What might be the cause of this?


ID conflicts. Each stack can have its own ID numbering, so another 
control somewhere may have had the same ID. If the image with the 
conflicting ID is large or has transparent areas, it may have looked 
like the icon was empty.


Besides using a substack, you can also place all your icon images in a 
group on the mainstack and then unplace the group from all cards. 
They'll be accessible from anywhere, you won't need an extra stack, and 
no card will display them. ID conflicts can still occur, so each image 
will need a unique ID.




On a related topic, I'm wondering what are the advantages/disadvantages of
using the Image Library versus putting the application's images in a
substack.  I used to import my images into the Image Library and refer to
them directly in there but changed to using a substack because I got the
impression from some list posts that it might not be a good idea to use the
Image Library (can't remember why).


The image library is a convenient storage area for commonly used 
content, but it won't automatically move your images to your stack. That 
means if you distribute the stack or a standalone, the images will be 
missing. Use the library's place button to move the images into your 
working stack where they can be found.


It's no different than importing images from disk, but for things you 
use often the library is more convenient. I have a couple of image 
libaries I use all the time.


--
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: Trouble with button icon images

2011-12-24 Thread Pete
Thanks Jacque.  When I use the library, I use the Place Reference button to
put a button on whatever card I'm working on, preconfigured to refer to the
image as its icon.  Are you saying that those images won't show up when I
build a standalone?
Thanks,
Pete

On Sat, Dec 24, 2011 at 9:22 AM, J. Landman Gay jac...@hyperactivesw.comwrote:

 On 12/24/11 10:45 AM, Pete wrote:

 Hi Mark,
 Changing the ID fixes the problem, thanks.  What might be the cause of
 this?


 ID conflicts. Each stack can have its own ID numbering, so another control
 somewhere may have had the same ID. If the image with the conflicting ID is
 large or has transparent areas, it may have looked like the icon was empty.

 Besides using a substack, you can also place all your icon images in a
 group on the mainstack and then unplace the group from all cards. They'll
 be accessible from anywhere, you won't need an extra stack, and no card
 will display them. ID conflicts can still occur, so each image will need a
 unique ID.



 On a related topic, I'm wondering what are the advantages/disadvantages of
 using the Image Library versus putting the application's images in a
 substack.  I used to import my images into the Image Library and refer to
 them directly in there but changed to using a substack because I got the
 impression from some list posts that it might not be a good idea to use
 the
 Image Library (can't remember why).


 The image library is a convenient storage area for commonly used content,
 but it won't automatically move your images to your stack. That means if
 you distribute the stack or a standalone, the images will be missing. Use
 the library's place button to move the images into your working stack
 where they can be found.

 It's no different than importing images from disk, but for things you use
 often the library is more convenient. I have a couple of image libaries I
 use all the time.

 --
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: Trouble with button icon images

2011-12-24 Thread J. Landman Gay

On 12/24/11 11:56 AM, Pete wrote:

Thanks Jacque.  When I use the library, I use the Place Reference button to
put a button on whatever card I'm working on, preconfigured to refer to the
image as its icon.  Are you saying that those images won't show up when I
build a standalone?


No, they'll show up fine if they are placed. If you use them as icons, 
be sure to use the placed image's ID. It's just a convenient way to keep 
images somewhere besides on disk, but the behavior after placement is 
identical.


--
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: Trouble with button icon images

2011-12-24 Thread Pete
Great, thanks.

On Sat, Dec 24, 2011 at 10:02 AM, J. Landman Gay
jac...@hyperactivesw.comwrote:

 On 12/24/11 11:56 AM, Pete wrote:

 Thanks Jacque.  When I use the library, I use the Place Reference button
 to
 put a button on whatever card I'm working on, preconfigured to refer to
 the
 image as its icon.  Are you saying that those images won't show up when I
 build a standalone?


 No, they'll show up fine if they are placed. If you use them as icons, be
 sure to use the placed image's ID. It's just a convenient way to keep
 images somewhere besides on disk, but the behavior after placement is
 identical.


 --
 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-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode




-- 
Pete
Molly's Revenge http://www.mollysrevenge.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: Trouble-shooting non-resizable stack/card size creep?

2011-05-04 Thread Mark Schonewille
Keith,


Try setting the margins of the group to 0. You might want to turn off the 
lockLoc of the group and set the lockLoc of the image to true. Set the loc of 
the image, not the group.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce

On 4 mei 2011, at 11:36, Keith Clarke wrote:

 Hi folks,
 I have a non-resizable stack (1024 x 768) with a common background group for 
 all cards, including a 1024 x 768 background image.
 
 Suddenly, whilst adjusting control positions on one card, I noticed that 
 aligning its loc to 512, 384 no longer centralised the control - and a border 
 of 4 or 5 pixels had appeared at the side and bottom of the background image. 
 
 However, all cards and the stack (and background image itself) all seem to be 
 sized at 1024 x 768.
 
 Any ideas where I should look for the anomaly?
 Best,
 Keith..
 ___
 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: Trouble-shooting non-resizable stack/card size creep?

2011-05-04 Thread Keith Clarke
Thanks Mark - changing the lockLoc from the group to the image did the trick.
Best,
Keith..

On 4 May 2011, at 15:07, Mark Schonewille wrote:

 Keith,
 
 
 Try setting the margins of the group to 0. You might want to turn off the 
 lockLoc of the group and set the lockLoc of the image to true. Set the loc of 
 the image, not the group.
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 New: Download the Installer Maker Plugin 1.6 for LiveCode here 
 http://qery.us/ce
 
 On 4 mei 2011, at 11:36, Keith Clarke wrote:
 
 Hi folks,
 I have a non-resizable stack (1024 x 768) with a common background group for 
 all cards, including a 1024 x 768 background image.
 
 Suddenly, whilst adjusting control positions on one card, I noticed that 
 aligning its loc to 512, 384 no longer centralised the control - and a 
 border of 4 or 5 pixels had appeared at the side and bottom of the 
 background image. 
 
 However, all cards and the stack (and background image itself) all seem to 
 be sized at 1024 x 768.
 
 Any ideas where I should look for the anomaly?
 Best,
 Keith..
 


___
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