Running Applescript apps...
Hello.
I have an Applescript that copies a png from a server and sets it as the current clients desktop picture. When I run it on my test systems it runs fine, when I copy and run it over ARD however, the client asks permission to open the app and then tries to install it instead of running it. Any ideas?
Thanks, but sadly I still get the install error. I think I'll just do everything with Unix instead of using Applescript, it's simpler.
Similar Messages
-
Mail.app - Rule runs AppleScript, App crashes
I have a very simple AppleScript that extracts some information from the content of a message and is eventually supposed to do something with it. However, I have hit a snag:
I can get the data from the content and I can tell Mail to 'display dialog' with that data. That works fine the first time I run the script, but if I put in a loop to go thru multiple messages or if I simply run the script again on the same message I get a blank dialog box, a bit of whirring and Mail crashes.
Any ideas? I suspect this is some corruption somewhere, but I am really not too sure where to start...I decided on the good old 'repair permissions' route after other apps started to behave strangely - crashes all over the place. Not only did that fix the stability, but Mail has started to behave as expected now.
-
Required frameworks for running AppleScript apps
Does anyone know what the required frameworks/files are for AppleScript/AppleScript Studio based apps to run properly? Thing is, I have a minimalist install here based on Mac OS X Leopard 10.5.3, however my AppleScript based applications will not run because of the lack of something. If I could find this out that would be great
psydrake wrote:
> I am an administrator of a WebSphere 6 Network
Deployment installation, and I
> have a customer who would like to run her Coldfusion
application in WebSphere.
>
http://livedocs.macromedia.com/coldfusion/6.1/ibmdocs/install_.htm
> instructs to do the following:
> 1. Install the ColdFusion files.
> 2. Deploy the ColdFusion J2EE application.
> 3. Configure ColdFusion in the Configuration and
Migration Wizard.
> 4. Enable specific functionality required by ColdFusion
applications, such
> as the Verity search engine.
>
> Is this a separate application server that must be
installed and run on the
> WebSphere machine, or is everything (e.g. the Coldfusion
libraries) that is
> needed included in the resulting J2EE .ear file that the
developer hands to me?
All the standard Java bits are included in the EAR file.
However,
ColdFusion comes with additional functionality such as Verity
Indexing
and a JDBC-ODBC bridge that run as separate services (and may
be
Windows-only). If your developer uses those, they need to be
installed
as well and that is not part of a standard EAR file
deployment. Your
developer should be able to tell you more about those.
> Would I as a WebSphere administrator be performing all
of this installation and
> configuration, or are these all steps that the developer
performs in the
> process of packaging her J2EE .ear file?
When we deliver an EAR file we perform most of these tasks
when
packaging the EAR file so all that is left for the WebSphere
admin is
step 2 "Deploy the ColdFusion J2EE application.". You need to
consult
your developer to see how much he does and how much you need
to do for him.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion -
Launchd to run Applescript app. only when an iWorks program is running
How can I make launchd load an applescript application (that autosaves documents) only when an iWorks program (Pages, Numbers) is running?
I am using Launchd Editor or Lingon to right the plist file.There isn't a launchd trigger I'm aware of that will do this.
The best you can do with launchd is a StartInterval which launches your application every n seconds and have the script perform the check to see if one of the target applications is running. -
When I navigate to the Applications/Utiilities folder, and attempt to open the AppleScript editor I get an error popup with:
The document "AppleScript Editor.app" could not be opened.
Has AppleScript gone away, or is my OS Installation broken?
Thanks,
CraigP
Ok, so it's broken. Any idea how to un-break it? For example, is there Installation Media for Mavericks that I can burn and attempt a re-install with?Your installation is broken.
-
Running applescript in background (as a standalone app or iTunes script)
Hiya,
I'm working on making an Apple script that syncs my currently playing track with Twitter, Facebook, and Last.fm. I have the syncing portion worked out, but the method in which the program receives information is not ideal.
I was wondering if there exist a set of commands that allows my program to work in the backhround, monitoring itunes for track-changes. Once a track changes, the syncing process will begin. Once the process ends, the program will once again become a background processes. This also beckons the question: is there a command for my program to launch when iTunes launches. I know Last.FM's official client has an option that allows the program to launch when iTunes launch. I would like to know if that's easy to implement.
Ideally, if anyone can point me to a page/book for tutorials on how to futz around with iTunes commands and background processes, I would be greatful!
Thanks!The background element of your request is fairly straightforward - use an 'idle' handler.
In this case you want your idle handler to periodically check the state of iTunes and perform whatever actions you like once you know it's open.
The other element - having your script open when iTunes opens, is not so easy. iTunes doesn't have the option to run a script or perform any action when it's opened. Therefore there's no easy way to achieve this - at least not via AppleScript. The typical way of doing it is to write a daemon process that sits in the background, but this isn't easy in AppleScript, or write a plug-in (which also isn't possible in AppleScript).
As a result your best option may be to have an AppleScript app that's always running (e.g. launched at login) which sits around checking for iTunes, and kicking in once it detects iTunes has launched.
Something like:
-- variable to keep track of iTunes state last time we checked:
global iTunesWasRunning
on run
set iTunesWasRunning to false
end run
on idle
if application "iTunes" is running then
-- it's running now, was it running before?
if iTunesWasRunning then
-- code here for checking track changes
else
-- it's just been launched, so do whatever you need on app launch
end if
end if
-- remember the current app state for the next iteration
set iTunesWasRunning to (application "iTunes" is running)
-- check again in 10 seconds time
return 10
end idle
Now you have three places you can run code - iTunes is still running, iTunes has just been launched, and itunes isn't running at all. From here you should be able to insert the relevant code for what you're trying to achieve. -
I have an AppleScript saved as a run only app which I call every hour from launchd.
Most of the time it works fine, but occasionally something causes the app not to quit when it's done its thing. This means that next time an error is thrown and the process does not run (so it fails until I force quit the app).
I have tried wrapping the whole script in a try...with timeout...end timeout...on error return...end try structure but that makes no difference.
The core of the script is a run shell script that calls a perl script which in turn gets data from a web site. I have tried nesting a try...on errror...end try around this that simply sets the content of the variable that should be populated from the script in the event that any error occurs.
The final part of the script is opening a [text] file and inserting a few lines at the top. Again I have tried wrapping this in a try...on error return...end try stricture.
None of these efforts seems to have any effect. However, I can't get the script to fail when I run it from the ApplScript Editor.
Would I be better to use osascript to call a script rather than the app, or am I doing something more fundamental wrong?I'm not trying to be coy either, but I don't see that posting the whole script is going to help particularly because the perl script uses WWW::Mechanize to get data from a website where I have to provide user credentials - hence, it will not be possible to run it without those credentials.
The expectation is that I will get approximately ten lines of data back (which I put into a local variable). I then use an offset check to determine whether a particular string is present. If it is present, I then go on to compose a message (using Messages) to send to myself.
Regardless of the content, I open a local text file and insert the web response at the beginning of the file (as an activity log). The file is then closed for access and that's it.
I have only once seen an error when I ran the script from the AS Editor and this seemed to indicate a problem with the site's availability - so when Mechanize couldn't find any identifiable data, it threw an error.
The app is not saved as stay open, but it does. All I can say for certain is that the log file does not get written to, so I suspect that the problem lies with the perl script. It is for that reason that I wrapped it in a try...with timeout structure. (My understanding of the timeout, is that if script execution fails to complete within the timeout an error will be thrown, so this is picked-up by the try...on error. That understanding may be wrong.)
So, after all that, here is the script [with a single hard-coded address obscured for privacy]:
try
set desktopPath to (path to desktop) as alias
set FlightCheckLog to (desktopPath as text) & "FlightCheckLog.txt"
set targetList to {"Sep-7", "Sep-8", "Sep-9", "Sep-10"}
tell application "Messages"
set theBuddy to buddy id "<OBSCURED>"
end tell
set messageSent to false
try
with timeout of 300 seconds
set theFlights to do shell script "~/Documents/perl/FilghtCheck.pl -x -c J -d 2013-09-07 ATH-LHR"
end timeout
on error
set theFlights to ""
end try
repeat with theDate in targetList
set theOffset to (offset of theDate in theFlights)
if theOffset is not 0 then
set theFlight to text (theOffset - 5) thru end of theFlights
set theReturn to (offset of return in theFlight)
set theFlight to text 1 thru (theReturn - 1) of theFlight
tell application "Messages"
send theFlight to theBuddy
set messageSent to true
end tell
end if
end repeat
try
set theFile to open for access FlightCheckLog with write permission
get eof theFile
if result > 0 then
set fileText to read theFile
set eof theFile to 0
else
set fileText to ""
end if
if messageSent then
write ((current date) & return & theFlights & return & "MESSAGE SENT" & return & return & fileText) as text to theFile
else
write ((current date) & return & theFlights & return & return & fileText) as text to theFile
end if
close access theFile
on error
return
end try
on error
return
end try -
Applescript app to batch files using ffmpeg and command
i'm not a technical person and i hoping that i can get a help to create a custom applescript app. i'd like to create an applescript app to run video files from any folder to encode (using ffmpeg) and save the re-encoded version in a new folder inside the current file folder. i found the script that i need to run inside the applescript:
ffmpeg -i ORG-FILENAME -c:v libx264 -crf 27 -c:a libfaac -q:a 100 -map_metadata 0 NEW-FOLDER/ORG-FILENAME && touch -r ORG-FILENAME NEW-FOLDER/ORG-FILENAME
i searched through the forum and found something that might work but my limited knowledge can't get this to work:
on run
tell application "Finder"
set theFolder to (choose folder)
end tell
proceed(theFolder)
end run
on open theFolder
proceed(theFolder as alias)
end open
on proceed(theFolder)
tell application "Finder"
set parentFolder to parent of theFolder as string
if not (exists parentFolder & "A") then
make new folder at parent of theFolder with properties {name:"A"}
end if
end tell
tell application "Terminal"
do script "for f in " & quoted form of POSIX path of theFolder & " do ffmpeg -i \"$f\" -c:v libx264 -crf 27 -c:a libfaac -q:a 100 -map_metadata 0 " & quoted form of (POSIX path of (parentFolder & "A")) & " \"$f\"
done"
end tell
end proceed
when i run this i get:
for f in '/Users/admin/Pictures/0/1/' do ffmpeg -i "$f" -c:v libx264 -crf 27 -c:a libfaac -q:a 100 -map_metadata 0 '/Users/admin/Pictures/0/A' "$f"
done
macbookpro-7:~ admin$ for f in '/Users/admin/Pictures/0/1/' do ffmpeg -i "$f" -c:v libx264 -crf 27 -c:a libfaac -q:a 100 -map_metadata 0 '/Users/admin/Pictures/0/A' "$f"
> done
-bash: syntax error near unexpected token `done'
can anyone help me pleaseYou are missing a ";" after your path argument.
for f in '/Users/admin/Pictures/0/1/'; do -
Error on launching Applescript app
Hey, i created some Applescript app which i scheduled using Schedule manager or Task Till Down and everything was ok.
Since 1 month, after a while i turn on the laptop and that everything is running, i receive the alert message (in attachment). If i execute the apps from inside Applescript they are ok.
After restarting all is working again for a while (sometimes minutes or hours) and then the same problem again.
Do you have an ideal of which can be the problem?Hi,
I'm sorry for give any solid suggestion about this problem, but I found another thread which similar with yours may be helpful, please take it as reference and try the solution of it.
http://social.technet.microsoft.com/Forums/windows/en-US/c4147bcc-a430-43fe-b4e9-f999552568da/81-store-apps-wont-load?forum=w8itprogeneral
Roger Lu
TechNet Community Support -
Accessing multiple Automator variables in a Run Applescript action
I have an Automator app set up with 4 variables feeding into a Run Shell Script with the following code. And it runs perfectly.
/Applications/Adobe\ After\ Effects\ CC/aerender -sound ON -project $1 -comp "$2" -output $3/$4
However, I need to be able to see the progress of the Script while it processes in the Terminal window. So, I'm setting up a Run AppleScript to tell Terminal to run the script, but I'm getting two problems.
code:
on run {input, parameters}
set aVar to item 1 of input
set bVar to item 2 of input
set cVar to item 3 of input
set dVar to item 4 of input
tell application "Terminal"
activate
do script "/Applications/Adobe\ After\ Effects\ CC/aerender -sound ON -project aVar -comp \"bVar\" -output cVar/dVar"
end tell
end run
Problem 1--Either my syntax or method of setting the 4 variables to access the array of 4 input variables is wrong. And I don't know enough about AppleScript to figure it out.
Problem 2-- AppleScript really doesn't like the spaces in "Adobe\ After\ Effects\ CC" even though the Terminal has no problem with it. But it errors out before it even gets to Terminal.
Any help that anyone can give will be greatly appreciated.The backslash is also used as the escape character in an AppleScript string, so to actually get the character you need to escape it (you can also use the term quoted form of to let AppleScript figure out how to quote the string). To use the variables, you need to use the concatentation operator to mix the variables and text pieces - by putting a variable inside the string the identifier just becomes text.
Your string should look something like:
"/Applications/Adobe\\ After\\ Effects\\ CC/aerender -sound ON -project " & aVar & " -comp " & bVar & " -output " & cVar & "/" & dVar
or perhaps
quoted form of "/Applications/Adobe After Effects CC/aerender" & " -sound ON -project " & aVar & " -comp " & bVar & " -output " & quoted form of (cVar & "/" & dVar) -
Unexpected Quits when running AppleScript
Greetings,
As of late, I've been experiencing the Unexpected Quit error every time I run any AppleScript app or even after closing the AppleScript Editor. I have a backup script that runs every night to another hard drive. A very basic script that simply does various rsyncs. In the morning, I notice that there is always an "Unexpected Quit" message on the screen.
Further investigation reveals that that script, and any other that I test, actually does run but seems to crash when closing the script. Same thing when I'm in the editor. I can run the script from within the editor just fine, then when I close the editor, I get the same error.
This all seemed to happen shortly after I installed the latest mouse drivers for my Logitech mouse.
If anyone has any suggests, it would be greatly appreciated.
Below are more details on the error:
Subject: unexpected quit
Headers: Show All Headers
Date/Time: 2008-10-21 22:57:02 -0500
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: Backup App.app
Path: /Library/Scripts/Backup Scripts/Backup App.app
Version: ??? (???)
PID: 766
Thread: 0
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001
Code[1]: 0x9083be80
Thread 0 Crashed:
0 libobjc.A.dylib 0x9083be80 objctrap + 0
1 libobjc.A.dylib 0x9083be14 objcfatal + 0x48
2 libobjc.A.dylib 0x90837c44 objcfatalHeader + 0x44
3 dyld 0x8fe18364 callfuncs_for_removeimage + 0x8c
4 dyld 0x8fe132c4 dyld_unlinkmodule + 0xcc
5 libSystem.B.dylib 0x9003dacc NSUnLinkModule + 0x68
6 com.apple.CoreFoundation 0x90236290 _CFBundleDYLDUnloadBundle + 0x3c
7 com.apple.CoreFoundation 0x9021da00 CFBundleUnloadExecutable + 0xe8
8 com.apple.CoreFoundation 0x9021254c __CFBundleDeallocate + 0x2c
9 com.apple.CoreFoundation 0x901c1848 CFRelease + 0x1e8
10 com.apple.openscripting 0x916e67b0 ZN10shlbentry6UnloadEv + 0x60
11 com.apple.openscripting 0x916e2ef8 _Z18UnloadAllAdditionsv + 0xb4
12 libSystem.B.dylib 0x9002cdb8 exit + 0x58
13 Backup App.app 0x00002a3c 0x1000 + 0x1a3c
14 Backup App.app 0x000028a8 0x1000 + 0x18a8
PPC Thread State:
srr0: 0x9083be80 srr1: 0x0002f030 vrsave: 0x00000000
cr: 0x44002454 xer: 0x20000000 lr: 0x9083be14 ctr: 0x90010a60
r0: 0x9083be10 r1: 0xbfffe9a0 r2: 0xa000057c r3: 0x00000074
r4: 0x00000000 r5: 0x00000074 r6: 0x00000000 r7: 0x00000000
r8: 0x00000000 r9: 0xa0008872 r10: 0x00000006 r11: 0xa00048f0
r12: 0x90010a60 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
r24: 0x00000000 r25: 0x00000000 r26: 0x00000000 r27: 0x007d1000
r28: 0x007d1000 r29: 0x007d1000 r30: 0xa083f448 r31: 0x9083bddc
Binary Images Description:
0x1000 - 0x2fff Backup App.app /Library/Scripts/Backup Scripts/Backup App.app
0x14000 - 0x14fff com.apple.applescript.component
1.9.3 /System/Library/Components/AppleScript.component/Contents/MacOS/AppleScript
0xbb000 - 0xbefff libMPAEncode0.1.dylib /Library/Application
Support/DivXNetworks/libMPAEncode0.1.dylib
0xfd000 - 0xfdfff com.apple.osax.digihub
1.0 /System/Library/ScriptingAdditions/Digital Hub Scripting.osax/Contents/MacOS/Digital
Hub Scripting
0x25c000 - 0x28dfff liblame3.92.dylib /Library/Application
Support/DivXNetworks/liblame3.92.dylib
0x2ca000 - 0x2dcfff libdpv10.dylib /Library/Application
Support/DivXNetworks/libdpv10.dylib
0x511000 - 0x5dbfff com.divxnetworks.DivXCodec 5.2.1 /Library/QuickTime/DivX
5.component/Contents/MacOS/DivX 5
0x6b4000 - 0x714fff libdpus10.dylib /Library/Application
Support/DivXNetworks/libdpus10.dylib
0x7d1000 - 0x7d9fff com.Logitech.Control Center.Scroll Enhancer OSAX Loader
2.6.0 /Library/ScriptingAdditions/LCC Scroll Enhancer Loader.osax/Contents/MacOS/LCC
Scroll Enhancer Loader
0x55d1000 - 0x5603fff com.apple.osax.standardadditions 1.9.4
(???) /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/Standa rdAdditions
0x80830000 - 0x8090efff libxml2.2.dylib /usr/lib/libxml2.2.dylib
0x81eb0000 - 0x81eb3fff libmx.A.dylib /usr/lib/libmx.A.dylib
0x835f0000 - 0x835f8fff libbsm.dylib /usr/lib/libbsm.dylib
0x845c0000 - 0x845c9fff libz.1.1.3.dylib /usr/lib/libz.1.1.3.dylib
0x845e0000 - 0x8460dfff libssl.0.9.dylib /usr/lib/libssl.0.9.dylib
0x84b81000 - 0x84b9dfff com.apple.AppleShareClient 1.3.2
(1.3.3) /System/Library/Frameworks/AppleShareClient.framework/Versions/A/AppleShareClie nt
0x85fee000 - 0x86072fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
0x867f9000 - 0x8689afff com.apple.QuickTimeImporters.component 7.5
(861) /System/Library/QuickTime/QuickTimeImporters.component/Contents/MacOS/QuickTime Importers
0x87b90000 - 0x87bcbfff com.apple.AppleShareClientCore
1.3.3 /System/Library/Frameworks/AppleShareClientCore.framework/Versions/A/AppleShare ClientCore
0x88080000 - 0x881b6fff com.apple.vImage
1.2.0 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
0x8bde2000 - 0x8bdf2fff com.apple.Accelerate.vecLib 3.0.3 (vecLib
3.0.3) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
0x8c2cd000 - 0x8c2d5fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
0x8c81d000 - 0x8c81dfff com.apple.Accelerate 1.0.3 (Accelerate
1.0.3) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x8ed84000 - 0x8ee29fff com.apple.applescript
1.9.3 /System/Library/PrivateFrameworks/AppleScript.framework/Versions/A/AppleScript
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x9014ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x901c0000 - 0x9026efff com.apple.CoreFoundation 6.3.10
(299.39) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x902b0000 - 0x90529fff com.apple.CoreServices.CarbonCore 10.3.9
(558) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
0x90584000 - 0x905f3fff com.apple.framework.IOKit 1.3.6
(???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices
3.0.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3
(???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90702000 - 0x90775fff com.apple.NavigationServices
3.3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
0x907c7000 - 0x907e1fff libPDFRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib
0x907f0000 - 0x907f9fff com.apple.DiskArbitration
2.0.5 /System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArbi tration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0
(???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
0x90830000 - 0x9089ffff libobjc.A.dylib /usr/lib/libobjc.A.dylib
0x908c5000 - 0x908d5fff com.apple.vecLib 3.0.3 (vecLib
3.0.3) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x9090f000 - 0x90922fff com.apple.speech.synthesis.framework
3.2 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x90940000 - 0x909b3fff com.apple.DesktopServices
1.2.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
0x909f0000 - 0x90a04fff libCGATS.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x90a20000 - 0x90b7bfff com.apple.Foundation 6.3.11
(500.65) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90c32000 - 0x90c3cfff com.apple.framework.AppleTalk 1.2.0
(???) /System/Library/Frameworks/AppleTalk.framework/Versions/A/AppleTalk
0x90c60000 - 0x90cc2fff libGLU.dylib
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x90d20000 - 0x90d3bfff com.apple.SystemConfiguration 1.7.1
(???) /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
0x90d60000 - 0x90d6bfff com.apple.opengl
1.3.8 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x90d72000 - 0x90d89fff com.apple.LangAnalysis
1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
0x90d95000 - 0x90da1fff com.apple.help
1.0.1 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
0x90dab000 - 0x90db8fff com.apple.CommonPanels 1.2.1
(1.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
0x90e92000 - 0x90eacfff libresolv.9.dylib /usr/lib/libresolv.9.dylib
0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3
(???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x910e0000 - 0x910e3fff com.apple.URLMount
2.1.4 /System/Library/PrivateFrameworks/URLMount.framework/Versions/A/URLMount
0x913a0000 - 0x9145ffff ColorSync
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
0x9155d000 - 0x91571fff libcups.2.dylib /usr/lib/libcups.2.dylib
0x915cb000 - 0x915d4fff libz.1.dylib /usr/lib/libz.1.dylib
0x915e0000 - 0x91699fff com.apple.QD 3.4.74
(???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
0x916d9000 - 0x916f3fff com.apple.openscripting 1.2.1
(???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
0x91720000 - 0x917b3fff com.apple.print.framework.PrintCore
3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
0x917f6000 - 0x91806fff com.apple.ImageCapture
2.1.5 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
0x91b20000 - 0x91b2bfff libCSync.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91b50000 - 0x91b5ffff libPSRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x91bc0000 - 0x91bd3fff libRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x91e0c000 - 0x91e26fff libGL.dylib
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x91f5a000 - 0x91f6afff com.apple.speech.recognition.framework
3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
0x920c9000 - 0x920c9fff com.apple.Carbon 10.3
(???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x920f0000 - 0x92116fff com.apple.FindByContent 1.4
(1.2) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
0x92170000 - 0x92358fff com.apple.security 2.5
(29780) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x926bd000 - 0x92711fff com.apple.bom 1.2.8
(64.2) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x92722000 - 0x92770fff com.apple.print.framework.Print
3.3 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
0x927f0000 - 0x92827fff com.apple.CFNetwork 1.2.6
(71.13) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
0x92867000 - 0x92872fff com.apple.securityhi 1.2
(90) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
0x92880000 - 0x92c05fff com.apple.HIToolbox 1.3.7
(???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
0x92d7c000 - 0x92db4fff com.apple.LaunchServices 10.3.5
(98.4) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
0x93680000 - 0x93958fff com.apple.CoreGraphics 1.203.33
(???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
0x939d1000 - 0x93a21fff com.apple.HIServices 1.4.1
(0.0.1d1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
0x93a50000 - 0x93a54fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
0x943d0000 - 0x94508fff edu.mit.Kerberos 5.0.27
(5.0.1) /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x94580000 - 0x94a7ffff com.apple.AppKit 6.3.11
(743.43) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x94ea0000 - 0x954a6fff libBLAS.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
0x95500000 - 0x957d0fff libLAPACK.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
0x957ea000 - 0x9588dfff libcrypto.0.9.dylib /usr/lib/libcrypto.0.9.dylib
0x958e0000 - 0x95900fff libvMisc.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
0x95b50000 - 0x95c32fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
0x95c84000 - 0x95d10fff com.apple.ink.framework 101.1.4
(55.12) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
0x95e40000 - 0x95eadfff libvDSP.dylib
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
0x95ec2000 - 0x95efafff com.apple.AE
1.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
0x95f30000 - 0x9601efff libiconv.2.dylib /usr/lib/libiconv.2.dylib
0x960f2000 - 0x9615bfff com.apple.htmlrendering
1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
0x96980000 - 0x96a47fff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
0x96aa0000 - 0x96acefff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
0x96b50000 - 0x96bdffff ATS
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
0x96c8e000 - 0x96cedfff com.apple.SearchKit
1.0.2 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
0x96d2b000 - 0x96d43fff com.apple.WebServices 1.1.1
(1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
0x98779000 - 0x98aa5fff com.apple.QuickTime 7.5.0
(861) /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x99000000 - 0x990b8fff com.apple.audio.toolbox.AudioToolbox
1.3.4 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x99106000 - 0x99106fff com.apple.audio.units.AudioUnit
1.3.3 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x99108000 - 0x99125fff com.apple.audio.SoundManager
3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
0x99137000 - 0x9919efff com.apple.audio.CoreAudio
2.1.3 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x991de000 - 0x991f4fff com.apple.QuartzCore
1.3 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0xefbef000 - 0xefcd1fff libPSIKey.dylib /Library/Application
Support/DivXNetworks/libPSIKey.dylibHi there and thanks for your quick reply ..previewing .. I mean listening to tracks I have selected on my arrange page and then muting some I dislike and previewing or selecting another track to listen .(solo) .. whenever I do this .. I get an error states.. your memory is getting short ..and boom right then and there the program quits... Also is there a way I can instruct Logic to make copies for every single wav I am audiotioning within (or inside) the folder in wihch I am currently working.. It seems to always dump the recorded sessions from vocals or mic or even outboard gear into .. MacHD/Music/Logic.. how do I change this .? although my biggest concern of course are the crashes.. thanks very much in advance for your help..
pedro -
Automatically run an app every hour?
I need to automatically run an app every hour.
I have a Time Capsule that I am getting rid of because the new UVerse fiber optic internet box does the same router functions but not the back up functions. So I want to make my external drive work like a Time Capsule. That is to mount when needed and unmount when not needed. To that end I have written an application using Applescript/Automator that does exactly that. Mounts the drive, runs the backup and unmounts the drive afterward. Now I am having a hard time finding a way to schedule it to run every hour. Most scheduler apps will only run once a day and Cronnix no longer seems to work or I can't make it work.
Any thoughts?You really should use launchd. Lingon is a good tool, give it another look.
I created the following plist with Lingon.
Copy it in TextEdit, save as a plain text file (⇧⌘T) and copy it to Library/LaunchAgents (Lingon does all this for you):
You need to change the path and name of myApp:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
font-weight: normal;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #E6E6EE;
overflow: auto;"
title="this text can be pasted into a text editor">
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.Damien.myTimeMachine</string>
<key>ProgramArguments</key>
<array>
<string>/Applications/myApp.app</string>
</array>
<key>StartInterval</key>
<integer>3600</integer>
</dict>
</plist>
</pre> -
Packagemaker: need to run applescript from postflight script
Does anybody makes packages using Packagemaker? I need to run applescript from postflight shell script. Generally, when we need to run applescript or any application from shell script we write:
#!/bin/sh
open /Path/to/applscrpt.app
But what to do if all scripts (shell, app's) placed in MyPackage.pkg/Contents/Resources? What path I need to specify? This way:
#!/bin/sh
open ./Contents/Resources/applscrpt.app
doesn't work...The $1 argument that gets passed to your postflight script by the Installer should contain the full path to the package that's currently being installed. So something like this should work...
#!/bin/sh
open "$1/Contents/Resources/applscrpt.app"
Here is some additional info about args and environment variables available to your scripts.
Steve -
Key binding to quit an applescript app as an alternative to 'Force Quit'
Hello,
I have an AppleScript App which is running for a hour. It is basically a GUI scripting.
If I want to quit the app in between, I am unable to use 'Force Quit' as the mouse/key board is extensively used by the app.
I wish to know some alternatives for this issue.
note:
Is there anyway I can bind some key combination and once it is pressed, the app should quit?+Any suggestions to handle this issue?+
You can quit a script that is saved as an 'application bundle' with another script.
Open the 'application bundle' and drag the 'applet' file between the quotes...
tell application "" to quit
and you will get this, but with a different path.
tell application "/Users/tom/Login Items/ReniceR.app/Contents/MacOS/applet" to quit -
AppleScript App Quit Timer in Yosemite
Hey all. I think this is a simple question... but I don't really know. I fall asleep with EyeTV running and wanted a sleep timer for it... years ago I found a little script online-- I think it's AppleScript... --to quit an app after a specified amount of time. The script is:
display dialog "Timer duration (in minutes):" default answer "180"
delay ((the text returned of the result) * 60)
tell application "EyeTV" to quit -- Set AppName to the name of the application you want to quit.
That's it. A box would pop up asking me to enter the number of minutes 'til quit (180 as the default), and after that amount of time EyeTV would quit. The problem is, in Yosemite, no matter how much time I enter in the duration box, EyeTV quits the instant I hit return. I imagine there was a minor change to AppleScript in Yosemite, and I'm hoping someone smarter than me might be able to spot what's changed.
Thanks for any help.Better all around to avoid the delay command and use an applescript app with an idle loop. save the following as a application from the AppleScript Editor, making sure to click the stay open after run handler checkbox, then run the application.
global timer, flag
on run
display dialog "Timer duration (in minutes):" default answer "180"
set timer to ((the text returned of the result) * 60)
set flag to false
end run
on idle
if flag then
tell application "EyeTV" to quit -- Set AppName to the name of the application you want to quit.
quit -- send this command so this app will quit on the next idle loop
return 1
else
set flag to true
return timer
end if
end idle
Maybe you are looking for
-
Error while running code template mapping between two oracle tables
Hello All Iam getting the following error while running code template mapping between two oracle tables. Using OWB 11gR2 and oracle 11gR2 DB. java.sql.SQLException: ORA-20001: The active workspace is not valid as a target for this mapping c: at "OWBS
-
Downloaded itunes 2.0.2; now iphone is NOT working
i downloaded the new version of itunes. i received an error message saying that the iphone can't be used with itunes because the info required for activation cannot be obtained from the iphone. screen says check that the sim card is inserted and that
-
The order status server is down all the time!!!
Hi, I've been trying to check my order status in last couple of days and the server is always down? Any update on that???
-
Encountered error while Upgrade Table
When weuse the upgrade table option in OWB deployment manager , we are encountering follwoing errors. Following is deplyment errors recorded from Runtime Audit Browser. 1 Informational Upgrade log file Start of main script Executing script in directi
-
Can I update ios 5 from 4th generation ipod touch?
I want to buy the 4th generation ipod touch, but I also want the ios 5 installed into the ipod touch. However, I don't want to wait for the ios 5 release date in the fall to buy the ipod. Can I just download the ios 5 to the ipod directly? Or do I ha