untoldwind / alfred2-layout Goto Github PK
View Code? Open in Web Editor NEWAlfred 2 Layout workflow
Home Page: http://untoldwind.github.io/projects/alfred2-layout.html
Alfred 2 Layout workflow
Home Page: http://untoldwind.github.io/projects/alfred2-layout.html
It would be nice if you could create custom names for certain layouts.
e.g. 1280x720
oder 1920x1080
if you'r going to record a screencast.
cheers
I know you mentioned that the workflow can't do this (yet) in your readme, but I wanted to add it as an official feature request. :)
Thanks for wrote this tool! 👍
But it not works in my mac with OSX version 10.10.5, and alfred2-layout version 1.2/1.3
Below is detail info:
When debug in alfred, it says:
Can't call method "position" on unblessed reference at layout.pl line 229
There's error in syslog:
AppleEvents: Send port for process has no send right, port=( port:16911/0x420f rcv:1,send:0,d:0 limit:5) (findOrCreate()/AEMachUtils.cp #526) com.apple.main-thread
I found that findMainWindow
returns a SCALAR(SCALAR(0x7fa5120089c0)
) but not a reference.
I don't know how to fix it. Can you help to fix this issue?
Below is Error Message. I've tried to fix, but not familiar with Perl and macos's System Event.
[2018-09-27 16:24:26][ERROR: action.script] given is experimental at layout.pl line 274.
when is experimental at layout.pl line 275.
when is experimental at layout.pl line 281.
when is experimental at layout.pl line 289.
when is experimental at layout.pl line 299.
when is experimental at layout.pl line 319.
when is experimental at layout.pl line 357.
when is experimental at layout.pl line 381.
**** ERROR **** PerlObjCBridge:: sendObjcMessage: Can't get NSMethodSignature for message "get"
**** ERROR **** PerlObjCBridge: error [1] sending message [NSObject get] at /System/Library/Perl/Extras/5.18/darwin-thread-multi-2level/PerlObjCBridge.pm line 248.
As title, can we add such feature to allow user move certain application's window to another screen?
It is really useful when using multiple monitors.
Thanks.
Can you add the minimize feature :)
Hi,
I get the following output on a new mac
Starting debug for 'Layout'
[2017-04-08 14:38:04][ERROR: action.script] given is experimental at layout.pl line 274.
when is experimental at layout.pl line 275.
when is experimental at layout.pl line 281.
when is experimental at layout.pl line 289.
when is experimental at layout.pl line 299.
when is experimental at layout.pl line 319.
when is experimental at layout.pl line 357.
when is experimental at layout.pl line 381.
2017-04-08 14:38:04.388 perl5.18[8461:428656] Can't find app with identifier com.apple.systemevents
Can't call method "processes" on unblessed reference at layout.pl line 232.
What could be wrong ? Anyone know ?
Hey, I realized that all the actions in alfred2-layout
couldn't work properly after my OS update from OSX EI Capitan to OSX Sierra.
I've tried other similar workflows and found alfred3 cannot operate any window resize actions.
div
and layouts v2.0
I noticed this shouldn't be the truth since someone has discussed about this.
#12 #13 #15
And I'm sure I've enable Alfred 3
in System's privacy settings.
I've tried disable it and re-enable it. I've tried uninstall alfred3
and re-install it, but not working still.
I open the debug info.
The action will be run by my self-defined trigger key, debug info like below.
[2017-05-14 15:34:09][trigger.hotkey] Processing output of 'action.script' with arg 'fullscreen:toggle'
but nothing happens.
And when I leave the debug window alone and say surf the internet for a while and get back to the debug info, it reveals some error info like below.
[2017-05-14 15:35:36][ERROR: action.script] given is experimental at layout.pl line 274.
when is experimental at layout.pl line 275.
when is experimental at layout.pl line 281.
when is experimental at layout.pl line 291.
when is experimental at layout.pl line 311.
when is experimental at layout.pl line 349.
when is experimental at layout.pl line 373.
Can't call method "attributes" on unblessed reference at layout.pl line 148.
[2017-05-14 15:37:37][ERROR: action.script] given is experimental at layout.pl line 274.
when is experimental at layout.pl line 275.
when is experimental at layout.pl line 281.
when is experimental at layout.pl line 291.
when is experimental at layout.pl line 311.
when is experimental at layout.pl line 349.
when is experimental at layout.pl line 373.
Can't call method "attributes" on unblessed reference at layout.pl line 148.
[2017-05-14 15:39:37][ERROR: action.script] given is experimental at layout.pl line 274.
when is experimental at layout.pl line 275.
when is experimental at layout.pl line 281.
when is experimental at layout.pl line 291.
when is experimental at layout.pl line 311.
when is experimental at layout.pl line 349.
when is experimental at layout.pl line 373.
Can't call method "attributes" on unblessed reference at layout.pl line 148.
Any idea?
Thanks for reading.
I was trying to add some new layouts by editing layouts.yaml in the workflow path.
When testing the new layouts I saw that this file is never being read by the layout_select.pl script.
Only then I figured out that there's a keyword for that purpose (lay_config), but yet, when using Alfred3, this keyword's logic will create the files in a wrong path (which will still work, but won't be as nice).
Absolute paths for files, like in this line from lay_config bash script:
if [ ! -d ~/Library/Application\ Support/Alfred\ 2/Workflow\ Data/de.leanovate.alfred.layout ]; then
Makes the target files being created in wrong paths for Alfred3 users.
In addition, layout_select.pl uses this same absolute path to load custom layouts.
This issue can be easily fixed by using relative paths, Alfred runs embedded scripts from the main workflow path so ./Data/de.leanovate.alfred.layout/layouts.yaml will suite the case.
Thanks for this very useful workflow!
I tried to resize the browser window when surfing this website, but none of the resize actions worked....
Confirmed in Safari/Chrome/Firefox, layout ver. 1.4
FYI, the previous version worked flawlessly.
Hello,
I have an external monitor connected with my laptop. When I remove my external connection, my browser is resized correctly to my monitor. However, the browser is also visible below my dock, which is placed on the right side of the monitor.
When I choose "Lay Full", it doesn’t resize correctly and my browser is still behind the dock. However, when I try "Lay Left", and then "Lay Full", then the browser is correctly set with the dock being transparent.
Hope, the bug report is clear.
hi,
Layout has become one of my most used workflows and I was considering updating alfred to version 3 but will this workflow still work ?
Thanks
The windows do not span on the whole screen, when the automatic hiding of the menu bar is on. When using multiple displays, this seems to affect only the main one. On the other screen the windows are maximized properly.
Are there docs about how to build the src into a workflow? Maybe I just didn't search enough?
What about sharing this nice workflow at packal.org. With it, it is easily for everyone (maybe someone, who did not use e.g. git) to update this workflow.
Starting debug for 'Layout'
[ERROR: alfred.workflow.action.script] given is experimental at layout.pl line 274.
when is experimental at layout.pl line 275.
when is experimental at layout.pl line 281.
when is experimental at layout.pl line 291.
when is experimental at layout.pl line 311.
when is experimental at layout.pl line 349.
when is experimental at layout.pl line 373.
Can't call method "position" on unblessed reference at layout.pl line 247.
Does this work on Sierra + Alfred 3?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.