TRocket wrote:
muppetds wrote:
TRocket wrote:
does the button need to do anything or do you just want the image?
It has to list all the projects in the folder with the image in.
still don't get it
please explain further
hmm
for example I've got 2 projects in the same folder as the image. what i need is a block that tells me the name of those 2 projects
Last edited by muppetds (2012-02-14 11:34:39)
Offline
muppetds wrote:
TRocket wrote:
muppetds wrote:
It has to list all the projects in the folder with the image in.still don't get it
please explain further
hmm
for example I've got 2 projects in the same folder as the image. what i need is a block that tells me the name of those 2 projects
are these scratch projects?
Offline
TRocket wrote:
muppetds wrote:
TRocket wrote:
still don't get itplease explain further
hmm
for example I've got 2 projects in the same folder as the image. what i need is a block that tells me the name of those 2 projectsare these scratch projects?
scratch and panther
Offline
TRocket wrote:
it doesn't work when i get to the creating account bit the
write (answer) to file [USERNAME]block goes red![]()
so that is why it didn't work lol
Offline
TRocket wrote:
muppetds wrote:
TRocket wrote:
it doesn't work when i get to the creating account bit the
write (answer) to file [USERNAME]block goes red![]()
weird
have you done ALLOW file I/Oyes
Create a blank text file called USERNAME in the folder where the panther image is
Or if its already there - go into the program and add .txt to USERNAME
Offline
muppetds wrote:
TRocket wrote:
muppetds wrote:
weird
have you done ALLOW file I/Oyes
Create a blank text file called USERNAME in the folder where the panther image is
Or if its already there - go into the program and add .txt to USERNAME
has this worked?
Offline
OI TROCKET
That block
| frame |
(frame := self ownerThatIsA: ScratchFrameMorph) ifNil: [
frame := (self ownerThatIsA: OffscreenWorldMorph) frame].
frame importScratchProject.It imports SCRATCH projects
Can you make it so it imports PANTHER (only panther projects now) projects
It also stops all the scripts - can you make it so it won't do that
Last edited by muppetds (2012-02-17 14:22:17)
Offline
BUMP still not working
825th post - it seems to me I'm posting more since the ST change the post counts
well I've been getting 60 sec ruled a lot more
Last edited by muppetds (2012-02-19 03:23:20)
Offline
done!
change the blockspec to:
doimport
| frame response |
(frame _ self ownerThatIsA: ScratchFrameMorph) ifNil: [frame _ (self ownerThatIsA: OffscreenWorldMorph) frame].
"frame importScratchProject."
"Allow the user to select a project to open, then merge that project's sprites with the
current project."
frame closeMediaEditorsAndDialogs ifFalse: [^ self].
frame stopAll.
response _ ScratchFileChooserDialog
chooseExistingFileType: #project
extensions: #(panther pt)
title: 'Import Project'.
response ifNil: [^ frame].
frame importSpriteOrProject: response.you can change the title:'import project' if you want to change the title of the file picker
Last edited by TRocket (2012-02-19 03:40:22)
Offline