Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Search Forums > Search Results

Showing results 1 to 50 of 68
Search: Posts Made By: acur128
Thread Thread Starter Last Post Replies Views Forum
The Dock isn't scriptable (yet), but you could... 545 Views / 2 Replies  
The Dock isn't scriptable (yet), but you could work around it by writing the hiding state to its preferences file & restarting the dock. This should work, but it requires Mac OS X 10.1.2 for the "do...
Posted by acur128, on Jan 27, 2002 at 04:47 PM, in Developer Center
Well, using "cat" in the script to get the text... 830 Views / 18 Replies  
Well, using "cat" in the script to get the text from the file seems to mess up the carriage returns... & same problem with "pr -t"... it looks fine in a text editor, but the shell can't read it...
Posted by acur128, on Jan 26, 2002 at 03:59 PM, in Developer Center
Seems AppleScript would rather not deal with... 830 Views / 18 Replies  
Seems AppleScript would rather not deal with invisible files/folders if at all possible... generating an alias from an invisible file or folder will work sometimes - an invisible file can be selected...
Posted by acur128, on Jan 26, 2002 at 01:41 AM, in Developer Center
"sudo -S" takes the password from standard input.... 484 Views / 4 Replies  
"sudo -S" takes the password from standard input. Something like this should work (double-quoting the boot-device probably isn't necessary, but couldn't hurt):
<BLOCKQUOTE><font...
Posted by acur128, on Oct 20, 2001 at 10:16 PM, in Developer Center
Ryan, Removing the pdf files will result in a... 517 Views / 26 Replies  
Ryan,
Removing the pdf files will result in a semi-transparent dock with a thin white border (looks similar to the selection rectangle drawn by the cursor during a click & drag select ). To get the...
Posted by acur128, on Oct 19, 2001 at 05:25 PM, in Mac OS X
Hi... Is something like this what you're... 517 Views / 26 Replies  
Hi...
Is something like this what you're looking for? It could go in the next TransparentDock - though it doesn't really fit the theme... :)
http://homepage.mac.com/kfkel/.Pictures/opaqdock.jpg
Posted by acur128, on Oct 18, 2001 at 11:19 PM, in Mac OS X
Hmmm... in the preference file... 308 Views / 1 Replies  
Hmmm... in the preference file com.apple.finder.plist that ends up being a boolean rather than a string - changing the value from true to false (editing in any text editor) & relaunching the Finder...
Posted by acur128, on Oct 17, 2001 at 06:58 AM, in Mac OS X
Any mail from cron? If the script failed with an... 562 Views / 26 Replies  
Any mail from cron? If the script failed with an error, there should be an output from it, unless user/root mail from cron is suppressed.
To run as a cron job, only the "tell app "Finder" to set...
Posted by acur128, on Oct 15, 2001 at 10:03 PM, in Mac OS X
Seems to be 2 problems affecting AppleScript apps... 657 Views / 4 Replies  
Seems to be 2 problems affecting AppleScript apps globally in 10.1 - the first is the Toast installed file "ToastVideoCDSupport.component" in /Library/Quicktime that causes "unexpected quits" of all...
Posted by acur128, on Oct 15, 2001 at 08:19 PM, in Mac OS X
Just a thought on the unexpected quits... 562 Views / 26 Replies  
Just a thought on the unexpected quits mentioned... if you happen to be using Toast Titanium in 10.1, & if the file "ToastVideoCDSupport.component" is in /Library/Quicktime, all AppleScripts launched...
Posted by acur128, on Oct 15, 2001 at 11:17 AM, in Mac OS X
something like this should work: ... 458 Views / 3 Replies  
something like this should work:
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font size=1 face=courier>set theTime to time string of (current date)
<font color =...
Posted by acur128, on Sep 2, 2001 at 05:51 PM, in Classic Macs and Mac OS
Sorry... too many scripting additions... the... 484 Views / 3 Replies  
Sorry... too many scripting additions... the "list processes" was from a "Processes" scripting addition from a set of osax called Script Tools from Late Night Software. The Finder can get processes...
Posted by acur128, on Aug 31, 2001 at 10:05 PM, in Classic Macs and Mac OS
1. I guess there are a few ways.. if you just... 484 Views / 3 Replies  
1. I guess there are a few ways.. if you just want to get the preferences folder as an alias path, you could use (path to preferences folder); if you wanted a Finder reference to it for...
Posted by acur128, on Aug 31, 2001 at 09:02 PM, in Classic Macs and Mac OS
In OS 9.1, this should work to start remote... 285 Views / 2 Replies  
In OS 9.1, this should work to start remote access connections (just substitute the name of your Remote Access configuration for "MyConfig" (with quotes):
<BLOCKQUOTE><font size="1"face="Geneva,...
Posted by acur128, on Aug 18, 2001 at 12:34 PM, in Applications
TransparentDock - VersionTracker info here... 310 Views / 1 Replies  
TransparentDock - VersionTracker info here (http://www.versiontracker.com/moreinfo.fcgi?id=11295&db=mac)... latest version here (http://homepage.mac.com/kfkel/)
Posted by acur128, on Aug 12, 2001 at 05:46 PM, in Mac OS X
There's a scripting addition called AudioCDgh... 539 Views / 3 Replies  
There's a scripting addition called AudioCDgh (http://osaxen.com/index.php?id=audiocd) that should do it (there's probably others, but this one appears to work well). To install, use the above link...
Posted by acur128, on Aug 11, 2001 at 05:37 PM, in Developer Center
Yes... with ircle that first script seems to be... 372 Views / 4 Replies  
Yes... with ircle that first script seems to be working fine, but the "match" term appears to be "ircle" specific... at least it's not in the Finder or Standard Additions dictionaries. And, since...
Posted by acur128, on Aug 6, 2001 at 10:03 PM, in Developer Center
probably the easiest way would be to use... 355 Views / 1 Replies  
probably the easiest way would be to use delimiters to mark the space characters & replace them with "$" characters...
<BLOCKQUOTE><font size="1"face="Geneva, Verdana,...
Posted by acur128, on Aug 3, 2001 at 09:55 AM, in Classic Macs and Mac OS
There are 3 Mac OS X scripting additions... 424 Views / 1 Replies  
There are 3 Mac OS X scripting additions (http://osaxen.com/index.php?keywords=macosxfolder) that will allow execution of UNIX commands from an applescript. Each has a few other functions to assist...
Posted by acur128, on Aug 3, 2001 at 01:40 AM, in Developer Center
not sure if this will help, but... haven't... 297 Views / 1 Replies  
not sure if this will help, but...
haven't tried setting it up in NetInfo Manager, but setting up the server using Configure: Manually under the Network Time tab of the Date & Time control panel in...
Posted by acur128, on Aug 2, 2001 at 01:58 AM, in Mac OS X
applescript should be able to handle any basic... 420 Views / 17 Replies  
applescript should be able to handle any basic math function (+,-,/,*,^ (powers)) no matter the complexity of the string without a third party scripting addition so long as the string's set...
Posted by acur128, on Aug 2, 2001 at 01:37 AM, in Developer Center
another option - if you don't mind using the... 597 Views / 2 Replies  
another option - if you don't mind using the Terminal, is to open up the Terminal application & enter the following at the command prompt:

ln -s '/Desktop Folder' 'Desktop (Mac OS 9)'

including...
Posted by acur128, on Aug 1, 2001 at 03:39 PM, in Mac OS X
adding quotes to the new name should do it: ... 3,615 Views / 7 Replies  
adding quotes to the new name should do it:

find *.jpg -exec mv {} 'web_{}' \;

if you want to confirm each change, (& see what the result will be), try:

find *.jpg -ok mv {} 'web_{}' \;
...
Posted by acur128, on Jul 25, 2001 at 01:34 PM, in Mac OS X
I think this link... 336 Views / 3 Replies  
I think this link (http://www.ResExcellence.com/11-10-98.shtml) from the ResExcellence archives has the script you're looking for. The script can just be pasted into a new script window in "Script...
Posted by acur128, on Jul 20, 2001 at 07:05 PM, in Developer Center
In standard applescript (without scripting... 1,043 Views / 2 Replies  
In standard applescript (without scripting additions), just like in Classic Mac OS, only the Finder can delete items - & only by moving them to the trash first & then emptying the trash. However, if...
Posted by acur128, on Jul 15, 2001 at 08:32 AM, in Developer Center
Here's an example that will create a new text... 471 Views / 2 Replies  
Here's an example that will create a new text file with creator type "TBB6" on the desktop... as far as I know, the month still has to be coerced into a number (the result of (month of (current...
Posted by acur128, on Jul 12, 2001 at 08:37 AM, in Developer Center
As sure as I can be... they work for me with OS X... 1,317 Views / 4 Replies  
As sure as I can be... they work for me with OS X 10.0.4, Applescript 1.6.
But they'd only work in OS X Script Editor & OS X Applets (not Classic), since the domain stuff comes from the OS X...
Posted by acur128, on Jul 12, 2001 at 07:37 AM, in Developer Center
OS X uses "domains" to distinguish the various... 1,317 Views / 4 Replies  
OS X uses "domains" to distinguish the various /Library folders... (system domain, local domain, network domain or user domain)
It seems to work fairly well. To get the name of the current user,...
Posted by acur128, on Jul 11, 2001 at 10:13 PM, in Developer Center
From what I can tell, & I could be missing... 698 Views / 11 Replies  
From what I can tell, & I could be missing something also, that app has no editing component... seems you can just import images from the File menu-&gt;Import Image menu selection or drag the image file...
Posted by acur128, on Jun 30, 2001 at 03:59 AM, in Developer Center
as far as applescript goes, you could use a... 501 Views / 10 Replies  
as far as applescript goes, you could use a scripting addition like OSX Power Additions (http://osaxen.com/?id=aeshell) to get the result of shell commands from within the script. With the scriptin...
Posted by acur128, on Jun 26, 2001 at 04:42 PM, in Mac OS X
seems to work here... sounds like you're missing... 331 Views / 2 Replies  
seems to work here... sounds like you're missing the dictionary component of your language-specific resources in mail.app. The dictionary is in a file called "Message.scriptTerminology" in the...
Posted by acur128, on Jun 24, 2001 at 05:07 AM, in Developer Center
Just a thought on the mail.app thing... the... 335 Views / 4 Replies  
Just a thought on the mail.app thing... the mac.com IMAP accounts seem to get set up to store messages on the server & cache them locally - whenever I downloaded messages from my mac.com account from...
Posted by acur128, on Jun 15, 2001 at 08:28 PM, in Mac OS X
I think the program you're looking for is... 602 Views / 3 Replies  
I think the program you're looking for is WindowBlinds (http://www.windowblinds.net/) from Stardock. It's one of several Win enhancements from Stardock, and part of their Object Desktop package. ...
Posted by acur128, on Jun 12, 2001 at 11:41 PM, in Classic Macs and Mac OS
i guess i'm not really sure exactly what you're... 479 Views / 1 Replies  
i guess i'm not really sure exactly what you're looking for, but hopefully this scriptlet will give some ideas:<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><pre><font...
Posted by acur128, on Jun 10, 2001 at 10:42 PM, in Developer Center
indeed, was just about to edit that last post...... 1,162 Views / 7 Replies  
indeed, was just about to edit that last post... getting a little late it is...
i guess i don't know... but maybe try pasting the fragment in my first post to script editor, changing the path...
Posted by acur128, on May 28, 2001 at 03:53 AM, in Developer Center
hmmm... what kind of error(s) are you getting? ... 1,162 Views / 7 Replies  
hmmm... what kind of error(s) are you getting? and how many (and what type) of strings? The first example should work for text or any type of strings, but not lists or records...
acur
Posted by acur128, on May 28, 2001 at 03:44 AM, in Developer Center
how are you transferring the data... in strings... 1,162 Views / 7 Replies  
how are you transferring the data... in strings generated in the script, or directly from another file's data?
if you're using strings, then the & return & should work fine... otherwise, you might...
Posted by acur128, on May 28, 2001 at 03:33 AM, in Developer Center
maybe try something like this: set file_Data... 1,162 Views / 7 Replies  
maybe try something like this:

set file_Data to open for access alias "MyDisk:MyFolder:MyFile" with write permission
write return & "text" & return & "more text" to file_Data starting at eof...
Posted by acur128, on May 28, 2001 at 02:13 AM, in Developer Center
Navigate in the Finder to the "Mail" app in the... 286 Views / 1 Replies  
Navigate in the Finder to the "Mail" app in the "Applications" folder (/Applications/Mail.app), and control-click on its icon. From the resulting contextual menu, select "Show Package Contents";...
Posted by acur128, on May 24, 2001 at 07:16 AM, in Mac OS X
maybe see if this one works out any better for... 403 Views / 5 Replies  
maybe see if this one works out any better for you... takes a different approach to the issues you mentioned, and a few other tasks were cleaned up.
btw, make sure you change all the folder & file...
Posted by acur128, on May 23, 2001 at 05:40 AM, in Developer Center
like docwest says, it does sound like the generic... 461 Views / 23 Replies  
like docwest says, it does sound like the generic app icon... most often caused by a messed up desktop db. if you haven't already, you may want to, as reader50 pointed out, try a desktop rebuild...
Posted by acur128, on May 23, 2001 at 12:18 AM, in Classic Macs and Mac OS
Steph, Sorry for the delay... just saw your... 403 Views / 5 Replies  
Steph,
Sorry for the delay... just saw your last post - i check these boards somewhat regularly (at least lately), but this particular forum is so slow sometimes that i miss stuff.
As for some good...
Posted by acur128, on May 22, 2001 at 10:46 PM, in Developer Center
Hmmm... so from what I know of the energy saver... 488 Views / 7 Replies  
Hmmm... so from what I know of the energy saver setup, there's the "EnergySaver.preference" file in /System/Library/Preferences - this is the file that the command line stuff above would replace... &...
Posted by acur128, on May 22, 2001 at 04:08 PM, in Mac OS X
sounds peculiar... anything in the extensions... 440 Views / 2 Replies  
sounds peculiar... anything in the extensions (disabled) folder or control panels (disabled)? if not, i'd suggest firing up extensions manager (or conflict catcher), but i guess that's mia as well -...
Posted by acur128, on May 22, 2001 at 06:14 AM, in Classic Macs and Mac OS
This should get the preference file back: Mount... 488 Views / 7 Replies  
This should get the preference file back:
Mount the Mac OS X Install CD, open Terminal.app, and at the command prompt type:
sudo gunzip -c '/Volumes/Mac OS X Install...
Posted by acur128, on May 22, 2001 at 04:55 AM, in Mac OS X
a few more thoughts... seems like classic won't... 317 Views / 9 Replies  
a few more thoughts...
seems like classic won't even get off the blocks if the classic extensions are missing - so probably no problem there.
saw a post with similar symptoms that was fixed by...
Posted by acur128, on May 21, 2001 at 10:06 AM, in Mac OS X
Maybe no real suggestions, but a couple of... 317 Views / 9 Replies  
Maybe no real suggestions, but a couple of thoughts/questions:
Is this just a problem with Classic - does OS 9.1 by itself start with all your usual extensions, and what are the symptoms when it...
Posted by acur128, on May 21, 2001 at 07:24 AM, in Mac OS X
Resorcerer info is here:... 346 Views / 6 Replies  
Resorcerer info is here: http://www.mathemaesthetics.com/ResorcererInfo.html

Not sure if it's ready for prime time yet - could try the demo, but no save option. I'd try ResEdit in classic/OS 9...
Posted by acur128, on May 21, 2001 at 06:38 AM, in Mac OS X
yeah... the Finder wants no part of invisible... 311 Views / 3 Replies  
yeah... the Finder wants no part of invisible files and folders in a script - just doesn't seem to know what to do with them. luckily, there are a couple of scripting additions that are a little...
Posted by acur128, on May 20, 2001 at 02:52 AM, in Developer Center
ok... so i don't know if this falls under the... 280 Views / 2 Replies  
ok... so i don't know if this falls under the ambiguity or something else category, but here goes...
as near as i can tell, the usual channels don't appear to have any better implementations of...
Posted by acur128, on May 20, 2001 at 01:11 AM, in Developer Center
Showing results 1 to 50 of 68
 
Top
Privacy Policy
All times are GMT -4. The time now is 11:54 AM.
All contents of these forums © 1995-2015 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2015, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2