stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


Mac OS X Hints: Return the short username in AppleScript







Mac OS X Hints: Return the short
username in AppleScript

Mac OS X Hints: Return the short
username in AppleScript
03/13/2003 10:22 AM

Mac OS X Hints readers offer a couple of scripts to display the current short username in a dialog. Here's a one-liner that works for me (tested with OS X 10.2.4):

display dialog "The current user is " & last word of (path to current user folder as text) & "."




This is a GrokNews Entry: (what is grok?)





Similar Items

Mac OS X Hints: Return the short username in AppleScript

Grok Headline matches for Mac OS X Hints: Return the short username in AppleScript

A GUI tool to change the short username


A GUI tool to change the short username 05/28/2004 11:14 AM
Although you can easily change your "long" name in OS X, changing your short username is a messy procedure -- and that's assuming you're following the correct instructions -- even Apple's are incomplete. James Bucanek and I f...

Football: Owen hints at return


Football: Owen hints at return 04/08/2005 05:25 AM
Michael Owen says he would have "nothing against" leaving Real Madrid for Anfield.

Sony hints at return to PDA biz... minus
Palm


Sony hints at return to PDA biz... minus
Palm
08/10/2004 08:24 AM
Watching Symbian, PocketPC sales, apparently

AppleScript Pro Sessions return


AppleScript Pro Sessions return 07/21/2004 01:06 AM
Scripting Matters, Inc. has announced its upcoming AppleScript Pro Sessions, which offer five days of classes and tutorials on mastering AppleScript, from starting out with the software to scripting in Panther, QuarkXPress, InDesign, and more. This year the sessions will be held in Newport, RI and will cost $1,200 for any three days or $1,600 for all five. An early bird registration discount is available through October 6.

Hints on keeping up with the hints...


Hints on keeping up with the hints... 10/28/2003 11:09 PM
In case you haven't noticed, the volume of published hints has greatly increased since Panther's release. Though this is typical with each "dot release" of OS X, the volume with Panther is unlike anything I've seen before. S...

Kwiki-UserName-0.11


Kwiki-UserName-0.11 07/20/2004 06:13 PM

Getting the UserName without Accessing
WMI


Getting the UserName without Accessing
WMI
05/08/2004 12:00 PM

Kwiki-UserName-0.10


Kwiki-UserName-0.10 06/23/2004 06:04 AM

Kwiki-UserName-0.12


Kwiki-UserName-0.12 08/18/2004 05:02 PM

SMB Authentication and username shortcut


SMB Authentication and username shortcut 06/22/2004 09:14 AM
I don't know how I didn't realize this earlier, this might be pretty obvious to everyone ... but when browsing the network on 10.3, (possibly works for all versions of MacOS X) entering a workgroup, then opening a windows sh...

Specify username and password at login
window


Specify username and password at login
window
12/05/2003 11:20 AM
By default, the login window presents the user with icons to click on (Select A User), and then prompts the user for their password. It can also be set to simply provide the tried-and-true Username and Password dialog boxes....

Skype URI callto username overflow


Skype URI callto username overflow 06/14/2004 10:05 AM
Hillel Himovich (Jun 09 2004)

Dynalink RTA230 Default Username and
Password


Dynalink RTA230 Default Username and
Password
09/06/2004 02:04 PM

Direct and Related Links for 'Dynalink RTA230 Default Username and Password'

“fabio has reported a security issue in Dynalink RTA230, which can be exploited by malicious people to gain control of a vulnerable device. The problem is that even when the administrative password has been changed, a default account remains active. This can be exploited to gain access using the following username/password combination: Username: userNotUsed Password: userNotU Reportedly, the product listens on all interfaces by default. SOLUTION: Disable remote access. Use another product.”…

CA UniCenter Management Portal Username
Enumeration Vulnerability


CA UniCenter Management Portal Username
Enumeration Vulnerability
09/21/2004 05:04 PM
thomas adams (Sep 21 2004)

Cisco IOS Secure Shell Server TACACS+
Username Domain Name


Cisco IOS Secure Shell Server TACACS+
Username Domain Name
04/17/2005 10:34 AM
Addict3d.org Apr 17 2005 12:17PM GMT

qpopper timing analysis on to determine
if a username exists on a system


qpopper timing analysis on to determine
if a username exists on a system
03/15/2003 06:22 PM
Dennis Lubert (Mar 15 2003)

Default username/password pairs in ON
Command CCM 5.x database backend


Default username/password pairs in ON
Command CCM 5.x database backend
09/20/2004 07:06 PM
Jonas Olsson (Sep 20 2004)

Wireless networks/Default Admin username
security problem in Croatia


Wireless networks/Default Admin username
security problem in Croatia
02/05/2005 09:38 PM
Radoslav Dejanoviæ (Feb 04 2005)

Re: Wireless networks/Default Admin
username security problem in Croatia


Re: Wireless networks/Default Admin
username security problem in Croatia
02/05/2005 09:38 PM
Denis Jedig (Feb 05 2005)

Business in Brief: Google Wins Address';
return true;'
onmouseout='javascript:window.status='';
return true;' c


Business in Brief: Google Wins Address';
return true;'
onmouseout='javascript:window.status='';
return true;' c
04/16/2004 02:26 AM
Gateway 2 Russia Apr 16 2004 6:26AM GMT

Vulns: Computer Associates Unicenter
Management Portal Username Disclosure
Vulnerability


Vulns: Computer Associates Unicenter
Management Portal Username Disclosure
Vulnerability
09/24/2004 03:39 PM
SecurityFocus Sep 24 2004 8:21PM GMT

Short Men with Short Dreams


Short Men with Short Dreams 03/14/2005 05:39 PM
This will just be a quickie. New iPod photos and iPod minis were released today. Cheaper, bigger, whatever. The thing...

Return to Return of the King


Return to Return of the King 01/25/2004 09:30 AM
(I just blogged this at BlogCritics.org) We went to see Return of the King for the second time last night because our 13-year-old wanted to see it for his third time. My pre-VCR generation has trouble being entertained by a movie more than once, but there are exceptions. Lord of the Rings is one: Giant trolls, gargantuan elephants, catapults firing heads, fierce bad guys with faces made out of cookie dough, fire-tipped battering rams, stirring music, flying dragons, all in one scene. What more do you want in a movie? Even though it was my second time, I still...

No new hints today...


No new hints today... 07/05/2004 12:57 PM
Today is the Independence Day holiday in the United States. As such, I'll be taking the day off to spend some time with my family. We'll be back as usual tomorrow with the usual assortment of tips and tricks. -rob.

Help Desk: Mac OS X Hints


Help Desk: Mac OS X Hints 09/18/2004 11:20 AM

No new hints this morning...


No new hints this morning... 04/13/2004 11:28 AM
Due to family and work commitments today, there won't be any new hints this morning. There may be some this evening, and I will get the Pick of the Week up sometime today, I promise. Sometimes the real world intrudes on my O...

No more '10.3 coded' hints...


No more '10.3 coded' hints... 02/18/2004 12:04 PM
Based on the results of the current poll, which shows over 80% of the readers here (at least, of those who voted) running on Panther, I've decided that there's no longer a need to code the "10.3" hints. The Panther meta-hint...

Insider Hints at GPL Changes


Insider Hints at GPL Changes 04/07/2005 05:48 PM

No hints today...


No hints today... 08/10/2004 10:41 AM
Due to an early-morning work commitment, I won't be able to get to the hints until (if at all today) early this evening. I apologize, but sometimes my day job intrudes on my preferred job :). -rob.

No hints today -- it's moving day!


No hints today -- it's moving day! 03/06/2004 02:09 AM
Have a great weekend everyone, and we'll be back to hints as usual no later than Monday morning (the net connection is up and running at the new place, so that's one less thing to worry about this weekend). -rob.

Fed raises rates, hints at more to come


Fed raises rates, hints at more to come 09/23/2004 12:39 AM
Chicagotribune.com - Tue Sep 21, 09:05 pm GMT

Limited hints today...


Limited hints today... 06/03/2004 12:15 PM
Blame it on the lack of time I had due to prepping for today's TechTV appearance :). If you're a regular reader here, you probably won't see anything new on today's show, other than a chance to put a face to the 'robg' name ...

US hints at cut in Afghan troops


US hints at cut in Afghan troops 04/16/2004 05:08 AM
The chairman of the Joint Chiefs of Staff says the US may reduce its presence in Afghanistan after September's elections.

DoCoMo hints at bid for AT&T Wireless


DoCoMo hints at bid for AT&T Wireless 01/28/2004 02:34 PM
IHT Jan 28 2004 5:35PM GMT

Essential ASP Hints and Tips


Essential ASP Hints and Tips 09/24/2002 10:35 PM
WebmasterBase Sep 24 2002 9:27PM ET

Macworld secrets: Mac OS X Hints


Macworld secrets: Mac OS X Hints 12/02/2003 12:29 AM
Take a look at some ways to see more in Finder windows, tweak your iChat messages so they contain multiple lines, print pages to PDF, assign multiple genres to iTunes tracks, know how much is in your Trash, take advantage of Unix's redirection command, train Mail only once, and more.

Hints will be delayed on Monday...


Hints will be delayed on Monday... 06/11/2004 12:53 PM
Due to my appearance on Sunday at the Rogue Valley Mac Expo, I won't be back home until sometime Monday afternoon. So you'll just have to wait a bit longer for your Monday fix of OS X hints :). -rob.

US hints at Guantanamo releases


US hints at Guantanamo releases 07/01/2004 11:53 PM
The US says it may release some detainees without them having to appeal to US civilian courts.

Hints for many happy returns


Hints for many happy returns 12/21/2003 01:23 AM
US News Dec 21 2003 0:01AM ET
Grok Description matches for Mac OS X Hints: Return the short username in AppleScript
GrokA matches for Mac OS X Hints: Return the short username in AppleScript

Mac OS X Hints: Return the short username in AppleScript

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

NetRestore 1.1.1
WebTunes 1.0
Purgatory Design:
Intaglio demo
available

Apple: Java 1.4.1
available

CocoaMySQL 0.4
MacDevCenter:
Announcing the Mac
OS X Innovators
Contest

Mac OS X Hints: A
web search script
for LaunchBar

ScriptBuilders News
Monkeybread Software
updates their
REALbasic Plugin
Collection

Back up user prefs
2.3.7

Apple Bites Into
Music Downloads?

AppleScript: Speak
the sender of a mail
item in Mail

Mike and Daniel's
Adventures in C#

Vulnerability in man
< 1.5l

SOHO Routefinder 550
VPN, DoS and Buffer
Overflow

GLSA: ethereal
(200303-10)

Re: Corsaire
Security Advisory -
Clearswift
MAILsweeper MIME
attachme nt evasion
issue

802.11b DoS exploit
[Opera 7/6] Long
Filename Buffer
Overflow
Vulnerability in
Download

Re: .MHT Buffer
Overflow in Internet
Explorer

Re: [Summary of
Responses] Bound by
Tradition: A
sampling of the
security posture of
the Internet's DNS
servers

pgp4pine stack
overflow
vulnerability

[sorcerer-spells]
MAN-SORCERER2003-03-
11

NetBSD Security
Advisory 2003-003
Buffer Overflow in
file(1)

RE: QPopper 4.0.x
buffer overflow
vulnerability

VPOPMail Account
Administration
(squirrel mail)
version 0.9.7

Re: QPopper 4.0.x
buffer overflow
vulnerability

@(#)Mordred Labs
advisory - Remote
DoS in PostgreSQL <=
7.2.2

Potential PGP
signature
verification
problem?

MDKSA-2003:031 -
Updated usermode
packages remove
insecure shutdown
command

Weblogs: like a
tuxedo shirt on a
personal site

Make Google News
work for you

four stars, two
cars...

New Tivo leaked
image

Can you imagine the
shrinkage?

The Spectrum of
packet sniffing

I've seen the
future, and they are
Cory and Joi

Spectrum wrap-up
Adventures in
redesigns

Make me a post I
couldn't refuse

Making OS X useful
User Experience MX
Flash apparently
still 99% bad

SXSW so far
Trackbacks in Winamp
Fuel for hatred
E-mail: Solved
Tables without
tables

Bleeding edge?
Aggregators and
automatic updates

what is grok?