Does anyone have any automation scripts they want to share?

Page 1 of 1 [ 3 posts ] 

TB_TB_TB_TB_TB_TB
Velociraptor
Velociraptor

User avatar

Joined: 1 Feb 2011
Age: 35
Gender: Male
Posts: 487
Location: Planet Emorf

23 Oct 2021, 1:54 pm

Does anyone have any automation scripts they want to share?

Shell or AppleScripts

e.g.

on run {input, parameters}

if application "Application" is running then
tell application "Application" to make new window with properties {mode:"incognito"}
else
do shell script "open -a /Applications/Example\\ Example.app --args --incognito"
end if

tell application "Application" to activate

return input
end run



Perspicacity
Emu Egg
Emu Egg

Joined: 25 Oct 2021
Gender: Male
Posts: 6

26 Oct 2021, 4:01 pm

I need more info on what you are trying to do please.

There are millions of scripts in every computer language online.



TB_TB_TB_TB_TB_TB
Velociraptor
Velociraptor

User avatar

Joined: 1 Feb 2011
Age: 35
Gender: Male
Posts: 487
Location: Planet Emorf

15 Nov 2021, 8:12 am

Perspicacity wrote:
I need more info on what you are trying to do please.

There are millions of scripts in every computer language online.


@Perspicacity

I'm looking for Shell or AppleScripts

Do you have any links?