script

Latest

  • 1UP thinks the Force is with the BioWare MMO (again)

    by 
    Samuel Axon
    Samuel Axon
    03.07.2008

    We cannot foresee the details of BioWare's MMO; shrouded in mystery they are. The biggest rumor has always been that it's based on the Star Wars: Knights of the Old Republic IP. And what a ride that rumor has been. Just since the beginning of this year it's already been falsely confirmed once and denied twice.It's the most popular nonexistent game in the known universe, but is it really nonexistent after all? Oh no, here we go again! As our own Mike Schramm commented after the most recent denial: "If you strike this rumor down, it will only come back more powerful than you can possibly imagine." Prophetic words, those.A tipster sent 1UP an excerpt from an MMO script, allegedly from within BioWare. The script doesn't sound very MMO-like, but according to 1UP's Steve Watts, it resembles dialogue in previous BioWare works, and it's "set in the historical past of the Star Wars universe." Sounds like KotOR to us! 1UP poked LucasArts for a comment, and basically got the "no comment" comment.

  • Cutting down the noise in online situations

    by 
    Mike Schramm
    Mike Schramm
    01.15.2008

    Technically, the idea that Randall Munroe (author of XKCD, one of the funniest and definitely the geekiest of the comics on the web) had wasn't really about MMOs, but I think there is an application to the communities that we're all gaming in. His problem was that, whenever a community reaches a certain number of people, connections weaken, and it becomes an ever-increasing struggle of signal versus noise. And while his interest in that problem has to do with the IRC channel associated with the comic, it will surely sound familiar to those of us who've spent any amount of time in an online gaming environment.So what's his plan to fix things? His theory is that a lack of meaningful communication is directly tied to the originality of the statements contained therein-- ie. get rid of the Chuck Norris comments and the older-than-dirt memes and jokes, and you'll have meaningful communication. So he created a script to sit in the channel (#xkcd-signal on irc.foonetic.net) with logs of the past two years of chatting, and if you say anything that's already been said, you'll get muted.

  • Mac Automation: saving Automator workflows

    by 
    Cory Bohon
    Cory Bohon
    01.01.2008

    Now that you've been introduced to Automator, let's let's get into the "nitty-gritty." In the previous Automator post, we learned how to make a workflow that would take photos from your camera, import them into iPhoto, then allow you to e-mail them. Let's look at the three ways in which you can save this workflow for later reference. Workflow File You can save the workflow as an actual Automator workflow file by clicking File > Save; choose "workflow" from the format drop-down menu. By saving as an Automator workflow all of your actions are preserved, and when you re-open the file, you will be presented with your workflow just as you left it. This is a great way to save your workflow for editing later on.

  • AppleScript: Finder commands

    by 
    Cory Bohon
    Cory Bohon
    12.29.2007

    Now that you've mastered the tell command, it's time to introduce some of the other AppleScript commands that you may encounter.Location commandThis command will allow you to open a specific location (either on your Mac or on a web server). This command is most often used with the Finder. For instance, if you wanted to open "www.tuaw.com," then you would type:tell application "Finder" to open location "http://www.tuaw.com"Remember, when dealing with an application always include quote marks around the application name. When you're typing a URL, be sure to include the prefix (HTTP:, AFP:, FTP:, etc.) and include quote marks around the URL. You can also tell a specific web browser to open the URL:tell application "Safari" to open location "http://www.tuaw.com"However, if you use the Finder version of the script, it will open your default browser.

  • AppleScript: the Script Editor

    by 
    Cory Bohon
    Cory Bohon
    12.27.2007

    Before you can build your first AppleScript you need to know some basics: what a script-able application is and how to use the Script Editor.Script-able ApplicationsBasically, script-able applications are applications in which the developer has included a set of "instructions" that the Script Editor understands and can use. Some apps are not script-able but most Apple apps are and, of course, Mac OS X itself is script-able.The Script EditorThe Script Editor is a very simple application, but it allows you to do some very powerful things. The Script Editor is located in your Applications folder (Applications : AppleScript : Script Editor.app) by default. The editor has a simple interface with a prominent text entry area. It also has 5 buttons in the toolbar; for now we will only focus on the "Run" and "Stop" buttons. The run button will run the currently typed script, and the stop button will cancel a running script.

  • Fix your Expos keys

    by 
    Eliah Hecht
    Eliah Hecht
    11.06.2007

    Mac-based WoW players have been dealing with an odd little bug for quite some time. (More than one, actually, but I'm just going to talk about one here.) Whenever WoW is launched, it clears your Exposé hotkeys (by default, F9–F11). Oddly, it doesn't clear my Spaces hotkey, which is set to F12, just Exposé. I was hoping this bug would be gone in Leopard and/or patch 2.3, but apparently that's not in the cards. Going back into the Exposé & Spaces preference pane and resetting them isn't that hard, but it is annoying to have to do it every time.Fortunately, the official forums have provided me with a solution. Temari of Kil'jaeden wrote a simple Applescript which sets your Exposé hotkeys back to their default settings. Run it after you quit WoW, and everything is once more as it should be. Here's the application version of it; if you want to tinker or investigate, here's the source code [edit: links fixed]. The script's creator suggests adding it to your dock next to WoW. I don't use the dock much (Quicksilver forever, baby), but that's probably a good idea for those of you who do. By the way, this is apparently an Apple bug, so don't blame the blue.Edit: Please stop posting your platform war comments. Whether they're pro-Mac or anti-Mac, I don't care; don't post them please. I don't want to have to start deleting people.

  • Easy macro for getting your coordinates

    by 
    Mike Schramm
    Mike Schramm
    10.25.2007

    Here's an awesome tip from amib over on WoW LJ. Sometimes, we all could use a little location check from time to time. While I usually am OK with finding quest coordinates, every once in a while, I'd just kind of like to know where I am. So here's amib's tip-- a macro that will easily and simply tell you (no addons required) where you are in game./script px,py=GetPlayerMapPosition("player")/script DEFAULT_CHAT_FRAME:AddMessage(format("( %s ) %i,%i",GetZoneText(),px *100,py *100));(As commenters have noted, the formatting is weird here on the blog-- it's meant to be two lines, both starting with script. The other line breaks will need to be taken out.)Just put that on a button, call it "Where am I?" or something like that, and then click it to get your current ingame coordinates in the chat channel. Considering how poor my addon-updating abilities are, that's perfect.Of course, there are lots and lots of addons floating around that will do this even better-- showing your coordinates and cursor coordinates in the window, and all kinds of other ways. But if you only use coordinates every once in a while, and never remember to update your addons, this little macro could be pretty useful to have.

  • Breakfast Topic: What matters most in machinima?

    by 
    Mike Schramm
    Mike Schramm
    08.31.2007

    A little while ago, we asked what a good PvP video looked like, and so it's only natural that we should ask, as Relmstein did recently, what makes a good machinima? Yes, PvP vids are technically machinima, but in this case, I'd say we're talking about videos that tell a story that doesn't necessarily center around PvP-- stuff like Illegal Danish, Time Gnomes, and even music videos like Big Blue Dress (which is also a PvP video) and Code Monkey.Relmstein tries to make a spectrum between professional production and a strong script, but I'm not sure those are on opposite ends-- it's definitely possible to have both. I'd say a good, strong script is important for sure no matter how your movie looks. Humor tends to be popular, but I think that's only because non-humor stuff tends to be overly dramatic RP stuff so far-- it's hard to convey real emotion, as my friend recently said when I showed her the Code Monkey video, with characters who don't change facial expressions.And maybe this is just me, but I kind of have a pet peeve with some machinima-- I really tend to dislike overuse of the Model Viewer to create improbable situations. It has it's place, I think-- Hardware Store is a great video that uses the Model Viewer almost exclusively for all sorts of fun. But I am more impressed by the folks who are able to shoot great stuff inside the actual game engine rather than flooding the screen with their own creations, effects, and graphics. Yeah, it takes skill to come up with all your own stuff, but if I'm watching a WoW video, I'd rather it was made with WoW, not five or six other programs just using the WoW models.But maybe that's just my own personal opinion. What do you think makes a great machinima video?

  • Saving iPhone applications inside data URLs

    by 
    Mike Schramm
    Mike Schramm
    07.19.2007

    This is really basically the same theory as the iPhone bookmarklets Mat posted earlier (squeezing content into a URL), but it's a little less about function and a little more about storage. Currently, the iPhone doesn't allow you to save actual files locally, but it does allow you save URLs, so the idea here is to save entire applications (or other HTML content) in the form of a data URL.It's a pretty wonky hack, but it works-- you can convert whole HTML pages, or even applications, depending on the URL length the iPhone's bookmarks allow, into data URLs (with the Perl script on that page if you don't want to do it manually), and then those data URLs can be loaded into MobileSafari on the iPhone, even in Airplane mode. The suggestion is made that this could allow persistent storage for web applications on the iPhone, but wouldn't that require allowing the HTML page to write to and read from the iPhone's bookmarks? Is that possible?At any rate, maybe it's a good thing, for a little while at least, that Apple didn't release a "real" SDK for the iPhone. Web programmers are making their code do all kinds of flips and tricks to get every bit of access they can on the iPhone. People have been talking about browser-based, OS independent applications for years-- maybe Apple's insistence that iPhone developers go through the browser will bring about that world sooner than we thought.[via DF]

  • Arena stats from the second season start

    by 
    Mike Schramm
    Mike Schramm
    07.06.2007

    Caster has posted his "first successful pull" of an exhaustive list of arena PvP stats about class and spec over on the forums. There are tons of stats to play around with here-- for each bracket of 5v5, 3v3, and 2v2, he's got the average, minimum, and maximum of specs for each class, wins and losses, the low, average, and high of hit points, and even a breakdown of who's grouping with who.Not surprisingly (though I was surprised back when Arenas first started up), Warriors and Paladins are topping the charts in terms of numbers, so it seems a good way to win 5v5 Arenas is simply to stay alive. Apparently 2v2 teams are the most volatile (since people switch around with them all the time), but the numbers there are the most interesting-- Warlocks and Priests top the charts there (thanks a lot, Fear), and it turns out Druids might have actually have a place in Arena PvP-- as long as it's right alongside a Lock.And the big loser is apparently Hunters-- their numbers are down to single digits in 2v2 and 3v3 (as in 1 and 2 total), which means players are not taking their Hunters into the arenas. Is that because Hunters aren't useful or viable enough in the smaller teams? I'll leave that one up to you.[ via WoW LJ ]

  • Revolutionary: Going Through the Motions

    by 
    Mike sylvester
    Mike sylvester
    07.03.2007

    Every Tuesday, Mike Sylvester brings you REVOLUTIONARY, a look at the wide world of Wii possibilities. I was going to jump right into writing another script with you this week, but as development progressed, I remembered how much time I wasted on my first scripts because I didn't have a handle on exactly what motions were triggering the responses I was after. I figured I'd be doing you a disservice if I didn't take time out to get you primed on the nomenclature of all the motions and get you started in thinking in 3 dimensions. Last week we wrote a simple script that didn't use the Wiimote's motion detecting functionality. Some might say that defeats the purpose of using the Wiimote, but is that really what the Wiimote is about? The different input options are there to give the developer choices. Sometimes the developer will throw in lots of alternatives and pass the choice on to the gamer. Taking every feature of the controller and slapping it onto a game isn't going to assure a fun time. More than likely, you'll wind up making something repellent that people will call "gimmicky." It's best to have an understanding of the control options available, and be selective in applying or omitting ones from your project.

  • Revolutionary: Alien Language

    by 
    Mike sylvester
    Mike sylvester
    06.26.2007

    Every Tuesday, Mike Sylvester brings you REVOLUTIONARY, a look at the wide world of Wii possibilities. In the coming weeks, I'll be detailing the process of writing a GlovePIE script, from concept, through testing, to completion. You will see that it's not so tough to get something running, and I hope you'll also get a better understanding of the mechanics of the hardware inside the Wii Remote and its accessories. This time around, I'll be deconstructing the simplest of the GlovePIE scripts I've written to date, but also one of the most rewarding -- Alien Hominid.

  • Friday Video: Wii play drums the easy way

    by 
    Alisha Karabinus
    Alisha Karabinus
    05.18.2007

    People really seem to want to play drums with the Wiimote, and who can blame them? Everyone likes to rock out from time to time ... after, of course, double-checking to make sure no one can see you. Or maybe that part's just us being paranoid about our air-drumming skills. This week's featured video allows you to live the dream in a simple fashion: download some software, pick up your Wii remote, and start building up your chops. It's all explained (and demonstrated) in the video after the jump.

  • Platypus: create Mac applications from Ruby, Perl, shell scripts, etc.

    by 
    Mat Lu
    Mat Lu
    05.08.2007

    MacResearch has posted a nice two part tutorial on using Platypus, a neat utility that allows you to "create native, flawlessly integrated Mac OS X applications from interpreted scripts." This include shell scripts, Perl, Ruby, Python, etc. With Platypus you can turn command-line only tools into full fledged, free-standing Mac applications that support drag and drop and even basic graphical feedback. Obviously this isn't going to make for a full GUI application, but it will allow you easily to create self-contained OS X applications that you can double-click to run. Especially for those in the science fields, and even for beginning (Ruby) script programmers like myself, Platypus makes it possible to get basic (and even not so basic) Mac app up and running very quickly.Platypus is a free download from Sveinbjorn Thordarson, and donations are requested.[Via MacResearch]Update: fixed headline

  • PackRat 1.1 adds AppleScript and Automator support

    by 
    David Chartier
    David Chartier
    04.11.2007

    Someone must have answered Rod Schmidt's call for AppleScripters, as he has just released PackRat 1.1, a major update to his offline Backpack syncing app that brings double-whammy support for both AppleScript and Automator. You can now get almost all your Backpack data via script, which means power users can do all sorts of extra-cool nerdy things now. A 'Synchronize with Backpack' Automator action is also included, offering easy access for the rest of us to set up auto-downloads in the morning or before we leave for a trip (hint: run the action as an app attached to an iCal event).Check out Rod's announcement post for more details and to download a copy of the new PackRat version. As usual, PackRat will function as a non-expiring demo that allows working with 4 pages, while a license costs $24.95.

  • Twilight Princess script ready for your perusal

    by 
    Alisha Karabinus
    Alisha Karabinus
    02.13.2007

    GameFaqs user Mgoblue201 is a more hardcore Zelda fan than you. There's just no way around it. Oh, you want to argue? Well, did you transcribe the entire script for The Legend of Zelda: Twilight Princess and reveal it for the world? No? Guess that's settled, then. Get back to us when you undertake your own labor of love.The link takes you directly to the Twilight Princess page, but you'll have to scroll for the script. Check for it under "In-Depth FAQs." We're not sure what questions are being answered here, but it's certainly in depth. Though after reading through some of it, we're inclined to think that we're maybe talking about the depth of the thesaurus here ....In his courage Link finds the strength to topple Snowpeak, even as the thunderous wind threatens to tear him from the cliff and throw him down the mountain path and the packed snow clutches at his fur and solders his skin like a hot iron ....Take a breath, man. Love of Link is no excuse for asphyxiation.[Via Joystiq]

  • Japanese Hardware Sales: 1 Jan - 7 Jan: Movie script edition

    by 
    Jason Wishnov
    Jason Wishnov
    01.12.2007

    FADE IN:INT. POLICE STATIONDimly lit, with a cold, dripping sound in the background. Only a table and a single chair adorn the room. Smoke wafts from a cigarette found in the mouth of a young black detective, expressionless. Off near the door is another detective, even younger. He is twin-screened. He looks slightly nervous. (CONTINUED)

  • TV and game writing compared

    by 
    Zack Stern
    Zack Stern
    11.16.2006

    Reuters profiles Scott Sanford Tobis, a writer for Desperate Housewives who also penned the game based on the series. He's described as a gamer who was excited to work on the conversion.His interest relates to the similarities and differences between TV and game writing. Tobis says that games have more paths than TV shows; script details often need to be cut for TV, but they can give gamers more places to explore.We agree with most of Tobis's comments, but the article leaves us with questions about the true relation between game and TV writing. Should games make us feel like we're playing a TV show or movie? If developers try to fit games into TV conventions, do they miss the point of gaming?

  • MacBook's iSight unknowingly photographs Apple repair center

    by 
    Darren Murph
    Darren Murph
    11.10.2006

    Here's one that doesn't happen very often ever. As bad as we rumor mongers pry and pry to get inside of ole Steve's brain, sneaking a peek behind closed Cupertino doors is all but impossible (even for Mr. Dell). Nevertheless, a clever Mac user got numerous undercover photographs of the inside workings at an Apple authorized repair center (Flextronics International) in Tennessee. Rather than pulling out any MacGyver-based stunts, he simply wrote a script -- dubbed Walking Study -- that instructed his MacBook to snap a photo (and upload it to his Flickr account) with the built-in iSight each time it awoke from sleep. When his dear 'Book got sent out for repair, however, the fully-functional webcam continued to perform perfectly within the secretive confines, giving everyone a glimpse of an incredibly average looking warehouse. Although the stealthy camera didn't snap any shots of (potentially) forthcoming iPhone or widescreen iPod prototypes, we've got to give credit where it's due -- Toby Mckeys got closer to the Apple's core than we've seen in quite some time.[Via TUAW]

  • iTunes AppleScript to batch edit video metadata

    by 
    David Chartier
    David Chartier
    11.06.2006

    iTunes 7 ushered in some great new video metadata, but editing this information, especially when in batches, can sometimes be a pain. For example: iTunes can differentiate between "movies" and "tv shows," (just check your Sources list on the left) but trying to select 14 episodes of an Aqua Teen Hunger Force season and pressing cmd-i doesn't yield any way to make a broad-sweeping change to "tv show."If you're in the same boat as me (and I sure hope you are, or this is a useless post), a script from the venerable Doug (you know, AppleScripts for iTunes Doug?) called Set Video Kind of Selected can bring some automation to this process. In fact, as you can see, in allows you to edit not only the Video Kind, but the Show Name, Season Number and the starting episode number of the batch you've selected. This is a killer script for those of you who have some major iTunes video library cleanup work to do.As usual, this script is provided free, but Doug solicits donations for all the rocking work he does with his now over 400-strong library of iTunes AppleScript.