Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script for open a iterm window with a specific profile #938

Merged
merged 3 commits into from
May 23, 2024

Conversation

sunrisewestern
Copy link
Contributor

Description

This script command opens a specific iTerm2 profile. It checks if iTerm2 is already running and, if not, it starts iTerm2 and closes the default window before opening a new window with the specified profile.

Type of change

  • New script command
  • Bug fix
  • Improvement of an existing script
  • Documentation update
  • Toolkit change
  • Other (Specify)

Dependencies / Requirements

This script requires iTerm2 to be installed on your macOS system.

Checklist

Copy link
Member

@dehesa dehesa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @sunrisewestern,

Thank you very much for the contribution. Everything looks great except the title/packageName. Those two are displayed in Raycast RootSearch (first the title then followed up by the package name a bit grayed out). I recommend the current values instead:

# @raycast.title Open profile
# @raycast.packageName iTerm

@dehesa dehesa merged commit ce38219 into raycast:master May 23, 2024
@dehesa
Copy link
Member

dehesa commented May 23, 2024

Thanks again @sunrisewestern

hyperfocus1337 pushed a commit to hyperfocus1337/script-commands that referenced this pull request Aug 6, 2024
* Create iterm-open-profile-in-new-window.applescript

* Update  title/packageName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants