-
Posts
28 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by mrchow19910319
-
-
@vitor okay now the 1st time you execute the finder window will not appear up front, once you bring it upfront manually, then after that everytime it will appears upfront.
-
tell application "Finder" make new Finder window set the target of the front Finder window to (POSIX file "/Users/zhouxiang/Downloads") -- or -- set the target of the front Finder window to home end tell
I modded it a bit to show download folder every time. It works, but the finder window does not appear on top of every other window, is there a way to do that ?
-
Instead of just switching app to finder, maybe we should just let it open a new finder window up front.
What do you guys think??
Or is there an apple script I can write to achieve this?
-
5 hours ago, deanishe said:
Sorry. I was half-awake and misread your question.
No. But this script does what you want:
tell application "Sublime Text" if it is running then tell application "System Events" tell process "Sublime Text" to click menu item "New Window" in menu "File" of menu bar 1 end tell end if end tell -- Activate doesn't work with Sublime on Sierra do shell script "open -a 'Sublime Text'"
Okay this worked. Thank you so much!
-
33 minutes ago, deanishe said:
The answer to your question is a few posts above yours.
You got me confused... your workflow above, (in the original post ) if I've already had a sublime window opened, can only direct me to my existing sublime text window.
I need the workflow to open new blank window everytime I key in: sublime.
Could you make one workflow that does these:
- whenever keyed in: subl, open new blank sublime window in the active desktop. No matter whether the app is already opened.
- open with sublime text (just like the old one)
- find and open with sublime text (just like the old one)
-
@deanishe hey, I am using your sublime workflow for a long time.
May I ask you that how do I change it a bit, so the default sublime text option opens a new sublime text window for me on my current desktop?
Now whenever I hit enter it will point me to my already opened sublime window.
Thanks in advance.
-
Thanks for the reply!
How am I gonna know that my mac is done indexing though?
Also I just did a fresh install of macOS sierra, is this normal?
I thought after every clean installation everything should be at a clear state?
-
I cannot use alfred to call apple's numbers app.
When I ket in numbers, it shows about this mac on alfred.
I have no idea why. Is this a bug ? or ?
I am using the latest version of alfred as well as macOS.
Here are some screenshots:
-
-
18 hours ago, vitor said:
I see. So, there is not a solution that can make all my chrome windows set to 150% automatically when connect to a external display.
Then when disconnection happened, all page went back to 100%?
-
I am using my laptop with an external monitor.
Laptop has a 720p screen (non-retina macbook pro) (lol) and external monitor's resolution is 2560x1440.
So everytime I connect and disconnect my laptop, I gotta adjust the size of web pages.
On my laptop I use zoom in 100% and on my external display I use 150%.
Otherwise the texts are gonna be too small.
Is there an alfred workflow can let me do this?
It is getting annoying having to adjust manually every single time. -
12 minutes ago, Andrew said:
snip
This all happened a few minutes ago. Now alfred is fine. And I opened activity monitor it says it has a 0,1% CPU usage.
Do you still need a sample process file?
Also just to put in more context just now I downloaded a tool called: streamlink. https://github.com/streamlink/streamlink People use it for watching stream on their own media player (VLC and such) and when compares to using browser (watching twitch.tv for example) a lot of people said it uses a lot less cpu power. And I installed this tool. Before that even installed python on my mac. Then when using it watching stream, python is running in the background and at this point of time , alfred's cpu usage started rocket jumping.
I hope I clearly explained everything. Just to tell you the whole story. Does this have anything to do with the python script that was running at the background??
-
I was watching some stream and just doing some web browsing.
Then all of a sudden my macbook pro's fan started kicking up.
Here is a screenshot. Why is alfred using up so much resources?
My alfred version is v3.3.1 [806]. OS X version the latest.
-
I will normally have a lot of different sublime windows open. The problem is if I type in "sublime" it will open the existing window instead of a new blank window.
How do I modify the current workflow to set the default as "open new sublime window" instead of just opening sublime text.
Or is it better for me to just create a new workflow so when I type in sublime text
- (in default) it will open a new blank sublime text window .
- when holding command it will open the existing sublime window.
What do you guys think?? How do I make it???
-
-
Why does it show password that has 11 characters when I typed in pwlen 10??
Could you narrow it down to 10 characters only?? Or I misunderstand the method you are using?
-
I have an external HDD connected to my Mac.
It would be nice to type in "backup" then time machine will started to start a new backup.
-
On 08/03/2017 at 7:43 PM, deanishe said:
snip
Dude... thank you so much... It worked like a charm...
I got a feeling that I may have to ask for more workflows down the road.... maybe I can donate to you some money???
I feel bad for you to do this for me...
Edit: I donated two dollars through packal. Hope you received it/ Thanks.. Will ask more sometime in the future.
-
I felt that I am just here to make other people do stuff for me...
I have no idea how to make workflows... however I need a workflow that makes safari opens copied url and then directly jumped to reading mode. So I can copy everything into evernote later. I have tried to use evernote workflow, but sometimes it is not as clean as doing it separately.
Here is what I normally do:
- copy whatever url I need.
- use alfred to make safari opens a new window.
- paste that url in safari window.
- switch to reading mode.
- copy the whole page.
What I wanted to achieve:
- copy the url I need.
- open the new workflow.
- copy the whole page.
I want alfred to make safari open the last thing (in this case, a url) in my clipboard and then switched to reading mode automatically.
You can ask me more questions if I did not make myself clear.
-
3 hours ago, Sethicus said:
I adapted the applescripts posted in this thread so you can google in a new window (not just open up any url), no https needed
https://www.dropbox.com/s/q5845fept41djm7/Google in New Chrome Window.alfredworkflow?dl=0
Thanks! Didn't expect someone will visit this thread after so long!
-
24 minutes ago, Vero said:
Thanks... I did not know that I have to key in https://
-
3 hours ago, deanishe said:
You need to set your keyword to "Argument required" (that's the URL), and then pass the URL to Chrome in your AppleScript.
Here's a fixed version: https://dl.dropboxusercontent.com/u/10123941/Alfred Workflows/Chrome Window.alfredworkflow
I can type in the url but it still opens a blank page.
-
4 hours ago, deanishe said:
snip
er... sorry I tried but did not manage to get it working.
Here is what I created, (copied some template online.) CW for new chrome window and when you hold command key , it will go into the incognito mode.
I wanna add an option so that I can type in the url also. https://drive.google.com/file/d/0B4Oj-Aylh-ymWkh2UVVrNl9kejQ/view?usp=sharing
-
Here is one workflow I made. There is an online article about how to make one workflow that opens a new chrome window.
However I tried to change it to open safari and firefox , but all failed...
https://drive.google.com/open?id=0B4Oj-Aylh-ymZU5wczVkc2QyRk0
Integrate iTerm with Alfred
in Share your Workflows
Posted · Edited by mrchow19910319
may I know that how do I modify this to make alfred to open a new iterm window (even there are existing windows in the background) everytime I enter something after `>` ?