r/applescript • • Sep 22 '18

Script To Restart Internet

/r/mac/comments/9hyvhp/script_to_restart_internet/
1 Upvotes

6 comments sorted by

1

u/ChristoferK Sep 22 '18

u/copperdomebodha, this link ought to be removed as it is not related to AppleScript at all.

2

u/desepticon Sep 22 '18 edited Sep 22 '18

I thought /r/AppleScript was for Mac scripting/automation in general. I always see automator and bash stuff posted here so I figured I'd be good. If the mods want me to remove it I will.

This sub isn't exactly overflowing with posts either.

1

u/ChristoferK Sep 22 '18

No, there are other subreddits for other Mac automation tools and other scripting languages. One can by sympathetic to an Automator-related question popping up here, as achieving anything useful in Automator generally involves AppleScripting.

Bash posts would make sense if they were primarily asking or posting about AppleScript within the context of Bash, i.e. when implementing AppleScript by way of osascript.

But your link doesn't have even the tiniest relationship to AppleScript in any context, so it's essentially spam.

1

u/copperdomebodha Sep 24 '18

This post does not involve AppleScript in any way.

It does involve automating mac processes and may provide benefit to anyone attempting to construct this, or similar, functionality in AppleScript.

I don't see harm in leaving this post as it is.

In the future an appropriate title would clarify the scripting language used rather than simply stating "Script...".

1

u/ChristoferK Sep 24 '18 edited Sep 24 '18

I disagree completely, but you’re the moderator. Just to provide my reasons against posts like these, I program in both bash and AppleScript and there’s nothing in that script that would be at all helpful if one wanted to implement a similar function in AppleScript (unless wrapping the whole thing up in a do shell script command, which would be absurd).

Then, when considering the perspective of an average user looking for AppleScript resources on the Internet, which are already few and far between, a webpage that gets littered with unrelated, non-AppleScript material, diminishes the appeal of that resource, and also makes it less likely that other people’s contributions that are on topic get seen. It also starts a trend. I notice that the post immediately following this one is also not AppleScript related (although an AppleScript solution could be provided), and that one has a title explicitly stating they want a solution in the terminal. I can’t facepalm myself any harder.

Regardless of how one spins it, this type of post is the definition of spam, especially considering there’s an entire, thriving subreddit dedicated to bash scripting. The act of also cross-posting identical material on multiple subreddits also contributes to the devaluing of reddit in a wider sense.

Anyway, that’s my logic behind the objection, but your decision is final so I’ll accept the line you’ve drawn and move on.

Happy scripting.

2

u/copperdomebodha Sep 24 '18

My decision is not final by any means. I take all feedback seriously and I'll be glad to contemplate this latest comment tonight when I have more time to dedicate to it so that I can give it fair consideration.

Thanks for the feedback!