OSX Lion AppleScript : How to get current space # from mission control?

I’m trying to figure this out myself. Not there yet, but in the right direction: Each Mission Control “space” gets a uuid assigned to it… …except for the very first one (AFAIK), and the Dashboard one. You can read them here: $ defaults read com.apple.spaces $ defaults read com.apple.desktop File locations: ~/Library/Preferences/com.apple.spaces.plist ~/Library/Preferences/com.apple.desktop.plist Here’s mine. … Read more

Bash variables with spaces

Execute it like this: “$VAR”. This is one of the most significant gotchas in shell scripting because strings are always substituted literally and any contained spaces are treated as token delimiters rather than as characters of the string. Think of substituting a variable as a kind of code pasting at runtime. What really happens when … Read more

NSWindow with NSWindowCollectionBehaviorStationary is visible on the Dashboard. Is this a bug?

I looked at http://cocoadev.com/wiki/DontExposeMe searching for workaround nothing really worked except. self.window.level = kCGDesktopWindowLevel; now maybe DETECT changes to expose and set that then 🙂 … see How can one detect Mission Control or Command-Tab switcher superseding one’s program in OS X? for that 🙂 maybe an answer will come up there

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)