Re: Getting the row number of an item in a list
Re: Getting the row number of an item in a list
- Subject: Re: Getting the row number of an item in a list
- From: Peter Baxter <email@hidden>
- Date: Fri, 10 Oct 2008 07:25:16 +1100
Yes, I was initially using that sort of idea, but kept getting no access to changing the name. I used the index when I noticed that it changed without error. Obviously the error was in my script, not the lack of access to the printer name.
On 10/10/2008, at 5:52 AM, Christopher Nebel wrote: tell application "Printer Setup Utility" set myList to name of every printer tell me choose from list myList end tell set newPrinterName to item 1 of the result set current printer to printer newPrinterName end tell
Applescript syntax is like English spelling: Roughly, though not thoroughly, thought through.
Peter Baxter
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden