Re: How do I remove part of a path?

2011-07-31 Thread Pete
Yes, it should be: replace "/" & item 4 of with empty in The other way works if he's always looking to replace the same string, this is better if the string is always in a known position but the string itself could vary. I have so many instances where I need to set the itemdelimiter to tab tha

Re: How do I remove part of a path?

2011-07-31 Thread Admin
Hello again. One more. What is the correct code to run a file (in this case, self extracting .exe files) in LiveCode. Here are the code I have written (with help) and it does not work: if the platform is "MacOS" then open file "http://www.campstaffusa.com/newdb/uploadpic_swt_mac.exe";

Re: How do I remove part of a path?

2011-07-31 Thread Admin
Guys. THANK YOU!!! From the bottom of my heart, Thank You. You guys saved my tushy tonight. My app works 100% now thanks to all of your help. Mike On Sun, 31 Jul 2011 20:45:24 -0700, Pete wrote: > Yeah, messed up the syntax, but you get the idea! > Pete > Molly's Revenge > > On Sun, J

Re: MD5 digest of arrays and controls

2011-07-31 Thread Terry Judd
On 01/08/2011, at 01:24 PM, Alejandro Tejada wrote: > Hi all, > > How could I get the MD5digest of an Array and > all the properties of a control? I guess you could use arrayEncode() first and then get an MD5digest of the data. > > For example, I created a control, by script, > and I want to m

RE: lack of Mac OS X intuition: system menu

2011-07-31 Thread Slava Paperno
Then this has to remain a mystery: my stack doesn't set the defaultMenuBar, and when I test it in the Message box, I see that it is the rev file in Toolset. I made a working sample of my two revBrowser problems and posted it on the Mac OS forum in response to Bernd's kind interest. Maybe he'll spo

Re: How do I remove part of a path?

2011-07-31 Thread Pete
Yeah, messed up the syntax, but you get the idea! Pete Molly's Revenge On Sun, Jul 31, 2011 at 7:51 PM, Michael Kann wrote: > Pete, > > One little improvement is needed: > > replace item 4 of with empty in is> > > When I change the itemDelimiter to something e

Re: lack of Mac OS X intuition: system menu

2011-07-31 Thread J. Landman Gay
On 7/31/11 9:32 PM, Slava Paperno wrote: Earlier today Jacque said: The IDE will replace the system menu with yours when your stack is frontmost. If you click on any IDE component (message box, tool palette, etc) the IDE menus will come back. It's dynamic. I have not been able to achieve this

MD5 digest of arrays and controls

2011-07-31 Thread Alejandro Tejada
Hi all, How could I get the MD5digest of an Array and all the properties of a control? For example, I created a control, by script, and I want to make sure that it's identical to another control created by a different script. How could I compare both controls using a MD5digest of their relevant

State of an application status

2011-07-31 Thread Bill Vlahos
Using the on suspend and on resume handlers I can tell when a program becomes a background application for foreground application. There are times in my program that I want it to behave differently depending if it is foreground or not. How can I query the current state of the application? I su

Re: How do I remove part of a path?

2011-07-31 Thread Roger Eller
On Sun, Jul 31, 2011 at 10:36 PM, Pete wrote: > replace "/public.html" with empty in . That's > assuming > it's always the same string you want to get rid of. Alternatively: > > set the itemdelimiter to "/" > replace item 4 of with empty > > Pete > Molly's Revenge

Re: How do I remove part of a path?

2011-07-31 Thread Michael Kann
Pete, I checked to see if the itemDelimiter trick left behind a "/" and found that it does. http://www.travelandworkusa.com//userfiles/Felker_Mike/robot_trans_noshadow.png -- notice the 2 forward slashes where there should be uno. Mike --- On Sun, 7/31/11, Pete wrote: From: Pete Subject:

Re: How do I remove part of a path?

2011-07-31 Thread Michael Kann
Pete, One little improvement is needed: replace item 4 of with empty in When I change the itemDelimiter to something exotic I almost always forget to change it back then wonder why those items don't obey. If you are going to change the itemDelimiter you might try something like: put the ite

Re: How do I remove part of a path?

2011-07-31 Thread Pete
replace "/public.html" with empty in . That's assuming it's always the same string you want to get rid of. Alternatively: set the itemdelimiter to "/" replace item 4 of with empty Pete Molly's Revenge On Sun, Jul 31, 2011 at 6:58 PM, Admin wrote: > > > Hell

lack of Mac OS X intuition: system menu

2011-07-31 Thread Slava Paperno
Earlier today Jacque said: > > The IDE will replace the system menu with yours when your stack is > > frontmost. If you click on any IDE component (message box, tool > > palette, etc) the IDE menus will come back. It's dynamic. I have not been able to achieve this no matter what value of "editmen

Re: How do I remove part of a path?

2011-07-31 Thread Roger Eller
On Sun, Jul 31, 2011 at 10:23 PM, Michael Kann wrote: > I'll take this one. > > put" > http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png"; > into k > replace "/public_html" with empty in k > > -- put k back where you got it > > Good luck. You might want to

Re: How do I remove part of a path?

2011-07-31 Thread Roger Eller
On Sun, Jul 31, 2011 at 9:58 PM, Admin wrote: > > > Hello all, > > Say I have the following path: > > > > http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png > > > How do I get rid of just /public_html ? > > Thanks. > > Mike > put " http://www.travelandworku

Re: How do I remove part of a path?

2011-07-31 Thread Michael Kann
I'll take this one. put" http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png"; into k replace "/public_html" with empty in k -- put k back where you got it Good luck. You might want to take a little break and come back refreshed. Mike --- On Sun, 7/3

Re: How do I remove part of a path?

2011-07-31 Thread Admin
Hello all, Say I have the following path: http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png How do I get rid of just /public_html ? Thanks. Mike ___ use-livecode mailing list use-livecode@lists.ru

Re: revBrowser, Mac OS X, and Unicode

2011-07-31 Thread J. Landman Gay
On 7/31/11 7:21 PM, Slava Paperno wrote: My one remaining secret weapon, yet to be deployed, is a support request that I am entitled to submit to runrev because I subscribed to the dev program. You should be on the developer's list if you're in the dev program. The engineers read that list and

revBrowser, Mac OS X, and Unicode

2011-07-31 Thread Slava Paperno
Jacqueline said: > But you were right that revBrowser uses the built-in Safari webkit. How does your page > look if you open it directly in Safari? It looks fine--just as I expect it to look, and just the way it looks in my Windows stack. Unicode Cyrillic is displayed as it is displayed in all br

Notification Manger or Bounce the Dock Icon

2011-07-31 Thread Bill Vlahos
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 d

Re: Where does survive the inventive user ?

2011-07-31 Thread James Little
I too am not a professional programmer and did not come from a Hypercard background. As a physician and clinical researcher, I found RunRev 5 years ago because I wanted to test a theory that syringomyelia (a pathologic cyst in the spinal cord) would affect motor control, which might prove usefu

Re: lack of Mac OS X intuition: system menu

2011-07-31 Thread J. Landman Gay
On 7/31/11 2:19 PM, Slava Paperno wrote: Cool, thanks, Jacque! Since you know everything, Hardly. As I prove here: do you also know why revBrowser won't display double-byte (Unicode Cyrillic) characters when my stack runs/is developed in Mac OS X I wish I did. I've hardly used revBrowser an

Re: User Interface Question

2011-07-31 Thread Pete
Yes there is a header. I tried hiding the header by setting the show header property to false, but it still is displayed. Beginning to suspect that I have some sort of corruption in the datagrid. Pete Molly's Revenge On Sun, Jul 31, 2011 at 11:40 AM, Shao Sean

Re: HELP - Major Emergency - substack not showing

2011-07-31 Thread J. Landman Gay
On 7/31/11 3:49 PM, Admin wrote: OK. I fixed it. But something has made LiveCode totally twitchy as a result of all of this. It's probably something in a script somewhere. Substacks are behaving normally as far as I can see. Next question. How do you copy a substack. I need an identical

Re: HELP - Major Emergency - substack not showing

2011-07-31 Thread Admin
OK. I fixed it. But something has made LiveCode totally twitchy as a result of all of this. Next question. How do you copy a substack. I need an identical copy of it, but need to make a few tiny changes. Thanks. Mike On Sun, 31 Jul 2011 15:32:16 -0500, Admin wrote: > OK, I found out t

Re: HELP - Major Emergency - substack not showing

2011-07-31 Thread Admin
OK, I found out the substack is being either minimized or off the screen, but if I right click on the taskbar (the page shows up when I hover over the LiveCode icon) and choose "open maximized" and then move it into position, it shows. However, this is lost when I close the project and re-open

Re: Getting someone's age from dob and current year

2011-07-31 Thread Admin
Thanks everyone. I figured the dob problem out and it's now working. Now I just need to get my substack back. Have there been stability problems with substacks? Mike On Sun, 31 Jul 2011 11:32:02 -0400, Peter Brigham MD wrote: > On Jul 31, 2011, at 12:03 AM, Warren Samples wrote: > >> On

Re: HELP - Major Emergency - substack not showing

2011-07-31 Thread Admin
I just finished creating a 3 card substack and now the cards won't open when clicked or coded to open. On top of that, Live Code is acting very sluggish ever since I started working on the substack. When you try to open one, the current stack window flashes and nothing happens. This is catastr

lack of Mac OS X intuition: system menu

2011-07-31 Thread Slava Paperno
Cool, thanks, Jacque! Since you know everything, do you also know why revBrowser won't display double-byte (Unicode Cyrillic) characters when my stack runs/is developed in Mac OS X (Tiger and Snow Leopard)? It displays two single-byte characters for each Cyrillic letter, which makes the text unread

Re: User Interface Question

2011-07-31 Thread Shao Sean
Is there a header on the datagrid? Does the same issue happen without a header? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev

Re: lack of Mac OS X intuition: system menu

2011-07-31 Thread J. Landman Gay
On 7/30/11 11:54 PM, Slava Paperno wrote: My stack has a menu bar built with the Menu Builder in the Tools menu. It is essentially a group of buttons use as a menu bar. When I open the stack in the IDE on Mac OS X, that menu replaces the standard LC IDE menu. No matter which mode I am in (Browse

Re: User Interface Question

2011-07-31 Thread Pete
Thanks to all for the advice. I've tried all the suggestions but I still have the same problem. The cursor changes to the hand correctly when I hover over the datagrid. If I move the mouse off the datagrid in any direction except upwards, the cursor changes back to what it should be. If I move

lack of Mac OS X intuition: system menu

2011-07-31 Thread Slava Paperno
Paolo, Mark--thanks for these tips. Combinations of "Set as stack Menu bar" and "Preview in Menu bar" now work as you say. I think I know what's going on, though. When the IDE is started by launching the *.livecode stack file, the stack starts in the Run mode. At this point the menu bar is my custo

RE: LC Summer Academy

2011-07-31 Thread Bob Earp
Thanks for this Mark, but is the actual material/lessons still available for viewing and if so where? I've been traveling a lot this year and have missed such valuable resources. best, Bob... Bob Earp White Rock, British Columbia. > Message: 6 > Date: Sat, 30 Jul 2011 10:56:55 -0500 > From: M

Re: Getting someone's age from dob and current year

2011-07-31 Thread Peter Brigham MD
On Jul 31, 2011, at 12:03 AM, Warren Samples wrote: > On Saturday, July 30, 2011 07:16:44 PM Roger Eller wrote: >> convert tToday to seconds >> convert tBorn to seconds > > > It's been talked about before, but this calls for a reminder: attempting to > convert a date prior to Jan 1, > 1970 t

Re: User Interface Question

2011-07-31 Thread Peter Brigham MD
And it's much better not to lock the cursor and then change it. Locked cursors have a way of sticking if the handler to unlock the cursor somehow misses. instead, don't lock anything, just set the defaultcursor to hand, then set it to empty when done. I usually have this in my stack script: on

Blacklisted

2011-07-31 Thread Michael Kann
I sent an email request to supp...@runrev.com from my yahoo account and got the following failure notice: - Sorry, we were unable to deliver your message to the following address. : Remote host said: 550 5.7.1 Your IP 98.139.212.175 is blacklisted. Click delist.em

Re: lack of Mac OS X intuition: system menu

2011-07-31 Thread Mark Schonewille
Hi Slava, This can indeed be a problem once in a while. If you have closed all palettes and windows and your own stack is the only stack visible, then you get may stuck. Just don't close the tools palette unless you're absolutely sure. Whenever you click in an IDE window or choose the pointer t

Re: Where does survive the inventive user ?

2011-07-31 Thread Timothy Miller
Meanwhile, a comprehensive LC tutorial, extremely user friendly, written in LC, starting at the most elementary level... Has it been envisioned? Tim ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubsc