applescript

  1. J

    iChat applescript

    I'm trying to create a script that could instant message someone in iChat. So far I have: tell application "iChat" to activate tell application "System Events" tell process "iChat" tell menu item 2 of menu 3 of menu bar 1 to click keystroke "xxx" delay 1 (WHAT DO I DO HERE?) keystroke...
  2. bigbadbill

    AppleScript for AirTunes?

    Anyone know of a way to write an applescript that will switch iTunes' sound to AirTunes remote speakers? Thanks in advance
  3. B

    Using Applescript to connect to a Windows Server

    tell application "Finder" mount volume "smb://USER@MYSERVER" end tell That is what i'm currently using, how ever the problem that exists is that when that script is run, the SMB/CIFS Filesystem Authentication window appears. My question is, what would i add to my script to "press" ok...
  4. Pengu

    Applescript to control iTunes

    Hiyas, I'm trying to build an AppleScript app to control iTunes. I've run into a problem with rewinding. It's simple enough on it's own, until you try to make ONE button do two things.. on clicked prev_button tell application "iTunes" rewind end tell end clicked that will obviously...
  5. T

    applescript system events broken?

    weird, weird, weird. my applescript which uses system events stopped working. i tried a newer, simpler one, only to discover that keystroking with system events now is completely on drugs -- it turns every character into an "a" except for numbers. so: display dialog "hello" -- works...
  6. M

    Disk image control via AppleScript

    This should be a simple one for you guys: I want to make an apple script that mounts a disk image, and then opens an application. However when I try to tell finder to open file, I get an error saying can't get file. I finally got it to work using the do shell script open command, but this seems...
  7. mr. k

    Applescript Help

    I made an applescript today to launch a few of my favorite applications: set the app_list to {"iTunes", "Mail", "Safari", "Terminal"} set the app_count to the count of the app_list repeat with i from 1 to the app_count set this_app to item i of the app_list tell application this_app...
  8. B

    Folder Action AppleScript Question

    I've figured out the basic events for Folder Action scripts. I wrote a script that prints out a list of the files that are moved to a folder. It works fine. However, what I've been trying to figure out for the last week is how to get the original paths of the files before they were put into...
  9. B

    Applescript

    I'm kind of new to applescript, but if someone could tell me why this won't run I'd be grateful. It's supposed to remove all printers and install new ones: ------------------------------------------------------------ -- Definition...
  10. F

    Example of how to upload a file using AppleScript & UNIX Shell?

    Is using "do shell script" and cURL really a better way to upload a file than URL Access Scripting? If so, can somebody give me a simple example of how to upload a small text file with this method?
  11. F

    Keeping Transmit in the background with an Applescript

    I am using a script to upload some files to a remote server with Transmit. WHenever it uploads the files the Transmit windows pop up on the screen and distract me from what I'm doing. Is there anyway to make it so it will run the commands but keep Transmit in the background where the windows...
  12. D

    newbie applescript question

    hey y'all! I started to learn a bit of applescript but it's a bit weird. I want to have a GUI frontend to a perl script that I created. I built the GUI with Interface Builder. It has an NSSearchField called search and an NSTextView called resultArea. I want a search item to be put into the...
  13. F

    Applescript that detects if iMac has access to the Internet?

    I have an applescript I'm using that uploads a file to my site. I'd like to make it so it will only try to upload the file if the computer is online because it currently opens TONS of Script Editor windows if it can't get online. If someone knows how to do the following in Applescript, I'd...
  14. D

    FileMaker 7 AppleScript Reference updated

    .com Solutions Inc. has updated its FileMaker 7 AppleScript Reference with a new FileMaker 7 version of the file (16K download file), in addition to the PDF version. The guide provides a side by side quick reference for commonly used FileMaker 6 and FileMaker 7 AppleScript code examples. Each...
  15. T

    applescript to close and trash topmost document

    hi, i was wondering if anybody has seen an applescript that can close the topmost file and move it to trash? i often find myself downloading a file (.pdf, .doc or .mp3), looking at it and deciding i don't need to keep it. it's a pain in the neck to have to close it manually, find it in...
  16. T

    Applescript & xml

    is there anyway that I can get Applescript and xml to play nicely? What I want is like if <name>playpause</name> (or whatever the name command is for a object, I'm tired) then Applescript tells "itunes" using termes from application "iTunes" tell application "iTunes" play...
  17. U

    Problem with compiled applescript

    Hi, i have compiled one applescript as application. If i start my compiled applescript, i have to click before on the "Run" button to start my script or click Quit to cancel the start. What i can do that my script will start directly ? Without to click before on the "Run" button ? thx
  18. T

    Applescript: Question

    've been working on a project that is themable, and I've almost goten the hang of AppleScript as far as what I want the App's functions to be, but as far as the UI goes, I've hit a wall. The UI needs to be able to accept themes (which do not have a fixed widget placement). Some other things I...
  19. D

    FileMaker 7 AppleScript Reference Guide

    Readers of this forum may be interested in a FileMaker 7 AppleScript Reference I have created. This guide is a downloadable pdf file - available from: FileMaker 7 AppleScript Reference Guide This AppleScript scripting language guide provides a side by side quick reference for commonly used...
  20. boi

    unmute via applescript

    before 10.3.3, i could "set volume 6" and it would set the volume to that, even if the sound is muted. in 10.3.3, however, i can no longer do this. is there an "unmute" command of some sort in applescript now? thanks.
Back
Top