Have "Import" leave the long ID in the "it" variable

Something you want to see in a LiveCode product? Want a new forum set up for a specific topic? Talk about it here.

Moderator: Klaus

Post Reply
WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm

Have "Import" leave the long ID in the "it" variable

Post by WaltBrown » Wed Oct 20, 2010 1:31 am

Hi!
Some of the commands, like "clone", have created a "standard practice" of leaving identification information for a newly created object in the "it" variable. I suggest that would be useful as well for the "import" command. I understand how to get that information through scripting and that the name of the new imported object is set to the file name, but it could be made a bit less cumbersome if the long ID of the new image is in the "it" variable after "import".
BR, Walt
Walt Brown
Omnis traductor traditor

Post Reply