Search the web
Sign In
New User? Sign Up
SuperCard
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 45057 - 45086 of 45159   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
45057
Hi may you help me to "sort" by its letters "mario" to have "aiomr" ? many thanks mario baccheschi...
baccheschi@...
sandrogeri
Offline Send Email
Jun 6, 2009
3:36 pm
45058
... You could put the word into a variable, place a comma between each letter and then use the sortByItem extension (in the Xtend project) to sort the variable...
Joe Koomen
joekoomen
Offline Send Email
Jun 6, 2009
8:03 pm
45059
... That's too simple, Joe! ;-) Here is a more complex approach. The ruby code to do this is trivial, but you can't run a ruby script with SC's 'get script'...
Vince
bmw_em5
Offline Send Email
Jun 6, 2009
9:16 pm
45060
... Hi Joe excuse me, but i am not able to do it may you send me an example? thanks mario baccheschi...
sandrogeri
Offline Send Email
Jun 7, 2009
1:11 pm
45061
... IMHO, for such a little thing, you can do a little bubble sort function sortchars str put true into b put len(str)-1 into l repeat while b put false into...
Stéphane Leys
nemoid2002
Offline Send Email
Jun 7, 2009
3:39 pm
45062
... You have one response; another is at the end of this message. Just put this script on a button. Art Evans ... on mouseUp -- Get the thing to sort. ask...
Arthur Evans Jr
evanssl21@...
Send Email
Jun 7, 2009
4:04 pm
45063
Would a simple repeat function work for you? function reverseString pStr put "" into tRevStr repeat with i = the num of chars in pStr down to 1 put char i of...
Bruce Martin
the1ripper2001
Offline Send Email
Jun 7, 2009
4:27 pm
45064
... I'm afraid that can't be done. But it is possible to sort the letters and get "aimor". ;-) -- Miguel Muñoz ... Miguel Muñoz SwingGuy1024@... ...
Miguel Muñoz
swingguy1024
Offline Send Email
Jun 8, 2009
12:23 am
45065
... Unless of course, you first isolate the vowels from the consonants, sort both and put the vowels before the consonants. Getting a little complex! Doug...
Doug Denby
dougleighdenby
Offline Send Email
Jun 8, 2009
12:35 am
45066
heh -- the ruby script I posted was only 3 lines if you don't count the shebang line. And actually, it could be shortened to just 1 line: puts...
Vince
bmw_em5
Offline Send Email
Jun 10, 2009
12:53 am
45067
Hi Vince, you're over escaping... try: shell(merge("ruby -e 'puts `vincenzo`.scan(/(.)/).sort'|tr -d '\n'")) Ian B ... Ian Bridges IT Manager Planet Ark...
Ian Bridges
inpersonoz
Offline Send Email
Jun 10, 2009
1:50 am
45068
Ian, if you weren't in the Outback somewhere, I'd probably kiss you. That definitely works. But I am not understanding why get shell("ruby -e 'puts...
Vince
bmw_em5
Offline Send Email
Jun 10, 2009
3:29 am
45069
Hi Vince, ... It's removing extra double quotes which SC sees as the end to the quoted string - SC doesn't understand unix style escapes. So instead of a nice...
Ian Bridges
inpersonoz
Offline Send Email
Jun 10, 2009
5:41 am
45070
Vince: Sometimes its easier and timesaving to type 20 lines of SC rather than to dicker with a foreign language. z...
Lowell Zack
lowellzack
Offline Send Email
Jun 10, 2009
7:35 pm
45071
Hi All: Apple spammed me with a message about the new 3G iphone that has a video camera included in its wiring. Do you think this will attract a slew of new...
Lowell Zack
lowellzack
Offline Send Email
Jun 10, 2009
7:44 pm
45072
I dunno, z. A one-liner in ruby is hard to beat. And by playing around with different ways to run ruby scripts aside from "get shell', I made a relatively...
Vince
bmw_em5
Offline Send Email
Jun 11, 2009
3:16 am
45073
... But only, as you later allude to, if you know Ruby. Otherwise it is hard to write. :-) k...
Keith Martin
the1keith
Offline Send Email
Jun 11, 2009
8:14 am
45074
Ever since SC 4.x introduced us to the shell command, the shell and everything it brings is really now part of the SC toolkit. I know a lot of people choose to...
Ian Bridges
inpersonoz
Offline Send Email
Jun 11, 2009
11:17 am
45075
... Absolutely. I agree entirely with this and the rest of your post. I just thought it worth noting that many people struggle to become fluent in just one...
Keith Martin
the1keith
Offline Send Email
Jun 11, 2009
12:32 pm
45076
... I know nothing about this. Is there an introductory book that would tell me how to use shell scripts with supercard?...
richardpitcairn
Offline Send Email
Jun 11, 2009
1:43 pm
45077
It all depends... if you have the time and energy to learn a new language its a good idea. z...
Lowell Zack
lowellzack
Offline Send Email
Jun 11, 2009
2:06 pm
45078
I had a SuperCard script that matched times in a piece of text which ended up being quite a lot of code. I rebuilt it as a Perl regular expression and it fits...
Alec Hole
hhc882000
Offline Send Email
Jun 11, 2009
7:40 pm
45079
... Two problems. One - how do I change this is the person who supplied it to me is unavailable. Two - what do I do if Perl gets updated and something breaks....
Joe Koomen
joekoomen
Offline Send Email
Jun 11, 2009
7:58 pm
45080
I am having a strange problem when I read most of the posts prior to this one and try to post a reply, Yahoo keeps telling me that it cannot retrieve the...
Vince
bmw_em5
Offline Send Email
Jun 12, 2009
2:31 am
45081
Well, if it is a good function it might have some flexibility, various parameters. Think of it as a mini external: most people don't need to go in and rewrite...
Alec Hole
hhc882000
Offline Send Email
Jun 12, 2009
2:57 am
45082
... Heck, I do! I speak English *and* American... ;-) k...
Keith Martin
the1keith
Offline Send Email
Jun 12, 2009
8:49 am
45083
... In reverse order... 2) Perl is a very mature well maintained and widely used scripting language. For the kinds of scripts that would mostly be used, it is ...
Ian Bridges
inpersonoz
Offline Send Email
Jun 12, 2009
9:17 am
45084
Perl is astoundingly efficient and fast for things it is good at. It is also *astoundingly* opaque to the uninitiated. This point should not be ignored. Perl...
Keith Martin
the1keith
Offline Send Email
Jun 12, 2009
9:39 am
45085
Hi I tried to make a project which makes anagrams but it goes very slowly Is it a way to make it more swift? Thanks...
sandrogeri
Offline Send Email
Jun 13, 2009
5:13 pm
45086
You can use curl or one of the HTTP externals to hit this server with your word. put merge("http://wordsmith.org/anagram/anagram.cgi? ...
Bruce Martin
the1ripper2001
Offline Send Email
Jun 13, 2009
6:14 pm
Messages 45057 - 45086 of 45159   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help