Indigo Rose Software

Professional Software Development Tools

 
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 18
  1. #1
    Join Date
    Apr 2002
    Location
    Atlanta, GA. USA
    Posts
    73

    Ipod ReFresh Project, Where is Serial #

    I have a need to setup a project where I have a Interface that allow our Students to hook up iPods and wipe the files, (Refreshing the Ipod)

    I do not want to use the Ipod Update / Restore tools. It would require nameing etc...

    So my Idea is to see if I can Id the iPod by it's serial Number. To confirm the iPod we are getting back is ours, as a check and balance.

    I plan to use Xplay as it allows you to see and wipe the audio tracks.

    SO anyone know how I may be able to read the Serial of the iPod so I can check it aganist our Inventory?

    Suggestion?

  2. #2
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    The serial number can be viewed by turning over the iPod and checking the metal casing. Angle it against a light source to see it.
    Intrigued

  3. #3
    Join Date
    Apr 2002
    Location
    Atlanta, GA. USA
    Posts
    73
    Quote Originally Posted by Intrigued
    The serial number can be viewed by turning over the iPod and checking the metal casing. Angle it against a light source to see it.

    Well we will be using hard or soft case covers, I was looking for a electronic method.

    I could look at the HD serial as a Option. just did a test with my 2 iPods.
    I also am looking at a method of tagging flash cards that will be used in Digital cameras we will loan out.

    I was thinking of builing a single interface that will wipe / refresh the iPods and Flash cards.

  4. #4
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    I believe you can also check the iPod serial via the About page in the unit. (or via iTunes you can view it)

    Come to think of it I thought there was a "hold these buttons down" to get the serial, as well.
    Intrigued

  5. #5
    Join Date
    Apr 2002
    Location
    Atlanta, GA. USA
    Posts
    73
    Quote Originally Posted by Intrigued
    I believe you can also check the iPod serial via the About page in the unit. (or via iTunes you can view it)

    Come to think of it I thought there was a "hold these buttons down" to get the serial, as well.
    True, just trying to automate it. Hook it up, push the button on the interface, it return this is iPod #12, do you wish to wipe, yes - no

    or Not a know iPod, etc...

    I would have a ADMIN login, which would allow me to add new Flash or iPods to the check list.

  6. #6
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Okay, first off. I have a working example for you. Now, this was created and tested against my Gen. 5 iPod. It may not work on all iPods (try it out).

    Next, this is actually a ruff way of doing this (proof of concept). It should be "Bullet proofed" for sure! Try a different String Action for example.

    Also, let me know what you come up with and on what generation.

    Gen. 1 and 2 are the ones I really want to know about (but 3 and 4 too).

    You should see multiple reportings. Again, I was just goofing around.

    Here's the code (note: plug in your ipod, no iTunes needed) and then open AMS and put this code in say the On Preload or On Show and then Preview it (F5):

    Code:
    tblDrives = Drive.Enumerate()
    
    for i,v in tblDrives do
    
    	strDriveType = Drive.GetType(v)
    
    		if strDriveType == DRIVE_REMOVABLE then
    		
    			tblInfo = Drive.GetInformation(v)
    			
    				tbliPodInfo = TextFile.ReadToTable(v.."\\iPod_Control\\Device\\SysInfo")
    					s = TextFile.ReadToString(v.."\\iPod_Control\\Device\\SysInfo")
    					
    					Dialog.Message("", s)
    					
    						a = String.Mid(s, 40, 11)
    							
    							Dialog.Message("", a)
    					
    					for i, v in tbliPodInfo do
    						Debug.ShowWindow(true)
    						Debug.Print(v.."\r\n")
    					end
    		end
    
    end
    Intrigued

  7. #7
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    If anyone wants to help us out here.

    Just download the .exe I made in AMS. There is one Dialog.Message() that should show your iPod's Serial Number. Check that number against the one on the back, metal plate of your iPod. The same? Let us know and what Generation your iPod is. Thanks.

    Here's the .exe that will show you your number:

    Make sure your iPod is connected to your computer and turned on!

    http://www.amsuser.com/ams/examples/...-Intrigued.exe
    Intrigued

  8. #8
    Join Date
    Apr 2002
    Location
    Atlanta, GA. USA
    Posts
    73
    Quote Originally Posted by Intrigued
    If anyone wants to help us out here.

    Just download the .exe I made in AMS. There is one Dialog.Message() that should show your iPod's Serial Number. Check that number against the one on the back, metal plate of your iPod. The same? Let us know and what Generation your iPod is. Thanks.

    Here's the .exe that will show you your number:

    Make sure your iPod is connected to your computer and turned on!

    http://www.amsuser.com/ams/examples/...-Intrigued.exe

    It seems to fail, right after scanning the Floppy drive, Looking at a way to skip Drive A and B

  9. #9
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    It may be the name displayed in My Computer.

    For example, my Gen. 5 is defaulted to "IPOD" (all upper-case).

    And yours is?
    Intrigued

  10. #10
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Try this "work in progress" code chunk: (we PM'ed by the way folks and he stated that when he disabled drives A: and B: in the Device Manager, that this solution worked, thus my code below):

    Code:
    tblDrives = Drive.Enumerate()
    
    for i,v in tblDrives do
    
    	strDriveType = Drive.GetType(v)
    
    		if strDriveType == DRIVE_REMOVABLE and v ~= "A:\\" and v ~= "B:\\" then
    		
    			tblInfo = Drive.GetInformation(v)
    			
    				tbliPodInfo = TextFile.ReadToTable(v.."\\iPod_Control\\Device\\SysInfo")
    					s = TextFile.ReadToString(v.."\\iPod_Control\\Device\\SysInfo")
    					
    					--Dialog.Message("", s)
    					
    						a = String.Mid(s, 40, 11)
    							
    							Dialog.Message("Should be the iPod's Serial Number (check the back, metal plate)", a)
    					
    					for i, v in tbliPodInfo do
    						--Debug.ShowWindow(true)
    						--Debug.Print(v.."\r\n")
    					end
    		end
    
    end
    Last edited by Intrigued; 08-05-2006 at 10:37 PM.
    Intrigued

  11. #11
    Join Date
    Apr 2002
    Location
    Atlanta, GA. USA
    Posts
    73
    Quote Originally Posted by AaronCooper
    It seems to fail, right after scanning the Floppy drive, Looking at a way to skip Drive A and B

    I have confirmed the error is related to Floppy, I disable it via Hardware, device manager. Then tested on both iPod Photo and iPod Video and it work great.

    Look like the SysInfo has other info, Firmware, Model , Name

  12. #12
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Yes, that is correct, there is more information in that file. If you uncomment the Debugger part (and the other Dialog.Message()). You will see all of what it contains.



    Well, off to bed. I'll see what you have come up with tomorrow. Try that new code chunk if you would and post back.

    Laters.

    (oh, you iPod 1st, 2nd genners. Post if this works, if you would not mind taking a minute to try this out, thanks).

    Crigey! 5,000 posts for me. Not one a waste of time. I enjoyed them all. It's been great so far with I.R. and their (your) products!
    Intrigued

  13. #13
    Join Date
    Apr 2002
    Location
    Atlanta, GA. USA
    Posts
    73
    That works with the Floppy drive active, Thanks.

    Now I may expand the info return to Name, Firmware, etc...




    Quote Originally Posted by Intrigued
    Try this "work in progress" code chunk: (we PM'ed by the way folks and he stated that when he disabled drives A: and B: in the Device Manager, that this solution worked, thus my code below):

    Code:
    tblDrives = Drive.Enumerate()
    
    for i,v in tblDrives do
    
    	strDriveType = Drive.GetType(v)
    
    		if strDriveType == DRIVE_REMOVABLE and v ~= "A:\\" and v ~= "B:\\" then
    		
    			tblInfo = Drive.GetInformation(v)
    			
    				tbliPodInfo = TextFile.ReadToTable(v.."\\iPod_Control\\Device\\SysInfo")
    					s = TextFile.ReadToString(v.."\\iPod_Control\\Device\\SysInfo")
    					
    					--Dialog.Message("", s)
    					
    						a = String.Mid(s, 40, 11)
    							
    							Dialog.Message("Should be the iPod's Serial Number (check the back, metal plate)", a)
    					
    					for i, v in tbliPodInfo do
    						--Debug.ShowWindow(true)
    						--Debug.Print(v.."\r\n")
    					end
    		end
    
    end

  14. #14
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Ah, bottom of the 9th success. Boy, that's almost as good as the All-You-Can-Eat Snow Crabs I had tonight!

    Intrigued

  15. #15
    Join Date
    Apr 2002
    Location
    Atlanta, GA. USA
    Posts
    73
    Thanks, I knew someone here would figure out a way.
    I am off to bed myself, I'll see how much I can get done Sunday.

    I have about 10 days to get this going, and with this should be fine.

    Would love to hear from others that try the code.

    Quote Originally Posted by Intrigued
    Yes, that is correct, there is more information in that file. If you uncomment the Debugger part (and the other Dialog.Message()). You will see all of what it contains.



    Well, off to bed. I'll see what you have come up with tomorrow. Try that new code chunk if you would and post back.

    Laters.

    (oh, you iPod 1st, 2nd genners. Post if this works, if you would not mind taking a minute to try this out, thanks).

    Crigey! 5,000 posts for me. Not one a waste of time. I enjoyed them all. It's been great so far with I.R. and their (your) products!

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Serial Numbers for your AutoPlay applications
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 12
    Last Post: 11-30-2005, 01:20 PM
  2. Serial Data Base [Immediate Updating System]
    By SKyTearz in forum Setup Factory 7.0
    Replies: 25
    Last Post: 04-19-2005, 02:36 PM
  3. HOWTO: Open a Version 3.0 Project in Version 4.0
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-30-2002, 02:09 PM
  4. HOWTO: Create a Project Template
    By Support in forum AutoPlay Media Studio 4.0 Examples
    Replies: 0
    Last Post: 10-28-2002, 01:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts