Re: Basic question: how to package file clusters for iPad

2011-10-06 Thread Sarah Reichelt
 I generate a lot of simple HTML dynamically from LiveCode apps, which I post 
 to web servers.  Some of the HTML clusters are formatted specifically for 
 iPad consumption, and they display and function perfectly well in Safari.  
 However, stupid question: how can a customer bring that material down to his 
 iPad so that he can use it offline?  I am guessing the answer is something 
 like make an app out of it, but does that mean that I need to develop with 
 LiveCode on Mac OS?  Is there a way to package a static cluster of 
 HTML/PNG/css/etc as an app and have it auto-update.


I don't know the exact details, but I think you need to use HTML cache
manifests.

Cheers,
Sarah

___
use-livecode mailing list
use-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: iphone wallpaper image

2011-09-06 Thread Sarah Reichelt
On Tue, Sep 6, 2011 at 6:18 PM, paolo mazza mazzapaoloit...@gmail.com wrote:
 Hello All,
 is it possible to change  the iphone wallpaper image from an iOS
 Livecode application?

Apple does not provide a public API to do that even when using Xcode,
so I would assume not.
The work-around is to offer to save images to the Camera Roll so users
can set the wallpaper manually from there.

Cheers,
Sarah

___
use-livecode mailing list
use-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] Internet Censorship

2011-08-05 Thread Sarah Reichelt
Australia.
I get exactly the same message as you did Al.


On Sat, Aug 6, 2011 at 1:25 PM, Alejandro Tejada capellan2...@gmail.com wrote:
 Hi All,

 How many of you could view this youTube video?
 http://www.youtube.com/watch?v=R0IcvVF-p_k

 This video is a segment of Howard Goodall's
 2006 documentary: How Music Works

 You could find many more segments in youTube
 when you select the option Videos in google.

 The message that appears in my side of the world is:
 This video contains content from SME, who has blocked it
 in your country on copyright grounds.

 SME is Sony Music Entertainment...

 Could you post your country and the message
 that appears?

___
use-livecode mailing list
use-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: Notification Manger or Bounce the Dock Icon

2011-08-01 Thread Sarah Reichelt
On Mon, Aug 1, 2011 at 9:50 AM, Bill Vlahos bvla...@mac.com wrote:
 How do I trigger the system (Mac, Windows, Linux) notification manager when a 
 dialog box comes up?

 If my program is not the frontmost app and a dialog box comes up, the user 
 won't notice that the application needs attention if other applications are 
 covering the area of the screen showing the dialog box (either as sheet or 
 modal).

 I expected a dialog box to trigger the system notification manager. On the 
 Mac that would be to bounce the dock icon. I thought I read how LC can do 
 this but I can't find it.


Shao Sean wrote an external that allows you to set the dock icon bouncing.
But I can't find the site - maybe someone else knows where that stuff is now.

Cheers,
Sarah

___
use-livecode mailing list
use-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: on-rev account ftp server error 552 disk full???

2011-07-24 Thread Sarah Reichelt
 I tried to upload some files to my on-rev account via FTP
 a couple of minutes ago and got this strange server response:
 error 552 - Disk full, please upload later

 DISK FULL???

 I updated my system to OS X  10.7 two days ago, but FTP did work all day 
 yesterday!
 Checked my account via the cPanel, lots of disk space of course.


Which server are you on Klaus?
I am on odin and was able to upload a file just now.

Sarah

___
use-livecode mailing list
use-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: Accessing mySQL DB from stack utilizing revserver/irev/on-rev?

2011-07-23 Thread Sarah Reichelt
Hi John,

When POSTing variables to the server, you have to identify them, so
the script on the server can tell what is what.
So your call to the server would need to be something like this:

put URLEncode(fld username) into tUserName
put URLEncode(fld password) into tPassword
put username=  tUserName  password=  tPassword into tLoginVariables
post tLoginVariables to URL (http://server.on-rev.com/sandbox/login.irev;)

Now when this gets to your login.irev file on the server, it can read
the contents of the $_POST array to find what it needs:

?irev

put $_POST[username] into tUserName
put $_POST[password] into tPassword
...

Now connect to the database exactly as you would on your desktop, but
use localhost as the database address, since the database is on the
same server as the irev file.

Note that you will need to have used your cPanel to create the database first.

Hope this helps, but contact me off-list if you would like me to send
you some sample scripts.

Cheers,
Sarah
(using Lion and loving it)


On Sat, Jul 23, 2011 at 6:34 AM, John Patten johnpat...@mac.com wrote:
 Hi All

  I'm trying to get a handle on using on-rev and irev files on the server in
 combination with post commands and mysql queries directly from within a
 stack.

  Here's what I have so far:

  1. One card with two fields (username  password) and a button.

  2. mySQL table with records consisting of a field for username and a field
 for password.

  3. the beginning of an irev file in directory on on-rev server.



 My button contains the following script:

 on mouseup

 put URLEncode(cd fld username) URLEncode(cd fld password) into
 tLoginVariables

 post tLoginVariables to URL (http://server.on-rev.com/sandbox/login.irev;)

 end mouseUp



 irev file on the on-rev server:



 ?irev

 put address-of-db into tDatabaseAddress

  put dbname into tDatabaseName

  put dbUsername into tDatabaseUser

  put dbpassword into tDatabasePassword



  ...and that's about as far as I've gotten so far.  :-(



 Essentially I want to create the functionality I have working in my stack
 now into a project that makes the database calls via an irev (on-rev) calls.
 I would like to try making a mobile app out of what I have but my stack
 relies heavily on calls to the mySQL database for data.

  I have very limited experience with irev and just need to know how to query
 the database, get the resulting data from the query, do some stuff with in
 the stack, and then put the data back into the database.

  Is there and example of this available?

  Thank you!

 John Patten

 SUSD

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


Re: LIVECODE running in LION

2011-06-08 Thread Sarah Reichelt
I have found with a previously compiled standalone, that the colors of
some interface elements are weird - fields going pink, tab buttons
dark gray. But this may be because the app was not built in Lion.

More seriously, AppleScript has changed, so any apps that use
AppleScript may have problems.
I don't have any details about what works  what doesn't, but I know
some of my AppleScripts just fail quietly.

Cheers,
Sarah



On Wed, Jun 8, 2011 at 7:10 PM, stephen barncard
stephenrevoluti...@barncard.com wrote:
 LIVECODE eems to be running just fine in the 64 bit OS.

 And boy the UI is subtle and beautiful

 'Native Look and Feel' indeed.

 http://fulton.barncard.com/downloads/Livecode462dp1RuningInLion.png

 sqb


 btw, everything is faster and smoother with the new OS.  With a fresh
 install pretty speed. No spinning pizzas while virtual gets its act
 together.

 --
 -  !  -


 Stephen Barncard
 San Francisco Ca. USA


 more about sqb



 --



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

2011-06-08 Thread Sarah Reichelt
On Wed, Jun 8, 2011 at 8:02 PM, René Micout rene.mic...@numericable.com wrote:
 Hello Stephen,
 Some problem with scroll bars... ?!
 René

No René - that is how scroll bars look in Lion.
And they work in the opposite direction i.e. they are designed for
trackpad swiping rather than mouse clicking.

Cheers,
Sarah

___
use-livecode mailing list
use-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: Long-term Planning UI Ideas

2011-05-06 Thread Sarah Reichelt
Thanks Scott, much appreciated. And Bob too.

My stack is just a single month at a time display so can't really help
with David's problem, but for anyone who just needs a simple data
input mechanism, it works really well.

But I'm sure Scott's customized version looks better than mine :-)

Cheers,
Sarah


On Fri, May 6, 2011 at 5:42 AM, Scott Rossi sc...@tactilemedia.com wrote:
 A very good calendar stack is available from Sarah Riechelt:
 http://www.troz.net/rev/index.irev?category=Utility#stacks

 I've customized/used this in a couple of projects -- it's quite useful.
 Hmm...  While thinking about it, I can't recall if I ever sent a donation
 for the stack.  Maybe I did already, but I'm going to head over to her site
 now to donate anyway.

 Regards,

 Scott Rossi
 Creative Director
 Tactile Media, UX Design



 Recently, Bob Sneidar wrote:

 I don't think the datagrid would be very good at calendar data. You would
 really need a good calendar object, and that is a lot of work for one person
 to create on his own. It would be awesome if we had a calendar object like 
 the
 datagrid object, which was aware of all the various calendar issues of dates
 and times and such. I gotta think about that one a bit.



 ___
 use-livecode mailing list
 use-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: on-rev writing to

2011-05-02 Thread Sarah Reichelt
Write the irev file first with placeholder variables instead of data
that would be sent.
e.g.

?irev
   put tom into tFolderName
   put prefs.txt into tFileName
   put someSetting=true into tData

   -- now create the folder if required
   -- save the data to the appropriate file

   put OK-- show that it's worked
?

Now test it from your browser by going to
http://yourdomain.on-rev.com/writeData.irev
It should display the OK and you should see the folder  file created.

Once that is working, you can start sending the data to the irev file,
perhaps setting this up one section at a time.
So you could change to calling
http://yourdomain.on-rev.com/writeData.irev?foldername=tom
And change the line in the irev file to: put $_GET[foldername] into
tFolderName
Then test that this still writes to the correct file.

Just build up the structure gradually until it does everything you need.

Cheers,
Sarah


On Mon, May 2, 2011 at 6:17 AM, Thomas McGrath III mcgra...@mac.com wrote:
 Thanks, Sarah,

 To complicate this I will be writing these files from within an LC app from 
 different clients computers so that each clients app will create (if not 
 present) a folder for them and then write a prefs text file, a text file and 
 some images.

 I guess I can look into an iRev file. I just didn't get very far in 
 understanding the 'best' ways to go about that.

 Thank you for looking into this for me.

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

 On May 1, 2011, at 5:11 AM, Sarah Reichelt wrote:

 Tom, you cannot write directly to a server.
 You can upload a file using your FTP login details.
 But the best solution for your case is to have an irev file on the server 
 that you can call using http:// And send some data to via POST or GET. 
 Then have the irev file do the actual writing.

 Not at my Mac right now, so can't give actual examples, but here is the 
 process in untested code:

 In your script on the desktop:

 put http://tom.on-rev.com/writeData.irev; into tURL
 put data=  urlEncode(tDataToWrite) into tPostData
 post tPostData to URL tURL


 In the writeData.irev file on the server:

 put $_POST[data] into tNewData
 put tNewData into URL (file:dataFile.txt)

 Images will work the same way, but you need to read in the data using 
 binfile:, not file:
 Then base64encode the binary data before POSTing it.

 Cheers,
 Sarah


 Sent from my iPad

 On 01/05/2011, at 1:58 AM, Thomas McGrath III mcgra...@mac.com wrote:

 I need to know how to write to on-rev from within an iOS app.

 Is there a best practices around?

 I need to write a folder to my account and then write a text file and some 
 images.

 Are there any sample stacks that show this?

 Is it as simple as put img 1 into url http://etc.;

 or is this something for libURL? ( I haven't used libURL before)

 Any guidance appreciated.

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


 ___
 use-livecode mailing list
 use-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: RunRev Live video archives

2011-05-01 Thread Sarah Reichelt
I'm guessing that's because I bought the iOS pre-release pack which included 
the conference. Sadly the travel costs and work commitments made it impossible 
for me to attend in person, although it would have been great to finally meet 
some of you folk that I only know through email. 

Cheers,
Sarah


Sent from my iPad

On 01/05/2011, at 5:19 PM, Chipp Walters ch...@chipp.com wrote:

 It's funny, because they had name tags for both Sarah and Thomas there at
 the conference-- hoping to get a chance to meet both of you, but was told
 later neither of you were there.
 
 On Thu, Apr 28, 2011 at 9:46 PM, Thomas McGrath III mcgra...@mac.comwrote:
 
 Sarah,
 
 They said they will be working on getting them all up and organized with
 example links. Still getting to ask questions and discuss with peers is a
 lot better. Andre was great but they cut him short. I could have listened to
 his presentation for another hour at least.
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 3mcgr...@comcast.net
 
 On Apr 28, 2011, at 7:12 PM, Sarah Reichelt wrote:
 
 Hi All,
 
 I have a subscription to the RunRev Live simulcast, but as the
 presentations mostly take place when I am asleep, I was hoping to
 watch the archived videos.
 I did watch Kevin's keynote and I see the other day 0 sessions are
 available, but are the later sessions going to be archived too.
 
 The RunRev people are probably too busy to answer this right now, but
 hopefully they will see that at least one person is eagerly awaiting
 the archives.
 
 Cheers,
 Sarah
 
 ___
 use-livecode mailing list
 use-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
 
 
 
 
 -- 
 Chipp Walters
 CEO, Shafer Walters Group, Inc.
 ___
 use-livecode mailing list
 use-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: on-rev writing to

2011-05-01 Thread Sarah Reichelt
Tom, you cannot write directly to a server.
You can upload a file using your FTP login details.
But the best solution for your case is to have an irev file on the server that 
you can call using http:// And send some data to via POST or GET. Then have 
the irev file do the actual writing.

Not at my Mac right now, so can't give actual examples, but here is the process 
in untested code:

In your script on the desktop:

put http://tom.on-rev.com/writeData.irev; into tURL
put data=  urlEncode(tDataToWrite) into tPostData
post tPostData to URL tURL


In the writeData.irev file on the server:

put $_POST[data] into tNewData
put tNewData into URL (file:dataFile.txt)

Images will work the same way, but you need to read in the data using binfile:, 
not file:
Then base64encode the binary data before POSTing it.

Cheers,
Sarah


Sent from my iPad

On 01/05/2011, at 1:58 AM, Thomas McGrath III mcgra...@mac.com wrote:

 I need to know how to write to on-rev from within an iOS app.
 
 Is there a best practices around?
 
 I need to write a folder to my account and then write a text file and some 
 images.
 
 Are there any sample stacks that show this?
 
 Is it as simple as put img 1 into url http://etc.;
 
 or is this something for libURL? ( I haven't used libURL before)
 
 Any guidance appreciated.
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 3mcgr...@comcast.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


RunRev Live video archives

2011-04-28 Thread Sarah Reichelt
Hi All,

I have a subscription to the RunRev Live simulcast, but as the
presentations mostly take place when I am asleep, I was hoping to
watch the archived videos.
I did watch Kevin's keynote and I see the other day 0 sessions are
available, but are the later sessions going to be archived too.

The RunRev people are probably too busy to answer this right now, but
hopefully they will see that at least one person is eagerly awaiting
the archives.

Cheers,
Sarah

___
use-livecode mailing list
use-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: Problem with iRev refresh

2011-03-07 Thread Sarah Reichelt
On 08/03/2011, at 9:44 AM, Paul Foraker paul.fora...@gmail.com wrote:

 I'm working on a registration page for a training (
 www.blueskytrainings.com/register.irev ). I'm having a problem with Safari
 and Chrome improperly refreshing to a PayPal page.  I'm on a Mac.
 
 The following code works perfectly in Firefox and Camino.  It fails to go to
 PayPal in Safari and Chrome.
 
 When I copy the URL and paste it into Safari, it works. But, from the irev
 page, I get a blank page and no PayPal URL (keeps the original URL).
 
 Any suggestions?
 
 put https://www.paypal.com/cgi-bin/webscr; into tURL
 if getsDiscount then put Discounted into tuitionValue else put
 Full+Tuition into tuitionValue
 put ?cmd=_s-xclickhosted_button_id=D88XBUTK3GS2Aon0=Training+Fee into
 tPost
 put os0=  tuitionValue after tPost
 put currency_code=USD after tPost
 put tPost after tURL
 put format(meta http-equiv=\refresh\ content=\0;URL= tURL  ) into
 thePlaceToGo
 put thePlaceToGo
 

My only suggestion would be to try using lower case url in the meta tag.
All the examples I have seen are lower case e.g. 
content=0;url=http://whatever.com

Maybe some browsers are more picky than others about such things.

Cheers,
Sarah


___
use-livecode mailing list
use-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: Backscript behavior

2011-03-04 Thread Sarah Reichelt
On Sat, Mar 5, 2011 at 6:04 AM, J. Landman Gay jac...@hyperactivesw.com wrote:

 Somebody preserve my sanity here...

Sorry, you've been talking to associating with all of us here for too
long... there is now no way to preserve sanity :-)

___
use-livecode mailing list
use-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: Script to format a currency value

2011-03-01 Thread Sarah Reichelt
On Tue, Mar 1, 2011 at 2:55 PM, Peter Haworth p...@mollysrevenge.com wrote:
 OK, here's an amusing exercise in scripting for you experts out there, but 
 I'm giving away a prize!  I will give the person who provides the best 
 solution a copy of my band's latest CD, Aged 10 years.  the definition of 
 best is strictly my opinion!  If you don;t like traditional Celtic music 
 (including bagpipes), we;ll just do the script for the fun of it and sell the 
 CD on eBay!!!

 You have an integer value that needs to be formatted into a currency value.  
 It is stored as a positive or negative binary value no matter how many 
 decimal places it has (eg 1 = $100.00). You have the following formatting 
 characters to deal with:


Sounds like a fun challenge Pete, but this bit has me confused.
You say the numbers are stored as binary, but I don't see how 1
binary gets to $100.00
1 binary = 16 decimal
So I am assuming that it isn't actually binary, just the currency to 2
decimal places, only without the decimal point.

Also, can you provide some test cases showing what you want to get
back for a given set of parameters?

Cheers,
Sarah

___
use-livecode mailing list
use-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: Disabling Preferences Menu

2011-02-27 Thread Sarah Reichelt
On Mon, Feb 28, 2011 at 3:51 AM, Marty Knapp martykn...@comcast.net wrote:
 Stewart,

 Change the name of the Edit menu button - like to EditMenu and then make
 the menu items you want. Remove the Preference menu item from the list. Then
 in the Inspector change the label of the button EditMenu to Edit. LiveCode
 will then disable the Preference menu.

 I'm pretty sure I learned this one from Jacque.


No, it was me. But Jacque  I tend to think a lot of the same things :-)

Cheers,
Sarah

___
use-livecode mailing list
use-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: Rev server: going to another .irev page from script

2011-02-11 Thread Sarah Reichelt
On Sat, Feb 12, 2011 at 7:57 AM, stephen barncard
stephenrevoluti...@barncard.com wrote:
 I'm sure there's a way to do this but I can't seem to find it.

 I have a user password script that then is supposed to 'go' to another html
 page but the only way I can get it to work is to use an intermediate file
 (gosite.html) which has a cheesy html redirect command : CONTENT=0;URL=
 http://site.com/private/index.irev;

 I can't figure out what to use to go to another irev page directly.

You can use put header or put new header - I use put new header
but I'm not sure if that is strictly necessary.

Here is a script example:
http://www.troz.net/onrev/samples/showscript.irev?showscript=desktop.irev
The only trick is that this must come before any other data is put
on to the web page.

Cheers,
Sarah

___
use-livecode mailing list
use-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: Changiing the height of a stack

2011-01-21 Thread Sarah Reichelt
On Sat, Jan 22, 2011 at 8:07 AM, Peter Haworth p...@mollysrevenge.com wrote:
 I want to change the height of a stack.  No problem changing the height 
 property but that causes both the top and the bottom of the stack to change 
 positions and I want the top of the stack to stay where it is and all the 
 height change to be added to the bottom.  The dictionary says the 
 locklocation property does that but then I find that isn't available for a 
 stack.   I see a locklocation check box in the property inspector for the 
 card, but it's greyed out.


I use revChangeWindowSize for this.

Cheers,
Sarah

___
use-livecode mailing list
use-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: usb driver problem

2011-01-16 Thread Sarah Reichelt
On Sun, Jan 16, 2011 at 2:18 AM, Thomas McGrath III mcgra...@mac.com wrote:

 I am having trouble accessing an Arduino Uno attached to my computer via USB.

 The device driver shows up as /dev/tty.usbmodem1a21

 I tried a simple open driver then read from driver then close driver. But 
 Livecode keeps crashing or worse my computer panics and dies.

When you get the driverNames, you should get a list of lines with
three comma-separated items per line. Here is a sample of what I get
with a KeySpan USB-serial adapter connected:

KeySerial1,/dev/tty.KeySerial1,/dev/cu.KeySerial1
USA28X1a2P1.1,/dev/tty.USA28X1a2P1.1,/dev/cu.USA28X1a2P1.1
USA28X1a2P2.2,/dev/tty.USA28X1a2P2.2,/dev/cu.USA28X1a2P2.2
Bluetooth-PDA-Sync,/dev/tty.Bluetooth-PDA-Sync,/dev/cu.Bluetooth-PDA-Sync

The one you need to use to connect is the 3rd item i.e. the one
starting with /dev/cu. instead of /dev/tty.

While LiveCode cannot communicate directly with a USB port, it appears
that the Arduino is providing a serial port, so this should work fine.

On my web site, there is a serial test stack
http://www.troz.net/rev/stacks/SerialTest.rev that might help you
diagnose the connection issues.

Cheers,
Sarah

___
use-livecode mailing list
use-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: usb driver problem

2011-01-16 Thread Sarah Reichelt
Are there drivers? For KeySpan and other USB serial adapters, you have
to install the drivers before they will work properly.

Cheers,
Sarah


On Mon, Jan 17, 2011 at 2:37 PM, Thomas McGrath III mcgra...@mac.com wrote:
 The dev/tty.usbmodem1a21 does not show up in the list using the 
 SerialTest.rev stack.

 It does show up in the Arduino software Serial list. Also in the Arduino you 
 have to use the tty.usbmodem1a21. Also when you plug the Arduino in the Mac 
 detects a new modem and asks to set it up in Internet preferences pane. hit 
 apply and then it shows up in Arduino.

 When i use marks make board software the /dev/cu.usbmodem1a21 does show up or 
 at least when I took out just that part of his code that searches the drivers.

        put OSXDeviceNames() into tFiles
        filter tFiles WITH /dev/cu.usbmodem*

 Sorta stuck now figuring this out.

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

 On Jan 16, 2011, at 6:19 PM, Sarah Reichelt wrote:

 On Sun, Jan 16, 2011 at 2:18 AM, Thomas McGrath III mcgra...@mac.com wrote:

 I am having trouble accessing an Arduino Uno attached to my computer via 
 USB.

 The device driver shows up as /dev/tty.usbmodem1a21

 I tried a simple open driver then read from driver then close driver. But 
 Livecode keeps crashing or worse my computer panics and dies.

 When you get the driverNames, you should get a list of lines with
 three comma-separated items per line. Here is a sample of what I get
 with a KeySpan USB-serial adapter connected:

 KeySerial1,/dev/tty.KeySerial1,/dev/cu.KeySerial1
 USA28X1a2P1.1,/dev/tty.USA28X1a2P1.1,/dev/cu.USA28X1a2P1.1
 USA28X1a2P2.2,/dev/tty.USA28X1a2P2.2,/dev/cu.USA28X1a2P2.2
 Bluetooth-PDA-Sync,/dev/tty.Bluetooth-PDA-Sync,/dev/cu.Bluetooth-PDA-Sync

 The one you need to use to connect is the 3rd item i.e. the one
 starting with /dev/cu. instead of /dev/tty.

 While LiveCode cannot communicate directly with a USB port, it appears
 that the Arduino is providing a serial port, so this should work fine.

 On my web site, there is a serial test stack
 http://www.troz.net/rev/stacks/SerialTest.rev that might help you
 diagnose the connection issues.

 Cheers,
 Sarah

___
use-livecode mailing list
use-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: Was: revMail and Bcc - now: How do you contact the mothership?

2010-12-28 Thread Sarah Reichelt
The new command to use instead of revGoURL is launch URL.
Try this with a mailto link and see if it does what you heed.

Cheers,
Sarah 

Sent from my iPad

On 28/12/2010, at 10:38 PM, william humphrey b...@bluewatermaritime.com wrote:

 I was thinking about my problem with the livecode command revmail not having
 the ability to BCC and the livecode command revGOURL which it says in the
 dictionary that we shouldn't use and my question is how do you contact the
 mother ship? How do you let the people who we bought livecode from know that
 maybe revMail should have the ability to BCC? I use another program
 Valentina and the owners of that company personally answer emails and make
 changes in the code for the next release if someone makes a request. They
 even have a special repository of suggestions for the program (Mantis).
 
 I don't think we should have to pay extra money for that privilege either
 (I've received all the emails requesting that I send money to be part of a
 developer program). Don't get me wrong though, I love RunRev and this list
 but I was just wondering...
___
use-livecode mailing list
use-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 applescript

2010-11-28 Thread Sarah Reichelt
Where you have open application, try using launch application instead.
It's a while since I did this, but I seem to remember that open
brings the app to the front, where launch does not.

Cheers,
Sarah


On Sun, Nov 28, 2010 at 3:11 AM, Yves COPPE yvesco...@skynet.be wrote:
 Hello list


 I use the following script


   put tell application quoteFinderquotecr \
          open application file quoteical.appquote of folder 
 quoteApplicationsquote of startup diskcr \
          tell application quoteiCalquotecr \
          set theCalendarNames to title of every calendarcr \
          end tell cr \
          end tell into tScript
   do tScript as applescript

 works perfectly
 but iCal comes on the foreground of the screen and hide behind him the live 
 code window
 how can I proceed to make live code staying at the foreground of the screen ?

___
use-livecode mailing list
use-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: on-rev server question

2010-11-26 Thread Sarah Reichelt
Ah, thanks Stephen. I only did it once and remember getting confused
along the way.
But the steps are correct i think, just the order was wrong.


On Sat, Nov 27, 2010 at 9:53 AM, stephen barncard
stephenrevoluti...@barncard.com wrote:
 Sarah,I believe you have it turned around. #4 has to be first, then 2 and 3.
 The On-Rev CPanel will not allow a domain to be added that isn't already
 pointed at the registrar's.  I've done this for about 5 domains at On-Rev.

 On 26 November 2010 15:42, Sarah Reichelt sarah.reich...@gmail.com wrote:

  1. Buy the www.somename.com domain name from Go-Daddy. Did that.
  2. Create a Sub-Domain in CPanel on on-rev.com for
 somename.lazyriver.on-rev.com
  3. Create Addon Domain in CPanel on on-rev.com for the sub-domain
 somename.lazyriver.on-rev.com
  4. Change the G-Daddy service to Forwarding with Masking to point to the
 Addon-Domain.

 This is the way as far as I can remember, except for step 4.
 In step 3, you create an add-on domain that points to your new sub-domain.

 Then instead of step 4, you log in to GoDaddy and set the name servers
 for your new domain to point to the On-Rev name servers.
 After this, it might take a few hours for this to propagate before the
 link to www.somename.com is actually linked to your on-rev server.

 Cheers,
 Sarah

 ___
 use-livecode mailing list
 use-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




-- 
Cheers,
Sarah

Rodeo discussion:
http://alltiera.com/discussion/

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