Re: FTP Problem

2011-06-09 Thread Jim Ault


On Jun 8, 2011, at 6:42 PM, Pete wrote:

I'm getting a socket timeout during execution of a put URL command  
with an
ftp:// url in the destination address.  I use the same statement to  
upload
several different files and they all work fine except for one file  
which
fails with the error about half the time.  The file is bigger than  
the other
files but it's only about 200kbytes.  The same file uploads in a few  
seconds

using any of several ftp GUI tools I use.

Any ideas?


Try using Andre's
FTPCommander.rev  at RevOnline
If that does the job, then look at the scripts to check his extra  
commands/settings that you may require to be more robust.


- from his email in 2004
Hi Folks,
just added a button to set permissions on remote FTP files, it's the  
'Perms' button, you use it like the CHMOD command in unix by setting  
it to a number like 755 (Ie: CGI) or 777 (Ie: CGI-Folders), if you  
don't know what file permissions are, then you should not be messing  
with them on your FTP... =)

-
Pete, I could not check it out just now since RevOnline was not  
letting me get connected, but it is up there, i saw it a couple weeks  
ago.



Jim Ault
Las Vegas

___
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: LIVECODE running in LION

2011-06-09 Thread Richmond Mathewson

On 06/09/2011 09:52 AM, FlexibleLearning wrote:

Rule of Thumb: Never buy anything with a zero on the end.

:)


In the light of recent experiences I have been having with Ubuntu one 
may wish

to expand that:

Never do anything with a zero on the end.

Hugh Senior
FLCo



Colin Holgate wrote

My last attempt to install Lion resulted in a drive that is so unhappy that
I can't even format it using Terminal. DiskWarrior makes a little chuckling
sound when I try to use it to see the drive, and Disk Utility has no clue
either.


___
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: 5000 lines of code

2011-06-09 Thread Richmond Mathewson

Mark

Took me a couple of times through that to get what you meant. Ah...
you mean that same switch code is duplicated in other objects as well.
What I'd do in that case is move it out of the objects and make a
handler farther along the message path (the stack script, for
instance) as

command ParseIt
   switch blahBlahBlah
   end switch
end ParseIt

then in the mouseUp handlers just say

on mouseUp
  ...
  ParseIt
  ...
end mouseUp

it's make maintenance much easier and your stack will lose a bit of
flabbiness in the process.



It certainly seemed like good advice until I tried what you suggested:

I moved the recyclable code into the stack script and called it from 
each object.


BUT, the interesting thing as that, while the objects called the code 
successfully, it meant
that the individualised segments of code in the object that came after 
the recyclable code

stopped working properly.

This is a right bu**er as your advice would have meant I could reduce my 
file size considerably.


Richmond.

___
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: [ANN] MobGUI plugin : mobile development aid

2011-06-09 Thread Andy Henshaw
Thats excellent John, I cant help thinking its exactly the sort of toolbox 
Livecode should have as standard for mobile development!

I hope you manage to keep developing it and make it available as a plugin thats 
available / affordable for all users.



Andy


On 9 Jun 2011, at 00:51, John Craig wrote:

 Following a good response after the live demo on livecode.tv, I've posted the 
 latest version of the MobGUI plugin.  It's still in it's infancy, so feedback 
 is much appreciated!
 
 http://www.splash21.com/MobGUI/
 
 
 JC
 
 ___
 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


New Row into datagrid and edit field

2011-06-09 Thread Alessandro Pisoni
I have a button that creates a row in my datagrid but I would be automatically 
moves to the specific field in that row. how can I do?

on mouseup
   put the dgNumberOfLines of group ElencoTelefoni + 1 into theLineNo
   dispatch addLine to group ElencoTelefoni with theRowData, 
theDataColumns, theLineNo
 ??
   
end mouseup





Cordiali Saluti
Alessandro Pisoni






___
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: New Row into datagrid and edit field

2011-06-09 Thread Shao Sean

on mouseup
 put the dgNumberOfLines of group ElencoTelefoni + 1 into theLineNo
 dispatch addLine to group ElencoTelefoni with theRowData,  
theDataColumns, theLineNo

 ScrollLineIntoView theLineNo
end mouseup

___
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


[OT] A quiet read about Ubuntu

2011-06-09 Thread Richmond Mathewson

Takes about 10-15 minutes and is really very thought provoking:

http://www.osnews.com/story/24803/The_Sins_of_Ubuntu

Richmond.

___
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: New Row into datagrid and edit field

2011-06-09 Thread Shao Sean
sorry.. i thought you wanted to scroll to the new line added.. 


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


Local files in revBrowser

2011-06-09 Thread John Dixon

I wonder if someone could shed some light on a problem I am having. The script 
below works fine running under MacOSX, but it does not want to work running 
under Windows ?.. 

If having the stack would help, I would send it to you.

I am really stumped... any help would be appreciated.

local browserID

on preOpenStack
   set itemDel to / 
   set the defaultfolder to item 1 to -2 of (the effective fileName of this 
stack)
   set the loc of this stack to screenLoc()
end preOpenStack

on openCard
   /* get the path to the html file */
   put  the defaultFolder  /mapFolder/map.html into adJustWindows
   
   /* replace the spaces, if there are any, in the URL filepath */
   replace space with %20 in adjustWindows
   
   /* set up the browser instance */
   put revBrowserOpen (the windowId of this stack, file:///  adjustWindows) 
into browserID
   revBrowserSet browserID, scrollbars, false
   revBrowserSet browserID, showborder, true
   revBrowserSet browserID, rect,rect of image browserimage
end openCard

on resizeStack
   /* keep the browser 16 pxs from the bottom to be able to get to the resize 
window box */
   set the rect of image browserImage to 0, 0  ,  (the width of this 
stack)  ,  (the height of this stack -16 )
   revBrowserSet browserID, rect, rect of image browserImage
   pass resizeStack
end resizeStack

on closeCard
   /* destroy the browser instance when the card closes */
   if browserID is not empty then revBrowserClose browserID
end closeCard

take care,

Dixie
  
___
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: 5000 lines of code

2011-06-09 Thread Jim Ault
I moved the recyclable code into the stack script and called it  
from each object.


BUT, the interesting thing as that, while the objects called the  
code successfully, it meant
that the individualised segments of code in the object that came  
after the recyclable code

stopped working properly.



Did you try referencing variables instead of passing them as parameters?

Usually if you call a function (or a handler) and have it return  
something, it will be a single string which can be used to update a  
single variable in the calling handler.


In the case of multiple variables that need to be updated, consider  
using reference parameters, therefore the calling handler will already  
have the updated contents of each variable.


Example is shown in the dictionary by finding @

The character @ is placed before a parameter name to pass a reference  
to the parameter instead of its value. Pass a parameter reference when  
you want a handler to change a variable in the calling handler, or  
when you want a handler to return more than one value.


Hope this helps

On Jun 9, 2011, at 2:18 AM, Richmond Mathewson wrote:


Mark

Took me a couple of times through that to get what you meant. Ah...
you mean that same switch code is duplicated in other objects as  
well.

What I'd do in that case is move it out of the objects and make a
handler farther along the message path (the stack script, for
instance) as

command ParseIt
  switch blahBlahBlah
  end switch
end ParseIt

then in the mouseUp handlers just say

on mouseUp
 ...
 ParseIt
 ...
end mouseUp

it's make maintenance much easier and your stack will lose a bit of
flabbiness in the process.



It certainly seemed like good advice until I tried what you suggested:

I moved the recyclable code into the stack script and called it  
from each object.


BUT, the interesting thing as that, while the objects called the  
code successfully, it meant
that the individualised segments of code in the object that came  
after the recyclable code

stopped working properly.

This is a right bu**er as your advice would have meant I could  
reduce my file size considerably.




Jim Ault
Las Vegas



___
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: [OT] A quiet read about Ubuntu

2011-06-09 Thread Richard Gaskin

Richmond Mathewson wrote:


Takes about 10-15 minutes and is really very thought provoking:

http://www.osnews.com/story/24803/The_Sins_of_Ubuntu


It's an odd choice of a title for an article that largely says that 
Ubuntu is doing well in nearly every category he discusses with only a 
few exceptions, and those exceptions are more understandable with a 
little background.


For example, one of these exceptions in the article is:

  It Doesn't Install Secured

  Comparative studies and vendors alike confirm that Linux has
  a superior track record as a secure operating system. Ubuntu
  upholds this great tradition. You'd be hard-pressed to find
  evidence of malware infections in the Ubuntu community.

  But does Ubuntu install as secure as it could, right out of
  the box? Surprisingly, no.

  Take the default firewall as an example. In version 10.x, the
  Uncomplicated Firewall, or UFW, installs as Disabled. You'd
  think such a fundamental security tool as a firewall would
  default to Enabled. Or failing that, that the installation
  panels would give you a checkbox for enabling it.

With all due respect to the author, it seems he doesn't understand 
either Ubuntu or its firewall.


This post from the Ubuntu forum explains it well:

  You don't need a personal firewall running on your computer.
  A default install of Ubuntu does not listen for incoming
  connections. You'd only need a firewall if you installed
  some software that listens (or if you enabled Remote Desktop)
  and DIDN'T want anyone to be able to connect outside your
  own computer.

  Besides, your broadband modem probably already has a NAT
  firewall built-in anyway.

  Windows requires firewalling because it ships with services
  enabled that listen for incoming connections, and attackers
  can take over those services and use them to get access to
  your computer. Ubuntu doesn't come with any gaping security
  holes like that, so you don't need the firewall.
http://ubuntuforums.org/showpost.php?p=10139529postcount=5


You can verify this using ShieldsUp, a web diagnostic tool for port 
scanning available here:

http://www.grc.com



The other two exceptions to his explanation of how he feels Ubuntu 
generally does a good job are related to drivers.


While I wouldn't mind seeing Canonical invest in making drivers, given 
the dizzying variety of hardware out there and the challenges of working 
with so many vendors, some of whom feel their firmware is proprietary, I 
can hardly blame Ubuntu for not being 100% compatible with all devices 
in the world.


On the contrary, Ubuntu runs on far more machines that one can install 
Windows on out-of-the-box.


It's easy to forget that part of the OEM bundling that often occurs with 
Windows includes the manufacturer's alteration of the default install to 
include their own custom drivers.


This is why a new PC comes with a restore CD.  If instead you tried to 
restore a PC using an off-the-shelf copy of Windows, in many cases it 
would fail because it won't be able to obtain the custom drivers.


All in all, the title is the only scary part of the article.  The rest 
offers a good explanation of why and how Ubuntu is as it is, and the 
author seems to feel it's doing rather well.


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
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: [OT] Apple at it again

2011-06-09 Thread Richard Gaskin
Forgive the thread necromancy, but it seems Chipp was right again - back 
in February he wrote:



Surprise, Apple changed their license terms-- again.
http://www.computerworld.com/s/article/9209580/Apple_s_new_App_Store_rules_affect_Amazon_s_Kindle

...

My guess is just like the last time, after much hollering a screaming,
Apple will change it's mind and backpedal.

http://lists.runrev.com/pipermail/use-livecode/2011-February/153082.html

Chipp's guess was correct, less than four months later:

   Apple Reverses Course On In-App Subscriptions
   Thursday June 9, 2011 2:55 am PDT by Jordan Golson

   Apple has quietly changed its guidelines on the pricing of
   In-App Subscriptions on the App Store. There are no longer
   any requirements that a subscription be the same price or
   less than it is offered outside the app. There are no
   longer any guidelines about price at all. Apple also removed
   the requirement that external subscriptions must be also
   offered as an in-app purchase.

   Content providers may offer In-App subscriptions at whatever
   price they wish and they are not required to offer an in-app
   subscription simply because they sell a subscription outside
   the App Store as well
   
http://www.macrumors.com/2011/06/09/apple-reverses-course-on-in-app-subscriptions/


Each of the last two years we've seen disruptive iOS license terms 
rolled out late winter only to be reversed in summer.


What will happen this coming winter, and how many days will it last?

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
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: [OT] A quiet read about Ubuntu

2011-06-09 Thread Richmond Mathewson

On 06/09/2011 03:22 PM, Richard Gaskin wrote:

Richmond Mathewson wrote:


Takes about 10-15 minutes and is really very thought provoking:

http://www.osnews.com/story/24803/The_Sins_of_Ubuntu


It's an odd choice of a title for an article that largely says that 
Ubuntu is doing well in nearly every category he discusses with only a 
few exceptions, and those exceptions are more understandable with a 
little background.


For example, one of these exceptions in the article is:

  It Doesn't Install Secured

  Comparative studies and vendors alike confirm that Linux has
  a superior track record as a secure operating system. Ubuntu
  upholds this great tradition. You'd be hard-pressed to find
  evidence of malware infections in the Ubuntu community.

  But does Ubuntu install as secure as it could, right out of
  the box? Surprisingly, no.

  Take the default firewall as an example. In version 10.x, the
  Uncomplicated Firewall, or UFW, installs as Disabled. You'd
  think such a fundamental security tool as a firewall would
  default to Enabled. Or failing that, that the installation
  panels would give you a checkbox for enabling it.

With all due respect to the author, it seems he doesn't understand 
either Ubuntu or its firewall.


This post from the Ubuntu forum explains it well:

  You don't need a personal firewall running on your computer.
  A default install of Ubuntu does not listen for incoming
  connections. You'd only need a firewall if you installed
  some software that listens (or if you enabled Remote Desktop)
  and DIDN'T want anyone to be able to connect outside your
  own computer.

  Besides, your broadband modem probably already has a NAT
  firewall built-in anyway.

  Windows requires firewalling because it ships with services
  enabled that listen for incoming connections, and attackers
  can take over those services and use them to get access to
  your computer. Ubuntu doesn't come with any gaping security
  holes like that, so you don't need the firewall.
http://ubuntuforums.org/showpost.php?p=10139529postcount=5


You can verify this using ShieldsUp, a web diagnostic tool for port 
scanning available here:

http://www.grc.com



The other two exceptions to his explanation of how he feels Ubuntu 
generally does a good job are related to drivers.


While I wouldn't mind seeing Canonical invest in making drivers, given 
the dizzying variety of hardware out there and the challenges of 
working with so many vendors, some of whom feel their firmware is 
proprietary, I can hardly blame Ubuntu for not being 100% compatible 
with all devices in the world.


On the contrary, Ubuntu runs on far more machines that one can install 
Windows on out-of-the-box.


It's easy to forget that part of the OEM bundling that often occurs 
with Windows includes the manufacturer's alteration of the default 
install to include their own custom drivers.


This is why a new PC comes with a restore CD.  If instead you tried to 
restore a PC using an off-the-shelf copy of Windows, in many cases it 
would fail because it won't be able to obtain the custom drivers.


All in all, the title is the only scary part of the article.  The rest 
offers a good explanation of why and how Ubuntu is as it is, and the 
author seems to feel it's doing rather well.




Frankly the stuff about the firewall did seem a bit odd; although I 
couldn't for the life of me have

explained why in the way you did.

I actually felt that this article was a bit odd in that what it seemed 
to be saying was that
Ubuntu was not as goofy as an plain vanilla install of Windows; i.e. 
not as easy for end-users
to play silly films on. What could also be pointed out is that people 
like myself keep being rung up
by desperate people who have bought PCs with Windows installed on them 
(usually illegally, here in
Bulgaria) by engineers who don't really bother hardening the install 
at all, so that the punters will
come back on a 4 to 6 weekly basis and pay good money for sorting out 
problems with a Windows
install that shouldn't have occurred had the installer taken a spot more 
trouble over it.


My experience is that a plain vanilla install of Ubuntu (i.e. monkey 
just keeps pressing the
 default button during system installation, and does nothing further 
after install) will be entirely
usable (apart from mentioning that Linux doesn't do viruses), while 
Windows will keep flashing up
cryptic messages about drivers and so on, ad nauseam; as well as getting 
compromised really

very rapidly indeed.

As far as I can see the only sin of Ubuntu is that Shuttleworth and 
his merry men have managed
a very clever balancing act with Canonical in keeping Ubuntu largely 
open source, and free, while
making money at the same time. To me that seems far from sinful; even if 
it has both Richard

Stallman and Bill Gates frothing at the mouth.

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

Re: [OT] Apple at it again

2011-06-09 Thread Richmond Mathewson

On 06/09/2011 04:02 PM, Richard Gaskin wrote:
Forgive the thread necromancy, but it seems Chipp was right again - 
back in February he wrote:



Surprise, Apple changed their license terms-- again.
http://www.computerworld.com/s/article/9209580/Apple_s_new_App_Store_rules_affect_Amazon_s_Kindle 


...

My guess is just like the last time, after much hollering a screaming,
Apple will change it's mind and backpedal.
http://lists.runrev.com/pipermail/use-livecode/2011-February/153082.html 



Chipp's guess was correct, less than four months later:

   Apple Reverses Course On In-App Subscriptions
   Thursday June 9, 2011 2:55 am PDT by Jordan Golson

   Apple has quietly changed its guidelines on the pricing of
   In-App Subscriptions on the App Store. There are no longer
   any requirements that a subscription be the same price or
   less than it is offered outside the app. There are no
   longer any guidelines about price at all. Apple also removed
   the requirement that external subscriptions must be also
   offered as an in-app purchase.

   Content providers may offer In-App subscriptions at whatever
   price they wish and they are not required to offer an in-app
   subscription simply because they sell a subscription outside
   the App Store as well
   
http://www.macrumors.com/2011/06/09/apple-reverses-course-on-in-app-subscriptions/ 




Each of the last two years we've seen disruptive iOS license terms 
rolled out late winter only to be reversed in summer.


What will happen this coming winter, and how many days will it last?

I have been marketing my Devawriter Pro (admittedly as a rolling-beta) 
for a year now; changing my
marketing model every month; so far I've managed to make the princely 
sum of 8 Euros.


What does this amazing revelation prove?

Well; either you've got it like Apple, or you haven't, like me; and if 
you've got it it really doesn't
matter how many times you play silly bu##ers, likewise if you haven't . 
. .  :)


___
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: [OT] Apple at it again

2011-06-09 Thread Colin Holgate
These changes are probably a mixture of the reaction of publishers to the first 
agreement, but also an effort to make the iOS 5 Newstand feature be more of a 
success.



___
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


Importing Word documents

2011-06-09 Thread James Hurley
If one copies a Word document from within Word and pastes that copy into a LC 
field, much of the formatting is retained.

Not so if one just uses:  get url file:   tFileName

Is there a way, within LC, to obtain the copy and paste formatting, perhaps 
with an imbedded AppleScript?

Thanks,

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


Edit field into datagrid

2011-06-09 Thread Alessandro Pisoni
how can I create a button that when I click I go to edit a field in a datagrid?





Cordiali Saluti
Alessandro Pisoni


System.ini di Pisoni Alessandro
Via Grandi,5
20062 Cassano d'Adda (MI)
Tel 0363-361487 Fax 1782260060 Cell. 335440150
email:i...@system-ini.it
www.system-ini.it




___
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: Importing Word documents

2011-06-09 Thread Mark Schonewille
Jim,

get shell(textutil -convert rtf  quote  path/to/file.docx  quote)

This will produce a file path/to/file.rtf, which you can read with LiveCode.

--
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 9 jun 2011, at 16:03, James Hurley wrote:

 If one copies a Word document from within Word and pastes that copy into a LC 
 field, much of the formatting is retained.
 
 Not so if one just uses:  get url file:   tFileName
 
 Is there a way, within LC, to obtain the copy and paste formatting, perhaps 
 with an imbedded AppleScript?
 
 Thanks,
 
 Jim



___
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: Importing Word documents

2011-06-09 Thread Paul Dupuis

Use WordLib - available in the RunREv Store under Add-ons. It works great!

On 6/9/2011 10:03 AM, James Hurley wrote:

If one copies a Word document from within Word and pastes that copy into a LC 
field, much of the formatting is retained.

Not so if one just uses:  get url file:   tFileName

Is there a way, within LC, to obtain the copy and paste formatting, perhaps 
with an imbedded AppleScript?

Thanks,

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




--
Paul Dupuis
Cofounder
Researchware, Inc.
http://www.researchware.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: Local files in revBrowser

2011-06-09 Thread Jan Schenkel
--- On Thu, 6/9/11, John Dixon dixo...@hotmail.co.uk wrote:
 
 I wonder if someone could shed some light on a problem I am
 having. The script below works fine running under MacOSX,
 but it does not want to work running under Windows ?.. 
 
 If having the stack would help, I would send it to you.
 
 I am really stumped... any help would be appreciated.
 
 local browserID
 
 on preOpenStack
    set itemDel to / 
    set the defaultfolder to item 1 to -2 of
 (the effective fileName of this stack)
    set the loc of this stack to screenLoc()
 end preOpenStack
 
 on openCard
    /* get the path to the html file */
    put  the defaultFolder 
 /mapFolder/map.html into adJustWindows
    
    /* replace the spaces, if there are any,
 in the URL filepath */
    replace space with %20 in
 adjustWindows
    
    /* set up the browser instance */
    put revBrowserOpen (the windowId of this
 stack, file:///  adjustWindows) into browserID
    revBrowserSet browserID, scrollbars,
 false
    revBrowserSet browserID, showborder,
 true
    revBrowserSet browserID, rect,rect of
 image browserimage
 end openCard
 
 on resizeStack
    /* keep the browser 16 pxs from the
 bottom to be able to get to the resize window box */
    set the rect of image browserImage to
 0, 0  ,  (the width of this stack)  ,
  (the height of this stack -16 )
    revBrowserSet browserID, rect, rect of
 image browserImage
    pass resizeStack
 end resizeStack
 
 on closeCard
    /* destroy the browser instance when the
 card closes */
    if browserID is not empty then
 revBrowserClose browserID
 end closeCard
 
 take care,
 
 Dixie
     

Hi Dixie,

Microsoft wouldn't be Microsoft if things weren't slightly different in their 
world - but then the same can be said the other way around about Apple ;-)

Anyway, here's a blog entry from MS HQ which should be of interest:
http://blogs.msdn.com/ie/archive/2006/12/06/file-uris-in-windows.aspx

HTH,

Jan Schenkel.
=
Quartam Reports  PDF Library for LiveCode
www.quartam.com

=
As we grow older, we grow both wiser and more foolish at the same time.  (La 
Rochefoucauld)


___
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: [OT] Apple at it again

2011-06-09 Thread Colin Holgate
Here is Richard Dreyfuss reading the EULA:

http://www.cnet.com/8301-30976_1-20068778-10348864.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: [OT] Apple at it again

2011-06-09 Thread Klaus on-rev
Hi Colin,

Am 09.06.2011 um 17:26 schrieb Colin Holgate:

 Here is Richard Dreyfuss reading the EULA:
 
 http://www.cnet.com/8301-30976_1-20068778-10348864.html

LOL! :-D

Just wonderful, thanks for the link!
My favourite: Effective until (with the light Schweinhundt accent) :-D


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


using animated gif for a cursor on Windows

2011-06-09 Thread Mark Stuart
Hi All,
I'm using an animated gif (rotating dot in a circle) with the cursor on
Windows XP, but the gif doesn't animate in LC v4.6.1.

the script:

on openStack
   lock cursor
   set the cursor to 1019
  -- do stuff
   unlock cursor
   reset cursors
end openStack

I guess the question here is: does LC support animated gif's on Windows
OS in a cursor?
Or am I missing something in the script or the gif itself?

Regards,
Mark Stuart

___
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: [OT] Apple at it again

2011-06-09 Thread Colin Holgate
Hopefully that won't be soon.


On Jun 9, 2011, at 12:07 PM, Mark Talluto wrote:

 Eventually, once they stop radically innovating new concepts, this will all 
 settle down and it will all be business as usual.


___
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: LIVECODE running in LION

2011-06-09 Thread Bob Sneidar
So by that rule, we should have skipped the next three versions of MS Office 
and Server, since Server 2000 and Office 2000? ;-)

Bob


On Jun 8, 2011, at 11:52 PM, FlexibleLearning wrote:

 
 Rule of Thumb: Never buy anything with a zero on the end.
 
 :)
 
 Hugh Senior
 FLCo
 
 
 
 Colin Holgate wrote
 
 My last attempt to install Lion resulted in a drive that is so unhappy that
 I can't even format it using Terminal. DiskWarrior makes a little chuckling
 sound when I try to use it to see the drive, and Disk Utility has no clue
 either.
 
 
 ___
 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: FTP Problem

2011-06-09 Thread Pete
Thanks Jim.  Just took a quick look at FTPCommander and it uses
libURLftpUploadFile rather than the put URL in my script.  I'll switch to
libURLftpUploadFile and see what happens.
Pete
Molly's Revenge http://www.mollysrevenge.com




On Wed, Jun 8, 2011 at 11:29 PM, Jim Ault jimaultw...@yahoo.com wrote:


 On Jun 8, 2011, at 6:42 PM, Pete wrote:

  I'm getting a socket timeout during execution of a put URL command with an
 ftp:// url in the destination address.  I use the same statement to
 upload
 several different files and they all work fine except for one file which
 fails with the error about half the time.  The file is bigger than the
 other
 files but it's only about 200kbytes.  The same file uploads in a few
 seconds
 using any of several ftp GUI tools I use.

 Any ideas?


 Try using Andre's
 FTPCommander.rev  at RevOnline
 If that does the job, then look at the scripts to check his extra
 commands/settings that you may require to be more robust.

 - from his email in 2004
 Hi Folks,
 just added a button to set permissions on remote FTP files, it's the
 'Perms' button, you use it like the CHMOD command in unix by setting it to a
 number like 755 (Ie: CGI) or 777 (Ie: CGI-Folders), if you don't know what
 file permissions are, then you should not be messing with them on your
 FTP... =)
 -
 Pete, I could not check it out just now since RevOnline was not letting me
 get connected, but it is up there, i saw it a couple weeks ago.


 Jim Ault
 Las Vegas

 ___
 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: [OT] Apple at it again

2011-06-09 Thread Richard Gaskin

Mark Talluto wrote:

 Apple is pioneering the mobile app market and is pushing hard
 initially for as much control as they think possible.  Thanks
 to competition and market pressure, they are forced to come
 back in line with what is reasonable.

Reminds me of my last job I had before I started Fourth World, where one 
of my tasks was doing contract review with our prime contractors, which 
often meant long conversations with senior counsel at Bechtel, Parsons, 
and similarly large firms.


My boss explained my job like this:

They're job is to ask for the world.  Your job is to ask for half of it 
back.


:)

--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
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: [OT] Apple at it again

2011-06-09 Thread John Dixon

lovely... :-)

 My boss explained my job like this:
 
 They're job is to ask for the world.  Your job is to ask for half of it 
 back.
 
   Richard Gaskin


  
___
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: Edit field into datagrid

2011-06-09 Thread Bob Sneidar
I may misunderstand, but it sounds a lot like asking what car should you buy to 
get groceries from the store. ;-) It's too vague. WHICH field? Which row? Which 
column? Not enough info. 

If you mean you want to begin editing at the first row, first column, or 
perhaps save the last edited cell and enter that when you click the button, 
that can be managed. 

I'm not quite sure where, but in the behavior script of your datagrid, there 
should be a method or command for editing a cell. It's what you get when you 
double click on a cell in an editable datagrid. I don't have the time to look 
into it myself, but if you do it will be a good lesson on the inner workings of 
a datagrid. 

But since your user can double click to edit a datagrid, why would you need a 
button? Also, it *may* work to simply send a double click to the location of 
the cell you want to edit. But that is a bit kludgy. 

Bob


On Jun 9, 2011, at 7:06 AM, Alessandro Pisoni wrote:

 how can I create a button that when I click I go to edit a field in a 
 datagrid?
 
 
 
 
 
 Cordiali Saluti
 Alessandro Pisoni
 
 
 System.ini di Pisoni Alessandro
 Via Grandi,5
 20062 Cassano d'Adda (MI)
 Tel 0363-361487 Fax 1782260060 Cell. 335440150
 email:i...@system-ini.it
 www.system-ini.it
 
 
 
 
 ___
 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: LIVECODE running in LION

2011-06-09 Thread Richmond Mathewson

On 06/09/2011 07:28 PM, Bob Sneidar wrote:

So by that rule, we should have skipped the next three versions of MS Office 
and Server, since Server 2000 and Office 2000? ;-)


Yeah, well, my experience is that if a product says Microsoft I don't 
even bother to

check for zeros or not . . . I start finding another way to do things.


Bob


On Jun 8, 2011, at 11:52 PM, FlexibleLearning wrote:


Rule of Thumb: Never buy anything with a zero on the end.

:)

Hugh Senior
FLCo



Colin Holgate wrote

My last attempt to install Lion resulted in a drive that is so unhappy that
I can't even format it using Terminal. DiskWarrior makes a little chuckling
sound when I try to use it to see the drive, and Disk Utility has no clue
either.


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


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



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


Re: Local files in revBrowser

2011-06-09 Thread Mike Bonner
John sent me a copy of the files, the revbrowserstuff is working fine, it
seems to be javascript related (the errors are javascript errors) but i'm
not much on javascript so this is over my head.

On Thu, Jun 9, 2011 at 8:42 AM, Jan Schenkel janschen...@yahoo.com wrote:

 --- On Thu, 6/9/11, John Dixon dixo...@hotmail.co.uk wrote:
 
  I wonder if someone could shed some light on a problem I am
  having. The script below works fine running under MacOSX,
  but it does not want to work running under Windows ?..
 
  If having the stack would help, I would send it to you.
 
  I am really stumped... any help would be appreciated.
 
  local browserID
 
  on preOpenStack
 set itemDel to /
 set the defaultfolder to item 1 to -2 of
  (the effective fileName of this stack)
 set the loc of this stack to screenLoc()
  end preOpenStack
 
  on openCard
 /* get the path to the html file */
 put  the defaultFolder 
  /mapFolder/map.html into adJustWindows
 
 /* replace the spaces, if there are any,
  in the URL filepath */
 replace space with %20 in
  adjustWindows
 
 /* set up the browser instance */
 put revBrowserOpen (the windowId of this
  stack, file:///  adjustWindows) into browserID
 revBrowserSet browserID, scrollbars,
  false
 revBrowserSet browserID, showborder,
  true
 revBrowserSet browserID, rect,rect of
  image browserimage
  end openCard
 
  on resizeStack
 /* keep the browser 16 pxs from the
  bottom to be able to get to the resize window box */
 set the rect of image browserImage to
  0, 0  ,  (the width of this stack)  ,
   (the height of this stack -16 )
 revBrowserSet browserID, rect, rect of
  image browserImage
 pass resizeStack
  end resizeStack
 
  on closeCard
 /* destroy the browser instance when the
  card closes */
 if browserID is not empty then
  revBrowserClose browserID
  end closeCard
 
  take care,
 
  Dixie
 

 Hi Dixie,

 Microsoft wouldn't be Microsoft if things weren't slightly different in
 their world - but then the same can be said the other way around about Apple
 ;-)

 Anyway, here's a blog entry from MS HQ which should be of interest:
 http://blogs.msdn.com/ie/archive/2006/12/06/file-uris-in-windows.aspx

 HTH,

 Jan Schenkel.
 =
 Quartam Reports  PDF Library for LiveCode
 www.quartam.com

 =
 As we grow older, we grow both wiser and more foolish at the same time.
  (La Rochefoucauld)


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

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


Re: Local files in revBrowser

2011-06-09 Thread Klaus on-rev
Hi Mike,

Am 09.06.2011 um 18:53 schrieb Mike Bonner:

 John sent me a copy of the files, the revbrowserstuff is working fine, it
 seems to be javascript related (the errors are javascript errors) but i'm
 not much on javascript so this is over my head.

Yep, same here!
Looks like John wanted a second opinion ;-)


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


DataGrids sharing templates

2011-06-09 Thread Jeff Massung
I'm sure I saw this before somewhere, but Google hasn't been kind to me. Is
there an easy way to make multiple datagrids all use the same template?

Jeff M.
___
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: DataGrids sharing templates

2011-06-09 Thread Jeff Massung
Nevermind...

http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7319-How-Do-I-Use-A-Template-In-Multiple-Data-Grids-


On Thu, Jun 9, 2011 at 11:02 AM, Jeff Massung mass...@gmail.com wrote:

 I'm sure I saw this before somewhere, but Google hasn't been kind to me. Is
 there an easy way to make multiple datagrids all use the same template?

 Jeff M.

___
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: [OT] Apple at it again

2011-06-09 Thread Pete
Wow, you had an easy boss!  Mine would have told me to ask for 90% of the
world back and settle for 80%.
Pete
Molly's Revenge http://www.mollysrevenge.com




On Thu, Jun 9, 2011 at 9:34 AM, Richard Gaskin
ambassa...@fourthworld.comwrote:

 Mark Talluto wrote:

  Apple is pioneering the mobile app market and is pushing hard
  initially for as much control as they think possible.  Thanks
  to competition and market pressure, they are forced to come
  back in line with what is reasonable.

 Reminds me of my last job I had before I started Fourth World, where one of
 my tasks was doing contract review with our prime contractors, which often
 meant long conversations with senior counsel at Bechtel, Parsons, and
 similarly large firms.

 My boss explained my job like this:

 They're job is to ask for the world.  Your job is to ask for half of it
 back.

 :)


 --
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

 ___
 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: [OT] Apple at it again

2011-06-09 Thread Nonsanity
I rather expected this too. By setting draconian price guidelines initially,
they can control the market prices. The other requirement of
must-also-be-listed makes sure those controlled prices get used. Then a few
months later, before legal conflict can come to fruition, Apple revokes
these limitations. But the market has been established under their control,
and is likely to not drift too far from their desired model after they
relinquish control. I think Apple planned to revoke those limits after a few
months from the get-go.

 ~ Chris Innanen
 ~ Nonsanity


On Thu, Jun 9, 2011 at 9:02 AM, Richard Gaskin
ambassa...@fourthworld.comwrote:

 Forgive the thread necromancy, but it seems Chipp was right again - back in
 February he wrote:

  Surprise, Apple changed their license terms-- again.

 http://www.computerworld.com/s/article/9209580/Apple_s_new_App_Store_rules_affect_Amazon_s_Kindle

 ...

  My guess is just like the last time, after much hollering a screaming,
 Apple will change it's mind and backpedal.

 http://lists.runrev.com/pipermail/use-livecode/2011-February/153082.html

 Chipp's guess was correct, less than four months later:

   Apple Reverses Course On In-App Subscriptions
   Thursday June 9, 2011 2:55 am PDT by Jordan Golson

   Apple has quietly changed its guidelines on the pricing of
   In-App Subscriptions on the App Store. There are no longer
   any requirements that a subscription be the same price or
   less than it is offered outside the app. There are no
   longer any guidelines about price at all. Apple also removed
   the requirement that external subscriptions must be also
   offered as an in-app purchase.

   Content providers may offer In-App subscriptions at whatever
   price they wish and they are not required to offer an in-app
   subscription simply because they sell a subscription outside
   the App Store as well
   
 
 http://www.macrumors.com/2011/06/09/apple-reverses-course-on-in-app-subscriptions/
 


 Each of the last two years we've seen disruptive iOS license terms rolled
 out late winter only to be reversed in summer.

 What will happen this coming winter, and how many days will it last?


 --
  Richard Gaskin
  Fourth World
  LiveCode training and consulting: http://www.fourthworld.com
  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
  LiveCode Journal blog: http://LiveCodejournal.com/blog.irv


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


Re: Local files in revBrowser

2011-06-09 Thread Mike Bonner
Got the map itself working, but still stuck on the route generation
portion.

On Thu, Jun 9, 2011 at 10:59 AM, Klaus on-rev kl...@major.on-rev.comwrote:

 Hi Mike,

 Am 09.06.2011 um 18:53 schrieb Mike Bonner:

  John sent me a copy of the files, the revbrowserstuff is working fine, it
  seems to be javascript related (the errors are javascript errors) but i'm
  not much on javascript so this is over my head.

 Yep, same here!
 Looks like John wanted a second opinion ;-)


 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

___
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: LIVECODE running in LION

2011-06-09 Thread Andre Garzia
On Thu, Jun 9, 2011 at 1:38 PM, Richmond Mathewson 
richmondmathew...@gmail.com wrote:

 On 06/09/2011 07:28 PM, Bob Sneidar wrote:

 So by that rule, we should have skipped the next three versions of MS
 Office and Server, since Server 2000 and Office 2000? ;-)


 Yeah, well, my experience is that if a product says Microsoft I don't
 even bother to
 check for zeros or not . . . I start finding another way to do things.


truth be said: Microsoft makes great video games, the XBOX 360 is a great
machine for both players and developers but on the other hand, their desktop
computing business well... you know






  Bob


 On Jun 8, 2011, at 11:52 PM, FlexibleLearning wrote:

  Rule of Thumb: Never buy anything with a zero on the end.

 :)

 Hugh Senior
 FLCo



 Colin Holgate wrote

 My last attempt to install Lion resulted in a drive that is so unhappy
 that
 I can't even format it using Terminal. DiskWarrior makes a little
 chuckling
 sound when I try to use it to see the drive, and Disk Utility has no clue
 either.


 ___
 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




-- 
http://www.andregarzia.com All We Do Is Code.
___
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: Importing Word documents

2011-06-09 Thread James Hurley
 
 Message: 10
 Date: Thu, 9 Jun 2011 16:20:42 +0200
 From: Mark Schonewille m.schonewi...@economy-x-talk.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Subject: Re: Importing Word documents
 Message-ID: dcf3260a-5b5c-40b4-becc-4785230e6...@economy-x-talk.com
 Content-Type: text/plain; charset=us-ascii
 
 Jim,
 
 get shell(textutil -convert rtf  quote  path/to/file.docx  quote)
 
 This will produce a file path/to/file.rtf, which you can read with LiveCode.
 
 --
 Best regards,
 
 Mark Schonewille

Mark,

This doesn't work for me. It appears to recognize the file name but it comes 
up empty.

Does this work on Word files or just Text files?

Jim


___
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: [OT] Apple at it again

2011-06-09 Thread Bob Sneidar
I never listen to what people say. I only listen to what they mean. ;-)

Bob


On Jun 9, 2011, at 10:01 AM, Richard Gaskin wrote:

 But that's for another time; for now, I just have to apologize for the stupid 
 pre-coffee typo - obviously They're should be Their:


___
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: [OT] Apple at it again

2011-06-09 Thread J. Landman Gay

On 6/9/11 8:02 AM, Richard Gaskin wrote:


Content providers may offer In-App subscriptions at whatever
price they wish and they are not required to offer an in-app
subscription simply because they sell a subscription outside
the App Store as well



Sounds to me like a protective action in response to Lodsys and their 
patent litigation against developers. I've been following that and it's 
ugly. Apple needs its developers, and they were in a bind with the 
original requirements: developers had to use Apple's purchasing system, 
but Lodsys was suing developers for using it. The solution was to remove 
the requirement.


--
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: [OT] Apple at it again

2011-06-09 Thread Bob Sneidar
Conspiracy upon conspiracy, wheels within wheels eh? Sounds like a Hollywood 
movie. 

Bob


On Jun 9, 2011, at 10:12 AM, Nonsanity wrote:

 I rather expected this too. By setting draconian price guidelines initially,
 they can control the market prices. The other requirement of
 must-also-be-listed makes sure those controlled prices get used. Then a few
 months later, before legal conflict can come to fruition, Apple revokes
 these limitations. But the market has been established under their control,
 and is likely to not drift too far from their desired model after they
 relinquish control. I think Apple planned to revoke those limits after a few
 months from the get-go.
 
 ~ Chris Innanen
 ~ Nonsanity
 
 
 On Thu, Jun 9, 2011 at 9:02 AM, Richard Gaskin
 ambassa...@fourthworld.comwrote:
 
 Forgive the thread necromancy, but it seems Chipp was right again - back in
 February he wrote:
 
 Surprise, Apple changed their license terms-- again.
 
 http://www.computerworld.com/s/article/9209580/Apple_s_new_App_Store_rules_affect_Amazon_s_Kindle
 
 ...
 
 My guess is just like the last time, after much hollering a screaming,
 Apple will change it's mind and backpedal.
 
 http://lists.runrev.com/pipermail/use-livecode/2011-February/153082.html
 
 Chipp's guess was correct, less than four months later:
 
  Apple Reverses Course On In-App Subscriptions
  Thursday June 9, 2011 2:55 am PDT by Jordan Golson
 
  Apple has quietly changed its guidelines on the pricing of
  In-App Subscriptions on the App Store. There are no longer
  any requirements that a subscription be the same price or
  less than it is offered outside the app. There are no
  longer any guidelines about price at all. Apple also removed
  the requirement that external subscriptions must be also
  offered as an in-app purchase.
 
  Content providers may offer In-App subscriptions at whatever
  price they wish and they are not required to offer an in-app
  subscription simply because they sell a subscription outside
  the App Store as well
  
 
 http://www.macrumors.com/2011/06/09/apple-reverses-course-on-in-app-subscriptions/
 
 
 
 Each of the last two years we've seen disruptive iOS license terms rolled
 out late winter only to be reversed in summer.
 
 What will happen this coming winter, and how many days will it last?
 
 
 --
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv
 
 
 ___
 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: Importing Word documents

2011-06-09 Thread Mark Schonewille
James,

If it is empty, in other words if the shell function doesn't return a value, 
it means that the textutil command didn't produce any errors. Have a look at 
the folder containing the original file. It should also contain the new file.

--
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 9 jun 2011, at 19:29, James Hurley wrote:

 
 Message: 10
 Date: Thu, 9 Jun 2011 16:20:42 +0200
 From: Mark Schonewille m.schonewi...@economy-x-talk.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Subject: Re: Importing Word documents
 Message-ID: dcf3260a-5b5c-40b4-becc-4785230e6...@economy-x-talk.com
 Content-Type: text/plain; charset=us-ascii
 
 Jim,
 
 get shell(textutil -convert rtf  quote  path/to/file.docx  quote)
 
 This will produce a file path/to/file.rtf, which you can read with LiveCode.
 
 --
 Best regards,
 
 Mark Schonewille
 
 Mark,
 
 This doesn't work for me. It appears to recognize the file name but it 
 comes up empty.
 
 Does this work on Word files or just Text files?
 
 Jim
 


___
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: Importing Word documents

2011-06-09 Thread Bob Sneidar
He is saying that it will produce a file on the disk. Empty is probably what 
the shell returns if all goes well. The it variable would probably contain an 
error if things did not go well. 

Bob


On Jun 9, 2011, at 10:29 AM, James Hurley wrote:

 
 Message: 10
 Date: Thu, 9 Jun 2011 16:20:42 +0200
 From: Mark Schonewille m.schonewi...@economy-x-talk.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Subject: Re: Importing Word documents
 Message-ID: dcf3260a-5b5c-40b4-becc-4785230e6...@economy-x-talk.com
 Content-Type: text/plain; charset=us-ascii
 
 Jim,
 
 get shell(textutil -convert rtf  quote  path/to/file.docx  quote)
 
 This will produce a file path/to/file.rtf, which you can read with LiveCode.
 
 --
 Best regards,
 
 Mark Schonewille
 
 Mark,
 
 This doesn't work for me. It appears to recognize the file name but it 
 comes up empty.
 
 Does this work on Word files or just Text files?
 
 Jim
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


RE: Local files in revBrowser

2011-06-09 Thread John Dixon


Hi Mike  Klaus ...

 John sent me a copy of the files, the revbrowserstuff is working fine, it
 seems to be javascript related (the errors are javascript errors) but i'm
 not much on javascript so this is over my head.

What confuses me, and it doesn't take at lot, is that it all runs fine under 
OSX... It works on OSX if I open the html file by using rev browser and it 
opens if I use a web browser it just won't under windows... my simple mind 
and short attention span just can't get to grips with this at all... 

be well

Dixie

  
___
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: Live LiveCode code event #27

2011-06-09 Thread Björnke von Gierke
Anyone?

On 9 Jun 2011, at 05:16, Björnke von Gierke wrote:

 Unfortunately, I was unable to motivate any presenters for this week. Please 
 send me a mail if you have time to present something this weekend. If I can't 
 find people the event will have to be canceled.
 
 Thank you
 Björnke
 
 
 
 -- 
 
 official ChatRev page:
 http://bjoernke.com/chatrev
 
 
 Chat with other RunRev developers:
 go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev;
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: Local files in revBrowser

2011-06-09 Thread Mike Bonner
There was some definite corruption (possibly during the move from the mac to
windows machine?). I cleaned things up as best I could, got the map to work,
but not the route stuff.  I then grabbed the example of simple direction
(the one that just draws the route) and adjusted the map.html to match,
including the extra parameters you had set up.  In chrome it works great (I
have it set up with 2 fields so you can pull up a route between wells and
bristol) It also works famously when pulled up with iexplore directly from
the file.

In revbrowser, it loads, the screen goes blank, (just the browser portion),
the map is no longer showing (no errors.)  If I resize the stack, the map
flickers in and out, and if I stop at a good location, the map draws and
looks fine. If I then use the dropdown selectors I added to bring up the
route between wells and bristol, screen flickers, and poof. Map is gone
again.  Resizing makes it come back if I drop in the right spot.

Same with zooming in and out using the controls. Its hit or miss (mostly
miss) as to whether the map will or won't show.



On Thu, Jun 9, 2011 at 11:46 AM, John Dixon dixo...@hotmail.co.uk wrote:



 Hi Mike  Klaus ...

  John sent me a copy of the files, the revbrowserstuff is working fine, it
  seems to be javascript related (the errors are javascript errors) but i'm
  not much on javascript so this is over my head.

 What confuses me, and it doesn't take at lot, is that it all runs fine
 under OSX... It works on OSX if I open the html file by using rev browser
 and it opens if I use a web browser it just won't under windows... my
 simple mind and short attention span just can't get to grips with this at
 all...

 be well

 Dixie


 ___
 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: [OT] Apple at it again

2011-06-09 Thread Richmond Mathewson

On 06/09/2011 08:36 PM, Bob Sneidar wrote:

Conspiracy upon conspiracy, wheels within wheels eh? Sounds like a Hollywood 
movie.


Oooh; can I have the role of the slightly daft Scotsman who manages to 
make off-colour

remarks and put people's hackles up at critical moments?

Hey; and if I land the role, I promise NOT to wear my leopard-skin 
posing briefs . . .


. . . whoops, wait a minute . . . Leopard is out . . . I meant to say 
lion-skin posing briefs . . .  :)



Bob




___
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: Challenge: Faking 3D extrusion of a polygon SOLVED

2011-06-09 Thread Michael Kristensen
Hi there

Here is a very fast version, with no compromise.

http://forums.runrev.com/phpBB2/viewtopic.php?f=9t=7824p=37483#p37483

Special thanks goes to Bernd Niggemann who worked with me offline, and was 
instrumental to the final solution.

Michael



___
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: Live LiveCode code event #27

2011-06-09 Thread Colin Holgate
Andreas already offered I think, and I have a couple of ideas too.


On Jun 9, 2011, at 2:22 PM, Björnke von Gierke wrote:

 Anyone?


___
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: Live LiveCode code event #27

2011-06-09 Thread Björnke von Gierke
I aprechiate every presenter, and any date, but right now it's less then 48 
hours until the next event and i need something quick :(

On 9 Jun 2011, at 21:20, Colin Holgate wrote:

 Andreas already offered I think, and I have a couple of ideas too.
 
 
 On Jun 9, 2011, at 2:22 PM, Björnke von Gierke wrote:
 
 Anyone?
 
 
 ___
 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: [OT] Apple at it again

2011-06-09 Thread Chipp Walters
Now, if I could only do better predicting the NBA finals, I might actually
make a few bucks!

On Thu, Jun 9, 2011 at 8:02 AM, Richard Gaskin
ambassa...@fourthworld.comwrote:


 Chipp's guess was correct, less than four months 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: LIVECODE running in LION

2011-06-09 Thread Mark Wieder
Bob-

Thursday, June 9, 2011, 9:28:39 AM, you wrote:

 So by that rule, we should have skipped the next three versions
 of MS Office and Server, since Server 2000 and Office 2000? ;-)

I did. About six months ago I switched to Open Office and have never
looked back. Just waslked away from my MSOffice licenses and life is
good. No weird unexplainable bugs, no bloated documents, no tracking
info, no arcane EULAs...

-- 
-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: LIVECODE running in LION

2011-06-09 Thread Richmond Mathewson

On 06/09/2011 11:11 PM, Mark Wieder wrote:

Bob-

Thursday, June 9, 2011, 9:28:39 AM, you wrote:


So by that rule, we should have skipped the next three versions
of MS Office and Server, since Server 2000 and Office 2000? ;-)

I did. About six months ago I switched to Open Office and have never
looked back. Just waslked away from my MSOffice licenses and life is
good. No weird unexplainable bugs, no bloated documents, no tracking
info, no arcane EULAs...


Some people got forked off and set up the Document Foundation,
which is now stealing all the light:

http://www.libreoffice.org/download/

___
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


[OT] Want to waste some more time?

2011-06-09 Thread Richmond Mathewson

Playing, Learning, Farting Around:

AURA in VM Box:

http://finncomputers.com/aura/overview

___
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


Standalones Not Working

2011-06-09 Thread Stephen McNutt
 I’ve got an app I’ve been working with for years.  I hadn’t compiled it into 
 a standalone for maybe a year or more.  It works fine within LiveCode, but 
 now I can’t get the standalone to work.  There are at least two symptoms:
 
 The standalone’s window is cropped short on the bottom.  It’s missing about 
 as much as the height of the title bar at the top of the window.  
 
 Also, the standalone appears to not be communicating with the data files even 
 though they seem to be in the right place within the standalone OS X package.
 
 I just noticed that my data files have two extensions.  They all end in 
 .edb.rev.  That can’t be right.  They should just end with .edb, right?  
 That’s how they are before I make the standalone.  I’ll bet this is the 
 problem.  Why would the standalone making process be putting .rev extensions 
 on these data files?

Chopping off the .rev part makes the data files work in the standalone.  Is 
this a bug?  I’m using LiveCode 4.5.3.

That still didn’t fix my problem of having the bottom of the standalone window 
cut off, though.
 
 Thanks,
 Steve McNutt


___
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: LIVECODE running in LION

2011-06-09 Thread Bob Sneidar
I wish I could do that in a corporate environment. I would have people bleating 
to the powers that be that Bob is trying to ruin everything and destroy all the 
data faster than you could say two whiskers. 

Bob


On Jun 9, 2011, at 1:11 PM, Mark Wieder wrote:

 Bob-
 
 Thursday, June 9, 2011, 9:28:39 AM, you wrote:
 
 So by that rule, we should have skipped the next three versions
 of MS Office and Server, since Server 2000 and Office 2000? ;-)
 
 I did. About six months ago I switched to Open Office and have never
 looked back. Just waslked away from my MSOffice licenses and life is
 good. No weird unexplainable bugs, no bloated documents, no tracking
 info, no arcane EULAs...
 
 -- 
 -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


___
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


find by content with Mac OS

2011-06-09 Thread Timothy Miller
My feeble brain seems to suggest that Mac OS find-by-content will not find text 
in an ordinary field in a LiveCode stack (not to mention a button or script). I 
just tried it. OTOH, I don't have much confidence in my feeble brain.

Am I right?

If so, is there any way to enable such a feature?

Off-topic, it also appears that find-by-content doesn't find text in Stickies, 
either. I always assumed it would, but never bothered to check, until today.

Both items are inconvenient. Normally, I expect more of Apple, and Apple 
usually delivers.

Cheers,

Tim
___
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: LIVECODE running in LION

2011-06-09 Thread Richmond Mathewson

On 06/09/2011 11:41 PM, Bob Sneidar wrote:

I wish I could do that in a corporate environment. I would have people bleating 
to the powers that be that Bob is trying to ruin everything and destroy all the 
data faster than you could say two whiskers.


Even if I've achieved nothing else here in Plovdiv, Bulgaria; I have 
managed to get almost all the kids
I teach who have Mums and Dads who run companies (quite a few) to switch 
to licensed Windows
and Open Office. However the thing that really makes me happy are those 
who have gone over to

using a Linux distro with OOO. Nobody has yet complained about OOO.


Bob




___
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: find by content with Mac OS

2011-06-09 Thread Richmond Mathewson

On 06/09/2011 11:47 PM, Timothy Miller wrote:

My feeble brain seems to suggest that Mac OS find-by-content will not find text 
in an ordinary field in a LiveCode stack (not to mention a button or script). I 
just tried it. OTOH, I don't have much confidence in my feeble brain.

Am I right?

If so, is there any way to enable such a feature?

Off-topic, it also appears that find-by-content doesn't find text in Stickies, 
either. I always assumed it would, but never bothered to check, until today.


Why would one want to search the content of Stickies notes: Mum coming 
for coffee this afternoon?



Both items are inconvenient. Normally, I expect more of Apple, and Apple 
usually delivers.


Hmmm.  I wonder how many engineers are working at Apple assigned to 
doing find-by-content
for Livecode stacks, when, face-the-facts, Livecode does not, yet, enjoy 
the reach that many other

progging environments do.

Surely Apple's priorities, like most other people, are with the things 
that loom large on their horizon.

Until Livecode looms large, it will be pushed aside by bigger fish.


Cheers,

Tim
___
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: LIVECODE running in LION

2011-06-09 Thread Richard Gaskin

I always loved John Vokey's sigline:

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

-Dr. John R. Vokey

:)

I've been using OpenOffice for the last two years, and recently switched 
to its younger brother LibreOffice - very capable tools that do a great 
job for what I need from an office suite.


- rg

Bob Sneidar wrote:


I wish I could do that in a corporate environment. I would have people bleating 
to the powers that be that Bob is trying to ruin everything and destroy all the 
data faster than you could say two whiskers.

Bob

On Jun 9, 2011, at 1:11 PM, Mark Wieder wrote:


Bob-

Thursday, June 9, 2011, 9:28:39 AM, you wrote:


So by that rule, we should have skipped the next three versions
of MS Office and Server, since Server 2000 and Office 2000? ;-)


I did. About six months ago I switched to Open Office and have never
looked back. Just waslked away from my MSOffice licenses and life is
good. No weird unexplainable bugs, no bloated documents, no tracking
info, no arcane EULAs...

--




___
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: find by content with Mac OS

2011-06-09 Thread Richard Gaskin

Timothy Miller wrote:


My feeble brain seems to suggest that Mac OS find-by-content will not find text 
in an ordinary field in a LiveCode stack (not to mention a button or script). I 
just tried it. OTOH, I don't have much confidence in my feeble brain.

Am I right?

If so, is there any way to enable such a feature?


IIRC (I turned off Spotlight years ago; got tired of the constant disk 
thrashing), LiveCode scripts are automatically indexed by Spotlight, but 
not field content.


I have no idea why that's how it is; seems a bit backwards to me, but 
maybe there's a reason for it.


Anyone know offhand if there's an RQCC request for indexing fields 
w/Spotlight?


--
 Richard Gaskin
 Fourth World
 LiveCode training and consulting: http://www.fourthworld.com
 Webzine for LiveCode developers: http://www.LiveCodeJournal.com
 LiveCode Journal blog: http://LiveCodejournal.com/blog.irv

___
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: Standalones Not Working

2011-06-09 Thread Mark Schonewille
Hi Steve,

Here are 18 Reasons Why Compiling with RunRev (LiveCode) May Fail: 
http://qery.us/pr (or rather, the solutions).

The cut-off at the bottom is connected to the menus and the destroyStack and 
destroyWindow properties. Try toggling those.

I bet that you have assigned your .edb files as stack files. LiveCode reads 
those and adds the .rev or .livecode extension if they don't have one. This 
problem should no longer occur if you add the files as normal files rather than 
stack files.

--
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 9 jun 2011, at 22:26, Stephen McNutt wrote:

 I’ve got an app I’ve been working with for years.  I hadn’t compiled it into 
 a standalone for maybe a year or more.  It works fine within LiveCode, but 
 now I can’t get the standalone to work.  There are at least two symptoms:
 
 The standalone’s window is cropped short on the bottom.  It’s missing about 
 as much as the height of the title bar at the top of the window.  
 
 Also, the standalone appears to not be communicating with the data files 
 even though they seem to be in the right place within the standalone OS X 
 package.
 
 I just noticed that my data files have two extensions.  They all end in 
 .edb.rev.  That can’t be right.  They should just end with .edb, right?  
 That’s how they are before I make the standalone.  I’ll bet this is the 
 problem.  Why would the standalone making process be putting .rev extensions 
 on these data files?
 
 Chopping off the .rev part makes the data files work in the standalone.  Is 
 this a bug?  I’m using LiveCode 4.5.3.
 
 That still didn’t fix my problem of having the bottom of the standalone 
 window cut off, though.
 
 Thanks,
 Steve McNutt


___
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: LIVECODE running in LION

2011-06-09 Thread Bob Sneidar
A-FREAKEN-MEN!!!

On Jun 9, 2011, at 2:06 PM, Richard Gaskin wrote:

 I always loved John Vokey's sigline:
 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
 
-Dr. John R. Vokey
 
 :)


___
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: [OT] Apple at it again

2011-06-09 Thread Peter Brigham MD
On Jun 9, 2011, at 1:34 PM, Bob Sneidar wrote:

 I never listen to what people say. I only listen to what they mean. ;-)
 
 Bob

Now, what exactly do you mean by that? (I speak as a psychiatrist...)

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig




___
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: [OT] Apple at it again

2011-06-09 Thread Peter Brigham MD

On Jun 9, 2011, at 2:44 PM, Richmond Mathewson wrote:

 Hey; and if I land the role, I promise NOT to wear my leopard-skin posing 
 briefs . . .
 
 . . . whoops, wait a minute . . . Leopard is out . . . I meant to say 
 lion-skin posing briefs . . .  :)

Better not... as we have been hearing, Lion is full of bugs. You don't want to 
find out just what kind of bugs, not in that way.

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig



___
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: find by content with Mac OS

2011-06-09 Thread Jim Ault

On Jun 9, 2011, at 1:47 PM, Timothy Miller wrote:

My feeble brain seems to suggest that Mac OS find-by-content will  
not find text in an ordinary field in a LiveCode stack (not to  
mention a button or script). I just tried it. OTOH, I don't have  
much confidence in my feeble brain.


Am I right?

If so, is there any way to enable such a feature?

Off-topic, it also appears that find-by-content doesn't find text in  
Stickies, either. I always assumed it would, but never bothered to  
check, until today.


Both items are inconvenient. Normally, I expect more of Apple, and  
Apple usually delivers.




Usually the vendor has to adjust their app to make spotlight indexing   
'Allowed' and 'visible'.  Some vendors have created plugins and made  
them available for download.


Google spotlight nabble revolution to get a better take on the issue.

For OSX QuickView, their are plugins for expanding the formats, eg.   
'.php' files


The best solution for now is to have an LC script export to a text  
file all the info you would like to have Spotlight available.


Hope this helps


Jim Ault
Las Vegas



___
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: How do you build the tabs like in the script editor

2011-06-09 Thread Ken Ray

 I've started prototyping an example, and it seems the best approach for
 this kind of thing.
 If you'd like the example stack when I'm done, please let me know. LC
 4.6.1

I'd like to see it! Maybe it could turn into a DropTool...

:D

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: [OT] Apple at it again

2011-06-09 Thread Bob Sneidar
What are you saying? (I speak as a patient...)

Bob


On Jun 9, 2011, at 3:04 PM, Peter Brigham MD wrote:

 On Jun 9, 2011, at 1:34 PM, Bob Sneidar wrote:
 
 I never listen to what people say. I only listen to what they mean. ;-)
 
 Bob
 
 Now, what exactly do you mean by that? (I speak as a psychiatrist...)
 
 -- Peter
 
 Peter M. Brigham
 pmb...@gmail.com
 http://home.comcast.net/~pmbrig
 
 
 
 
 ___
 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: How do you build the tabs like in the script editor

2011-06-09 Thread Bob Sneidar
So would I. Maybe yours could replace the tab object the way Trevor's Datagrid 
replaced the Table Field. 

Bob


On Jun 9, 2011, at 3:24 PM, Ken Ray wrote:

 
 I've started prototyping an example, and it seems the best approach for
 this kind of thing.
 If you'd like the example stack when I'm done, please let me know. LC
 4.6.1
 
 I'd like to see it! Maybe it could turn into a DropTool...
 
 :D
 
 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: LIVECODE running in LION

2011-06-09 Thread David C.
 truth be said: Microsoft makes great video games, the XBOX 360 is a great
 machine for both players and developers but on the other hand, their desktop
 computing business well... you know

Perhaps we can convince Microsoft to start building their own
proprietary hardware, just like Apple, then make sure that their OS
and related software won't run on anything else, so that comparing
Apples to Everything would really be possible. Then the dye in
the wool fan-boys for both companies could argue about which company
has the worst policies and EULA, thereby exerting the most control
over their respective fandoms. The winner of the argument would
deserve what they won.

The majority of us would move on to Linux and a happier existence.

Wishful thinking

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: LIVECODE running in LION

2011-06-09 Thread Bob Sneidar
And then we could ALL finally get some rest.

Bob


On Jun 9, 2011, at 3:41 PM, David C. wrote:

 truth be said: Microsoft makes great video games, the XBOX 360 is a great
 machine for both players and developers but on the other hand, their desktop
 computing business well... you know
 
 Perhaps we can convince Microsoft to start building their own
 proprietary hardware, just like Apple, then make sure that their OS
 and related software won't run on anything else, so that comparing
 Apples to Everything would really be possible. Then the dye in
 the wool fan-boys for both companies could argue about which company
 has the worst policies and EULA, thereby exerting the most control
 over their respective fandoms. The winner of the argument would
 deserve what they won.
 
 The majority of us would move on to Linux and a happier existence.
 
 Wishful thinking
 
 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


___
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: [ANN] MobGUI plugin : mobile development aid

2011-06-09 Thread Andre Garzia
JC,

You made my day!!! I tried creating a similar tool to myself but I couldn't.
Your tool is greater than anything I could throw together, I just loved
it

Thank you very much for your dedication!

Cheers
andre
PS: Now we just need browsers in Android

On Wed, Jun 8, 2011 at 8:51 PM, John Craig j...@splash21.com wrote:

 Following a good response after the live demo on livecode.tv, I've posted
 the latest version of the MobGUI plugin.  It's still in it's infancy, so
 feedback is much appreciated!

 http://www.splash21.com/MobGUI/


 JC

 ___
 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://www.andregarzia.com All We Do Is Code.
___
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: Live LiveCode code event #26 Wrapup

2011-06-09 Thread Björnke von Gierke
Hi

Here is the wrap up from the last event. I'm sorry it's a bit late, but having 
no presenters stresses me out disproportionally.

Mark went first, and showed a lot of ways to extend liveCode scripts with 
external applications, shells, applescript, and so on. This should be 
especially interesting to people who run into limitations in functionality 
within LC, and need to create a workaround.
http://www.ustream.tv/recorded/15163536

Then John showed more of his mobGUI plugin, and where he intends to go with it 
in the future. It currently allows you to create most native iOS GUI widgets, 
and he is considering Android too.
http://www.ustream.tv/recorded/15165018

Remember, all past shows are recorded and archived on the page: www.livecode.tv


Please contact me to do a presentation about anything remotely coding related.
Björnke


On 4 Jun 2011, at 19:07, Björnke von Gierke wrote:

 One hour to go! One hour to go! *Swings the Bell*
 
 On 3 Jun 2011, at 20:57, Björnke von Gierke wrote:
 
 Hi guys
 
 We're back for another Saturday event:
 
 Mark Schonewille will introduce you to way to extend LiveCode when LiveCode 
 can't do it alone. He will explore the possibilities of shell, open 
 process, do as and launch program.
 http://livecode.tv/mark/
 
 John Craig will also be back, and share with us some thoughts on how to use 
 and create IDE Plugins in LiveCode, as well as an updated view on his MobGUI.
 http://livecode.tv/john/
 
 Join us tomorrow, Saturday at 20:00 CET, on ChatRev ( 
 http://bjoernke.com/chatrev/ ):
 Johannesburg 20:00
 Santo Domingo 14:00
 Seattle 11:00
 Auckland 06:00 (Sun)
 
 Read up on back issues here:
 http://livecode.tv/
 
 Cheers
 Björnke


-- 

official ChatRev page:
http://bjoernke.com/chatrev


Chat with other RunRev developers:
go stack URL http://bjoernke.com/chatrev/chatrev1.3b3.rev;


___
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: [ANN] MobGUI plugin : mobile development aid

2011-06-09 Thread Thomas McGrath III
Be careful, all of the controls in the MobGUI plugin are only iPhone3GS and 
maybe they might work for iPad but not iPhone4 Retina display.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 9, 2011, at 6:47 PM, Andre Garzia wrote:

 JC,
 
 You made my day!!! I tried creating a similar tool to myself but I couldn't.
 Your tool is greater than anything I could throw together, I just loved
 it
 
 Thank you very much for your dedication!
 
 Cheers
 andre
 PS: Now we just need browsers in Android
 
 On Wed, Jun 8, 2011 at 8:51 PM, John Craig j...@splash21.com wrote:
 
 Following a good response after the live demo on livecode.tv, I've posted
 the latest version of the MobGUI plugin.  It's still in it's infancy, so
 feedback is much appreciated!
 
 http://www.splash21.com/MobGUI/
 
 
 JC
 
 ___
 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://www.andregarzia.com All We Do Is Code.
 ___
 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


Reconnecting a stack's datagrid with its template in a stackrunner situation

2011-06-09 Thread stephen barncard
Hi Gang I'm still grinding away at this thing. Maybe I didn't describe the
situation very well.
or else it's impossible. To recap

I'm trying to get a Datagrid to work in a stack that works fine by itself in
the IDE (with the datagrid template in a substack), but fails to work in a
Stackrunner style stack launcher.

My launcher is an application that includes all the libraries and engine and
a base stack, and provides a listing area to choose a stack to 'GO' to .
This thing works great and I can store them online and use my utility stacks
without having to compile. It's an expansion of an idea by Ken Ray.

However, Datagrids, as discussed earlier, seem to break under these
conditions. Why, I don't know.
I put a command line kind of diagnostic field in the app so I could check
out more.

I can see the substack and its templates  exist by using commands in my fake
'message box' I put in the stack for diagnostics, while running in
stackrunner mode. By the way, this stack functions as designed in the
'suspend IDE controls' mode.


I've tried  (per the docs for expanding the same template to many grids)

*set the dgprops[row template] of group OutputGrid to the long id of
group id 1006 of card id 1005 of stack Data Grid Templates 1307301831663
of stack onlinelistmanager*


(grp 1006 is the Row Template)

With no error, but the grid is lifeless. Can't scroll, can't put data in
etc.


There must be a methodical way to re-connect the datagrid with the template
in the substack. Is there more to re-connect that the Row Template?   This
is a stock table style datagrid.

Is there more datagrid 'stuff'  that needs to be included that gets added by
the standalone builder?
(and yes I've seen the lesson that deals with 'splash stacks' - this is
different in that each stack needs it's dedicated template to come in with
the stack)

These datagrids are sensitive - they don't like me monkeying around.

thanks in advance for any advice.

-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
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: Live LiveCode code event #26 Wrapup

2011-06-09 Thread stephen barncard
Such is the downside of being solely responsible for an international weekly
independent television show!


2011/6/9 Björnke von Gierke b...@mac.com

 Hi

 Here is the wrap up from the last event. I'm sorry it's a bit late, but
 having no presenters stresses me out disproportionally.


Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
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: [ANN] MobGUI plugin : mobile development aid

2011-06-09 Thread Roger Eller
On Thu, Jun 9, 2011 at 7:11 PM, Thomas McGrath III wrote:

 Be careful, all of the controls in the MobGUI plugin are only iPhone3GS and
 maybe they might work for iPad but not iPhone4 Retina display.


 -- Tom McGrath III
 http://lazyriver.on-rev.com
 3mcgr...@comcast.net


I thought I saw a Retina display radio-button in MobGUI, and it resized the
stack.

~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: Live LiveCode code event #26 Wrapup

2011-06-09 Thread Roger Eller
2011/6/9 Björnke von Gierke b...@mac.com

 Hi

 Here is the wrap up from the last event. I'm sorry it's a bit late, but
 having no presenters stresses me out disproportionally.

I am pretty sure I saw at least two volunteers on the list earlier today.
Did you not see them?

~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: [ANN] MobGUI plugin : mobile development aid

2011-06-09 Thread Thomas McGrath III
That just sets the card size but not the control size.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 9, 2011, at 8:52 PM, Roger Eller wrote:

 On Thu, Jun 9, 2011 at 7:11 PM, Thomas McGrath III wrote:
 
 Be careful, all of the controls in the MobGUI plugin are only iPhone3GS and
 maybe they might work for iPad but not iPhone4 Retina display.
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 3mcgr...@comcast.net
 
 
 I thought I saw a Retina display radio-button in MobGUI, and it resized the
 stack.
 
 ~Roger
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


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


Re: find by content with Mac OS

2011-06-09 Thread Timothy Miller
Thanks Jim and others.

I have worked out ways to search my LC stacks quickly and conveniently (more or 
less) for the things I need. I can always use the find function in Stickies. 
I can search my email messages in Mail. This is the usual procedure.

I always had the vague idea that find-by-content in Mac OS, was available as a 
last resort if I couldn't find something important. Today I was searching for 
some notes I made several months ago. I couldn't remember whether I had saved 
the notes in a LC stack, in stickies, in an email I sent to myself, or 
whatever. I thought find-by-content would help me find the notes. I knew they 
contained some rare or unique words. It didn't help.

I can't fault other developers if Apple itself doesn't enable find-by-content 
in its own applications. Come to think of it, find by content probably doesn't 
work for bookmarks in Safari. Nor does it work for events in iCal. Nor any 
content in Address Book, nor email messages in Mail -- not sender nor recipient 
nor address nor content. Funny, I always assumed it did all of these things, 
but never thought much about it.

On the other hand, if Apple and other developers can easily enable 
find-by-content, but don't, this seems inconsiderate all around. If Apple 
doesn't want to bother supporting its own feature, and doesn't want to 
encourage developers to support its feature, maybe Apple should eliminate find 
by content.

At minimum, Apple should take more care to notify users that find by content 
only searches a small subset of all the files on their hard disks, or even 
their documents folders.

Regarding LC scripts, it appears these are not indexed, either. There are 
plenty of unique strings in my LC scripts. They are not turning up.

At one time, find-by-content was supposed to be a thrilling new feature in some 
Apple OS rollout. Maybe OS 7?

I long ago abandoned the naive daydream that computers will make my life more 
convenient. Every new feature introduces new complications. So, I'm over it.

Tim

 
On Jun 9, 2011, at 3:12 PM, Jim Ault wrote:

 Usually the vendor has to adjust their app to make spotlight indexing  
 'Allowed' and 'visible'.  Some vendors have created plugins and made them 
 available for download.
 
 Google spotlight nabble revolution to get a better take on the issue.
 
 For OSX QuickView, their are plugins for expanding the formats, eg.  '.php' 
 files
 
 The best solution for now is to have an LC script export to a text file all 
 the info you would like to have Spotlight available.
 
 Hope this helps
 
 
 Jim Ault
 Las Vegas

___
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: [ANN] MobGUI plugin : mobile development aid

2011-06-09 Thread Roger Eller
On Thu, Jun 9, 2011 at 8:56 PM, Thomas McGrath III wrote:

 That just sets the card size but not the control size.

 -- Tom McGrath III
 http://lazyriver.on-rev.com
 3mcgr...@comcast.net

  On Jun 9, 2011, at 8:52 PM, Roger Eller wrote:

  On Thu, Jun 9, 2011 at 7:11 PM, Thomas McGrath III wrote:
 
  Be careful, all of the controls in the MobGUI plugin are only iPhone3GS
 and
  maybe they might work for iPad but not iPhone4 Retina display.
 
 
  -- Tom McGrath III
  http://lazyriver.on-rev.com
  3mcgr...@comcast.net
 
 
  I thought I saw a Retina display radio-button in MobGUI, and it resized
 the
  stack.
 
  ~Roger
  


Oh, ok. I think tried it before adding any controls. Still helpful for
getting started with the correct res on a new project.  I am hopeful of
seeing common Android phone and tablet resolutions there too some day.  ;)

~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: find by content with Mac OS

2011-06-09 Thread stephen barncard
You haven't used Spotlight?   If it's set up right and you use good
searching approach, it works quite well.

On 9 June 2011 18:04, Timothy Miller gand...@doctortimothymiller.comwrote:

 Thanks Jim and others.

 I have worked out ways to search my LC stacks quickly and conveniently
 (more or less) for the things I need. I can always use the find function
 in Stickies. I can search my email messages in Mail. This is the usual
 procedure.

 I always had the vague idea that find-by-content in Mac OS, was available
 as a last resort if I couldn't find something important. Today I was
 searching for some notes I made several months ago. I couldn't remember
 whether I had saved the notes in a LC stack, in stickies, in an email I sent
 to myself, or whatever. I thought find-by-content would help me find the
 notes. I knew they contained some rare or unique words. It didn't help.

 I can't fault other developers if Apple itself doesn't enable
 find-by-content in its own applications. Come to think of it, find by
 content probably doesn't work for bookmarks in Safari. Nor does it work for
 events in iCal. Nor any content in Address Book, nor email messages in
 Mail -- not sender nor recipient nor address nor content. Funny, I always
 assumed it did all of these things, but never thought much about it.

 On the other hand, if Apple and other developers can easily enable
 find-by-content, but don't, this seems inconsiderate all around. If Apple
 doesn't want to bother supporting its own feature, and doesn't want to
 encourage developers to support its feature, maybe Apple should eliminate
 find by content.

 At minimum, Apple should take more care to notify users that find by
 content only searches a small subset of all the files on their hard disks,
 or even their documents folders.

 Regarding LC scripts, it appears these are not indexed, either. There are
 plenty of unique strings in my LC scripts. They are not turning up.

 At one time, find-by-content was supposed to be a thrilling new feature in
 some Apple OS rollout. Maybe OS 7?

 I long ago abandoned the naive daydream that computers will make my life
 more convenient. Every new feature introduces new complications. So, I'm
 over it.

 Tim


 On Jun 9, 2011, at 3:12 PM, Jim Ault wrote:

  Usually the vendor has to adjust their app to make spotlight indexing
  'Allowed' and 'visible'.  Some vendors have created plugins and made them
 available for download.
 
  Google spotlight nabble revolution to get a better take on the issue.
 
  For OSX QuickView, their are plugins for expanding the formats, eg.
  '.php' files
 
  The best solution for now is to have an LC script export to a text file
 all the info you would like to have Spotlight available.
 
  Hope this helps
 
 
  Jim Ault
  Las Vegas

 ___
 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




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
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: Importing Word documents

2011-06-09 Thread James Hurley
 
 Message: 14
 Date: Thu, 9 Jun 2011 19:37:25 +0200
 From: Mark Schonewille m.schonewi...@economy-x-talk.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Subject: Re: Importing Word documents
 Message-ID: dd648b1c-a159-4620-b507-70919dfc9...@economy-x-talk.com
 Content-Type: text/plain; charset=us-ascii
 
 James,
 
 If it is empty, in other words if the shell function doesn't return a 
 value, it means that the textutil command didn't produce any errors. Have a 
 look at the folder containing the original file. It should also contain the 
 new file.
 
 --
 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 9 jun 2011, at 19:29, James Hurley wrote:
 


Mark and Klaus,

Thanks for your response. This is a new behavior for me, a command creating a 
file instead of returning a value.

I did find the files you suggested. Same as the original except the suffix is 
changed from .doc to .rft  That looked promising. 

But when I get url file:theFilePath of that RTF file in order to import it 
into a LC field, I get a lot of formatting code in the field. Opening that file 
in TextEdit  or Word give a much better result.

But it is no where near the formatting quality one gets from copying the text 
from within Word and then pasting it into a  LC field.

Jim
___
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: find by content with Mac OS

2011-06-09 Thread Timothy Miller
Hi Stephen,

As far as I know, Command-F and Spotlight invokes the same functionality.

In my previous message, I mentioned that find by content is not finding content 
in Safari Bookmarks, my saved email messages in Mail, and so on. This, I 
discovered by trial and error, and I assumed it was a feature, i.e., intended 
by Apple.

OTOH, I'm aware of many complaints that Spotlight fails to index things it is 
supposed to index.

Also, recall that I wrote:

  I don't have much confidence in my feeble brain.


At the moment, this conversation is going sideways and I'm wasting everybody's 
time. Sorry about that. I'll force Spotlight to re-index and see what happens.

Apparently the list agrees that LC fields don't get indexed in find-by-content, 
and there's no simple answer for that. That is useful information, mildly 
frustrating.

Cheers,

Tim


On Jun 9, 2011, at 6:13 PM, stephen barncard wrote:

 You haven't used Spotlight?   If it's set up right and you use good
 searching approach, it works quite well.
 
 On 9 June 2011 18:04, Timothy Miller gand...@doctortimothymiller.comwrote:
 
 Thanks Jim and others.
 
 I have worked out ways to search my LC stacks quickly and conveniently
 (more or less) for the things I need. I can always use the find function
 in Stickies. I can search my email messages in Mail. This is the usual
 procedure.
 


___
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: [OT] Apple at it again

2011-06-09 Thread Peter Brigham MD
I'm not sure.

(If you can't be kind, at least have the decency to be vague.)

:-)

-- Peter

Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig


On Jun 9, 2011, at 6:36 PM, Bob Sneidar wrote:

 What are you saying? (I speak as a patient...)
 
 Bob
 
 
 On Jun 9, 2011, at 3:04 PM, Peter Brigham MD wrote:
 
 On Jun 9, 2011, at 1:34 PM, Bob Sneidar wrote:
 
 I never listen to what people say. I only listen to what they mean. ;-)
 
 Bob
 
 Now, what exactly do you mean by that? (I speak as a psychiatrist...)
 
 -- Peter
 
 Peter M. Brigham
 pmb...@gmail.com
 http://home.comcast.net/~pmbrig
 
 
 
 
 ___
 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: [ANN] MobGUI plugin : mobile development aid

2011-06-09 Thread Gerry Orkin

On 10/06/2011, at 9:11 AM, Thomas McGrath III wrote:

 Be careful, all of the controls in the MobGUI plugin are only iPhone3GS and 
 maybe they might work for iPad but not iPhone4 Retina display.


Sure, but they are easy to resize. I agree that'd be great if the controls took 
account of the display size setting. However who can complain when the tool is 
free, so useful and made by a developer who seems committed to making our lives 
easier :)

Gerry
___
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: Reconnecting a stack's datagrid with its template in a stackrunner situation

2011-06-09 Thread Pete
Hi STephen,
Yes, I think we've all found that datagrids are sensitive!  I don't have
an answer to your problem, probably only Trevor can solve it.  The only
thing I can contribute is that table style datagrids that have no customised
columns will work even if their template card doesn't exist.  I found that
out by accidentally deleting template cards in an attempt to tidy up the
Templates stack, and it was subsequently confirmed by Trevor.

I don't know if you have customised columns in the datagrid, but just
mentioning this so you don't waste time focusing on template issues.

Pete
Molly's Revenge http://www.mollysrevenge.com




On Thu, Jun 9, 2011 at 5:40 PM, stephen barncard 
stephenrevoluti...@barncard.com wrote:

 Hi Gang I'm still grinding away at this thing. Maybe I didn't describe the
 situation very well.
 or else it's impossible. To recap

 I'm trying to get a Datagrid to work in a stack that works fine by itself
 in
 the IDE (with the datagrid template in a substack), but fails to work in a
 Stackrunner style stack launcher.

 My launcher is an application that includes all the libraries and engine
 and
 a base stack, and provides a listing area to choose a stack to 'GO' to .
 This thing works great and I can store them online and use my utility
 stacks
 without having to compile. It's an expansion of an idea by Ken Ray.

 However, Datagrids, as discussed earlier, seem to break under these
 conditions. Why, I don't know.
 I put a command line kind of diagnostic field in the app so I could check
 out more.

 I can see the substack and its templates  exist by using commands in my
 fake
 'message box' I put in the stack for diagnostics, while running in
 stackrunner mode. By the way, this stack functions as designed in the
 'suspend IDE controls' mode.


 I've tried  (per the docs for expanding the same template to many grids)

 *set the dgprops[row template] of group OutputGrid to the long id of
 group id 1006 of card id 1005 of stack Data Grid Templates 1307301831663
 of stack onlinelistmanager*


 (grp 1006 is the Row Template)

 With no error, but the grid is lifeless. Can't scroll, can't put data in
 etc.


 There must be a methodical way to re-connect the datagrid with the template
 in the substack. Is there more to re-connect that the Row Template?   This
 is a stock table style datagrid.

 Is there more datagrid 'stuff'  that needs to be included that gets added
 by
 the standalone builder?
 (and yes I've seen the lesson that deals with 'splash stacks' - this is
 different in that each stack needs it's dedicated template to come in with
 the stack)

 These datagrids are sensitive - they don't like me monkeying around.

 thanks in advance for any advice.

 --



 Stephen Barncard
 San Francisco Ca. USA

 more about sqb  http://www.google.com/profiles/sbarncar
 ___
 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: Reconnecting a stack's datagrid with its template in a stackrunner situation

2011-06-09 Thread stephen barncard
This is a very stock datagrid. I set column names, labels and tabs on the
fly.

On 9 June 2011 20:12, Pete p...@mollysrevenge.com wrote:

 Hi STephen,
 Yes, I think we've all found that datagrids are sensitive!  I don't have
 an answer to your problem, probably only Trevor can solve it.  The only
 thing I can contribute is that table style datagrids that have no
 customised
 columns will work even if their template card doesn't exist.  I found that
 out by accidentally deleting template cards in an attempt to tidy up the
 Templates stack, and it was subsequently confirmed by Trevor.

 I don't know if you have customised columns in the datagrid, but just
 mentioning this so you don't waste time focusing on template issues.

 Pete
 Molly's Revenge http://www.mollysrevenge.com




 On Thu, Jun 9, 2011 at 5:40 PM, stephen barncard 
 stephenrevoluti...@barncard.com wrote:

  Hi Gang I'm still grinding away at this thing. Maybe I didn't describe
 the
  situation very well.
  or else it's impossible. To recap
 
  I'm trying to get a Datagrid to work in a stack that works fine by itself
  in
  the IDE (with the datagrid template in a substack), but fails to work in
 a
  Stackrunner style stack launcher.
 
  My launcher is an application that includes all the libraries and engine
  and
  a base stack, and provides a listing area to choose a stack to 'GO' to .
  This thing works great and I can store them online and use my utility
  stacks
  without having to compile. It's an expansion of an idea by Ken Ray.
 
  However, Datagrids, as discussed earlier, seem to break under these
  conditions. Why, I don't know.
  I put a command line kind of diagnostic field in the app so I could check
  out more.
 
  I can see the substack and its templates  exist by using commands in my
  fake
  'message box' I put in the stack for diagnostics, while running in
  stackrunner mode. By the way, this stack functions as designed in the
  'suspend IDE controls' mode.
 
 
  I've tried  (per the docs for expanding the same template to many grids)
 
  *set the dgprops[row template] of group OutputGrid to the long id of
  group id 1006 of card id 1005 of stack Data Grid Templates
 1307301831663
  of stack onlinelistmanager*
 
 
  (grp 1006 is the Row Template)
 
  With no error, but the grid is lifeless. Can't scroll, can't put data in
  etc.
 
 
  There must be a methodical way to re-connect the datagrid with the
 template
  in the substack. Is there more to re-connect that the Row Template?
 This
  is a stock table style datagrid.
 
  Is there more datagrid 'stuff'  that needs to be included that gets added
  by
  the standalone builder?
  (and yes I've seen the lesson that deals with 'splash stacks' - this is
  different in that each stack needs it's dedicated template to come in
 with
  the stack)
 
  These datagrids are sensitive - they don't like me monkeying around.
 
  thanks in advance for any advice.
 
  --
 
 
 
  Stephen Barncard
  San Francisco Ca. USA
 
  more about sqb  http://www.google.com/profiles/sbarncar
  ___
  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




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
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: [ANN] MobGUI plugin : mobile development aid

2011-06-09 Thread Thomas McGrath III
I agree, no complaint just a caution to anyone expecting to build for iPhone 
Retina.

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Jun 9, 2011, at 10:41 PM, Gerry Orkin wrote:

 
 On 10/06/2011, at 9:11 AM, Thomas McGrath III wrote:
 
 Be careful, all of the controls in the MobGUI plugin are only iPhone3GS and 
 maybe they might work for iPad but not iPhone4 Retina display.
 
 
 Sure, but they are easy to resize. I agree that'd be great if the controls 
 took account of the display size setting. However who can complain when the 
 tool is free, so useful and made by a developer who seems committed to making 
 our lives easier :)
 
 Gerry
 ___
 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: Importing Word documents

2011-06-09 Thread J. Landman Gay

On 6/9/11 8:45 PM, James Hurley wrote:


But when I get url file:theFilePath of that RTF file in order to
import it into a LC field, I get a lot of formatting code in the
field. Opening that file in TextEdit  or Word give a much better
result.


Tell the field how to display the file content:

  set the rtfText of fld 1 to url file:theFilePath

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