Unix Command doesn't work in Tiger
Hi,
I've got labs of eMacs that I'm finally upgrading to Tiger. My image seems to work fine, but I'm running into a weird quirk with my "Send Unix" commands via ARD. We're doing NWEA testing and LOVE the unix commands because we can login to machines, turn on TestTaker, login to TestTaker, and select the correct test (math or reading) and the right version of the test.
The script below works fine on a panther eMac.
osascript
tell application "System Events"
keystroke "1" using command down
delay 3.0
keystroke ASCII character 31
delay 2.0
keystroke return
keystroke "n" using command down
end tell
On my Tiger machines, the command stops on the:
"Keystroke ASCII character 31" line (this should arrow down to next test version).
A report window comes up in ARD with this error message:
86:104: execution error: System Events got an error: 31 doesn't understand the ASCII character message. (-1708)
This used to work perfectly, but now I can't get ASCII 31 (or arrow down to work). The real killer is that other techs in my school district have eMacs running tiger with same commands that work (some have to arrow down 16 times to get to correct test version). The other commands (like command 1 and returns, command n) all work fine! Hate to have to touch 80 machines each day to select proper test version when we log in.
Any Suggestions????
Try this form of the line:
keystroke (ASCII character of 31)
That's worked for some people. Hope it works for you. If it doesn't work as given, try without the parentheses.
Regards.
Similar Messages
-
Visually handicap, needs to increase font size in logic pro, Command doesn't work
Hi,
I'm visually handicapped, and new to logic-pro. I'm having a miserable time reading the internal logic-pro fonts. Command + doesn't work, and I can't find any preferrence or settings options that affect the default font sizes, any ideas?Unfortunately you cannot change the font size of the main fonts in Logic...
However, there are a couple of other settings you may not be aware of...
1) Under Logic Pro's preferences... go to Display
Now you can change the size of the playhead and Local Windows under the General Tab
You can increase the size of the Logic plugin windows/fonts sizes under the Mixer Tab (I have mine set to 200%)
Note: This setting does not apply to 3rd party plugins.. only Logic's own plugins...
Under the Piano Roll tab you can change the size of Bar/Beats/Division Lines...
2) Using the screen zoom command... Hold down control and scroll on your mouse... will zoom in the screen...
Note: as you are using Mountain Lion there is also a new setting under System Preferences/Accessability
Choose Zoom on the left hand side
Now choose Zoom Style/Picture in Picture and instead of a full screen zoom it provides you with a magnifying glass of sorts to just magnify the area arund your mouse pointer. I find this setting very useful....
Hope this helps... -
HT1338 Safari Hide command doesn't work
Now my Safari 6.0 "Hide Safari" command doesn't work (whether clicking the command-H or going up under the Safari menu and down to the Hide Safari command.
Any suggestions anyone? I am about one more issue away from abandoning Safari altogether and just using Chrome and Firefox.I've made a number of iWeb websites. I notice that I can't "Command +" the text larger or smaller. Is this a function of an iWeb site .. or is there something I'm missing?
What browser are you talking about? If Safari, is it the same with the other major browsers (Firefox and Opera)? Could you provide the url of an example? -
Bash command doesn't work after update
I just ran pacman -Syu as normal, but some got many errors like below:
( 3/11) upgrading binutils
error: command failed to execute correctly
and every package except kernel-headers got a error message like that. and then i found most of my bash command doesn't work any more, just like ls and vim. However, some others like pwd and cd still work correctly.
Any one any ideal?
Last edited by ranjiao (2009-11-12 13:26:01)ranjiao wrote:I removed /lib64 and make a soft link from /lib64 to /lib, as Matlab09 requires a /lib64 containing crt libs.
is this the cause?
Yes.
I've done that before and got into the same problem when updating glibc, the lesson here, don't mess with the default directory structure. -
Unhide library command doesn't work
Unhide library command doesn't work in terminal
Open the Terminal application in your Utilities and paste the following at the prompt:
sudo chflags nohidden ~/Library
Press RETURN. Enter your admin password when prompted. It will not be echoed.
The "sudo" may not even be required, but if it is and you don't use it, then you'll get an error message. Just try again using the above command. -
Safari 6.0 command- doesn't work
Command+ works fine but command- doesn't work. I'm running 10.7.5
Just add the following to the file com.apple.WebProcess.sb.
Please add it below the Basic system paths and above the FIXME: or System and user preferences:
;; Plugins
(subpath "/Library/Internet Plug-Ins")
(home-subpath "/Library/Internet Plug-Ins")
And it's fixed! -
I have a few desktop icons that won't allow me to move them to trash or relocate them on desktop. A PDF, a DOCX and a PART. Not locked under get info or get info command doesn't work. Suggestions?
This any help?
http://support.apple.com/kb/HT1526 -
Send Unix command won't work under 10.2.8
So I am running this command in a lab of 10.2.8 machines. I go to send Unix Command then I put this in:
Send Unix Command
user: root
osascript -e 'tell application "System Events" to keystroke "map"'; \
osascript -e 'tell application "System Events" to keystroke tab'; \
osascript -e 'tell application "System Events" to delay 0.5'; \
osascript -e 'tell application "System Events" to keystroke "map"'; \
osascript -e 'tell application "System Events" to delay 0.5'; \
osascript -e 'tell application "System Events" to keystroke return'
Then I check Display all output.
Then I check Run command as User: Root
Then I send it.
After that in the Display all output shows me this.
cms132-30 (64.8.180.103)
/bin/bash: Send: command not found
/bin/bash: user:: command not found
execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
execution error: System Events got an error: NSCannotCreateScriptCommandError (10)
So I close that window and see an error message by that machine that says:
Error: 1 "execution error: system events got an error: NSCannotCreateScriptCommandError (10)"
So what is wrong with this? It works fine with 10.3.9 but not with 10.2.8
Imac Mac OS X (10.2.x)It doesn't appear that the System Events under 10.2.x responds to the keystroke command (it doesn't appear in the AppleScript Dictionary.)
-
Mailscript doesn't work in Tiger
Hallo allemaal. (That's hello everybody, in Dutch...)
At my work, I used a combination 'rule/applescript' to send an autoreply e-mail to clients from a certain group from my addressbook. The applescript worked like a charm with Tiger but since I've been handed over an iMac with Leopard, the script doesn't work anymore. Now I'm a bit desperate cause I (& my clients) really got stuck on it...
Could someone of you, scriptexperts, check out this script and maybe 'fix it' so it 'll work in Leopard aswell?
Thanks very much.
J. Huisman
The Netherlands
Here's the script. It's a Dutch variation on an english script
using terms from application "Mail"
on perform mail action with messages selectedMsgs
repeat with msg in selectedMsgs
set theSubject to subject of msg
set theSender to extract name from sender of msg
set theAddress to extract address from sender of msg
set theDate to date sent of message
tell application "Mail"
set nowDate to current date
set theBody to "Uw bericht" & return & return & "Onderwerp: " & theSubject & return & "Verstuurd: " & theDate & return & return & "is ontvangen op " & nowDate & ".
Met vriendelijke groet,
Van Hooren drukkerij en repro bv
T (045) 400 44 22 | F (045) 400 44 33
http://www.vanhooren.nl
" & return
set newMessage to make new outgoing message with properties {subject:"Ontvangstbevestiging: " & theSubject, content:theBody & return & return}
tell newMessage
set visible to true
make new to recipient at end of to recipients with properties {name:theSender, address:theAddress}
end tell
send newMessage
end tell
end repeat
end perform mail action with messages
end using terms fromIt looks like there is an issue with rules in Leopard mail. Other people, including myself are experiencing similar issues when trying to use rules to run applescript. Below, is just one of the posts that I've come across so far.
http://discussions.apple.com/message.jspa?messageID=6064578#6064578 -
Boot Camp doesn't work in Tiger
I just downloaded Boot Camp version 1.3 on my old Tiger MacBook Pro but it doesn't work. It says version is outdated. Is there newer versions and where can I download them? I tried to find 1.4, it seems like it doesn't exist.
Thanks for the helpYeah, I know. I can't believe that about Apple. If Microsoft came out with an update for Windows that was that mediocre and charged $129 for it, you'd never hear the end of it.
You're right, it's called Leopard...not service pack 5. Sorry, coming from the Windows world, I'm used to updates like that being called service packs. -
I believe the following problem began when I updated to 10.4.9. I can't be absolutely sure but the timing seems about right. I've since updated to 10.4.10 in an effort to fix it, but haven't succeeded.
The problem is that when I select the Restart command in the Apple menu the computer will begin the process, all open apps will be quit, the finder will quit, my desktop will go to blue to a few seconds. Then the monitor will go blank. Then nothing after that. I DO NOT get the startup chime. The machine is still powered on, the light above the power button is still lit. If I leave the machine for any length of time the fans will start speeding up gradually until they're at full tilt. After 4 or 5 minutes it becomes obvious that nothing is going to happen, so I need to manually shutdown via the power button.
Does anyone know what logs I can post here to help in the diagnosis? This also happens if any installer application needs to perform a restart, ie Software Update.
Thanks,
ChrisHi chris catalano-
I have had updates make my machine do some crazy stuff just as you describe. I would actually let it go for 15 or 20 minutes before declaring it a no-go.
If that doesn't work, try resetting the SMU and see if that helps: How to reset the SMU on a Power Mac G5 (Late 2004) or Power Mac G5 (Late 2005)
Luck-
-DaddyPaycheck -
The find command F or just Find doesn't work any ideas on fixes? I tried trashing kybrd and finder prefs. This is on a G3 running 9.2
ThanksHi, Bookalaka -
If Sherlock, or an alias to it, is not in the Apple Menu Items folder (in System Folder), then the Find function (Command-F) will not work. If that is the case, replace that item - move either Sherlock itself, or place an alias to it, into the Apple Menu Items folder.
Note - if you use Internet Explorer, and want to be able to use the supplemental toolbar icon for Sherlock, then Sherlock itself must be placed in the Apple Menu Items folder (IE does not recognize an alias to it).
If for some reason you are missing Sherlock completely, you can replace it fairly easily. Look in the System Folder on any OS 9.1 or later Install CD; you'll find it in the Apple Menu Items folder. Just copy it to your hard drive. -
I downloaded PE 11 and PE12 and my trim command will not work for me at all. I use this so much and can't even use either one. I had 12 and went back to 11 and it still doesn't work. It is so hard to get help now from Adobe. I need this command to work. Is there a fix I can download
Nancy K Lindway wrote:
I downloaded PE 11 and PE12 and my trim command will not work for me at all. I use this so much and can't even use either one. I had 12 and went back to 11 and it still doesn't work. It is so hard to get help now from Adobe. I need this command to work. Is there a fix I can download
Have you tried to reset the tools to see if corrects itself? To do this, launch a blank image in Editor under Expert mode tab. then at the bottom look for something like this (you will need to click on the image to magnify it):
The reset button is at the red box shown on the right-side of the picture. You need to click on the arrow icon to reach it. You can reset all tools or reset only the selected tool. I would reset all tools and done with it.
This might or might not fix it but worth a try.
Good luck. -
EA2 : describe command doesn't work
Hello,
The command describe (F4 ou right click + describe) doesn't work with the sql developer ea2 version.Note that there is a difference between v$session and v_$session.
Running as a user with DBA role against 9.2.0.8,10.1.0.5 and 10.2.0.2 gives identical results
F4 on v$session gives empty results. The results windows is headed v_$session.
F4 on v_$session gives No object found: v_$session.
F4 on sys.v_$session gives No object found: sys.v_$session.
desc v$session in a worksheet gives a full listing
desc v_$session in a worksheet gives ERROR: object v_$session doesn not exist.
desc sys.v_$session gives a full listing.
Using SQL Plus gives the same results as the worksheet desc. This is correct. There is no synonym for v_$session so you can't see it without a schema qualifier.
Message was edited by:
smitjb -
Sudo trash command doesn't work
Last year I found a Terminal command for emptying large amounts of trash, quickly. Now, using that command doesn't seem to work. Can I be doing something wrong?
I pasted this into Terminal: "sudo rm -rf ~/.Trash/*".
Afterward I typed my password, and Terminal showed a dollar sign and the grey rectangle. But two hours later, none of the trash has been deleted. What is my mistake?Thanks Niel, but I am using it without the quotes. Could I be doing anything else wrong?
Here's how it looks.
(I only made the command once. The earlier ones were from before I restarted.)
Maybe you are looking for
-
Hi After I ran SharePoint configuration wizard successfully to upgrade to SharePoint 2013 / SP1. I can open Central Administration site just fine. but now when I open any Site collection, I got this error. Server Error in '/' Application This operat
-
Client ABAP proxy error handling. Please help!
Hi Experts, I have following scenario: SAP ECC (ABAP Client Proxy) -> PI(XI)-->(SOAP) Third party web service System This is Asynchronous. What will happen when ABAP client Proxy in ECC sends data to PI but PI is down? Will the message
-
Excise invoice in document flow
Hi, In SD, when we process the document flow thru billing, i want to include the excise invoice in the flow.(this is the case of factory sale) where path is order -delivery- PGI - Billing - Excise How can I fulfil this requirement. Raj
-
Is it safe to download adobe reader for my macbook? i don't want any viruses to pop up
can i download adobe reader for my macbook pro? is it safe or will i be at risk for viruses?
-
I can't turn the pages in my digital additions books, what can I do?
the page numbers change the actual page DOES NOT CHANGE. I downloaded the books, no problem. I can open any book, no problem. When try to turn the pages to read the book (including the digital editions manual) the page won't change. The sliding bar o