Re: Scripting Cut/Copy/Paste in custom menus

2014-09-13 Thread Paul Hibbert
Bob, Cut, copy, paste & clear are available as commands in LC, so maybe simplifying your Edit menu a little may help, for example… --The following menuPick handler was generated by the Menu Builder (& simplified a little). on menuPick pWhich switch pWhich case "Preferences" --

Re: Writing ID3 Tags to files

2014-09-13 Thread J. Landman Gay
On 9/13/2014, 9:04 PM, Brahmanathswami wrote: I would like to be able to write these from inside LiveCode, using scripts I would trigger changes in the Track Title, album, artist and genre etc, while traversing directories/repositories filled with these *.mp3 files. I have so 1000 plus files to

Re: Scripting Cut/Copy/Paste in custom menus

2014-09-13 Thread J. Landman Gay
On 9/13/2014, 7:55 PM, Bob Sneidar wrote: As many know, creating a custom menu set on OS X (not sure about Windows) will typically add the File and Edit menus to your customer menu set. This has the net effect of*disabling* cut/copy/paste/clear. Not really. Did you use Menu Builder to set up th

Re: Scripting Cut/Copy/Paste in custom menus

2014-09-13 Thread Kay C Lan
Your suggestion, if it didn't break many stacks, would certainly slow them down. I mainly work with a Stack, a single card with anywhere between 10s to over a 100 fields, and a database. Going Next or Previous record populates those fields by using 'put' statements. Currently, even with 100+ field

Writing ID3 Tags to files

2014-09-13 Thread Brahmanathswami
If you open any [*.aif, *.mp3,] file in iTunes, you go to the " info" tab and enter ID3 tags (artist, album, track, genre, year, etc) then when you switch to a different song you can see in the finder that the file is updated as the ID3 tags were written and saved transparently. Modification d

Re: stack "Unt!itled 1" ?

2014-09-13 Thread Dr. Hawkins
On Sat, Sep 13, 2014 at 1:31 PM, Peter Haworth wrote: > (?im)^(?!--)\s*put\s((?!(into|after|before|\\)).)*$ > Wow. And there was a time I could have read that without putting serious time into it. There are a *lot* of those left . . . I switched to my own logging partly to be able to catch t

Re: url question

2014-09-13 Thread Kay C Lan
If you are on OS X and Safari you can 'do statementList as applescript' tell application "Safari" repeat with t in tabs of windows tell t if name starts with "google.com" then close end tell end repeat end tell Other browsers YMMV On Sat, Sep 13, 2014 at 1:54

Re: Scripting Cut/Copy/Paste in custom menus

2014-09-13 Thread Bob Sneidar
I read from the Dictionary under closeField: "The closeField message is not sent when a handler changes the field's contents using the put command.” May I submit that it ought to? An edited field is an edited field, and when it loses focus, if the contents are not what they were when it was open

Scripting Cut/Copy/Paste in custom menus

2014-09-13 Thread Bob Sneidar
Hi all. As many know, creating a custom menu set on OS X (not sure about Windows) will typically add the File and Edit menus to your customer menu set. This has the net effect of *disabling* cut/copy/paste/clear. I can live with that, because I have scripted the necessary menus to mimic the beh

Re: stack "Unt!itled 1" ?

2014-09-13 Thread Peter Haworth
I think Thierry holds that title, I'm just one of his students! I made one change to the regex because it wouldnt have recognized anything other the comments that start with "--". This version will recognize any of the valid single line comment indicators. Haven't figured out how to handle block

Re: stack "Unt!itled 1" ?

2014-09-13 Thread stephen barncard
On Sat, Sep 13, 2014 at 1:31 PM, Peter Haworth wrote: > Sounds like you have a stray "put" with no target. > > Go into the script editor Find window, click "More", select Stack File in > the "Look In" menu, click the Find Options and select "Regular Expression" > in the Search method options, the

Re: OS X codesigning best practise?

2014-09-13 Thread Matthias Rebbe | M-R-D
Tiemo. Thank you for your explanation. Tried it and it went through without problems. App Wrappe at least tells me, that it was successful. But is there a way to check the bundle, if it is really signed? Regards, Matthias Am 11.09.2014 um 17:40 schrieb Tiemo Hollmann TB : > Hi Matthias, > wi

Re: stack "Unt!itled 1" ?

2014-09-13 Thread Skip Kimpel
Pete, you are a regex Jedi master. SKIP > On Sep 13, 2014, at 4:31 PM, Peter Haworth wrote: > > Sounds like you have a stray "put" with no target. > > Go into the script editor Find window, click "More", select Stack File in > the "Look In" menu, click the Find Options and select "Regular Expr

Re: stack "Unt!itled 1" ?

2014-09-13 Thread Peter Haworth
Sounds like you have a stray "put" with no target. Go into the script editor Find window, click "More", select Stack File in the "Look In" menu, click the Find Options and select "Regular Expression" in the Search method options, then type this in the FInd field: (?im)^(?!--)\s*put\s((?!(into|aft

stack "Unt!itled 1" ?

2014-09-13 Thread Dr. Hawkins
I am seeing the message box opened with stack "Unt!itled 1" as my project opens; this has been a few weeks, I think (I just noticed the ! the other day). Of course, if I try trap for it, it doesn't happen . . . there are various things, such as an actual "put" to the message box that seem to st

Tab control background color

2014-09-13 Thread Peter Haworth
It seems that if you set the background color of a tab control, it is somehow blended with the standard grey background (this is on OSX). Is there a way round this without having to design my own tab control? Pete lcSQL Software Home of lcStackBrowser

Re: Download and Run Stacks - Can Do On Mobile?

2014-09-13 Thread Charles E Buchwald
I seriously considered using stack files. It would make a lot of things easier than writing and reading XML in ZIP files. But I couldn't risk having to rewrite everything if the use of stack files was rejected by Apple. Even with my system of transferring XML, these illegal workarounds would be

closing a browser tab?

2014-09-13 Thread larry
Hello, I use the following: launch url myUrl and LC opens a browser tab in my default browser - cool. My question is this: Is there any way to close that tab when I want to? TIA Larry ___ use-livecode mailing list use-livecode@lists.runrev.com Pleas

Retina output on a Mac

2014-09-13 Thread Andrew Henshaw
Apart from compiling with 6.6.2+, is there anything else I need to set to enable retina output on a mac? I dont have retina on my mac, so I used air display and my iPad to test the retina output and that just worked, when I dragged the window onto the iPad retina display is just redrew ans b

Re: Printing on Windows

2014-09-13 Thread Andrew Henshaw
Thanks Roger, Ive refined it some more now and it looks like a bug. It only happens if you try to print a field with vertical lines set to on, on a windows computer. > On 13 Sep 2014, at 18:10, Roger Eller wrote: > > I read somewhere recently that RunRev would rather have a bug reported a

Re: Printing on Windows

2014-09-13 Thread Roger Eller
I read somewhere recently that RunRev would rather have a bug reported and it turn out not to be, than to have it remain undiagnosed. Based on your description, it sounds like a bug. I'd say report it. Sent from my Android tablet On Sep 13, 2014 12:14 PM, "Andrew Henshaw" wrote: > Before I sub

Re: Download and Run Stacks - Can Do On Mobile?

2014-09-13 Thread Richard Gaskin
Charles E Buchwald wrote: > I've been working on a system that is basically a magazine reader. My > iOS "player" contains all the code. It downloads a ZIP archive with > an XML file that contains all the content, plus the media assets. > > If I need to add functionality of any kind, I'll update th

Re: Download and Run Stacks - Can Do On Mobile?

2014-09-13 Thread Charles E Buchwald
I've been working on a system that is basically a magazine reader. My iOS "player" contains all the code. It downloads a ZIP archive with an XML file that contains all the content, plus the media assets. If I need to add functionality of any kind, I'll update the iOS player, even if it's only i

Printing on Windows

2014-09-13 Thread Andrew Henshaw
Before I submit this as a bug, does anyone else have print issues with Windows from LIvecode 6.6.2 onwards? The issue I have is that a text box, formatted as a table prints correctly on a Mac or Linux system, but on Windows it prints as a grey or black box for the whole size of the text box,

Re: No WAV playback on Win in v6.6.2?

2014-09-13 Thread Richard Gaskin
Alex Shaw wrote: If you just need basic playback try ffplay. https://www.ffmpeg.org/ffplay.html Thanks, but one of the reasons we chose LiveCode for this project was its built-in multimedia support. :( Looks like Dave Kilroy has the magic key: FYI 6.6.2 plays .wmv fine without QuickTime

Re: Download and Run Stacks - Can Do On Mobile?

2014-09-13 Thread Richard Gaskin
Walt Brown wrote: Check out Novocard. It says it is HC like, and allows keeping and sharing stacks in the cloud, and runs on iOS. Interesting. Their web site says: "Share your stacks with friends via email and Dropbox." So either Apple has changed their earlier prohibition against apps that

Re: Download and Run Stacks - Can Do On Mobile?

2014-09-13 Thread Walt Brown
Check out Novocard. It says it is HC like, and allows keeping and sharing stacks in the cloud, and runs on iOS. Walt On Saturday, September 13, 2014, Richard Gaskin wrote: > Brahmanathswami wrote: > > > I remember being "blown away" years ago in the late 90's when Scott > > Raney had a little de

Re: No WAV playback on Win in v6.6.2?

2014-09-13 Thread Dave Kilroy
FYI 6.6.2 plays .wmv fine without QuickTime on Windows. Use "set the dontUseQT to true" in preOpenStack and then "play videoclip tPathToFile" to kick it off I have no idea if it possible to convert a .wav to a .wmv (obviously without any visuals) - but if it was possible you could then play the '

Garbage collection in 7.0 (was Re: WindowShape)

2014-09-13 Thread FlexibleLearning.com
Could be related to Bug #13126 and inadequate garbage collection in DP8. The issue has been confirmed but not yet resolved. Hugh Senior FLCo From: Paul Hibbert Crashed here too. So I opened the Activity Monitor, launched LC again, opened the stack and activated the animation, then watched the