applescript

  1. C

    AppleScript to Change OS X Screen Resolution?

    Does anyone have an AppleScript that changes the screen resolution in OS X to 640x480/117Hz?
  2. C

    An AppleScript to rotate Finder windows

    this is really cool ( with ONE exception) check the link.. applescript baby!! { tell application "Finder" to select last Finder window } http://www.macosxhints.com/article.php?story=20020501084010187 in the article, he says to set up Youpi Key to send the AppleScript when I...
  3. T

    why does this applescript work from PB but not osascript

    These 2 applescript don't work from the terminal using osascript. osascript -e 'tell application "Internet Explorer" to OpenURL "http://www.deadly.org"' or osascript -e 'tell application "Internet Explorer"' -e 'OpenURL "deadly.org"' -e 'end tell' I get the same error for both of these...
  4. dricci

    Authenticate the user in AppleScript Studio?

    Hi, Just wondering if there was a way to authenticate a user in AppleScript Studio? I want to have the user execute a shell script that requires sudo/root access and I am wondering if there's a way to make one of those little lock buttons which will let the user execute the script. I'm...
  5. A

    Need Simple AppleScript Help

    OK, I've been starting to try and learn some AppleScript, but something that should be really simple I can't seem to find. How do you write a script to type text? If it makes any difference, I want to type something in the Terminal, but I don't want to just do a command in the terminal and...
  6. M

    AppleScript front end to a shell script?

    hello, i have this shell script that is working very well, and i would like to make it double clickable. i would like to use an AppleScript GUI for it. the script is commented to hell, this is b/c the admins that will use it are not very unix savvy. right now i have it in the unix path...
  7. jove

    AppleScript, iTunes, Mp3 Tags, idea and problem

    Hello, I am working on am Apple Script to clean up the MP3 tags using iTunes. Unfortunately, the "path" from the "location" alias object sometimes gives the "#123456" notation. And its not consistent!This is almost as bad as WALKTH~1.MP3. Does anybody know how to extract a clean name from an...
  8. jove

    Applescript Newbie

    Hello, I am new to Applescript. How does one do searching and substring extraction? I need to extract substrings based on finding the nth occurence of certain tokens Thank You,
  9. simX

    HELP! I _DESPERATELY_ need AppleScript Studio help!

    Please guys, anything will help. ANY suggestions. Anything that might help me solve my problem. I posted this in the Programming thread, but I didn't get any help, so I'm hoping the higher traffic here will help. I'm making a program with AppleScript Studio, and in my interface (built...
  10. simX

    More AppleScript Studio help

    Of course you all know I'm still working on version 2.0 of Memory Usage Getter (I think I'm going to release beta 2 as a public beta). I'm implementing some tab views so as to separate the user processes from the system processes. Does anybody know how to refer to a progress bar or any...
  11. simX

    Simple AppleScript help with lists

    I've stumbled across another thing that I can't figure out how to do: I'm making an AppleScript, and I want to keep adding to a list. So for example, if I had a repeat loop with i from 1 to 10, how would I: 1. First, set the variable "var" to an empty list. 2. Add each item, via one...
  12. C

    Applescript: Batch add file extension

    Okay, I've got an app that requires the mp3s to have a .mp3 extension for it to read them. However a large number of the mp3 files in my music directory do not have the .mp3 extension. Some do and some do not, they're all mixed together. How can I get the finder to open a folder and do the...
  13. martinatkinson

    AppleScript Studio Help???...

    Hello! I am working on an AppleScript studio application and have a few questions: 1.) I have a file called Strings.strings with the following contents: help = "Here is a list of available commands and what they do:\n\n1.) ://bugs Opens the bug reporting panel (you may also enter...
  14. S

    Path encoding to use with AppleScript

    Hi everybody, I have written a small Cocoa app that needs to communicate with AppleScript through an NSTask. (Or, to be more specific, an NSTask with "/usr/bin/osascript" as launchPath) If the filename is 7-bit-ASCII-"clean", everything works fine. But as soon as I'm dealing with filenames...
  15. M

    using applescript when idling

    i was wondering if it was possible to active an applescript when i'm ilding on the computer.
  16. ddma

    Great! For those who don't like "FinderTweaker" AppleScript!

    http://www.theinteractivething.com/index/lng/en/menu/products/p/processWizard/part/features/ It can control the whole system! :)
  17. simX

    AppleScript semi-easter-egg and question

    OK. This first thing is kind of funny. Open the Script Editor in OS X -- doesn't matter what version of OS X or of the Script Editor. Now make a new script window if one hasn't already been created. Then press the "Record" button, and then try and quit Script Editor. This is the only case...
  18. Nummi

    Applescript... ?

    I do not want my sister to be an admin on my G4. She is always messing with my prefs and changing my password. but, if she is not an admin... she cannot boot into OS 9. Is it possible to write an applescript that will restart the computer into OS 9? (without being an admin)
  19. rharder

    AppleScript to find iTunes songs with no Playlist

    I wrote an AppleScript that makes a "Homeless" playlist with all songs in iTunes that aren't already part of another playlist. I've attached a SIT-ed and then ZIP-ed copy of the script. Stuffit Expander should be able to make short work of it. Cheers! -Rob
  20. N

    Applescript?!

    I've been wanting to learn Applescript for some time now. It doesn't look too hard to learn. Are there any good online tutorials and books I should use? Thanks for the info.
Back
Top