Jump to content

gustavok

Member
  • Content Count

    4
  • Joined

  • Last visited

  1. Thanks ! It works. I thought that the "open file" action only work with files and not folders. Anyway, I'm curios why the commands didn't work on that script.
  2. Hi, I made a simple an apple script to open a specific folder triggered by a hotkey, but it's not working and I can't find why. It works if I use the Script Editor from Mac OS but when I paste it inside the "Run NSAppleScript" window on Alfred it doesn't. Script: on alfred_script(q) property the_path : "/Users/UserXXX/Downloads" set the_folder to (POSIX file the_path) as alias tell application "Finder" activate if front Finder window exists then set target of front Finder window to the_folder else
  3. Hi, I want to create a workflow to change the user in the Terminal app but I can't make the workflow wait for the Terminal ask for the password and just then write it . I think what I need is a "wait next interaction from the computer" command or something like that.
  4. Hi, I want to use a series of terminal commands, first to open the terminal ( if needed ), change the user ( log in as another user ), enter in a folder and execute a command to start a SQL server and then log out and close the terminal window ( if needed, maybe I can do it without opening it ). After that I want to do the same to stop the server, but following the logic is the same script just changing the start to stop. # Manually Start PostgreSQL ## su as user "postgres" and run server: su postgres # type the password ( if possible do it automatically ) cd /Library/Postgr
×
×
  • Create New...