Is this very complicated? I'm using applescript.
Is there a way to let the user make changes to the code like this, for example:
But let the user choose what the /path/to/file should be?
or like this, another example:
And let the user type somewhere to change the yourvpn name?
Is there a way to let the user make changes to the code like this, for example:
Code:
on mybuttonhandler278_(sender)
do shell script "sudo rm -rf /path/to/file/
end
or like this, another example:
Code:
on idle
tell application "System Events"
tell current location of network preferences
set myConnection to the service "TheName of yourvpn"
if myConnection is not null then
if current configuration of myConnection is not connected then
connect myConnection
end if
end if
end tell
return 120
end tell
end idle
And let the user type somewhere to change the yourvpn name?
Last edited: