applescript for changing pop-up listings?

James Ackman James.Ackman at huskymail.uconn.edu
Wed Feb 8 07:47:02 PST 2006


thanks Curt, that works great.
James




On Feb 7, 2006, at 8:44 PM, Curt Clifton wrote:

> James,
>
> On Feb 7, 2006, at 7:41 PM, James Ackman wrote:
>
>
>> Does anyone have an applescript solution for changing a pop-up  
>> column listing for multiple row selections at the same time?  See  
>> my inquiry to omnigroup support and their answer below.
>>
>
> Here's a script that I use for setting a column (pop-up or not) of  
> a multiple row selection:
>
> tell front document of application "OmniOutliner Professional"
> 	-- Get column to edit
> 	set theColumnNames to name of every column
> 	set theChoice to choose from list theColumnNames with title  
> "Column Selector" with prompt "Choose the column whose value should  
> be changed"
> 	if (theChoice is false) then return
> 	set theChoice to (item 1 of theChoice)
> 	set theReply to display dialog "Enter the new value for cell " &  
> theChoice default answer "" with title "Value Entry"
> 	set theValue to (text returned of theReply)
> 	set value of cell theChoice of selected rows to theValue
> end tell
>
>
> Cheers,
>
> Curt
>
>
>
> _______________________________________________
> OmniOutliner-Users mailing list
> OmniOutliner-Users at omnigroup.com
> http://www.omnigroup.com/mailman/listinfo/omnioutliner-users

James Ackman
Dept Physiology & Neurobiology
University of Connecticut
860-486-3283
http://predator.pnb.uconn.edu/~wwwpnb/faculty/loturco/main.html




More information about the OmniOutliner-Users mailing list