Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'AppleScript not so easy...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
AppleScript not so easy...
Authored by: b00le on Feb 09, '06 02:10:22AM
Thanks, but I still can't make it work - here's the session (I tried it twice because I couldn't figure out how many slashes were needed)
Welcome to Darwin! grant-thompsons-power-mac-g5:~ grant$ chmod o+x /Users/grant/Desktop/scriptmtu
grant-thompsons-power-mac-g5:~ grant$ .//Users/grant/Desktop/scriptmtu
-bash: .//Users/grant/Desktop/scriptmtu: No such file or directory
grant-thompsons-power-mac-g5:~ grant$ ./Users/grant/Desktop/scriptmtu
-bash: ./Users/grant/Desktop/scriptmtu: No such file or directory
I might have a look at those tutorials if I ever have time but frankly, I want to use my computer, not futz with its vitals. I started out in the era of punched cards and men in white coats and thought back then there must be a better way. I see neither charm nor virtue in the CLI. As I said I've only used it once before, following a hint from this site. At least it worked that time (though it didn't help...)

Maybe one of you wizards can tell me why Msoft Windows Service Pack 1 breaks OS X access to servers - in exactly the same way it was broken when 10.4 first came out. I'm running 10.4.4.
mount_smbfs: error from NetrShareEnum call: exception = 382312522
mount_smbfs: tree connect phase failed: syserr = Permission denied


[ Reply to This | # ]
AppleScript not so easy...
Authored by: el bid on Feb 10, '06 03:07:53AM

>Maybe one of you wizards can tell me why Msoft Windows
>Service Pack 1 breaks OS X access to servers - in exactly
>the same way it was broken when 10.4 first came out.
>I'm running 10.4.4.

The usual joke here is that Windows is expecting encrypted passwords and OS X is offering plain passwords, or the other way round. There's a hint about this at http://www.macosxhints.com/article.php?story=20050506120948120

As to the "scriptmtu" issue (actually mine downloaded under a different name -- you might need to check that, and perhaps "echo <filename>" to confirm that it looks like a script and isn't some junk), the easiest thing is just to change into the directory where the script is (cd <FullPathToDirectory> -- and, as you've discovered, you can drag the directory from the Finder to fill out that path) and then type "chmod a+x" and then <space> and then your dot-slash-filename. A handy tip to make sure you're spelling the filename right is to put in the first three or four letters and then hit <Tab>.


---
el bid



[ Reply to This | # ]