Re: Assist needed for crash when printing on Linux

2013-09-22 Thread Peter Alcibiades
Richard, this may be teaching my grandmother  but when confronted with
this sort of thing I usually try another linux, preferably fairly minimal. 
So for instance, plain Debian, maybe with another desktop than gnome, xfce
for instance or openbox.  Then if that crashes, maybe a slackware based
distribution.

In the interests of saving time in this case, I might go straight to a plain
vanilla slackware installation and try with that.  That is the most
untweaked linux there is.  If it crashes a vanilla slackware installation,
its just about certain to be livecode itself.  If not, its almost certainly
down to some feature of either ubuntu, this particular release, or maybe
this particular installation.

Maybe compare CUPS versions if you find one that does not crash?

Al



--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Assist-needed-for-crash-when-printing-on-Linux-tp4670108p4670164.html
Sent from the Revolution - User mailing list archive at Nabble.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: Euro symbol

2013-09-22 Thread FlexibleLearning.com
My bad...

LC6.1 provides cross-platform support for the Euro symbol and also handles
the htmlText '€' entity.

If using an earlier engine, I think we are still stuffed however.

Hugh Senior
FLCo

> -Original Message-
> From: FlexibleLearning.com [mailto:ad...@flexiblelearning.com]
> Sent: 17 September 2013 18:34
> To: use-livecode@lists.runrev.com
> Subject: Re: Euro symbol
>
>
> Thank you for the various suggestions but as I indicated, this is
> to MAINTAIN (e.g. a label field) the symbol display not
> insert/edit it. There does not appear to be a cross-platform
> display specification that guarantees the Euro symbol on all
> platforms for the same field contents.
>
> Hugh Senior
> FLCo
>
>
> > Has ANYONE solved how to maintain the euro symbol in a
> > cross-platform stack?
> >
> > numtochar (Win 128|Mac 219) is platform-specific, and htmltext
> > "¤" is Mac-only.
> >
> > Hugh Senior
> > FLCo


___
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: Pitch shifting Audio

2013-09-22 Thread Geoff Canyon
On Fri, Sep 20, 2013 at 3:59 PM, stephen barncard <
stephenrevoluti...@barncard.com> wrote:

> "I can't say that it *can* be done, but fifteen years ago I wrote code to
> open, process, and write out AIFF files."
>
> Well Geoff, do you mean you did this in Revolution?  Why didn't you speak
> up when this was being discussed over the years!!
>

I think I did it in SuperCard, but that was as I was starting with
MetaCard, so it could be either. Sorry that I never noticed any particular
discussions going on.
___
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


Write file to /external_sdcard/documents

2013-09-22 Thread Roger Eller
How can I get my data.txt file to save into a local folder the user can
access it on a non-rooted Android device?  I need the user to also be able
to drag files from a USB connected device to their computer.

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


Re: Write file to /external_sdcard/documents

2013-09-22 Thread Monte Goulding

On 23/09/2013, at 10:11 AM, Roger Eller wrote:

> How can I get my data.txt file to save into a local folder the user can
> access it on a non-rooted Android device?  I need the user to also be able
> to drag files from a USB connected device to their computer.

mergAndroid has some external storage features for monitoring access and 
getting paths.

Cheers

--
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: Write file to /external_sdcard/documents

2013-09-22 Thread Roger Eller
Cool. Thanks Monte!
 On Sep 22, 2013 8:59 PM, "Monte Goulding" 
wrote:

>
> On 23/09/2013, at 10:11 AM, Roger Eller wrote:
>
> > How can I get my data.txt file to save into a local folder the user can
> > access it on a non-rooted Android device?  I need the user to also be
> able
> > to drag files from a USB connected device to their computer.
>
> mergAndroid has some external storage features for monitoring access and
> getting paths.
>
> Cheers
>
> --
> 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
>
___
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: Write file to /external_sdcard/documents

2013-09-22 Thread Monte Goulding

On 23/09/2013, at 11:06 AM, Roger Eller wrote:

> Cool. Thanks Monte!
> 

NP... don't forget to set the external storage option in the standalone 
settings.

Cheers

--
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: Write file to /external_sdcard/documents

2013-09-22 Thread Roger Eller
I haven't tried mergAndroid yet, but I do have "prefer external storage"
checked.  When I looked for my file that was written to
specialFolderPath("Documents") & "/data.txt", I couldn't find it.

References in the email archives mention use of rooted devices to access
/data, but that's not an option.

~Roger
On Sep 22, 2013 9:13 PM, "Monte Goulding" 
wrote:

>
> On 23/09/2013, at 11:06 AM, Roger Eller wrote:
>
> > Cool. Thanks Monte!
> >
>
> NP... don't forget to set the external storage option in the standalone
> settings.
>
> Cheers
>
> --
> 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
>
___
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: Write file to /external_sdcard/documents

2013-09-22 Thread Monte Goulding
On 23/09/2013, at 11:28 AM, Roger Eller wrote:

> I haven't tried mergAndroid yet, but I do have "prefer external storage"
> checked.  

Do you mean write external storage?

> When I looked for my file that was written to
> specialFolderPath("Documents") & "/data.txt", I couldn't find it.

SpecialFolderPath("Documents") is private data storage. There's also an 
undocumented SpecialFolderPath("External Documents") on android which is also 
private but in external storage. mergAndroid gets the paths to the public 
folders on the external storage that user's can copy files into.

--
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: Write file to /external_sdcard/documents

2013-09-22 Thread Roger Eller
Gotta love those undocumented features.  Thank you very much for that tip!
 I'm trying mergAndroid out now.

~Roger

On Sun, Sep 22, 2013 at 9:50 PM, Monte Goulding  wrote:

> On 23/09/2013, at 11:28 AM, Roger Eller wrote:
>
> > I haven't tried mergAndroid yet, but I do have "prefer external storage"
> > checked.
>
> Do you mean write external storage?
>
> > When I looked for my file that was written to
> > specialFolderPath("Documents") & "/data.txt", I couldn't find it.
>
> SpecialFolderPath("Documents") is private data storage. There's also an
> undocumented SpecialFolderPath("External Documents") on android which is
> also private but in external storage. mergAndroid gets the paths to the
> public folders on the external storage that user's can copy files into.
>
> --
> 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
>
___
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


Using Post tData?

2013-09-22 Thread JOHN PATTEN
Hi All…

I would like to be able to pull data into a livecode project from an on-rev 
mysql database. It currently works in a  browser as a simple web app and is 
built all on in php. 

I thought I may be able to just use the post command, however when I try to 
post some data to a php url that executes a query on the database and then 
echoes back the results all I get in an "answer it" is the first header line, 
"Assigned Resources," and no array results. Here is the abbreviated php code:

mysql_connect;
$result = mysql_query("SELECT urladdress, urltitle FROM urllist WHERE docid = 
'$doccode'");

echo "

Assigned Resources
";

while($row = mysql_fetch_array($result))
  {
  echo "";

  echo "<. $row['urladdress'] . ";
  echo "";
  }
echo "";

This works fine in the browser, but I was hoping to use all these php database 
connections in the web app within a stack and an iOS app. Any recommendations, 
or should I abandon ship, and go in a different direction to access the mysql 
data from within a lc stack?

Thanks in advance!

John Patten
SUSD
___
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: Using Post tData?

2013-09-22 Thread Earthednet-wp
John,
I use post and php for remote MySQL database interaction. To use the LC MySQL 
commands directly, you have to open permissions to the database to the world 
(assuming your app accesses it). This makes an extremely insecure system. You 
can open an ssh tunnel using shell commands, but I find the php solution more 
to my liking.
Good luck,
Bill

William Prothero
http://es.earthednet.org

On Sep 22, 2013, at 8:42 PM, JOHN PATTEN  wrote:

> Hi All…
> 
> I would like to be able to pull data into a livecode project from an on-rev 
> mysql database. It currently works in a  browser as a simple web app and is 
> built all on in php. 
> 
> I thought I may be able to just use the post command, however when I try to 
> post some data to a php url that executes a query on the database and then 
> echoes back the results all I get in an "answer it" is the first header line, 
> "Assigned Resources," and no array results. Here is the abbreviated php code:
> 
> mysql_connect;
> $result = mysql_query("SELECT urladdress, urltitle FROM urllist WHERE docid = 
> '$doccode'");
> 
> echo "
> 
> Assigned Resources
> ";
> 
> while($row = mysql_fetch_array($result))
>  {
>  echo "";
> 
>  echo "<. $row['urladdress'] . ";
>  echo "";
>  }
> echo "";
> 
> This works fine in the browser, but I was hoping to use all these php 
> database connections in the web app within a stack and an iOS app. Any 
> recommendations, or should I abandon ship, and go in a different direction to 
> access the mysql data from within a lc stack?
> 
> Thanks in advance!
> 
> John Patten
> SUSD
> ___
> 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: PDF's to PNG's on Windows 8

2013-09-22 Thread Thierry Douez
2013/9/18 Ray Horsley 

>
> So there's apparently no solution to this seemingly common need to be able
> to view and convert PDF files to single PNG's or JPEG's in Livecode.
>
> Suggestions?
>


​Hi Ray,


There is a free pdf reader for Win32 / Win64 there:
 http://www.soraxsoft.com/index.html

and they have a ​
Sorax PDF SDK DLL
​ too.

A couple of years ago, I've built an external which roughly
creates an image object in LC out of a pdf page, using their DLL.

If you are interested​, just let me know.​

​Regards,

Thierry​



Thierry Douez - http://sunny-tdz.com
Maker of sunnYperl - sunnYmidi - sunnYmage
___
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