Random alphanumeric password generator
Hello im kind of new at applescript and im trying to make (as in the title) an alphanumeric number generator, heres what i have so far
set x to {}
repeat (random number from 21 to 21) times
set end of x to some item of "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
end repeat
x as text
This works but id like to find a way to be able to attach this to the clipboard and have it show up in a dialog box ive tried the traditional methods of "set the clipboard to x" and "display dialog x"but they didnt seem to work help would be greatly appreciated
Thanks
set x to {}
repeat (random number from 21 to 21) times
set end of x to some item of "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
end repeat
x as text
This works but id like to find a way to be able to attach this to the clipboard and have it show up in a dialog box ive tried the traditional methods of "set the clipboard to x" and "display dialog x"but they didnt seem to work help would be greatly appreciated
Thanks
Macbook 13.3' late 2007, Mac OS X (10.5)