Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Geoffrey Readin

macrumors newbie
Original poster
Mar 14, 2009
3
0
when i try to make a script on script editor that will copy something it does't work:confused: should this exsample script work?


set the Picked_Locker to (("") as string)
display dialog "Choose Locker" buttons {"Choose Locker"} default answer the Picked_Locker default button 1 giving up after 5
if the button returned of the result is "Choose Locker" then
set the clipboard to the Picked_Locker
display dialog "Locker Taken Is Copied." buttons {"OK"} giving up after 5 default button 1
end if


when I try it, it wont paste what I copied "Picked_Locker" This should work because it is mostly a example script but it doesn't?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.