if you know some squeak that should be easy fr you. open the browser (using the scratch wiki's shift-click-r method) and go to
Scratch-UI-Dialogs -> ScratchFileChooserDialog -> initialization -> addShortcutButtons.
there you can add an extra bit.
shortcutColumn addMorphBack: t1 fullCopy.
shortcutColumn addMorphBack: (self
shortcutButtonLabel: 'My Device'
action: #myDevice
icon: #folderIcon).
add that somewhere in the code.
then right-click and click accept.
now select the whole code and replace it with
myDevice
list currentDirectory: (FileDirectory default directoryNamed: 'd:\')
that maes you go to the path d:\
you can change that to whatever you prefer.
Offline
oh by the way, i think this belongs in advanced topics
Offline
I'll move this to Advanced Topics for you
Bobsmth16 wrote:
I think i have been hacked under my bobsmth26 username. I DID NOT CREATE WERE GOING FISHING!!!!!!!!!
You could try contacting the Scratch Team about it, if any harm has been done (eg - if the password got changed, and you can't log in) - simply click on the "Contact us" link at the bottom of every page
Offline
what does this actually do?
Offline
it adds shortcut buttons to the file chooser like this:click for larger image
Last edited by LS97 (2010-08-12 09:27:43)
Offline
LS97 wrote:
if you know some squeak that should be easy fr you. open the browser (using the scratch wiki's shift-click-r method) and go to
Scratch-UI-Dialogs -> ScratchFileChooserDialog -> initialization -> addShortcutButtons.
there you can add an extra bit.shortcutColumn addMorphBack: t1 fullCopy.
shortcutColumn addMorphBack: (self
shortcutButtonLabel: 'My Device'
action: #myDevice
icon: #folderIcon).add that somewhere in the code.
then right-click and click accept.
now select the whole code and replace it withmyDevice
list currentDirectory: (FileDirectory default directoryNamed: 'd:\')that maes you go to the path d:\
you can change that to whatever you prefer.
Would you explain me what is about script code? How to write the code for myself?
Offline
Offline
I dont know if you know but the thread's name is mis-spelt
How to creat a new extra link in scratch ?
How to create a new extra link in scratch ?
Offline
johnnydean1 wrote:
I dont know if you know but the thread's name is mis-spelt
How to creat a new extra link in scratch ?
How to create a new extra link in scratch ?
who cares??
Offline