text:
I can open a Terminal tab using the following AppleScript:
tell application "Terminal"
set myTab to do script "exec sleep 1"
get myTab
end tell
This returns a string like:
tab 1 of window id 3263 of application "Terminal". This is great, I can see the window id 3263 and tab number 1 (although I don't know how to query myTab to get only these values).
In the Cocoa ScriptingBridge, I can do:
SBApplication *terminal;
SBObject *tab;
terminal = [SBApplication applicationWithBundleIdentifier:@"com.apple.terminal"]
tab = [terminal doScript:@"exec sleep 1" in:nil]
How do I get the window id and tab number from the tab object?
Edit 2009/4/27 - Why?
In answer to why I want to do this - I am opening a command in a Terminal window (as above), and am getting back the tab object. However I want to move/resize this window, so I need to get access to the tab's "window" object.
I am using Objective-C (well actually, Objective-C bridged from Perl), and want to stick to standard OS components, so I believe I only have the NSAppleScript and ScriptingBridge frameworks to play with (all the perl applescript modules broke with 64bit carbon removal). I would try NSAppleScript, but processing the returned values seems to be a black-art.
My current solution is to get the TTY of the tab object (guaranteed unique) and enumerate every tab of every window until I find the window containing the tab. I assumed that this couldn't be the best way (it sure ain't fast!).
Edit 2009/4/30 - Solution
Based on the suggestions of "has" below, I braved the NSAppleEventDescriptor API. Initially, I was only able to get to this with NSAppleScript's
executeAndReturnError() call. However I found that NSAppleScript was much, much slower than ScriptingBridge.
After using ClassDump to extract some more SBObject calls, I found the undocumented
specifierDescription() and
qualifiedSpecifier() calls. The former gives me the nice "tab X of window id Y" string. The latter returns the apple event descriptor, which I can then decode.
My final code (in perl) is:
use Foundation;
# Create an OSType (bid endian long) from a string
sub OSType ($) { return unpack('N', $_[0]) }
my $terminal = SBApplication->applicationWithBundleIdentifier_("com.apple.terminal");
my $tab = $terminal->doScript_in_("exec sleep 1", undef);
my $tab_ev_desc = $tab->qualifiedSpecifier;
my $tab_id = $tab_ev_desc->descriptorForKeyword_(OSType 'seld')->int32Value;
my $win_ev_desc = $tab_ev_desc->descriptorForKeyword_(OSType 'from');
my $window_id = $win_ev_desc->descriptorForKeyword_(OSType 'seld')->int32Value;
print "Window:$window_id Tab:$tab_id\n";


text:
boomer14 Review
Great dress, fits perfectly, great buy for the money
- How did the color on site compare with the actual product? Awesome
- How accurate was the sizing? Right on
Was This Review Helpful?
Sign up today and activate a
Great dress, fits perfectly, great buy for the money
Shop Overstock™ and find the best online deals on everything for your home and your family. We work every day to bring you discounts on new products across our entire store. Whether you're looking for memorable gifts or everyday essentials, you can buy them here for less. Not just anyone's mobile outlet, your mobile outlet.O.com ® Overstock.com Your Online Outlet ®

subset: commoncrawl


text:
There are 50 results - Show results on a map Print this page
Showing 11 - 20 of 50
Bulleigh Park is a working farm; stock includes a rare breed of sheep, the Devon Closewool. Expect a warm friendly welcome at this family home set in glorious tranquil countryside, but centrally locat...More about Bulleigh Park Farm
Warm hospitality and a genuine welcome are hallmarks at this family-run establishment. This wonderful house dates back to the 1400s and is steeped in history. Today it offers en suite bedrooms providi...More about Bulleigh Barton Manor
Located in the heart of Exeter and just a short stroll from the Cathedral and city centre shops, this elegant and intimate hotel dates back to the Georgian period. Lovingly restored, the style is an e...More about Southernhay House
Set in an fabulous location overlooking the bay, Orestone Manor has a long history of providing fine food and very comfortable accommodation, coupled with friendly, attentive service. Log fires burn i...More about Orestone Manor
Having recently undergone a total refurbishment, this conveniently located establishment is ideally suited for both business and leisure guests. It's just a short drive from the city centre, and is al...More about Innkeeper's Lodge Exeter, Middlemoor Lodge
Dating back to the 1750s, this former coaching inn is in a pretty hamlet on the edge of Dartmoor. Each named after a Grand National winner, the individually decorated bedrooms have some nice extra tou...More about Rock Inn
Conveniently situated for access to Dartmoor and the stunning countryside, The Rising Sun is situated in woodland, perfect for the keen walker. The property has a dining room and a bar in addition to ...More about The Rising Sun
Positioned on Babbacombe Downs, this elegant Victorian house boasts superb views of the coast of Lyme Bay, a World Heritage Site. Bedrooms are individually styled, with most having French doors leadin...More about Headland View
You are assured of a warm welcome at Newton House, which is close to the town centre and attractions. The comfortable bedrooms, some on the ground floor, have thoughtful extras, and a lounge is availa...More about Newton House
Set in 25 acres of stunning, beautifully tended wooded grounds, the Palace offers a tranquil environment. Suitable for business and leisure, the hotel boasts a huge range of well-presented indoor and...More about Palace Hotel


text:
Best Selling
Classics (2)
Humorous (1)
Drama (1)
Arts (1)
English (10)
French (0)
German (0)
Spanish (0)
Italian (0)
All (10)
DRM Free (2)
Compiled in one book, the essential collection of books by A. A. Milne
First Plays
Happy Days
The Holiday Round
If I May
Mr. Pim Passes By
Not that it Matters
Once a Week
The Red House Mystery
Second Plays
In between tea and billiards, a pair of amateur detectives investigates their host's disappearance. Droll whodunit from the creator of Winnie the Pooh sparkles with witty dialogue, deft plotting, and an amusing...
The Red House, stately mansion home of Mark Ablett, is filled with very proper guests when Mark's most improper brother returns from Australia. When the maid hears an argument in the study it isn't long before...
This deluxe edition of The House At Pooh Corner is the perfect way to celebrate the enduring popularity of A. A. Milne's classic work and a stunning companion to the Winnie-the-Pooh 80th Anniversary Edition....
More information to be announced soon on this forthcoming title from Penguin USA.
When We Were Very Young and Now We Are Six complete the four-volume set of deluxe editions of the Milne and Shepard classic works. Like their companions, the Winnie-the-Pooh 80th Anniversary Edition and The...
The Red House Mystery is a classic "whodunit" set in an English country house. An eclectic cast of characters are gathered in the house when the owner's brother, recently arrived from Australia, is found murdered...
Far from the gentle slopes of the Hundred Acre Wood lies The Red House, the setting for A.A Milne's only detective story, where secret passages, uninvited guests, a sinister valet...
Many of the earliest books, particularly those dating back to the 1900s and before, are now extremely scarce and increasingly expensive. We are republishing these classic works in affordable, high quality, modern...
The setting is an English country house, where Mark Ablett has been entertaining a house party consisting of a widow and her marriageable daughter, a retired major, a wilful actress, and Bill Beverley, a young...


text:
My Mom's Lentil Soup
Total Time
Prep 30 mins
Cook 48 hrs
This is an old recipe that I grew up on...Do not use smoked ham hocks...only fresh ones.
Ingredients Nutrition
- 1 (16 ounce) bag lentils
- 4 celery ribs, chopped
- 1⁄2 large onion, chopped
- 1⁄2 teaspoon garlic, chopped
- 2 -3 fresh pork hocks
- 1⁄2 cup brown sugar
- Combine all but brown sugar after adding cold water to cover. Simemr about 2 hours. After simmering, add your brown sugar. If it does not taste sweet enouph to you add a little more brown sugar. Remove hocks, cool, take off meat and add to soup.
Most Helpful
Some older and more simple recipes still remain the best...very tasty. I did heed Bobtail's advice about simmering the pork hocks for an extra 30 minutes or so before adding the other ingredients. Thanks, Cindytc, for sharing a passed-down recipe.
DH and I have just over the last year or so been introduced to lentils and we love them. This recipe is great and so easy to prepare. I think DH has eaten the majority of this soup and saying each time he gets some, This stuff is good! LOL! The only thing I would do differently next time is to simmer the hocks for about 30 minutes or longer before adding the other ingredients, as my lentils got a little mushier than I would like. This is a keeper! Thanks Clndytc!


text:
Thank you for your emails concerning our ongoing joint mission here, they keep coming ))
We believe preppers tend to be "future thinkers and planners" having learned to accept we will not always be immune to the repercussions of the many possible and certainly some very for sure events heading our way. Life and the world are in a fluid state and God stated; the rains will fall on the just and unjust equally. Funny thing so does History and it repeats itself when you review it.
For my husband and myself we have been reaching out to try to meet other similar prepper minded and equipped people and this has proven to be somewhat of a roller coaster ride. I am learning more and more why so few people ever end up joining together. So few have really done anything from thinking and planning to then actually doing something. It has become very apparent that having similar thought through concerns, actions and results only then will develop the honest expectations of living and surviving together through a disaster. Also facing the truth that unless all the members can and will pull their own weight and maintain their own self-drive then the inevitable human default nature of letting others do more while they continue to do less begins to creep in.
My husband and I am a married content prepped couple. It is just us two. No children at home, no hidden agendas to drag along grown adult children and their families, no forgot to mention extended family, no possible non prepper future mate to be added in, no mentioned later on about elderly parents and no plans to save humanity as some kind of seed stock for the future. That right there separates us from about 90% of prepper posters and talkers. They often want to save people who will not make the effort to save themselves. Sorry, we like staying alive so that does not fly with us.
To be honest, we do not care to plan for the near extinction of all mankind; rather we plan to simply increase our odds at surviving most historical crisis events, minimize the effects on each of us as per of such events and not become victims of them. You fill in the blanks what those events could be. So in preparing to do just that we have put in the research time, required effort, financial investments and only then the results and have provided for our own needs for around a couple years of isolated but very comfortable survival living conditions. Not in some four season nomadic tent existence eating twigs and berries either. From what I see here that is better than most yet still not as good as a few others.
Being we search daily for wisdom then as preppers we grow and we continue to learn about the areas we still lack in. It never fully ends, in fact just the maintenance is huge and that we have accepted but we are darn close ;-). Our more recent step in our plan has been focused around meeting with others to pool our hard work and resources with their like accomplishments to then increase all our overall combined odds. This has brought us into contact with all sorts of people. As mentioned above some types have veiled missions to drag along their extended families and friends who none of which are preppers, do not wish to be and have nothing to offer to boot. Yet others are planning to open their location to the needy and desperate just to be over run and become like them in no time. Then as usual so many have put aside so little yet expect so much and on top of that still cannot afford to get it done yet want to join with others who already have? Some offer their labor for room and board? Funny thing there is, the rest of us here will be laboring just as much while providing for our daily needs (room and board) so come again?? That just seems so not fair and not right to, so where does that leave you?
So if the above 90% might sound like you, then please do not waste either of our lives by contacting us (thanks anyway). But if you are both willing and capable to be a big plus to a group then go for it. Through all this we have now established a relationship with some other local preppers in an organized group. They already have a quality retreat location like we were looking for so we have teamed up with them and they wanted us and what we have done. That our thinking and planning was then matched by action. Thus they saw us as a big plus. Our current numbers are growing slowly because we all actually have standards, we do have in place the means with no additional building or group costs to accommodate many more. In other words this is group and retreat location is not a dream, a plan or a hope. It is a reality. In return when working together it must be accepted by all that it requires bending, adapting and changing to work with other people. We believe in the end it provides for a much better result rather than being alone with just ideas, plans and no hope. This final group involvement piece of our plan now being put into place has also freed us up from searching and now lets us truly enjoy daily life.
If you are of the same mind that solid preppers really need each other now more than ever then contact us. If you are a interested (adult single, couple or family with older children) unencumbered with specific personal issues which would prevent you from being fully available for about 12 hours per day during a critical crisis event at the retreat to stand watch, help with needed chores and do so with a cheerful heart then drop us a line.
If you sense the urgency to take action, wrap up a plan and put it to rest then ask God if this is something which could be right for you. We have private quarters for you and the entire infrastructure like water, sanitation, heat and to meet your needs. Basically you provide the rest. Sent us an email back and we will shift off this site to a more private line of communication. You will be required to explain what you have accomplished, no exceptions. If you live [east of the Washington Cascades over to the western edge of Montana| as posted under categories then you will be considered. Otherwise move
email: cindygirl [at] hush [dot] com
We still see a lot of people starting out on the site and that is great. Do not give up and look to team up with others!


text:
Rutland man falls asleep, totals carFebruary 19,2013CLARENDON Police said a Rutland man was asleep at the wheel when he totaled his car Sunday afternoon.
Around 2 p.m., police responded to a crash on Route 133 and found Joel Knight, 24, was asleep when he crossed the center line, entered a ditch and struck a tree in his silver 2007 Honda Accord, police said.
Knight sustained injuries to his face and knees, according to police. His car was considered a total loss.MORE IN This Just InNEW YORK His defiant protests helped shape Americans opposition to the Vietnam War. Full StoryWhen Rutland City Mayor Christopher Louras told those gathered in the citys aldermanic chambers... Full Story
Sascha Mayer, co-founder and CEO of the Vermont-based company Mamava, has been... Full Story
- Most Popular
- Most Emailed


text:
Syncrude President And CEO To Chair The Canadian Chamber's New Human Resources Policy Committee
OTTAWA, April 10, 2013 /CNW/ - Perrin Beatty, President and CEO of the Canadian Chamber of Commerce, is pleased to announce that Scott Sullivan, President and Chief Executive Officer of Syncrude Canada Ltd., will Chair the new Human Resources Policy Committee of the Canadian Chamber. "There is hardly a more urgent issue for Canadian business than skills and human resources," said Mr. Beatty. "The Canadian Chamber has been front and centre on the skills shortages that are threatening Canada's economic growth and competitiveness. By lending his name and talents to our new committee, Mr. Sullivan brings significant credibility to our efforts to confront this issue."Mr. Sullivan oversees the operations of Syncrude, which has more than 5,000 employees and is one of Canada's largest producers of crude oil from the Alberta oil sands. Mr. Sullivan joined Syncrude in July 2012, and brought 32 years of experience from working in executive, managerial and technical roles for a global energy company. " Canada needs highly skilled people who can meet the challenges of businesses with complex needs," said Mr. Sullivan. "I hope this committee will find ways to enable Canadians to take advantage of the job opportunities available across the country, including the oil sands." "With a CEO like Scott Sullivan at the helm of the new committee, the Canadian Chamber is signalling its ongoing leadership and commitment to addressing this critical business challenge," said Mr. Beatty. He added: "We are also pleased to announce that Ralph Shedletsky will be the Vice Chair of the committee. Ralph currently serves as Chief Customer Officer at Knightsbridge Human Capital Solutions." Canadian Chamber committees are integral to the Chamber's advocacy and effectiveness. Comprised of members with expertise in particular fields, policy committees research, develop and advise on policies and issues that affect Canadian business and are of importance to Canadian Chamber members. Membership includes corporate, chamber and association representatives.
Check Out Our Best Services for Investors
Action Alerts PLUS
Portfolio Manager Jim Cramer and Director of Research Jack Mohr reveal their investment tactics while giving advanced notice before every trade.
Product Features:
- $2.5+ million portfolio
- Large-cap and dividend focus
- Intraday trade alerts from Cramer
Quant Ratings
Access the tool that DOMINATES the Russell 2000 and the S&P 500.
Product Features:
- Buy, hold, or sell recommendations for over 4,300 stocks
- Unlimited research reports on your favorite stocks
- A custom stock screener
Stocks Under $10
David Peltier uncovers low dollar stocks with serious upside potential that are flying under Wall Street's radar.
Product Features:
- Model portfolio
- Stocks trading below $10
- Intraday trade alerts
Dividend Stock Advisor
David Peltier identifies the best of breed dividend stocks that will pay a reliable AND significant income stream.
Product Features:
- Diversified model portfolio of dividend stocks
- Updates with exact steps to take - BUY, HOLD, SELL
Trifecta Stocks
Every recommendation goes through 3 layers of intense scrutinyquantitative, fundamental and technical analysisto maximize profit potential and minimize risk.
Product Features:
- Model Portfolio
- Intra Day Trade alerts
- Access to Quant Ratings
Real Money
More than 30 investing pros with skin in the game give you actionable insight and investment ideas.
Product Features:
- Access to Jim Cramer's daily blog
- Intraday commentary and news
- Real-time trading forums


text:
Evolution Hoax
Title of work
1-20 / Total: 203
Believers make a name for themselves through God, through their faith, Islam, and the Qur'an. Hypocrites try to make a name for themselves through idle actions. They do not realize they are debasing themselves with unworthy actions and continue to do so.
Bayju Noyan, one of the closest disciples of Rumi, was a murderer who killed thousands of Muslims while he was in Hulagu Khan's army.
Bigotry develops mainly as a result of a policy implemented by the deep state of the UK. Turning people into bigots is enough to ruin a country; afterwards, that state would fall into pieces on its own.
Being criticized by another is like looking into the highest quality mirror. How nice it is. You can preen yourself, tidy yourself. Finding someone to criticize you is as valuable as gold, it is a great blessing. But criticisms should be honest and sincere, and should not be done to disturb and offend. Criticisms should be justified.
Bigots are paralyzed when they see beauty. Their lives are all filthy. Their wives are awful; their food is awful; their homes, their speech, their mouths, their shoes are awful, everything they have is filthy. Because they are not used to high quality, beautiful people, they go into a shock when they see them and they cannot get over it.
By saying "love is happiness", "love is the remedy" we are smashing the brain of Satan. Love is the word that disturbs Satan the most, the word that it hates the most.
Breaking the leg of Satan everywhere he steps foot is one of the characteristics of the Mahdi. Wiping out the footfalls of fascism, making the whole world taste freedom, joy, the festive spirit and joy of faith, creating an amazing level of social justice are all the characteristics of Hazrat Mahdi (pbuh).
Because we have ideologically crushed the PKK and made their real faces be seen by the public, they do not have the courage to appear in public. Everyone despises the PKK. In the past, they were exalting them in their minds and presenting them as if they were "sacred".
Being called "crazy" shows the perfection of a Muslim's faith. Our prophet (saas) says, "A Muslim cannot attain perfection in faith unless he is called crazy." Actually, because of their loyalty to Islam, to the Qur'an, because of their enthusiasm, it is said, "If you had seen the Companions, you would have called them crazy." They distribute all they have, everything they own.
Building a third bridge or a fourth bridge is not our problem. You might build bridges, but your enemy could still come and confiscate all your bridges, take away everything from you. You might work for 40 years yet they could come and seize everything you own. That is why the real danger that should be addressed is the danger of separation.
Bravery is a lofty characteristic and exists only for humans. This is why they become martyrs or veterans eventually. But there is no such characteristic in angels. Nothing happens to angels when there is a war. There is no such thing for them to be patient. That is why God created humans superior to angels if they are God-fearing and if they have good morality. People might manage to surpass angels many times over.
Bombing is religiously unlawful. That is because you wouldn't know who are the people below. The bombs hit everyone; children, families, women, civilians. That is a reflection of the US's cruelty on the world. It is not acceptable.
Both Muslims (people symbolized with the crescent) and Christians (people symbolized with the cross) love God and strive to be the servants of God, they are not brawling. Why should they have? Crescent and cross will ally with each other in the End Times and make Islam prevail in the world.
Belief in angels, belief in destiny; these should be thought about one by one, pondered upon and settled in one's mind as perfect belief. I mean, a great majority of the public has such beliefs, but they remain as superficial information in their minds; however, settled knowledge could only be formed in devout Muslims. One needs to turn that into settled knowledge.
Being afraid of an enemy, being afraid of something is a sign of lack of love for God; it is a sign of being aloof.
Being sincere is living only for God. For, instance when one gets married, he gets married for God. When one opens a place of business , he does so for God. When one goes to school, he should do so for God. When one eats, he should eat for the good pleasure of God. Then his life will be plentiful and beautiful.
Bigots are chatty. They know very well to deceive. They know demagoguery as well. They know fraud, slyness and deceitfulness very well. They smile to your face but they are treacherous. They systematically make plans. In the end God plagues them. Their plots hit them in the end.
Before all else, a Muslim should know to resist abnormal things. For instance, he has to know how to resist rage. Yielding to rage is an animalistic instinct. Keeping one's temper is a humane superiority.
Being patient and trusting in God are two important characteristics that God loves and likes. What does trusting in God mean? It means a Muslim will be faced with great incidents yet he will always put his trust in God and be patient. He will not worry, he will not be sad, he will not be afraid.
Breaking away from the unbelievers, breaking away from their culture, makes people's minds clean, impeccable and lucid. Many people cannot completely break away from unbelief. They act half as a Muslim and half in disbelief. They live in the culture of unbelievers.
Eseri internet sayfası olarak izleyin.
Buy The Book
1-20 / Total: 203


text:
Now we find out if Spurs can respond - Shearer
Leicester's title celebrations are on hold but MOTD2 pundit Alan Shearer says their draw at Manchester United was an excellent result.BBC Sport » 1m
Leicester's title celebrations are on hold but MOTD2 pundit Alan Shearer says their draw at Manchester United was an excellent result.BBC Sport » 1m
Manchester City boss Manuel Pellegrini says he was forced to play a weakened team at Southampton, with the Real Madrid game in mind.BBC Sport » 1h
Ronald Koeman was full of praise for his players after Southampton thrashed Manchester City 4-2 at St Mary's on Sunday.SkySports.com » 2h
Manuel Pellegrini defended his team selection after Manchester City were beaten 4-2 at Southampton on Sunday, claiming he was left with no choice but to make eight changes thanks to the scheduling of the game.SkySports.com » 2h
Hannover striker Niklas Feierabend dies at the age of 19 in a car crash, the Bundesliga club announce.BBC Sport » 3h
Sadio Mane scores a hat-trick in an easy Southampton win that threatens Manchester City's Champions League qualification hopes.BBC Sport » 3h
Manchester City lacked urgency and desire at Southampton and they have 'short-changed' their supporters with a season of abject performances, according to Graeme Souness.SkySports.com » 3h
Manchester United boss Louis van Gaal defends Marouane Fellaini for an elbow on Leicester's Robert Huth in their 1-1 draw.BBC Sport » 3h
Our history pages are complete for English, Scottish & Welsh leagues, all cups and international competitions.
For all other leagues, we show the recent history.
|Final Details


text:
Top Definition
an individual who conquers chat sites and dominates at cyber sex. also classified under a shotacon. best found example for em0ishness; Rach.
you confuzzled me em0ishness
by em0ishness June 27, 2009
Type your email address below to get our free Urban Word of the Day every morning!
Emails are sent from email@example.com. We'll never spam you.×