Cool! What's you desktop? (Just curious, looking at the screenshot )
Also, can you mdls it?
Offline
Hardmath123 wrote:
Cool! What's you desktop? (Just curious, looking at the screenshot
)
Also, can you mdls it?
Queen. Queen is awesome. I love "the show must go on".
http://indexofwallpapers.com/wallpapers/queen-wallpapers/queen-wallpaper-2-13048.jpg
Offline
Hardmath, this is amazing!
I found a code in squeak which let's you set the UTI type for a file!
setFileTypeToObject "On the Macintosh, set the file type and creator of this file to be a Squeak object file. On other platforms, do nothing. Setting the file type allows Squeak object files to be sent as email attachments and launched by double-clicking. On other platforms, similar behavior is achieved by creating the file with the '.sqo' file name extension." FileDirectory default setMacFileNamed: self fullName type: 'SOBJ' creator: 'FAST'.
all that needs to be done is change a few strings around.
Offline
dreamod wrote:
Hardmath, this is amazing!
I found a code in squeak which let's you set the UTI type for a file!Code:
setFileTypeToObject "On the Macintosh, set the file type and creator of this file to be a Squeak object file. On other platforms, do nothing. Setting the file type allows Squeak object files to be sent as email attachments and launched by double-clicking. On other platforms, similar behavior is achieved by creating the file with the '.sqo' file name extension." FileDirectory default setMacFileNamed: self fullName type: 'SOBJ' creator: 'FAST'.all that needs to be done is change a few strings around.
I was actually wondering about that a couple of days ago. Since Squeak was originally Apple's, I think, it would be silly of them not to add that functionality.
Anyway, does it work?
Offline
I'm running on a different computer now, (Mac OS X 10.4.11 Tiger, I love macs and I would never trade it for a new PC). I seem to get different results here. The Block Importer has never been run on this computer before and the results for an mdls are different than on my other computer. (I'm spending the summer somewhere else). They seem to automatically be a com.dreamod.block type on this computer. I'll try this again this fall on my snow leopard computer.
This should be the proper UTI tag (based off of the original Squeak VM).
<key>UTExportedTypeDeclarations</key> <array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeDescription</key> <string>Block Importer Block File</string> <key>UTTypeIdentifier</key> <stringcom.dreamod.block</string> <key>UTTypeTagSpecification</key> <dict> <key>com.apple.ostype</key> <string>DRbl</string> <key>public.filename-extension</key> <array> <string>block</string> </array> <key>public.mime-type</key> <string>application/dreamod-block</string> </dict> </dict> </array>
How do you make files have custom icons, rendered from the data in the file?
Offline
dreamod wrote:
I'm running on a different computer now, (Mac OS X 10.4.11 Tiger, I love macs and I would never trade it for a new PC). I seem to get different results here. The Block Importer has never been run on this computer before and the results for an mdls are different than on my other computer. (I'm spending the summer somewhere else). They seem to automatically be a com.dreamod.block type on this computer. I'll try this again this fall on my snow leopard computer.
This should be the proper UTI tag (based off of the original Squeak VM).Code:
<key>UTExportedTypeDeclarations</key> <array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeDescription</key> <string>Block Importer Block File</string> <key>UTTypeIdentifier</key> <stringcom.dreamod.block</string> <key>UTTypeTagSpecification</key> <dict> <key>com.apple.ostype</key> <string>DRbl</string> <key>public.filename-extension</key> <array> <string>block</string> </array> <key>public.mime-type</key> <string>application/dreamod-block</string> </dict> </dict> </array>How do you make files have custom icons, rendered from the data in the file?
That's part of the QuickLook plugin, I'll try and take care of it, too.
Offline
Hardmath123 wrote:
dreamod wrote:
I'm running on a different computer now, (Mac OS X 10.4.11 Tiger, I love macs and I would never trade it for a new PC). I seem to get different results here. The Block Importer has never been run on this computer before and the results for an mdls are different than on my other computer. (I'm spending the summer somewhere else). They seem to automatically be a com.dreamod.block type on this computer. I'll try this again this fall on my snow leopard computer.
This should be the proper UTI tag (based off of the original Squeak VM).Code:
<key>UTExportedTypeDeclarations</key> <array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeDescription</key> <string>Block Importer Block File</string> <key>UTTypeIdentifier</key> <stringcom.dreamod.block</string> <key>UTTypeTagSpecification</key> <dict> <key>com.apple.ostype</key> <string>DRbl</string> <key>public.filename-extension</key> <array> <string>block</string> </array> <key>public.mime-type</key> <string>application/dreamod-block</string> </dict> </dict> </array>How do you make files have custom icons, rendered from the data in the file?
That's part of the QuickLook plugin, I'll try and take care of it, too.
![]()
great so, to set the "Mac File Type" you need to input the code for the file ('DRbl') (Dreamod Block) and creator of the application 'DRMD' (Dreamod), which inscratch are respectively 'STsb' (Scratch Team Scratch Binary) and MITS (Massachusetts Institution of Technology Scratch (I think). I just hope the quicklook plugin works.
Offline
dreamod wrote:
Hardmath123 wrote:
dreamod wrote:
I'm running on a different computer now, (Mac OS X 10.4.11 Tiger, I love macs and I would never trade it for a new PC). I seem to get different results here. The Block Importer has never been run on this computer before and the results for an mdls are different than on my other computer. (I'm spending the summer somewhere else). They seem to automatically be a com.dreamod.block type on this computer. I'll try this again this fall on my snow leopard computer.
This should be the proper UTI tag (based off of the original Squeak VM).Code:
<key>UTExportedTypeDeclarations</key> <array> <dict> <key>UTTypeConformsTo</key> <array> <string>public.data</string> </array> <key>UTTypeDescription</key> <string>Block Importer Block File</string> <key>UTTypeIdentifier</key> <stringcom.dreamod.block</string> <key>UTTypeTagSpecification</key> <dict> <key>com.apple.ostype</key> <string>DRbl</string> <key>public.filename-extension</key> <array> <string>block</string> </array> <key>public.mime-type</key> <string>application/dreamod-block</string> </dict> </dict> </array>How do you make files have custom icons, rendered from the data in the file?
That's part of the QuickLook plugin, I'll try and take care of it, too.
![]()
great so, to set the "Mac File Type" you need to input the code for the file ('DRbl') (Dreamod Block) and creator of the application 'DRMD' (Dreamod), which inscratch are respectively 'STsb' (Scratch Team Scratch Binary) and MITS (Massachusetts Institution of Technology Scratch (I think). I just hope the quicklook plugin works.
![]()
Huh? Where?
Offline
Could you also add this to my mod, PeckyBlocks?
http://misc.squawkerscreations.org/Peck … 7Alpha.EXE
its a preview-and a full version is coming soon
(Could you add this in a locked Dev tab?)
Last edited by Squawkers13 (2012-07-05 16:22:07)
Offline
Squawkers13 wrote:
Could you also add this to my mod, PeckyBlocks?
http://misc.squawkerscreations.org/PeckyBlocks/PeckyBlocks007Alpha.EXE
its a preview-and a full version is coming soon
(Could you add this in a locked Dev tab?)
Sure, but I'm a mac user so I can't open EXEs. Just give me the image file.
Offline
dreamod wrote:
Squawkers13 wrote:
Could you also add this to my mod, PeckyBlocks?
http://misc.squawkerscreations.org/PeckyBlocks/PeckyBlocks007Alpha.EXE
its a preview-and a full version is coming soon
(Could you add this in a locked Dev tab?)Sure, but I'm a mac user so I can't open EXEs. Just give me the image file.
http://scratchr.squawkerscreations.org/ … lpha.image
(never mind the locked Dev tab...)
Last edited by Squawkers13 (2012-07-07 17:57:42)
Offline
2 or 3? I've got a 2. Quite fun. I'm also getting a new Mac sometime soon hopefully. [/offtopic]
Offline
Hey,
I'm really confused on what I should use for the block importer and how to get block files. Is it in a repository? (and if it is how do you access a repository from windows?) or do you need to manually copy code?
I'm using Windows 7 and the latest scratch version. I'm not familiar with scratch-type coding, but I'm good with bash and dos so I can get around if someone would be willing to explain.
thanks,
Lils
Offline
luluhouse7 wrote:
Hey,
I'm really confused on what I should use for the block importer and how to get block files. Is it in a repository? (and if it is how do you access a repository from windows?) or do you need to manually copy code?
I'm using Windows 7 and the latest scratch version. I'm not familiar with scratch-type coding, but I'm good with bash and dos so I can get around if someone would be willing to explain.
thanks,
Lils
You just need to download it from here and it should work fine: http://www.mediafire.com/download.php?b1uimly0wq83m3q
Offline
How do I install it? Do I mount the image in the zip?
Offline
WAIT. sorry, I thought for a second that it was an .img >_>
so basically, how do I get it into scratch? I did the whole "file it in" thing with the older version, but clearly this works differently...
Offline