Search found 3847 matches

by bn
Thu Dec 10, 2009 12:28 am
Forum: Internet
Topic: get wav-file out of mail...
Replies: 2
Views: 3074

Re: get wav-file out of mail...

aerypton, I tried your mime attachement and copied just the encoded part from the whole mail into a field in rev. then I used this code on mouseUp put field 1 into myData put specialfolderpath(desktop) & "/" & field "fDest" into myDest put base64Decode(myData) into URL ("binfile:" & myDest) end mous...
by bn
Thu Dec 10, 2009 12:11 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Saving data in text field on multiple cards
Replies: 13
Views: 7465

Re: Saving data in text field on multiple cards

Dan, since you have Shafer's book he explains very well the menu-thing and how to save a stack when you build a standalone. Because the mainstack of a standalone can not be saved, but a second stack you include in your standalone can be saved. So this method is often referred to as the splash-screen...
by bn
Wed Dec 09, 2009 6:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: open or go one stack to another
Replies: 6
Views: 4663

Re: open or go one stack to another

Bobo, I cant get a stack to hide in a revlet, setting its blendlevel to 100 does not work either. But you can hide elements of your stack like fields and so on. And you can go to another card on your stack. So with a little change in the user interface and the way you set up your stacks in the revle...
by bn
Wed Dec 09, 2009 12:13 pm
Forum: Multimedia
Topic: Arrays & Audio Files
Replies: 8
Views: 6094

Re: Arrays & Audio Files

Newrev, I looked up the contradiction you found in user documentation / dictionary in the quality control center and it has been reported for 3.0 already. I added a note that is still not fixed. http://quality.runrev.com/qacenter/show_bug.cgi?id=7126 This kind of error is not helpful for anyone and ...
by bn
Wed Dec 09, 2009 11:36 am
Forum: Getting Started with LiveCode - Experienced Developers
Topic: How do I generate a list of objects used in a stack?
Replies: 7
Views: 5068

Re: How do I generate a list of objects used in a stack?

Hi arombauts,
look at control

Code: Select all

put the number of controls 

Code: Select all

put the name of control 1

Code: Select all

put the number of controls of card 1
regards
Bernd
by bn
Tue Dec 08, 2009 11:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: open or go one stack to another
Replies: 6
Views: 4663

Re: open or go one stack to another

bobosquish, welcome to the forum. Jacqueline posted a how-to http://jacque.on-rev.com/codebits/dualrevlets.irev don't be intimidated by the javascript. The main point is that the id of the two stacks have to be the same. Tweak for placement. Jacqueline explains it in detail. Ask if stuck. regards Be...
by bn
Tue Dec 08, 2009 10:11 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: scale field with window
Replies: 2
Views: 2360

Re: scale field with window

Hello Jim, make one field and two buttons in a new stack. In the properties inspector under size set the minWidth to 600 and the minHeight to 500. Put this script into the stack or card on resizeStack tnewWidth, tNewHeight if tNewWidt < 600 or tNewHeight < 500 then exit resizeStack lock screen set t...
by bn
Tue Dec 08, 2009 6:31 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: numbers to string
Replies: 1
Views: 1492

Re: numbers to string

Greg,
Mark Schonewille has a script on his site that probably does what you want. At least it will get you started.
http://runrev.info/Numbers%20to%20Text.htm
regards
Bernd
by bn
Mon Dec 07, 2009 9:28 pm
Forum: Getting Started with LiveCode - Experienced Developers
Topic: Saving data in text field on multiple cards
Replies: 13
Views: 7465

Re: Saving data in text field on multiple cards

Urbaud, funny change of name from Urbauer to Urbaud. Urbauer is not frequent but not unheard of in Germany. I dont know any Urbauer although according to the white pages there is one living in my hometown. I worked once for 4 month on a farm in British Columbia, Smithers, have very fond memories of ...
by bn
Mon Dec 07, 2009 8:55 pm
Forum: Talking LiveCode
Topic: Merging Stacks?
Replies: 24
Views: 12051

Re: Merging Stacks?

Ralph, again, I just don't know why this happens. Some ideas that don't necessarily apply here: you call your stack "one" and "two". Try to avoid reserved words in naming things. Rev is known to behave funny in this situation. Always use some other notation, never use a reserved word. Also, even if ...
by bn
Mon Dec 07, 2009 8:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to refer to an object and it's properties in a script?
Replies: 3
Views: 3051

Re: How to refer to an object and it's properties in a script?

Hi Top Gun, welcome to the forum. there is no need in Rev to declare a number as literal. For your case try something like this: on mouseUp set the visible of field ("f" & 1) to not the visible of field ("f" & 1) end mouseUp The same for a variable on mouseUp put 1 into i set the visible of field ("...
by bn
Mon Dec 07, 2009 6:39 pm
Forum: Talking LiveCode
Topic: Merging Stacks?
Replies: 24
Views: 12051

Re: Merging Stacks?

go to stack "Two", open the properties inspector, on the basic properties there is an option to choose a main stack for stack "Two" here you choose stack "One" as the mainstack and then you save. Close Rev. Restart Rev. There should not be a stack "two" anymore, because if all went well stack "two"...
by bn
Mon Dec 07, 2009 5:34 pm
Forum: Talking LiveCode
Topic: Merging Stacks?
Replies: 24
Views: 12051

Re: Merging Stacks?

Ralph,
go to stack "Two", open the properties inspector, on the basic properties there is an option to choose a main stack for stack "Two"
regards
Bernd
by bn
Mon Dec 07, 2009 12:43 pm
Forum: Multimedia
Topic: Arrays & Audio Files
Replies: 8
Views: 6094

Re: Arrays & Audio Files

Newrev, if you want to see tArrayIndex after combining try combine tWorkArray using return and comma this gives you "1,something" 1 beeing the the key and something the content of myArray[key] as a return delimited list of the array. So you can sort by item 1 of the list etc. As Sparkout pointed out...
by bn
Mon Dec 07, 2009 11:38 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sending a handler problems
Replies: 3
Views: 2741

Re: Sending a handler problems

if you use the short name instead of the name of the current card it returns just the name, not card "nameOfCard" on doStuff put the short name of this card into theCard if theCard = "testCard" then put theCard && "It worked!" end if end doStuff the problem with last word is that you can have card n...

Go to advanced search