Nik:
You could use Buddy API's SysFolder function to return the path of the
Windows installation then just hack off the drive letter at the beginning.
Ross
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list,
Something like this (requires FileIO Xtra):
OS_Drive = getOSDirectory().char[1..3]
OS_DriveLetter = getOSDirectory().char[1]
put OS_Drive
-- "C:\"
put OS_DriveLetter
-- "C"
etc.
Bertil Flink
Creative Media
- Original Message -
From: "nik crosina" <[EMAIL PROTECTED]>
To: <[EMAIL P
Hi,
How can I find out the drive letter of the crive that contains the currently running
OS. We need to find this out as we develop a network app that might have the system
run from other drives than the c:\ drive. Or is that not possible?
Thanks for your help?
Nik
At 13:55 Uhr +0200 14.07.2004, Christoffer Enedahl wrote:
I am using this code similar to this :
repeat with xx = 1 to 450
repeat with yy = 1 to 400
rgbval = member("firstImg").image.getPixel(xx, yy)
-- some calculations here and then
member("
What are you exactly trying to do? some things can better be done with copypixels and
some other creative use of imaging lingo features. Get and set pixel is very slow.
Caching the image objects will speed things up, but not to such an extend that it will
enable you to do things realtime.
J.
-
Hi,
dunno how much it slows, but use an instance e.g.
myImage = member("firstImg").image
repeat with xx = 1 to 450
repeat with yy = 1 to 400
rgbval = myImage.getPixel(xx, yy)
-- some calculations here and then
myImage.setPixel(xx,yy, newrgbval)
end repeat
end repeat
Hth
I am using this code similar to this :
repeat with xx = 1 to 450
repeat with yy = 1 to 400
rgbval = member("firstImg").image.getPixel(xx, yy)
-- some calculations here and then
member("secondImg").image.setPixel(xx,yy, newrgbval)
end
Hi List
I am reading an image and drawing some of the pixels
onto another image cast member.
I am using this code similar to this :
repeat with xx = 1 to 450
repeat with yy = 1 to 400
rgbval = member("firstImg").image.getPixel(xx, yy)
-- some calculations her