Jump to content

simple applescript


  • Please log in to reply
6 replies to this topic

#1
ifrit05

ifrit05

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 509 posts
  • Gender:Male
  • Location:Wyandotte, MI
I was learning how to use applescript for a couple of days.

So heres the thing, isn't it frustrating to change your macs volume to max at startup every time? Well, with this placed in your startupitems folder it should make it automated.

Just place this in /System/Libary/StartupItems.

Attached File  StartUpVol10.app   13.46KB   14 downloads DL the above

Tell me if you run into problems. :wacko:

EDIT: Forgot to compile. :unsure:

Attached Files



#2
~pcwiz

~pcwiz

    InsanelyMac V.I.P.

  • Retired
  • 5,900 posts
  • Gender:Male
What exactly does this script do? I only see one line of code, "set volume 10".

#3
alloutmacstoday

alloutmacstoday

    InsanelyMac Deity

  • Donators
  • 1,817 posts
  • Gender:Male
  • Location:Abbey Road
sets the system volume to 10...

#4
ifrit05

ifrit05

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 509 posts
  • Gender:Male
  • Location:Wyandotte, MI
Ok, it seems its not working for me anymore...

Looks like im not that good yet. lol.

#5
~pcwiz

~pcwiz

    InsanelyMac V.I.P.

  • Retired
  • 5,900 posts
  • Gender:Male
Sorry, I had a brain freeze and thought that you were talking about a partition volume, not the audio volume lol ;)

#6
attania09

attania09

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Location:United States
  • Interests:Coffee and conversation
Ive got the same kind of thing running at my office. We have 4 different volumes that all need to be mounted on startup... Its a fairly simple Applescript... I have all my users have it as a start up item and also keep it in their dock in case of disconnects.

tell application "Finder"
mount volume "afp://username:passwordIPaddress/volumename"
end tell

just open script editor, copy and paste this into it, and fill in your specific info
Then compile it and save as an application.

#7
MacMeFive

MacMeFive

    InsanelyMac Protégé

  • Members
  • Pip
  • 24 posts
thank you i don't have mac yet but i'll take it as a model for my further scripts. :)





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy