display dialog: limited size?
display dialog: limited size?
- Subject: display dialog: limited size?
- From: Philippe GRUCHET <email@hidden>
- Date: Fri, 7 Mar 2003 04:54:24 +0100
Hi,
Apple's Script Editor 2
Smile 2.5.2
The 'display dialog' command seems to always return the AXSize
attribute to w=325 h=224 as maximum values to display the contents of
the dialog.
(Checked with "UIElementInspector".)
Is it the hard-coded limited size?
If yes, the height (224) is really insufficient!
See my previous post called "path to selection" (or see below) : if I
select up to 6 items on desktop, the dialog is truncated, only
displaying the first 5 pathname :-(
Or, is it just me?
if else... a king of 'bugonou'... ?
Kind regards,
Philippe Gruchet/SVM Mac
VNU Publications France
http://svmmac.vnunet.fr
tell application "Finder"
if selection = {} then return
if selection = 1 then alias result
if selection is not equal to 1 then
set {theList, AppleScript's text item delimiters, textHolder} to
{selection as list, ",", ""}
repeat with i from 1 to items's number in theList
copy "alias " & ("\"" & (theList's item i as alias) & "\"" & return
& return & textHolder) to textHolder
end repeat
end if
set the clipboard to textHolder
set AppleScript's text item delimiters to ""
display dialog (textHolder as string) buttons {"OK"} default button
"OK" giving up after 60
end tell
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.