#!/bin/sh # MetaCard 2.4 stack # The following is not ASCII text, # so now would be a good time to q out of more exec mc $0 "$@" j Managing Drag and Drop 3 Q/* Decorations Stack By Eric Chatonet 3/6/05 http://www.sosmartsoftware.com/ */ @ : Files and Folders Drag and Drop : D U Lucida Grande U Lucida Grande W Lucida Grande W Lucida Grande W Courier U Courier U Courier U Courier AU Lucida Grande @U Lucida Grande U Helvetica U Helvetica U Georgia U Georgia U Verdana-Bold U Verdana-Bold W Verdana-Bold U Geneva U Geneva W Geneva W Geneva U Geneva U Verdana-Bold W Verdana-Bold U Lucida Grande W Lucida Grande U Lucida Grande W Lucida Grande U Lucida Grande AU Lucida Grande W Lucida Grande U Lucida Grande U Lucida Grande " U Lucida Grande " W Lucida Grande @U Lucida Grande W Lucida Grande W Lucida Grande AW Lucida Grande AW Lucida Grande U Lucida Grande W Lucida Grande U Lucida Grande W Lucida Grande W Lucida Grande @U Lucida Grande W Lucida Grande AW Lucida Grande W Lucida Grande AW Lucida Grande U Lucida Grande @W Lucida Grande U LucidaGrande-Bold U LucidaGrande-Bold W LucidaGrande-Bold U LucidaGrande U LucidaGrande U LucidaGrande-Bold W LucidaGrande-Bold U LucidaGrande-Bold W LucidaGrande-Bold U LucidaGrande U ArialMT U ArialMT U ArialMT U Helvetica W Helvetica U Helvetica Pulldown Menu cREVGeometryCache stackID 1130 cREVGeneral scriptChecksum 9pAu69Q debugObjects breakPoints handlerList scriptSelection char 42 to 41 bookmarks tempScript prevHandler commandKeyDownscript a
/*
Decorations Stack
By Eric Chatonet
3/6/05
http://www.sosmartsoftware.com/
*/
P,iconstant kImages = "JPEG,jpg,GIFf,gif,PNGf,png,PICT,BMP ,bmp", kSounds = "AIFF,aif,VfW ,M4A ,m4a,Mp3 ,mp3,WAVE,wav" constant kVideos = "avi,mov,MooV", kTexts = "txt,TEXT,rtf,htm,html", kStacks = "mc,rev,rstk" ------------------------------------ on preOpenStack set the style of this stack to "modeless" set the loc of this stack to the screenLoc end preOpenStack ------------------------------------ on dragEnter if the short name of the target = "DADZone" then set the acceptDrop to true -- we accept drag and drop within this area end dragEnter ------------------------------------ on dragDrop -- sent by the engine when data are dropped local tDefaultFolder ----- if the dragData = empty then exit dragDrop -- error stop player "Test" -- our demo test ----- if the dragData["files"] = empty then -- it is text or another kind of data put empty into fld "DragData" put "Not files or folders" into fld "NumOfItems" ShowFile -- -- see below ShowFile handler which displays the data with the right control in our demo: player, image or field exit dragDrop else put the defaultFolder into tDefaultFolder -- save the current default folder ----- switch the hilitedButton of grp "radio" case 1 -- first row files put DisplayFirstRowFiles(the dragData) into fld "DragData" -- -- see this function below break case 2 -- all files put DisplayAllFiles(the dragData) into fld "DragData" -- -- see this function below break case 3 -- folders put DisplayFolders(the dragData) into fld "DragData" -- -- see this function below break end switch ----- for our demo: if fld "DragData" <> empty then set the hilitedLine of fld "DragData" to 1 if the hilitedButton of grp "radio" = 3 then put the number of lines of fld "DragData" && "folders found" into fld "NumOfItems" else put the number of lines of fld "DragData" && "files found" into fld "NumOfItems" else put "No matches found" into fld "NumOfItems" end if ----- set the defaultFolder to tDefaultFolder -- restore the default folder ----- ShowFile -- -- see below ShowFile handler which displays the data with the right control in our demo: player, image or field end if end dragDrop ------------------------------------ function DisplayFirstRowFiles pDragData local tData,tType,tFilesList ----- repeat for each line tData in pDragData set the cursor to busy if there is a file tData then -- we want files only ----- -- put tData & cr after tFilesList -- for a simple paths list ----- put WhichFileType(tData) into tType -- for our demo: -- see below: WhichFileType function returns the file type put "File" & tab & tType & tab & WhichDestControl(tType) & tab & tData & cr after tFilesList -- see below: WhichDestControl function returns the control type needed for displaying the dropped data end if end repeat delete last char of tFilesList -- return char put FilterList(tFilesList) into tFilesList -- return tFilesList end DisplayFirstRowFiles ------------------------------------ function DisplayAllFiles pDragData local tData,tRawFilesList,tType,tFilesList ----- set the itemDel to slash repeat for each line tData in pDragData set the cursor to busy if there is a file tData then put tData & cr after tRawFilesList else -- it is a folder put UrlDecode(AllFiles(tData,true)) & cr after tRawFilesList -- see below: AllFiles function returns all files in a folder and all its sub folders end if end repeat delete last char of tRawFilesList ----- -- return tRawFilesList -- for a simple paths list ----- repeat for each line tFile in tRawFilesList -- for our demo: put WhichFileType(tFile) into tType -- see below: WhichFileType function returns the file type put "File" & tab & tType & tab & WhichDestControl(tType) & tab & tFile & cr after tFilesList -- see below: WhichDestControl function returns the control type needed for displaying the dropped data end repeat delete last char of tFilesList -- return char put FilterList(tFilesList) into tFilesList -- return tFilesList end DisplayAllFiles ------------------------------------ function DisplayFolders pDragData local tData,tFoldersList ----- repeat for each line tData in pDragData set the cursor to busy if there is a folder tData then ----- -- put tData & cr after tFoldersList -- for a simple paths list ----- put "Folder" & tab & "-" & tab & "-" & tab & tData & cr after tFoldersList -- for our demo end if end repeat delete last char of tFoldersList -- return char return tFoldersList end DisplayFolders --------------------------------- function AllFiles pFolder,pAddFullPath,pAllInfos -- modified from Frederic Rinaldi's local tStartFolder,tFilesList,tLoopFolder,tFoldersList,tResultList,tList ----- if last char of pFolder is not slash then put slash after pFolder if tStartFolder is empty then put pFolder into tStartFolder ----- set the defaultFolder to pFolder if the result is not empty then beep answer error "Could not find directory:" & return & return & pFolder as sheet exit to top end if ----- put the detailed files into tFilesList filter tFilesList without ".*" filter tFilesList without "Icon%0D*" filter tFilesList without "*,MACSfdrp" -- remove folder aliases ----- put the folders into tFoldersList filter tFoldersList without ".*" filter tFoldersList without "*.*" -- app bundles on Mac OS X ----- repeat for each line tLoopFolder in tFoldersList set the cursor to busy put AllFiles(pFolder & tLoopFolder & "/",pAddFullPath,pAllInfos) & return after tResultList -- end repeat ----- repeat with i = the number of lines of tFilesList down to 1 if pAddFullPath then put MyURLEncode(pFolder) before line i of tFilesList -- if not pAllInfos then put item 1 of line i of tFilesList into line i of tFilesList end repeat ----- put tResultList & tFilesList into tList sort lines of tList return word 1 to -1 of tList end AllFiles --------------------------------- function MyURLEncode what put URLEncode(what) into what replace "%2F" with slash in what return what end MyURLEncode ------------------------------------ function FilterList pList if the enabled of btn "FilesType" then switch the label of btn "FilesType" case "All Types" return pList case "Text Files" put kTexts into tFilter -- constant declared at the top of this script break case "Image Files" put kImages into tFilter -- dito break case "Sound Files" put kSounds into tFilter break case "Video Files" put kVideos into tFilter end switch ----- set the itemDel to tab repeat for each line tFile in pList if item 2 of tFile is in tFilter then put tFile & cr after tFilteredList end repeat delete last char of tFilteredList else return pList return tFilteredList end FilterList ------------------------------------ on ShowFile set the cursor to watch set the itemDel to tab put the hilitedText of fld "DragData" into tFile ----- lock screen hide img "Test" stop player "Test" hide player "Test" hide fld "Test" if tFile = empty then exit ShowFile ----- switch item 3 of tFile case "stack" go stack item 4 of tFile break ----- case "image" set the fileName of image "Test" to item 4 of tFile show img "Test" break ----- case "player" set the fileName of player "Test" to item 4 of tFile show player "Test" start player "Test" -- here all sounds are played by the test player: some of them could be played by the play command break ----- case "field" switch case item 2 of tFile is in "html" set the htmlText of fld "Test" to url("file:" & item 4 of tFile) break case item 2 of tFile = "rtf" set the rtfText of fld "Test" to url("file:" & item 4 of tFile) break default set the text of fld "Test" to url("file:" & item 4 of tFile) end switch show fld "Test" end switch unlock screen set the cursor to empty end ShowFile ------------------------------------ function WhichFileType pFile put Extension(pFile) into tType -- switch tType case "error: could not find extension" -- on Mac OS we try to get the file type switch the platform case "MacOS" return FileInfo(pFile,"type") break ----- default return "????" end switch break ----- default return tType end switch end WhichFileType --------------------------------- function WhichDestControl pType switch case pType is among the items of kImages -- constant declared at the top of this script return "image" break case pType is among the items of kTexts -- dito return "field" break case (pType is among the items of kSounds) or (pType is among the items of kVideos) return "player" break case pType is among the items of kStacks return "stack" break default return "????" end switch end WhichDestControl --------------------------------- function Extension pFilePath local tFileName ----- set the itemDel to slash put item -1 of pFilePath into tFileName if "." is not in tFileName then return "error: could not find extension" repeat with i = the number of chars of tFileName down to 1 if char i of tFileName = "." then exit repeat end repeat if (i+5) < the number of chars of tFileName then return "error: could not find extension" return char (i+1) to (the number of chars of tFileName) of tFileName end Extension --------------------------------- function FileInfo pFile,pInfo local tDefaultFolder,tFiles,tFilter,tSize,tDate,tType,tCreator ----- set the itemDel to slash set the defaultFolder to item 1 to -2 of pFile -- parent folder put urldecode(the long files) into tFiles filter tFiles with last item of pFile & "*" ----- set the itemDel to comma switch pInfo case "size" put item 2 of tFiles + item 3 of tFiles into tSize put tSize div 1024 into tSize if tSize > 1000 then set the numberFormat to "0.0" put tSize / 1024 && "Mb" into tSize else put tSize && "Kb" into tSize return tSize break case "creation" put item 4 of tFiles into tDate convert tDate from seconds to system date and system time return tDate break case "modification" put item 5 of tFiles into tDate convert tDate from seconds to system date and system time return tDate break case "type" put char -4 to -1 of item 11 of tFiles into tType if tType = empty then return "????" else return tType break case "creator" put char -8 to -5 of item 11 of tFiles into tCreator if tCreator = empty then return "????" else return tCreator end switch end FileInfo --------------------------------- on CleanStack put empty into fld "DragData" put empty into fld "NumOfItems" set the fileName of player "Test" to empty set the fileName of img "Test" to empty ShowFile -- save this stack put "Done" end CleanStack : cREVGeometryCacheIDs 1110180719182 11201110181641740 11221110184068411 11251110181903137 11241110127981995 11031109849448492 10721110193727358 11271110180714513 11181110128395730 11071110117105542 10921110129468932 11111109350253372 10141110210978580 11301109347801497 10061110121840757 10991110180717157 11191110180855803 11211110121734336 10981109350299073 10161110128918199 11091109350346443 16001110121621164 1097 cREVGeometrycache order 1109849448492 1110184068411 total 22 cREVGeneral scriptChecksum &K5v.w bookmarks handlerList preOpenStack dragEnter dragDrop DisplayFirstRowFiles DisplayAllFiles DisplayFolders AllFiles MyURLEncode FilterList ShowFile WhichFileType WhichDestControl Extension FileInfo CleanStackbreakPoints scriptSelection char 371 to 370prevHandler FilterListtempScript script uconstant kImages = "JPEG,jpg,GIFf,gif,PNGf,png,PICT,BMP ,bmp", kSounds = "AIFF,aif,VfW ,M4A ,m4a,Mp3 ,mp3,WAVE,wav"
constant kVideos = "avi,mov,MooV", kTexts = "txt,TEXT,rtf,htm,html", kStacks = "mc,rev,rstk"
------------------------------------
on preOpenStack
set the style of this stack to "modeless"
set the loc of this stack to the screenLoc
end preOpenStack
------------------------------------
on dragEnter
if the short name of the target = "DADZone" then set the acceptDrop to true
-- we accept drag and drop within this area
end dragEnter
------------------------------------
on dragDrop -- sent by the engine when data are dropped
local tDefaultFolder
-----
if the dragData = empty then exit dragDrop -- error
stop player "Test" -- our demo test
-----
if the dragData["files"] = empty then
-- it is text or another kind of data
put empty into fld "DragData"
put "Not files or folders" into fld "NumOfItems"
ShowFile --
-- see below ShowFile handler which displays the data with the right control in our demo: player, image or field
exit dragDrop
else
put the defaultFolder into tDefaultFolder -- save the current default folder
-----
switch the hilitedButton of grp "radio"
case 1 -- first row files
put DisplayFirstRowFiles(the dragData) into fld "DragData" --
-- see this function below
break
case 2 -- all files
put DisplayAllFiles(the dragData) into fld "DragData" --
-- see this function below
break
case 3 -- folders
put DisplayFolders(the dragData) into fld "DragData" --
-- see this function below
break
end switch
----- for our demo:
if fld "DragData" <> empty then
set the hilitedLine of fld "DragData" to 1
if the hilitedButton of grp "radio" = 3 then put the number of lines of fld "DragData" && "folders found" into fld "NumOfItems"
else put the number of lines of fld "DragData" && "files found" into fld "NumOfItems"
else
put "No matches found" into fld "NumOfItems"
end if
-----
set the defaultFolder to tDefaultFolder -- restore the default folder
-----
ShowFile --
-- see below ShowFile handler which displays the data with the right control in our demo: player, image or field
end if
end dragDrop
------------------------------------
function DisplayFirstRowFiles pDragData
local tData,tType,tFilesList
-----
repeat for each line tData in pDragData
set the cursor to busy
if there is a file tData then -- we want files only
-----
-- put tData & cr after tFilesList -- for a simple paths list
-----
put WhichFileType(tData) into tType -- for our demo:
-- see below: WhichFileType function returns the file type
put "File" & tab & tType & tab & WhichDestControl(tType) & tab & tData & cr after tFilesList
-- see below: WhichDestControl function returns the control type needed for displaying the dropped data
end if
end repeat
delete last char of tFilesList -- return char
put FilterList(tFilesList) into tFilesList --
return tFilesList
end DisplayFirstRowFiles
------------------------------------
function DisplayAllFiles pDragData
local tData,tRawFilesList,tType,tFilesList
-----
set the itemDel to slash
repeat for each line tData in pDragData
set the cursor to busy
if there is a file tData then
put tData & cr after tRawFilesList
else -- it is a folder
put UrlDecode(AllFiles(tData,true)) & cr after tRawFilesList
-- see below: AllFiles function returns all files in a folder and all its sub folders
end if
end repeat
delete last char of tRawFilesList
-----
-- return tRawFilesList -- for a simple paths list
-----
repeat for each line tFile in tRawFilesList -- for our demo:
put WhichFileType(tFile) into tType
-- see below: WhichFileType function returns the file type
put "File" & tab & tType & tab & WhichDestControl(tType) & tab & tFile & cr after tFilesList
-- see below: WhichDestControl function returns the control type needed for displaying the dropped data
end repeat
delete last char of tFilesList -- return char
put FilterList(tFilesList) into tFilesList --
return tFilesList
end DisplayAllFiles
------------------------------------
function DisplayFolders pDragData
local tData,tFoldersList
-----
repeat for each line tData in pDragData
set the cursor to busy
if there is a folder tData then
-----
-- put tData & cr after tFoldersList -- for a simple paths list
-----
put "Folder" & tab & "-" & tab & "-" & tab & tData & cr after tFoldersList -- for our demo
end if
end repeat
delete last char of tFoldersList -- return char
return tFoldersList
end DisplayFolders
---------------------------------
function AllFiles pFolder,pAddFullPath,pAllInfos -- modified from Frederic Rinaldi's
local tStartFolder,tFilesList,tLoopFolder,tFoldersList,tResultList,tList
-----
if last char of pFolder is not slash then put slash after pFolder
if tStartFolder is empty then put pFolder into tStartFolder
-----
set the defaultFolder to pFolder
if the result is not empty
then
beep
answer error "Could not find directory:" & return & return & pFolder as sheet
exit to top
end if
-----
put the detailed files into tFilesList
filter tFilesList without ".*"
filter tFilesList without "Icon%0D*"
filter tFilesList without "*,MACSfdrp" -- remove folder aliases
-----
put the folders into tFoldersList
filter tFoldersList without ".*"
filter tFoldersList without "*.*" -- app bundles on Mac OS X
-----
repeat for each line tLoopFolder in tFoldersList
set the cursor to busy
put AllFiles(pFolder & tLoopFolder & "/",pAddFullPath,pAllInfos) & return after tResultList --
end repeat
-----
repeat with i = the number of lines of tFilesList down to 1
if pAddFullPath then put MyURLEncode(pFolder) before line i of tFilesList --
if not pAllInfos then put item 1 of line i of tFilesList into line i of tFilesList
end repeat
-----
put tResultList & tFilesList into tList
sort lines of tList
return word 1 to -1 of tList
end AllFiles
---------------------------------
function MyURLEncode what
put URLEncode(what) into what
replace "%2F" with slash in what
return what
end MyURLEncode
------------------------------------
function FilterList pList
if the enabled of btn "FilesType" then
switch the label of btn "FilesType"
case "All Types"
return pList
case "Text Files"
put kTexts into tFilter -- constant declared at the top of this script
break
case "Image Files"
put kImages into tFilter -- dito
break
case "Sound Files"
put kSounds into tFilter
break
case "Video Files"
put kVideos into tFilter
end switch
-----
set the itemDel to tab
repeat for each line tFile in pList
if item 2 of tFile is in tFilter then put tFile & cr after tFilteredList
end repeat
delete last char of tFilteredList
else return pList
return tFilteredList
end FilterList
------------------------------------
on ShowFile
set the cursor to watch
set the itemDel to tab
put the hilitedText of fld "DragData" into tFile
-----
lock screen
hide img "Test"
stop player "Test"
hide player "Test"
hide fld "Test"
if tFile = empty then exit ShowFile
-----
switch item 3 of tFile
case "stack"
go stack item 4 of tFile
break
-----
case "image"
set the fileName of image "Test" to item 4 of tFile
show img "Test"
break
-----
case "player"
set the fileName of player "Test" to item 4 of tFile
show player "Test"
start player "Test"
-- here all sounds are played by the test player: some of them could be played by the play command
break
-----
case "field"
switch
case item 2 of tFile is in "html"
set the htmlText of fld "Test" to url("file:" & item 4 of tFile)
break
case item 2 of tFile = "rtf"
set the rtfText of fld "Test" to url("file:" & item 4 of tFile)
break
default
set the text of fld "Test" to url("file:" & item 4 of tFile)
end switch
show fld "Test"
end switch
unlock screen
set the cursor to empty
end ShowFile
------------------------------------
function WhichFileType pFile
put Extension(pFile) into tType --
switch tType
case "error: could not find extension"
-- on Mac OS we try to get the file type
switch the platform
case "MacOS"
return FileInfo(pFile,"type")
break
-----
default
return "????"
end switch
break
-----
default
return tType
end switch
end WhichFileType
---------------------------------
function WhichDestControl pType
switch
case pType is among the items of kImages -- constant declared at the top of this script
return "image"
break
case pType is among the items of kTexts -- dito
return "field"
break
case (pType is among the items of kSounds) or (pType is among the items of kVideos)
return "player"
break
case pType is among the items of kStacks
return "stack"
break
default
return "????"
end switch
end WhichDestControl
---------------------------------
function Extension pFilePath
local tFileName
-----
set the itemDel to slash
put item -1 of pFilePath into tFileName
if "." is not in tFileName then return "error: could not find extension"
repeat with i = the number of chars of tFileName down to 1
if char i of tFileName = "." then exit repeat
end repeat
if (i+5) < the number of chars of tFileName then return "error: could not find extension"
return char (i+1) to (the number of chars of tFileName) of tFileName
end Extension
---------------------------------
function FileInfo pFile,pInfo
local tDefaultFolder,tFiles,tFilter,tSize,tDate,tType,tCreator
-----
set the itemDel to slash
set the defaultFolder to item 1 to -2 of pFile -- parent folder
put urldecode(the long files) into tFiles
filter tFiles with last item of pFile & "*"
-----
set the itemDel to comma
switch pInfo
case "size"
put item 2 of tFiles + item 3 of tFiles into tSize
put tSize div 1024 into tSize
if tSize > 1000 then
set the numberFormat to "0.0"
put tSize / 1024 && "Mb" into tSize
else put tSize && "Kb" into tSize
return tSize
break
case "creation"
put item 4 of tFiles into tDate
convert tDate from seconds to system date and system time
return tDate
break
case "modification"
put item 5 of tFiles into tDate
convert tDate from seconds to system date and system time
return tDate
break
case "type"
put char -4 to -1 of item 11 of tFiles into tType
if tType = empty then return "????"
else return tType
break
case "creator"
put char -8 to -5 of item 11 of tFiles into tCreator
if tCreator = empty then return "????"
else return tCreator
end switch
end FileInfo
---------------------------------
on CleanStack
put empty into fld "DragData"
put empty into fld "NumOfItems"
set the fileName of player "Test" to empty
set the fileName of img "Test" to empty
ShowFile --
save this stack
put "Done"
end CleanStack
@ 0 D I J K O S U W a b e g j BlackCheckmark.png PNG IHDR pHYs gAMA |Q cHRM z% u0 ` : o_F xIDATxb` 17 R@L:̤/@,0@ 1I +x%@ Lħ HW ť $@PIV dĊK8 0 6 IENDB` cREVGeneral revUniqueID 1109347801497 0 DragData q )on mouseUp ShowFile -- C end mouseUp @ X ] Click to display the data 2 Z ' cREVGeometry Master,expectedRect 20,206,620,299Master,scalebottomDistance -271Master,movevDistance falseMaster,scaleBottomObjectSide BottomMaster,movehDistance falseMaster,scaleBottomscaleBottom trueMaster trueMaster,scalerightDistance Master,scaleBottomObjectRef cardMaster,scaleBottomAbsolute trueMaster,cardRanking 1Master,scaleBottom trueMaster,scaleleftDistance Master,scaletopDistance cREVGeneral scriptChecksum 5*M$^]3D/ bookmarks revUniqueID 1109849448492handlerList mouseUpscriptSelection char 15 to 14prevHandler enterKeytempScript scripton mouseUp
ShowFile -- C
end mouseUp
E ` [ L P a G @ Flche2.png z PNG IHDR Kpl_ pHYs gAMA |Q cHRM z% u0 ` : o_F IDATxb?,Xv$ϯ.?~~e'P#@ 11 @?~23_k_?V@p /÷>|()%ţ,%-F2\@ *n wJU牓/_ o_ū(II` b`AM]Nk5 _,? d +@ 021~K?@fӬ ~W XXY};w<|||߿}Kw^W@ koǑ74;Gڷo_߿uLL7qe`&Fqϟ_sPuFFf bA8`(10r =zk~TxNP `=l|, IENDB` cREVGeneral revUniqueID 1109350346443 D DADZone ( 2 o ( ( ( ( cREVGeneral scriptChecksum ُ B~handlerList breakPoints scriptSelection char 1 to 0revUniqueID 1110117105542 bookmarks tempScript prevHandler DragDataTypesscript Drag and drop here I Type E)g 4 File or folder cREVGeneral revUniqueID 1110121621164 J Media Ew Yon mouseUp set the itemDel to tab sort fld "Dragdata" by item 2 of each end mouseUp H ) File type cREVGeneral scriptChecksum RGǕγ4`ѫrevUniqueID 1110121734336 bookmarks handlerList mouseUptempScript prevHandler mouseUpscriptSelection char 1 to 87scripton mouseUp
set the itemDel to tab
sort fld "Dragdata" by item 2 of each
end mouseUp
K Location Ew Yon mouseUp set the itemDel to tab sort fld "Dragdata" by item 4 of each end mouseUp File or folder path cREVGeneral scriptChecksum " A g:2VvrevUniqueID 1110121840757 bookmarks handlerList mouseUptempScript prevHandler scriptSelection char 68 to 67scripton mouseUp
set the itemDel to tab
sort fld "Dragdata" by item 4 of each
end mouseUp
O Dest Ew Yon mouseUp set the itemDel to tab sort fld "Dragdata" by item 3 of each end mouseUp p = Destination cREVGeneral scriptChecksum CܖWg[revUniqueID 1110127981995 bookmarks handlerList mouseUptempScript prevHandler mouseUpscriptSelection char 1 to 87scripton mouseUp
set the itemDel to tab
sort fld "Dragdata" by item 3 of each
end mouseUp
S Test ` 2 o cREVGeneral revUniqueID 1110128395730 U Test !` 2 o cREVGeneral scriptChecksum ُ B~revUniqueID 1110128918199 bookmarks handlerList tempScript prevHandler mouseUpscriptSelection char 1 to 0script W Test ` 2 o cREVGeneral revUniqueID 1110129468932 Claudie Camus-Chatonet @ A 24, Boulevard de Port-Royal @ A 75005 Paris @ A N Socitaire : 1354080N MAIF @ A @ B 4N sinistre : 7020639812275306 20, rue Corvisart @ A @ B @ A 75013 Paris @ A @ C Paris, le 26 aot 2002, @ A Messieurs, @ A .Suite notre dclaration du 13/08/02, enregistre chez vous sous le numro en rfrence, vous voudrez bien trouver ci-joint dment complt., le constat amiable que vous nous avez fait parvenir. L'adversaire apparat d'ailleurs galement assur chez vous : cela devrait faciliter un rglement rapide. @ A -