Skip to content

Instantly share code, notes, and snippets.

View yigitefe's full-sized avatar

Yiğit Efe yigitefe

  • Sqills
  • Istanbul, Turkey
View GitHub Profile
@yigitefe
yigitefe / iterm2_alfred_custom_script.scpt
Created April 16, 2022 23:28
Script to use Alfred with nightly build of iTerm2
on write_to_file(this_data, target_file, append_data)
try
set the target_file to the target_file as string
set the open_target_file to open for access target_file with write permission
if append_data is false then set eof of the open_target_file to 0
write this_data to the open_target_file starting at eof
close access the open_target_file
return true
on error e
display dialog e