Jump to content

bm1x

Member
  • Posts

    10
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

bm1x's Achievements

Helping Hand

Helping Hand (3/5)

0

Reputation

  1. Ok thanks. isn't there a way to do it outside my script ? Because some of the script I use are used buy other systems and not Alfred exclusive #! /bin/bash ./script1.bash if [ $? -eq 0 ] then echo "ok" else echo "ko" fi echo "$?" exit 0
  2. How can I print understand if my script fail without using debug ? I want to performa a script and if fail ... perform an action if success perform another action.
  3. My idea is - select some files. - execute a file action (with multiple files) - for each file execute a script import sys query = "{query}" values = query.split("\t") for v in values: execute .......... action with (parameter(v)) My idea is connect action with a script and use this code to split the query. I think this is not the right way to do that in Alfred. Any suggestions ? Now my structure is File action + script (with the code previous) I think is better to use File action + an Alfred object how execute for each file a script + the script that performs the action.
  4. Hi, is there a way to perform an action (ok) to a list of files selected on the finder (don't know ho to do that) Thanks
  5. I'm trying to create a contact action. I want to call with facetime audio on my iphone .. i tried with tel .. and facetime-audio command. It doesn't work! Can someone help me ? on run argv set theQuery to item 1 of argv do shell script "open tel://" & quoted form of theQuery tell application "System Events" repeat until (button "Call" of window 1 of application process "FaceTime" exists) delay 1 end repeat click button "Call" of window 1 of application process "FaceTime" end tell end run or i tried this
  6. Hi, i need to do this. Call a file action on a folder ..than perform a script that parse all directory and execute some renaming .. like append date on each pdf. I can't find how to get data like folder name from file action.. is it possibile ?
  7. This is the problem with permissions. I cannot execute the script as external but if I copy and paste it works. https://www.dropbox.com/s/bu8vv66hr5gar3y/Python Permission Problem.alfredworkflow?dl=0
  8. Hi, I'm creating a workflow that uses a python external script. I have 2 problems 1) i execute the workflow and Alfred said I don't have permission +x ... I tried with chmod 777 .. but nothing change. 2) I didn't understand if is possible or not to handle two parameters (argv) with an external script (python for example). I chose arguments and not query ... and everytime I have only one with two arguments. My script work outside python myscript arg1 arg2 .. but when in Alfred seams I get only one parameter. Please can you help me ? I'm Using Script filter to populate my workflow
×
×
  • Create New...