Weird Errors on running applescript

Hello everyone,
I am new to applescript and with a decent amount of googling about, I managed to write a script that would write out the state of skype to a file. This is how it goes:
tell application "System Events" to set theCount to the count of (processes whose name is "Skype")
<pre>
if theCount > 0 then
tell application "Skype"
set calls to send command "SEARCH ACTIVECALLS" script name "MyScript"
set callID to last word of calls
set status to send command "GET CALL " & callID & " STATUS" script name "MyScript"
if last word of status is "INPROGRESS" then
try
set theFile to "/Users/shriphani/scripts/skype_Status"
open for access theFile with write permission
set eof of theFile to 0
write "PROGRESS" to theFile starting at eof
close access theFile
end try
else
try
set theFile to "/Users/shriphani/scripts/skype_Status"
open for access theFile with write permission
set eof of theFile to 0
write "INACTIVE" to theFile starting at eof
close access theFile
end try
end if
end tell
end if
</pre>
I could run this without errors till today and after a restart, whenever I run this, I keep getting errors that go as:
<pre>
[000:025] MagicCam 0: Current process: osascript, Flash is loaded: no
[000:026] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an allowed process!
[000:002] MagicCam 0: Current process: osascript, Flash is loaded: no
[000:002] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an allowed process!
[000:000] MagicCam 1: Current process: osascript, Flash is loaded: no
[000:000] Error(magiccammac.cc:276): MagicCam 1: MagicCamOpen: Not an allowed process!
[000:001] MagicCam 1: Current process: osascript, Flash is loaded: no
[000:001] Error(magiccammac.cc:276): MagicCam 1: MagicCamOpen: Not an allowed process!
</pre>
I did search a few forums for this problems but I could only find one post on a forum which had no replies yet. What is going on here?
Thanks,
Shriphani Palakodety

I get these errors even when using the (seemingly unrelated) say command in terminal:
[~]$ say test (10-09 00:46)
[000:028] MagicCam 0: Current process: say, Flash is loaded: no
[000:028] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an allowed process!
[000:002] MagicCam 0: Current process: say, Flash is loaded: no
[000:002] Error(magiccammac.cc:276): MagicCam 0: MagicCamOpen: Not an allowed process!
[000:001] MagicCam 1: Current process: say, Flash is loaded: no
[000:001] Error(magiccammac.cc:276): MagicCam 1: MagicCamOpen: Not an allowed process!
[000:002] MagicCam 1: Current process: say, Flash is loaded: no
[000:002] Error(magiccammac.cc:276): MagicCam 1: MagicCamOpen: Not an allowed process!
previously it was a magiccamopen.cc:276 error, but i uninstalled an older version of the google video and voice plugin and that went away entirely. I installed the latest version and its back with its new name above "magiccammac".
This is clearly an error in the plugin.

Similar Messages

  • The action "Run AppleScript" encountered an error.

    Hey,
    I'm using EOS utility to tether my camera to my computer and take photos.  I'm then using the "linked software" option in eos utility preferences to send it my Automator action.  Eos utility is pretending that my automator script is an application.
    The goal is that automator sends it to photoshop to run a specific action on it and then save it to a folder where I display the photos on a monitor. 
    However everytime I take a photo I get this error message:
    "The action “Run AppleScript” encountered an error.  Check the actionʼs properties and try running the workflow again."
    Once I click "ok" then the script will continue running and everything works fine. 
    This is my run applescript that I'm using in Automator:
    "on run {input, parameters}
              set input to input as text
              tell application "Adobe Photoshop CS5"
      open file input
                        do action "GDaction" from "GDset"
              end tell
    end run"
    I assume there is an issue in the run applescript.  Can anyone help me revise it to avoid getting this error message everytime?

    Sorry, I guess I wasn't clear. I don't think you need to cast the file reference to a text string.
    Try this:
    on run {input, parameters}
              tell application "Adobe Photoshop CS5"
                     open file input
                     do action "GDaction" from "GDset"
              end tell
    end run
    or
    on run {input, parameters}
              tell application "Adobe Photoshop CS5"
                     open alias input
                     do action "GDaction" from "GDset"
              end tell
    end run
    I'm not sure what is being passed and what photoshop is expecting.

  • I am trying to sync to Outlook 2010.  I get a weird error message when I am trying to setup on my pc.  Its not english.  It says "der automatische refresh konnte nicht gestartet werden"  Help!

    I am trying to sync to Outlook 2010.  I get a weird error message when I am trying to setup on my pc.  Its not english.  It says "der automatische refresh konnte nicht gestartet werden"  Help!

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Weird Error!!cant figure it out

    Good day ppl! i posted in the Vga section of this forum but noone seems to reply with a clear cut answer..someone said memtest and it reported no errors??pls read my post and give me a diagnosis!! ure help is very much appreciated!
    i have a slight problem which i cant seem to find a solution to...
    whenever i run games like Counterstrike 1.6 and Warcraft FT, a few mins in the game, i get a weird error which closes the application...the error is as follows:
    Microsoft Visual C++ Runtime Library
    Runtime Error !
    Program D:\Valve\hl.exe
    abnormal program termination
    once this error shows, i have to click the OK button as nothin else can be clicked.on clicking another error appears....
    CiceroUIWndFrame: hl.exe -Application Error
    The instruction at "0x10232929" referenced memory at "0x10528688".The memory could not be read.
    Click ok to terminate program..
    I have to click ok and this terminates my game...becos of this problem i reinstalled my windows XP pro SP1 again and then reinstall my MSI gfx latest drivers again, then also reinstalled the games again.but it still keeps coming..PLS HELP ME!!!
    any solution ppl...u all are geniuses as i have come to see and very helpful
    MSI 875p Neo Fisr Bios 1.6
    512 DDR 400 Twinmos Rams
    MSI GF4 FX5600 VTD 128
    i dont know but is this a problem with my vga card and if so how can it be solved..
    ive run adware, spyware, antivirus, tuneup utilities 2003 to check for any possible errors or virus or worms or trojans but it all comes empty..i have pc-cillin 2003 also and ran a scandisk with no reported viruses..
    my power supply is the Vantec ION 400 Wtt powersupply SATA ready..
    3.3V 26A
    5V 40A
    12 16A
    i have Twinmoss Pc3200 DDR 400 512 MB ram(single stick)--- no memory issue as of sort as i have more than 70% of it free whenver running windows and programs in the background...
    i have 5 cooling fans including a Vantec Tornada( 3 intake and 2 exhaust) with 2 HDD( 80gb and 40gb barrcudas)
    i hope this info will be good enuf for u ppl to diagnos my problem
    again i thank u all for ure time

    Agreed; Since the FX-5800 and up GPU's Require up to 7 Amps from the +12V Rail, then Yes 16 Amps is Very Light indeed , Dont Forget your P4 CPU under Stress (Gaming) Can require up to 10-11 Amps, combine that with the 7 Amps that your GPU May Require, and you are Over your +12V Rails Power capabilities...You should have at Least 20Amps on your +12V Rail, and because you are a Gamer! You should Have one of the Better PSU's Available that have 30 Amps + available on the +12V Rails. ie Enermax 465W or Antec 480W..............Sean REILLY875

  • Getting this weird error

    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d03b7cd, pid=2752, tid=2804
    # Java VM: Java HotSpot(TM) Client VM (11.0-b12 mixed mode, sharing windows-x86)
    # Problematic frame:
    # C [awt.dll+0x3b7cd]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    --------------- T H R E A D ---------------
    Current thread (0x02ee4400): JavaThread "AWT-Windows" daemon [_thread_in_native, id=2804, stack(0x03220000,0x03270000)]
    siginfo: ExceptionCode=0xc0000005, writing address 0xe1fe8c80
    Registers:
    EAX=0x17e4d6c4, EBX=0x00000bf4, ECX=0x00000100, EDX=0xe1fe8c80
    ESP=0x0326f3a4, EBP=0x00000400, ESI=0x17e4d6c4, EDI=0xe1fe8c80
    EIP=0x6d03b7cd, EFLAGS=0x00010206
    Top of Stack: (sp=0x0326f3a4)
    0x0326f3a4: 0326f47c 00000100 0326f484 00000100
    0x0326f3b4: 6d0a462a 00000400 00000400 00000100
    0x0326f3c4: 00000100 0326f600 0326f400 00000000
    0x0326f3d4: 00000000 00000100 02be8828 00000100
    0x0326f3e4: 00000400 e1fe8c80 0010e4c0 00000000
    0x0326f3f4: 00000000 00000100 00000100 00000000
    0x0326f404: 00000000 00000100 00000100 00000000
    0x0326f414: 00000000 00000004 00000400 00000000
    Instructions: (pc=0x6d03b7cd)
    0x6d03b7bd: 00 00 00 8b 4c 24 14 8b e9 c1 e9 02 8b f0 8b fa
    0x6d03b7cd: f3 a5 8b cd 83 e1 03 f3 a4 8b 74 24 18 8b 4c 24
    Stack: [0x03220000,0x03270000], sp=0x0326f3a4, free space=316k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [awt.dll+0x3b7cd]
    [error occurred during error reporting (printing native stack), id 0xc0000005]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j sun.awt.windows.WToolkit.eventLoop()V+0
    j sun.awt.windows.WToolkit.run()V+69
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x02f00400 JavaThread "Thread-6" daemon [_thread_blocked, id=4036, stack(0x04050000,0x040a0000)]
    0x02fd5c00 JavaThread "Thread-5" daemon [_thread_blocked, id=3692, stack(0x03990000,0x039e0000)]
    0x02fe7c00 JavaThread "Thread-4" daemon [_thread_in_native, id=2840, stack(0x03940000,0x03990000)]
    0x02fcb000 JavaThread "Thread-3" daemon [_thread_blocked, id=2820, stack(0x038f0000,0x03940000)]
    0x02fa8000 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=2000, stack(0x03870000,0x038c0000)]
    0x00396400 JavaThread "DestroyJavaVM" [_thread_blocked, id=2360, stack(0x003b0000,0x00400000)]
    0x02f6d800 JavaThread "TimerQueue" daemon [_thread_blocked, id=2228, stack(0x03670000,0x036c0000)]
    0x02f6ac00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=580, stack(0x03620000,0x03670000)]
    =>0x02ee4400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2804, stack(0x03220000,0x03270000)]
    0x02ec7000 JavaThread "AWT-Shutdown" [_thread_blocked, id=3564, stack(0x031d0000,0x03220000)]
    0x02e94000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1264, stack(0x03180000,0x031d0000)]
    0x02e9e400 JavaThread "EventQueue" daemon [_thread_blocked, id=728, stack(0x030e0000,0x03130000)]
    0x02b21400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2384, stack(0x02dd0000,0x02e20000)]
    0x02b1b000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1532, stack(0x02d80000,0x02dd0000)]
    0x02b19800 JavaThread "Attach Listener" daemon [_thread_blocked, id=3844, stack(0x02d30000,0x02d80000)]
    0x02b18400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3968, stack(0x02ce0000,0x02d30000)]
    0x02b13400 JavaThread "Finalizer" daemon [_thread_blocked, id=2356, stack(0x02c90000,0x02ce0000)]
    0x02b0ec00 JavaThread "Reference Handler" daemon [_thread_blocked, id=2644, stack(0x02c40000,0x02c90000)]
    Other Threads:
    0x02b0d000 VMThread [stack: 0x02bf0000,0x02c40000] [id=1772]
    0x02b23400 WatcherThread [stack: 0x02e20000,0x02e70000] [id=2316]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 960K, used 761K [0x16960000, 0x16a60000, 0x17d10000)
    eden space 896K, 77% used [0x16960000, 0x16a0e630, 0x16a40000)
    from space 64K, 99% used [0x16a40000, 0x16a4fff8, 0x16a50000)
    to space 64K, 0% used [0x16a50000, 0x16a50000, 0x16a60000)
    tenured generation total 11972K, used 8697K [0x17d10000, 0x188c1000, 0x26960000)
    the space 11972K, 72% used [0x17d10000, 0x1858e578, 0x1858e600, 0x188c1000)
    compacting perm gen total 12288K, used 5163K [0x26960000, 0x27560000, 0x2a960000)
    the space 12288K, 42% used [0x26960000, 0x26e6afd8, 0x26e6b000, 0x27560000)
    ro space 8192K, 63% used [0x2a960000, 0x2ae6bdf8, 0x2ae6be00, 0x2b160000)
    rw space 12288K, 52% used [0x2b160000, 0x2b7ba3c8, 0x2b7ba400, 0x2bd60000)
    Dynamic libraries:
    0x00400000 - 0x00424000      C:\WINDOWS\system32\javaw.exe
    0x7c900000 - 0x7c9b5000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c900000      C:\WINDOWS\system32\kernel32.dll
    0x77f40000 - 0x77feb000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77da0000 - 0x77e32000      C:\WINDOWS\system32\RPCRT4.dll
    0x77f10000 - 0x77f21000      C:\WINDOWS\system32\Secur32.dll
    0x7e390000 - 0x7e421000      C:\WINDOWS\system32\USER32.dll
    0x77e40000 - 0x77e89000      C:\WINDOWS\system32\GDI32.dll
    0x76330000 - 0x7634d000      C:\WINDOWS\system32\IMM32.DLL
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jre6\bin\msvcr71.dll
    0x6d800000 - 0x6da56000      C:\Program Files\Java\jre6\bin\client\jvm.dll
    0x76af0000 - 0x76b1e000      C:\WINDOWS\system32\WINMM.dll
    0x6d280000 - 0x6d288000      C:\Program Files\Java\jre6\bin\hpi.dll
    0x76bb0000 - 0x76bbb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d7b0000 - 0x6d7bc000      C:\Program Files\Java\jre6\bin\verify.dll
    0x6d320000 - 0x6d33f000      C:\Program Files\Java\jre6\bin\java.dll
    0x6d7f0000 - 0x6d7ff000      C:\Program Files\Java\jre6\bin\zip.dll
    0x6d000000 - 0x6d136000      C:\Program Files\Java\jre6\bin\awt.dll
    0x72f70000 - 0x72f96000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x77be0000 - 0x77c38000      C:\WINDOWS\system32\msvcrt.dll
    0x774a0000 - 0x775dd000      C:\WINDOWS\system32\ole32.dll
    0x5b190000 - 0x5b1c8000      C:\WINDOWS\system32\uxtheme.dll
    0x6d220000 - 0x6d274000      C:\Program Files\Java\jre6\bin\fontmanager.dll
    0x10000000 - 0x10171000      C:\WINDOWS\system32\nview.dll
    0x77e90000 - 0x77f06000      C:\WINDOWS\system32\SHLWAPI.dll
    0x7c9c0000 - 0x7d1e2000      C:\WINDOWS\system32\SHELL32.dll
    0x770e0000 - 0x7716b000      C:\WINDOWS\system32\OLEAUT32.dll
    0x5d4e0000 - 0x5d57a000      C:\WINDOWS\system32\COMCTL32.dll
    0x77bd0000 - 0x77bd8000      C:\WINDOWS\system32\VERSION.dll
    0x77390000 - 0x77493000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
    0x77650000 - 0x77671000      C:\WINDOWS\system32\NTMARTA.DLL
    0x71b80000 - 0x71b93000      C:\WINDOWS\system32\SAMLIB.dll
    0x76f20000 - 0x76f4d000      C:\WINDOWS\system32\WLDAP32.dll
    0x03380000 - 0x033ce000      C:\WINDOWS\system32\NVWRSNL.DLL
    0x746a0000 - 0x746ec000      C:\WINDOWS\system32\MSCTF.dll
    0x03410000 - 0x0346d000      C:\Program Files\Actual Window Minimizer\awmemb.dll
    0x75250000 - 0x7527e000      C:\WINDOWS\system32\msctfime.ime
    0x4fd10000 - 0x4feb6000      C:\WINDOWS\system32\d3d9.dll
    0x6deb0000 - 0x6deb6000      C:\WINDOWS\system32\d3d8thk.dll
    0x6d610000 - 0x6d623000      C:\Program Files\Java\jre6\bin\net.dll
    0x71a30000 - 0x71a47000      C:\WINDOWS\system32\WS2_32.dll
    0x71a20000 - 0x71a28000      C:\WINDOWS\system32\WS2HELP.dll
    0x6d630000 - 0x6d639000      C:\Program Files\Java\jre6\bin\nio.dll
    0x036d0000 - 0x036e5000      C:\WINDOWS\system32\nvwddi.dll
    0x719d0000 - 0x71a10000      C:\WINDOWS\System32\mswsock.dll
    0x76ee0000 - 0x76f07000      C:\WINDOWS\system32\DNSAPI.dll
    0x76f70000 - 0x76f78000      C:\WINDOWS\System32\winrnr.dll
    0x16080000 - 0x160a5000      C:\Program Files\Bonjour\mdnsNSP.dll
    0x76d20000 - 0x76d39000      C:\WINDOWS\system32\Iphlpapi.dll
    0x76f80000 - 0x76f86000      C:\WINDOWS\system32\rasadhlp.dll
    0x61200000 - 0x61259000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a10000 - 0x71a18000      C:\WINDOWS\System32\wshtcpip.dll
    VM Arguments:
    jvm_args: -Xmx256m
    java_command: com.speljohan.rsbot.Application GUIController nonmembers
    Launcher Type: SUN_STANDARD
    Environment Variables:
    CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
    PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\
    USERNAME=gavin van der star
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 6 Stepping 4, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 3
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 6 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3
    Memory: 4k page, physical 2095532k(1209308k free), swap 4032792k(3244508k free)
    vm_info: Java HotSpot(TM) Client VM (11.0-b12) for windows-x86 JRE (1.6.0_10-beta-b25), built on May 29 2008 00:51:46 by "java_re" with MS VC++ 7.1
    time: Thu Nov 20 17:54:40 2008
    elapsed time: 9 seconds

    prakashdewangan wrote:
    This is not a weird error... This is Java HotSpot... It comes when java is unable to continue run and it has to Exit. Like in windows you would have seen error box when program terminates.
    The posted trace is from a windows box.
    Java HotSpot generely I have seen because of Too High CPU usage (and memory too). Java does not get enough resource to run... Please check your code where is the Loop which needs high resource... try to refactor that code...No.
    Standard general causes of this.
    - Use of JNI or a third party library that uses JNI
    - A combination of video drivers, video card and fonts. This one is less prevalent than it used to be.
    - Bad environment, memory, installs, programs, etc.
    - Bug in the VM.
    Presuming in your reported case that none of the other causes applied then you found a bug in the VM. That doesn't mean that anyone else found the same one.

  • Error while running pacman -Syu

    Hi.
    I've been using Archlinux for about a week now, and I am very impressed with the distribution.
    I have one problem though. I'm getting a weird error that I'm not sure how to solve.
    While running sudo pacman -Syu I get the following error
    [gerhard@arch ~]$ sudo pacman -Syu
    :: Synchronizing package databases...
    core [DONE]
    extra [DONE]
    community [DONE]
    archlinuxfr [DONE]
    :: Starting full system upgrade...
    error: could not open file /var/lib/pacman/sync/archlinuxfr/pacman.manfr-20090803-1/desc: No such file or directory
    The error line repeats itself about 30 times.
    Any help would be appreciated!
    Gerhard

    Thank you for the reply wonder, but I get the same type of error with pacman -Syyu.
    I forgot to mention that I also got:
    local database is up to date
    after the error-lines.
    [Edit]
    It seems that airpac is the problem. I commented it out from /etc/pacman.conf, and I could now run pacman -Syyu again.
    I'm not sure why airpac is behaving like this though..
    Last edited by Gerhard (2009-11-23 16:45:42)

  • Running AppleScript in the background

    Okay, yet another problem I'm having that I'm going to bug the community here with.
    Is it at all possible to run AppleScript while doing other things? For example, if I wanted my AppleScript to hop online every hour and send me back information from my site could I have it do this while I do other things? Or will I have to wait until it's completed?
    Say I wanted to create a script that hopped on my site and sent me the post number of the last post, could I have it do this while I do other things?
    Something like
    tell application "Safari" to activate
    tell application "System events"
    tell process "Safari"
    (enter code here to get post number and send it to me)
    end tell
    end tell
    I've tried doing it like this and it definitely doesn't work at all if I don't have the Safari window selected at all times, so is there any way in which I can run script in the background while I work on other things or does AppleScript require full control of my computer while it's working?

    Save this script just like the others I posted. The script will do exactly as you asked.
    <pre style="width:630px;height:auto;overflow-x:auto;overflow-y:hidden;"
    title="Copy this code and paste it into your Script Editor application.">property helloWorld : "Hello World "
    global numChars, charNum, x
    on run
    tell application "System Events" to set isRunning to exists process "TextEdit"
    if not isRunning then tell application "TextEdit" to launch
    tell application "TextEdit"
    if isRunning then make new document
    set name of window 1 to "Hello World"
    set numChars to number of characters in helloWorld
    set charNum to 0
    set x to 0
    end tell
    end run
    on idle
    try
    tell application "TextEdit"
    if x = numChars then
    set x to 1
    else
    set x to x + 1
    end if
    set charNum to charNum + 1
    set theChar to character x of helloWorld
    set character charNum of document 1 to theChar
    end tell
    on error
    quit
    end try
    return 0.1
    end idle
    on quit
    continue quit
    end quit</pre>

  • Weird error -DebugMode — null::Transaction/WinGuiRenderLayer

    Hi All,
    I have been getting the following weird error whenever I try to run my application through portal. The same application (just a simple SAP tx iView with SAP GUI type as Win gui) was working fine till this morning. Not sure whether or not there had been some changes in the server side that might have taken with/without knowledge of the basis guys.
    DebugMode — null::Transaction/WinGuiRenderLayer
    Start Application     go
    Current Layer No.     4
    Stop at layer No.     0 1 2 3 4   
    After I press 'go' button only my application runs.
    Thanks for any help
    Sathish

    Hi Ramesh,
    Basically my connection to R3 works and also connection test worked fine.
    As mentioned earlier, everything was working fine till yesterday morning and then I started getting this debugmode window and after pressing the button 'go' I can able to see my application (if there is any alias, port problems I think I should not be allowed to get my application running .. right!!!).
    Can you please explain me in detail about how to locate the winGUI path???
    Thanks
    Sathish

  • Weird error from iMovie 9.0.2 - Quartz Extreme required - what gives?

    I got this weird error message from iMovie 9.0.2 today ...
    "Quartz Extreme required.
    iMovie requires a graphics card that is compatible with Quartz Extreme. One or more of your graphics cards does not support Quartz Extreme.
    [Quit]"
    What is going on here? I have an Intel i5 Quad Core iMac with 16GB of RAM and 1.5TB free on my drive. The graphics card in this iMac has 1GB of VRAM (ATI Radeon HD 5750) so I thought it could handle pretty much anything I throw at it.
    I had a movie of my daughter's school play (about 1.5 hours) which I edited in iMovie today and then selected the Menu to finalize the Project.
    SInce it was taking a few hours, I left the machine to run and do its thing.
    When I got back, I found that iMovie had shut down and I had the above error message on my screen.
    I bought this machine so that I could do some amateur video editing ... and this is my first attempt. Not happy with this result!
    Any advice/suggestions/guidance on what is going on here?
    Thanks

    CH,
    Not I do not have a colition to this, but it has not happened to me in a while.
    Good Luck with this and hope someone chimes in to help you.

  • 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)

  • Chaining "Get Value of Variable" and "Run AppleScript" actions in Automator

    I'm attempting to access a variable I've set in Automator from within a "Run AppleScript Action". On occasion, generally when I start in a fresh new file, I can chain the "Get Value of Variable" action with the "Run AppleScript" action as you would expect.
    Most times, though, they will not chain together. I haven't specified that the "Run AppleScript" action should ignore input, but it behaves that way. I've tried everything I can think of, but I'm out of ideas.
    Am I going about this all wrong? (Thanks in advance for any suggestions!)
    Message was edited by: rch_nashville (for clarity)

    The *Get Value of Variable* action is another quirky one. I'm not sure what causes it to fail, but sometimes putting another (dummy) action in between gets it to work. You can also access workflow variables directly from the Run AppleScript action, so you might also give that a try:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    font-weight: normal;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 680px;
    color: #000000;
    background-color: #B5FF6C;
    overflow: auto;"
    title="this text can be pasted into an Automator 'Run AppleScript' action">
    on run {input, parameters} -- get values of workflow variables
    set output to {}
    set theVariables to the name of variables of front workflow
    if the result is not {} then
    set theVariables to (choose from list theVariables with multiple selections allowed and empty selection allowed)
    if result is false then error -128 -- cancel
    repeat with someVariable in theVariables
    set the end of the output to (get value of variable someVariable of front workflow)
    end repeat
    end if
    return output
    end run
    </pre>

  • Syntax error to run a javaScript

    Hi all
    I want to run a JavaScript using AppleScript do script method.
    First I create a document using
    tell application "Adobe InDesign CS5.5"
              set myDocument to make document
    end tell
    Now I run this script
    set ScriptPath to alias "HD:private:var:root:Documents:Adobe Scripts:Source1.jsx"
    tell application "Adobe InDesign CS5.5" 
      do script ScriptPath language javascript
    end tell
    But it give error
    error "Adobe InDesign CS5.5 got an error: Syntax error" number 8
    I also try :
    set ScriptPath to alias "HD:private:var:root:Documents:Adobe Scripts:Source1.jsx"
    tell application "Adobe InDesign CS5.5"
              set myDocument to make document
      do script ScriptPath language javascript
    end tell
    No compile error
    At run time give same error "Adobe InDesign CS5.5 got an error: Syntax error" number 8
    If I create document using this:
    tell application "Adobe InDesign CS5.5"
      set myDocument to make document
    end tell
    and run Source1.jsx using Extend Script Toolkit CS5.5 then script run sucessfully.
    My Java Script is :
    #target indesign
    var myDocument = app.activeDocument;
    with(myDocument.documentPreferences)
        pageHeight= "11i";
        pageWidth ="8.5i";
        facingPages=false;
        pageOrientation=PageOrientation.portrait;
        pagesPerDocument=1;   
    var myLayer= myDocument.layers.add();
    myLayer.name="myFirstLayer";
    myLayer.visible=true;
    var masterspread = myDocument.masterSpreads.add(1);
    masterspread.baseName="NewMasterPage";
    masterspread.select(1919250519);
    var myTextFrame=masterspread.textFrames.add(myDocument.layers.item("myFirstLayer"));
    myTextFrame.geometricBounds = ["6p", "25p", "30p", "30p"];
    myTextFrame.contents = "Master Spread";
    I do no understand where is Syntax error.
    tell application "Adobe InDesign CS5.5"
              do script alias "HD:private:var:root:Documents:Adobe Scripts:Source1.jsx" language javascript
                        --> error "Syntax error" number 8
    Result:
    error "Adobe InDesign CS5.5 got an error: Syntax error" number 8
    Thanks.

    Hi Vamitul Thanks for reply
    Now script run but i do not understand the behave of script
    In Extend Script Toolkit CS5.5  script run sucessfully
    with this
    var myTextFrame=masterspread.textFrames.add(myDocument.layers.item("myFir stLayer"));
    why it give error in AppleScript do script method ?
    Thanks

  • Weird Error When Verifying External HDDs

    Hello
    I'm getting a weird error when verifying my 2 external HDDs. Both give me an "invalid leaf record count" error. But only when I check them with the OSX install cd. If I check them in my user account, they come up OK. Both drives also gave me a "reserved fields in the catalog record have incorrect data" error. Disk Utility was able to fix that error, but not the invalid leaf error. I have tried multiple repairs, but DU says the volume cannot be repaired. The other weird thing is when I ran the first repair, it said 1 HFS Volume Repaired and 1 Volume could not be repaired. I have also tried using Disk Warrior, but it gives a "this volume appears to be formatted with a newer version of the OS" error.
    Both these drives I had plugged into my mom's iMac (running 10.5--my eMac is running 10.3.9) because I had firewire problems back in June. Did 10.5 modify something that has 10.3 mixed up?
    Is there something I can do to fix this or do I need to do another re-install?
    Music Luver
    "+I hear her playing music+..." ~ Barry Manilow

    OS X 10.5 does add additional attributes bits to the file descriptors, so using the drive under 10.5 would be expected to add those additional bits to at least the disk directory plus any modified files.
    When you then check the drives using utilities created prior to OS X 10.5, those older utilities don't understand the additional bits and report then as errors (DU), of the utilities check first and refuse to run if the disk is tagged as from a latter OS version (DW).
    There's a generic warning about mixing older utilities with newer OS versions in Only use Mac OS X 10.4-compatible disk utilities with Mac OS X 10.4 volumes.
    I'd be ready to shrug the error reports off as spurious; however, that DU "corrected" the reserved bits suggests the drive directories will be rewritten again should you again move the drives to a 10.5 computer. Are you seeing any actual problems wiuth reading or writing to the external drives? If not, write it off to 10.5 settings bits that earlier versions ignore; it shouldn't affect your data.

  • X11vnc gives weird errors

    Hi,
    I've been trying to get x11vnc working on my other box but if I start it I get weird errors, and I can't find anything on google about this, as many other things are causing these kinds of errors, while no results turn up if I add x11vnc to the search parameters...
    Here's the output:
    [medja@myhost ~]$ x11vnc -rfbauth -display :0
    14/02/2008 16:50:06 passing arg to libvncserver: -rfbauth
    14/02/2008 16:50:06 x11vnc version: 0.9.4 lastmod: 2007-12-21
    14/02/2008 16:50:06 Using X display :0
    14/02/2008 16:50:06
    14/02/2008 16:50:06 ------------------ USEFUL INFORMATION ------------------
    14/02/2008 16:50:07 X DAMAGE available on display, using it for polling hints.
    14/02/2008 16:50:07 To disable this behavior use: '-noxdamage'
    14/02/2008 16:50:07
    14/02/2008 16:50:07 Wireframing: -wireframe mode is in effect for window moves.
    14/02/2008 16:50:07 If this yields undesired behavior (poor response, painting
    14/02/2008 16:50:07 errors, etc) it may be disabled:
    14/02/2008 16:50:07 - use '-nowf' to disable wireframing completely.
    14/02/2008 16:50:07 - use '-nowcr' to disable the Copy Rectangle after the
    14/02/2008 16:50:07 moved window is released in the new position.
    14/02/2008 16:50:07 Also see the -help entry for tuning parameters.
    14/02/2008 16:50:07 You can press 3 Alt_L's (Left "Alt" key) in a row to
    14/02/2008 16:50:07 repaint the screen, also see the -fixscreen option for
    14/02/2008 16:50:07 periodic repaints.
    14/02/2008 16:50:07
    14/02/2008 16:50:07 XFIXES available on display, resetting cursor mode
    14/02/2008 16:50:07 to: '-cursor most'.
    14/02/2008 16:50:07 to disable this behavior use: '-cursor arrow'
    14/02/2008 16:50:07 or '-noxfixes'.
    14/02/2008 16:50:07 using XFIXES for cursor drawing.
    14/02/2008 16:50:07 GrabServer control via XTEST.
    14/02/2008 16:50:07
    14/02/2008 16:50:07 Scroll Detection: -scrollcopyrect mode is in effect to
    14/02/2008 16:50:07 use RECORD extension to try to detect scrolling windows
    14/02/2008 16:50:07 (induced by either user keystroke or mouse input).
    14/02/2008 16:50:07 If this yields undesired behavior (poor response, painting
    14/02/2008 16:50:07 errors, etc) it may be disabled via: '-noscr'
    14/02/2008 16:50:07 Also see the -help entry for tuning parameters.
    14/02/2008 16:50:07 You can press 3 Alt_L's (Left "Alt" key) in a row to
    14/02/2008 16:50:07 repaint the screen, also see the -fixscreen option for
    14/02/2008 16:50:07 periodic repaints.
    14/02/2008 16:50:07
    14/02/2008 16:50:07 XKEYBOARD: number of keysyms per keycode 6 is greater
    14/02/2008 16:50:07 than 4 and 91 keysyms are mapped above 4.
    14/02/2008 16:50:07 Automatically switching to -xkb mode.
    14/02/2008 16:50:07 If this makes the key mapping worse you can
    14/02/2008 16:50:07 disable it with the "-noxkb" option.
    14/02/2008 16:50:07 Also, remember "-remap DEAD" for accenting characters.
    14/02/2008 16:50:07 X FBPM extension not supported.
    14/02/2008 16:50:07 X display is capable of DPMS.
    14/02/2008 16:50:07 --------------------------------------------------------
    14/02/2008 16:50:07
    14/02/2008 16:50:07 Default visual ID: 0x21
    14/02/2008 16:50:07 Read initial data from X display into framebuffer.
    14/02/2008 16:50:07 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/9856
    14/02/2008 16:50:07 *** unrecognized option(s) ***
    14/02/2008 16:50:07 [1] 20
    14/02/2008 16:50:07 For a list of options run: x11vnc -opts
    14/02/2008 16:50:07 or for the full help: x11vnc -help
    14/02/2008 16:50:07
    14/02/2008 16:50:07 Here is a list of removed or obsolete options:
    14/02/2008 16:50:07
    14/02/2008 16:50:07 removed: -hints, -nohints
    14/02/2008 16:50:07 removed: -cursorposall
    14/02/2008 16:50:07 removed: -nofilexfer, now the default.
    14/02/2008 16:50:07
    14/02/2008 16:50:07 renamed: -old_copytile, use -onetile
    14/02/2008 16:50:07 renamed: -mouse, use -cursor
    14/02/2008 16:50:07 renamed: -mouseX, use -cursor X
    14/02/2008 16:50:07 renamed: -X, use -cursor X
    14/02/2008 16:50:07 renamed: -nomouse, use -nocursor
    14/02/2008 16:50:07 renamed: -old_pointer, use -pointer_mode 1
    X Error of failed request: BadShmSeg (invalid shared segment parameter)
    Major opcode of failed request: 148 (MIT-SHM)
    Minor opcode of failed request: 2 (X_ShmDetach)
    Segment id in failed request: 0x0
    Serial number of failed request: 35
    Current serial number in output stream: 39
    [medja@myhost ~]$
    vncserver (for virtual screens :1 and such) is working well btw and there is no firewall installed on that box. It's a twinview setup if that matters. I have no idea what's wrong...
    Any idea?

    To run x11vnc from ssh session you either have to "su" to root or run x11vnc from local console.
    AFAIK shared memory access from different virtual terminal is disabled by default so you have to have root priviliges to access it.
    Sorry this bit of necromancy, but i've searched the net about this problem and could't find any specific pointers so now hopefully google will find this solution

  • PLEASE HELP! Anyone got this error when running Parallels and Win XP

    Hey ALL -I know I know why are you running windows on a MAC --well I still have some programs that I need to work with on Windows but anyway I am getting this weird error message when Windows starts under Parallels:
    [C] MAC Windows
    Timed out waiting for the file system to initialize. The Volume has been ejected. You can use the
    init_timeout mount option to wait longer.
    what is this error message -I cant figure it out
    thanks
    Matt

    Since Parallels is not an Apple product, you'll probably be better off posting your question in the Parallels forums:
    http://forums.parallels.com

Maybe you are looking for

  • EHP Installer does not find BI Java system on 2 System server

    Hi folks, I have a 2-node MSCS cluster with a standalone BI 7.0 ABAP system, as well as a standalone BI 7.0 Java system. To be clear, these are seperate systems, with seperate SID's, installed MCOD in one Oracle instance (A neccessity for J2EE Authen

  • Administrator unlock for officejet 6700

    I cannot setup wireless printing as the features are locked. I tried a fix I saw on this forum and it failed. When I scrolled to the restore network defaults it was locked.  Is there a different fix for this?

  • STPO Return Process

    Hi All, I am facing a small issue when i am creating return order for stock transfer order. Scenario: 1. I created stock transfer order using ME21N. 2. I created delivery for the same using VL10B, did the picking and PGI 3. I did the commercial invoi

  • Weblogic Policy Agent

    Hi All, I am using policy agnet in front of the app that is running on weblogic. I installed the policy agent created the agent profile and other necessary steps. Also, copied the following line in my startWebLogic.cmd file call "%DOMAIN_HOME%\bin\se

  • Making the doc.bat to create the documentation for classes & Tests

    Hello I have created a file called "documentation.bat" to created the documentation in html for my src and test classes. I havent got any problem to do it for my classes, but i also want to do it for my Tests and i dont know how to put it in the same