|
|
|
CopyFiles form AnyPath Include CD-ROM,DVD,HDD...etc
Added on 3/7/2005
|
|
Compatibilities:
Required Xtras:
Buddy API
|
This item has not yet been rated
|
This Script Enabled The User to Copy Any Files he Made from any Specific Path Include CD-ROM, HDD , etc...
just Specify the Folder or Path in the global (myPath) to Start the Copying Process, and the Script included with Error Detecting If No files Found to be Copied
Download PC Source
--Developed By :Mohammed Ibrahim © March 2005
--WITH THE NAME OF GOD--
--StartCopy form Any Where to Specific Folder in The
--User Drive Using BudiAPI Xtra
--This Tecnique Works Great to Transfer Files
--from any Path (Ex.CD-ROM,HDD,..etc)
--to Any Place in the User Drive
----------------------------------------------------
--Define the Path of your files
global mypath
--Create a Folder with The Name (MyFiles) in the Same Place with your Movie File and Put a Sample(*.Mpg) File/s
on startmovie
mypath = the moviePath&"MyFiles"
end
on StartCopyme
--I Choosed (C:data) as a Target path in The User PC and i will copy MPG files!
--The File Will Only Copied if newer!
set OK = baCopyXFilesProgress( mypath , "c:data" , "*.mpg " , "IfNewer", "Copying files... ", "Cancel", 0 )
--Check if Error in BudiAPI (No files matched the specified type)
if baCopyXFilesProgress( mypath , "c:data" , "*.mpg " , "IfNewer","Copying files... ", "Cancel", 0 ) = 8 then
alert"ERROR,NO FILE TO COPY IN SOURCE!!"
--Else if No Error in Founding Files
else alert"FILES COPIED!"
end if
end
|
|