volume serial number

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
churchken
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 66
Joined: Sun Apr 15, 2007 2:54 pm
Location: Albuquerque, NM USA

volume serial number

Post by churchken » Sat Oct 08, 2011 10:51 pm

Hi, Folks,

Other than using a shell command, is there a way to "get" the volume serial number from some system information source?

" the Volumes" returns the list of available volumes, but does not include volume serial numbers.

Thanks in advance for any ideas.
Ken

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: volume serial number

Post by Mark » Sun Oct 09, 2011 2:37 am

Hi Ken,

There might be another way, but it won't be vanilla LiveCode scripting.

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

Klaus
Posts: 13878
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

Re: volume serial number

Post by Klaus » Sun Oct 09, 2011 1:55 pm

Hi Ken,

eat this (Windows only):
http://www.sonsothunder.com/devres/live ... isk001.htm

The other Ken has a LOT of cool tricks on his website, check out all the other entries at:
http://www.sonsothunder.com/devres/live ... vecode.htm


Best

Klaus

churchken
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 66
Joined: Sun Apr 15, 2007 2:54 pm
Location: Albuquerque, NM USA

Re: volume serial number

Post by churchken » Sun Oct 09, 2011 6:11 pm

Mark & Klaus,

Thanks for the comments.

I already use the "shell" command to obtain the serial number but wondered if there was a "direct access" call to the system information via LiveCode.

Regards,
Ken

Post Reply

Return to “Talking LiveCode”