Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to get the list of the current selected files in the Finder?

Answer:
Use the AppleScript like this one:

tell application "finder"
return selection
end tell

Which translates into this AppleEvent:

Process("Finder").SendAE "core,getd,'----':obj {form:prop, want:type(prop), seld:type(sele), from:'null'()}"

and as Xojo code it looks like this:
Example
dim ae as appleevent
dim o1 as appleeventObjectSpecifier
dim f as folderItem
dim aList as appleeventdescList
dim i as Integer
dim dateiname as string

// setup the AppleEvent
o1=getpropertyObjectDescriptor( nil, "sele")
ae= newappleEvent("core", "getd", "MACS")
ae.objectSpecifierParam("----")=o1

// send it
if ae.send then
// got the list
alist=ae.replyDescList

// now show the list of filename into an editfield:

for i=1 to alist.count
f=alist.folderItemItem(i)

dateiname=f.name
// editfield1 with property "mulitline=true"!
editfield1.text=editfield1.text + dateiname + chr(13)
next
end if

The biggest plugin in space...