I have a script that puts bullets into a field I am using to hide the charecters of a password that is typed in by a user. Under Mac OS the bullet is produced by the shift-option-8 key combination... this works well under Windows too... until, I make the stack a standalone and then I get vertical straight lines not bullets...
If someone could tell me which font to use, I would appreciate it.
on keyDown theKey
put empty into fld "passresponse"
put "•" after fld 2
put theKey after fld 3
end keyDown
on backSpaceKey
if the selection of me is not empty then
delete the selection
put the text of me into fld 3
exit backSpaceKey
end if
delete the last char of fld 2
delete the last char of fld 3
end backSpaceKey
on returnInField
send "mouseUp" to button "signIn"
end returnInField
the bullet point should be available in most win fonts, but most of the characters with ASCII values > 127 are not getting translated correctly.
Like the EURO sign and the bulletpoint
I think Klaus's solution is the best but if you want to have complete control over the bullet you can make an image lets say 8 by 8 pixels then take the brush tool with the smallest diameter for point and click at the image. Then you look up the id of the image in the inspector.
on keyDown theKey
put empty into fld "passresponse"
lock screen
put "•" after fld 2 -- or any other character
set the imagesource of last char of me to 1015 -- or whatever the id of your bullet image is
put theKey after fld 3
end keyDown
this way the bullet character is replaced by the image of the bullet.