This discussion board is named "XYplorer Beta Club" but maybe we can use it in a more general-purpose-way.
What do you think about a XYScript-Exchangement-Section in this board where users can share their scripts?
What do all the other folks in here think about that idea, would you use it if we get something like this here?
Script-Exchangement-Place
Script-Exchangement-Place
Operating System: Win10 x64 / Win11 x64 / almost allways newest XY-beta
totally XYscripting-addicted
totally XYscripting-addicted
-
admin
- Site Admin
- Posts: 65050
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Script-Exchangement-Place
I like the idea.
But we should wait until "::" versus "; " is decided...
But we should wait until "::" versus "; " is decided...
FAQ | XY News RSS | XY X
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: Script-Exchangement-Place
Yes, I agree with you and Don! Having a separate sub-forum just for scripts would likely be a good solution to sharing/exchanging scripts.fishgod wrote:What do all the other folks in here think about that idea, would you use it if we get something like this here?
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
admin
- Site Admin
- Posts: 65050
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
This is a script by jacky from the XYwiki. I'm pleased to report that you can select, copy and paste this from here into the "::write" box and it will be parsed correctly. Well, almost!
The result is goto C:\ Internet\ Downloads\ -- 2 spaces too much! This means sharing scripts via this forum might be difficult...
Indents are done with tabs:
This is the same script but indented with spaces instead of tabs. Same story:
Indents are done with tabs:
Code: Select all
// This is the menu caption:
"Go to...
// this line will be ignored
// and here continues the menu caption:
my downloads folder"
// this would be fine :
//goto C:\Internet\Downloads\
// but we could also do this instead
// !! Make sure to use tabs and have a space after goto
goto
// !! Or one right before C:\ -- or else XY will fail on invalid script command: "gotoC:\Internet\Downloads\"
C:\
Internet\
// this line is commented, and will be ignored completely
Downloads\
// so, without blank & commented lines, the parameter to the goto command will be "C:\Internet\Downloads\"
Code: Select all
// This is the menu caption:
"Go to...
// this line will be ignored
// and here continues the menu caption:
my downloads folder"
// this would be fine :
//goto C:\Internet\Downloads\
// but we could also do this instead
// !! Make sure to use tabs and have a space after goto
goto
// !! Or one right before C:\ -- or else XY will fail on invalid script command: "gotoC:\Internet\Downloads\"
C:\
Internet\
// this line is commented, and will be ignored completely
Downloads\
// so, without blank & commented lines, the parameter to the goto command will be "C:\Internet\Downloads\"FAQ | XY News RSS | XY X
XYplorer Beta Club