Applescript:Box
Im having a problem with getting some applescript to work.
I placed a text field in a box (nsbox) and i'm trying to populate it from a popup button, but I can't seem to get it to work
I have window 1 as the parent of all the commands below it, so I would just need a tell for the box and then set the contents
of the text field?
I have
Tell Window 1
---code that works--
Tell box "info"
set the contents of text field
end tell
end tell
am I referencing the box the wrong way? (it compiles)
Figured it out it was right just on the wrong pop up
Similar Messages
-
Trying to create a "Combine PDF" that also has a "save as" dialog box
I am able to get the Combine PDF to work but it just saves them as randomly named files on the desktop that I then need to rename manually. Is there some way to make a "save as" dialog box pop up after combining the files? So if I had a bunch of PDFs it would go:
Right Click on selected files > Automator > Combine PDF > Save As
Is this possible?Set up you worflow as:
Get Selected Finder Items
Combine PDF Pages
Open Images in Preview
Run Applescript
+copy this into the Applescript box+
tell app "System Events"
keystroke "s" using {command down, shift down}
keystroke "d" using {command down}
end tell
I also like to add a Sort Finder Items after the Get Selected Finder Items. -
Getting Automator or AppleScript to start up QuickTime and play a radio sta
I am new to Automator and have never tried AppleScript.
I would like my Mac to start up and play a radio station. I have been successful in getting the link to work in QuickTime or play directly in Safari. However, when I try to use Automator to start QuickTime and play the link, uh, nothing happens. When I save the workflow to the desktop and click on it, it opens up Automator.
I would have expected that running the workflow would open up QuickTime and then load the link and play it.
I am missing something here and getting frustrated with the documentation.
I could use AppleScript, but know nothing about it and have not been able to find a already made AppleScript online.When I save the workflow to the desktop and click on it, it opens up Automator.
It would appear that you're saving the workflow as a workflow rather than saving it as an application. In Automator's Save dialog, look for the File Format drop-down and select Application instead.
Beyond that, without knowing the stream's URL or the stream's referring web page it would be difficult to say with certainty what the best approach might be. If you could post the URL that would help. A few questions that come to mind: Is the radio station a live streaming AM or FM station? A podcast? What file format is used? Does a .qtl file or some other file get downloaded to your desktop when you click on the "listen live" link from the referring radio station's web page?
For example, when I click on "Click to listen with Quicktime" at kgoam810.com a listenlive.qtl file is downloaded to my desktop. In this case the Automator workflow would be easy to set up, using these two Finder library actions:
1) *Get Specified Finder Items* -- click on the "+" sign, navigate to the listenlive.qtl file and select it.
2) *Open Finder Items* -- set it to open with the default application.
Save the workflow as an application and add to your Login Items.
If no file is downloaded and you have only the stream's URL, you may be able to cobble together a workflow which makes use of a GUI type applescript. I've had success using the following actions:
1) *Get Specified Text* -- from Automator's TextEdit library. Simply type in or paste the URL into the text box.
2) *Copy to Clipboard* -- from Automator's System library.
3) *Run AppleScript* -- from the Automator library. The script shown below has worked for me. Copy the code and paste it into the Run AppleScript box, overwriting what's pre-populated there:
*on run {input, parameters}*
*tell application "QuickTime Player"*
activate
*tell application "System Events"*
*tell process "QuickTime Player"*
*keystroke "u" using command down*
*keystroke "v" using command down*
*delay 1*
*keystroke return*
*end tell*
*end tell*
*end tell*
*return input*
*end run*
Compile the script by clicking on the hammer icon in the Run AppleScript box and save the workflow as an application. Add it to your Login Items.
Note that as a GUI applescript is being used here, you should have "Enable access for assistive devices" checked under System Preferences > Universal Access. Also, under the QuickTime Player's Preferences > Other, make sure that "Show Content Guide automatically" is unchecked.
Your mileage may vary... Good luck!
Andrew99 -
(re)Enable iCalendar ability to execute AppleScript
Hi there fellow early adopters of ML (i'm talking to those who wait the final release and never installed ML DP).
I were using tons of AppleScript with Calendar ability to run script. Is there any way to recover this ability in Mountain Lion ?
Thanks,I got the answer, and it was simpler than I thought. Here's a solution that works for me:
In Automator, create a Calendar Alarm
Select Utilities from the library pane
Select & drag Run AppleScript into the workflow area
Copy/paste the AppleScript into the Run AppleScript box
Save the newly created Calendar Alarm
Open Calendar.app, create a new event
Select the Automator calendar as your reference calendar
Select Open File for the alert, and select the file you created in Automator. By default, iCal is the file that comes up when you select Open File. Change that to the name of the Automator app you created. Select Other if the file name isn't shown.
I've attached screen shots, just in case the instructions are a bit vague. Let me know if this works for you. -
My ichat video chat isnt working. the green light will come but there is no invatation
hi
i need help!Hi,
In the iChat Preferences (iChat menu > Preferences > Alerts) you can set a Global Auto Accept (or Decline)
You change the top Down down to be the Invite to be accepted.
You tick the AppleScripts box and then select the Auto Accept in the drop down (my pic shows other Scripts I use)
You can set any Alert for one Buddy only ("Against a Buddy" as I phrased it earlier)
Highlight a Buddy then do the Get Info keystrokes (CMD + i keys together)
Select Alerts in the panel that appears.
I was asking the Original Poster if they had these set as I cannot think why the green Light would come on but not show the Invite without this set.
The Light does tend to come on as the Invite arrives so it is not the only criteria to look for.
MacBook Pro 4 days old probably mean iChat 6
This means that for any AIM Valid Login it will use port 443
This port is also used by web Browsers for Secure site (Like Logging in here an Apple Discussions) and by some Mail Servers.
It is below the threshold port of 1024 which means it will be open in your routing device.
The iChat Connection Process works across several ports.
The Invite is sent on port 5678 (you can send stuff out through the Mac Firewall and the router without opening ports specifically for this)
iChat then moves to port 16402 as first choice to send an SIP (Session Initiation Protocol) invite to the IP the Visible part of the invite went to.
It is the Buddy's "Reply" (the SIP part) to this that needs to get through your router and to your iChat.
So... First check the System Preferences > Security > Firewall
If On then go to the Advanced Button (You may need to unlock the Padlock)
In this bit you need to have the "Allow Signed Software" to be enabled and for iChat to be in the list.
DO NOT enable the Stealth option (It Blocks Pings and iChat sends Pings).
IMAgent is likely to be added by the System when it is needed (it helps iChat and Face Time)
The next step is to check ichat is allowed through your router.
It will be easier if you tells us the Make and Model you are using.
If you know how to access it in a Web Browser you could make sure it is doing UPnP (Universal Plug and Play)
8:08 PM Tuesday; January 3, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
I have been trying to figure this out for some time now. Some of my buddies in Aim and Bonjour have everything greyed out except the option to send a text message. As soon as I send a text message, then the other options immediately appear (audio, video, screen sharing). This happens with the same buddies every day. They are all fellow mac users with 10.5.6. I appreciate any help and advice. Thanks!
Hi,
Can you check those same settings when iChat is not showing the Video or Audio Statuses ? (i.e do it both when it works normally and when the symptom shows).
In iChat menu > Preferences > Alerts if you check all the options in th e top drop down (The Actions) do any have the AppleScript box further down ticked ?
If so do you know what AppleScript runs ?
It would be possible to do this with an AppleScript and most likely form what you say it is triggered by an iChat Action.
Also have you tried running the Combo versions of the OS level you are at ?
The List is here
"Doing the Combo" often fixes oddities like this if we can not prove a setting of some kind is involved.
7:16 PM Friday; March 13, 2009 -
Create a Skype Video Call button on the desktop in Snow Leopard
Hi There,
I'm having trouble working out how to create a script that will allow my 70+ year old mother in law make a video call in Skype from a button on the desktop.
I found a discussion from 2007 on the forums but the steps don't seem to apply to the Snow Leopard version of Automator.
Any suggestions would be most welcome.
CheersOK, have done some digging around and have come up with an Automator workflow that will not only start a video chat, but will speak to my mother in law so that during pauses (like when Skype starts up) she knows what's going on.
There is practically no info online about how to do this so these instructions are for my reference just incase I forget - but others may find it useful.
It looks like a lot of work but in reality it only took me 5mins to put together (I promise) and just makes it easier for people who have limited computer experience to call you.
This works in both Leopard and Snow Leopard and may work in older versions too.
1. Open Automator
Open Automator at: /Applications/Automator
The Automator starting point window will appear
If you're using Leopard, choose "Custom" and and click the "Choose" button in the bottom right
If you're using Snow Leopard, choose "Workflow" and click the "Choose" button in the bottom right
Now you will have a blank workflow document open
2. Create the Automator workflow
In the Workflow document window, ensure the "Library" icon in the first list on the far left is selected so all variables are available
Just above the lists you'll see a little search box, type "hide" into it
The list will now show the "Hide All Applications" variable
Click and drag the variable from the list and drop it into the main workflow section on the right
Type "launch" into the search box and drag the "Launch Application" variable onto the workflow so it is under "Hide All Applications"
Select "Skype" from the application drop-down menu
Type "get text" into the search box and drag "Get Specified Text" into the workflow so it's under "Launch Application"
Type "Now starting Skype, please wait a few moments." into the text box
Type "speak" in the search box and drag "Speak Text" into the workflow under "Get Specified Text"
Leave the voice on the default text of "Alex" - he's the easiest to understand bar far
Type "pause" into the search box and drag "Pause" into the workflow under "Speak Text"
Set it for 5 seconds. This will allow Skype time to sign-in. Depending on your connection speed, you may need to make it longer
Shift click on the previous "Get Specified Text" & "Speak Text" variables in the workflow area
Both should now have blue borders around them
Hold down the option key and drag both items to duplicate them and drop them under the "Pause" variable
Now you should have a copy of the "Get Specified Text" & "Speak Text" variables under the "Pause" variable
If not, just manually add both items again by searching and dragging the variables into the workflow pane one by one as per above
Replace the text in the new "Get Specified Text" box to: "Now checking to see if <name> is online"
Where <name> is the person you would like to contact and removing the - I just used the first name
Option drag the previous "Pause" variable above and drag it so it's under the last "Speak Text" variable
Leave it at 5 seconds. Again, you may need to allow more time depending on your connection speed
Type "run applescript" into the search box and drag "Run Applescript" so it's under the last "Pause" variable
Now you should have an AppleScript window that will show some placeholder AppleScript
3. Inserting the AppleScript
Select and delete the placeholder AppleScript
Copy the following script and paste it into the AppleScript box
SkypeCall("<skypeUserName>")
on SkypeCall(login)
set AppleScript's text item delimiters to " "
tell application "Skype"
set foo to send command "GET USER " & login & " ONLINESTATUS" script name "MyScript"
set UserStatus to my GetPart(foo, 4, " ")
if UserStatus is "ONLINE" then
say "<skypeUserName> is online, calling her now."
send command "CALL " & login script name "MyScript"
else
say "<skypeUserName> is not online at the moment. Maybe try again later."
end if
end tell
end SkypeCall
on GetPart(s, p, d)
set theList to every text item of s
return (item p of theList)
end GetPart
4. Insert the Skype username of the person you would like to call into the script
In the AppleScript box, locate ("<skypeUserName>") on the first line
Change <skypeUserName> to the username of the person you would like to call removing the
e.g. if the Skype username is johnbrown2, the first line of the script should look like:
SkypeCall("johnbrown2")
Do this in the two other places further down the script - remember to remove the when doing so
These other two ares in the script tell the caller if the person is online or not
5. Making the workflow a button on the desktop
In Automator, choose >File >Save As
Give your workflow a name like "Call John"
Select "Application" from the "File Format" drop-down list
Save it to your desktop
NOTE: If you need to edit the workflow, you'll have to open it from Automater using >File >Open as double clicking it from the desktop will now run the workflow and call the person.
6. Turning on Speech
Because the older generation expect this to work like a telephone (and work instantly), I turned on Speech so the script tells them what is going on during the pauses in the script.
Go to "System Preferences" from the Apple menu top left
Click the "Speech" icon
Click the "Speech Recognition" tab/button at the top if it isn't already selected
Click the "On" radio button
If this is the first time using Speech, you'll get a window asking you to enable access for assistive devices
There should be a button to take you to the appropriate preference pane
If not, just go to the "Universal Access" pane in System Preferences
Once there (either way) check the "Enable access for assistive devices" box bottom left
Back in the "Speech" preference pane", under the On/Off radio buttons, click the "Commands" tab/button
Turn off all the check boxes except "Application Specific Items"
Close System Preferences
NOTE: Obviously if you use text to speech normally, leave these last settings alone and just ensure "Application Specific Items" is on (It's on by default normally).
7. Hiding the Speech Microphone icon
If you've done everything correctly, you will now have a big round microphone icon showing that can't be hidden
I dragged mine to the bottom left corner and then further so all you can see is a little bit of the top right corner
If anyone has a better way of disabling or hiding this big icon, sing out!
8. Running the workflow and making a call
Now double click your icon and the workflow will run. The script will check to see if the Skype user is online, if they're not, the script will tell them and stop running.
If they are online, the worflow will start a video chat as long as you have "Start my video automatically" selected in your Skype preferences under "Video"
Special thanks to SIMO HUOPIO ESPOO in Finland for the script I found on his blog here: http://huopio.fi/simo/blog/2009/03/learnin...ling-skype.html
If you don't want the workflow to talk, don't turn on Speech in steps 6 & 7... -
IMac Security when Video chatting
Hi - I also posted this under the "iChat" forum, so I apologize for the double post; however, I think this question is more appropriate here.
I was video chatting with iChat last night and after I quit the program and put the computer to sleep, I woke up this morning to see the "file/disk sharing" window open on my desktop this morning - presumably asking me if I wanted to share my disk. I closed out the window (and shut down the computer) - but it had me thinking: I have to authorize file/disk sharing via iChat even if I'm already video chatting with the person who wants access.
I write to ask if this is correct. If so, does anyone have an idea why this window could have popped up? I'm on a WPA-secure network + running Norton Anti-Virus setup to detect phishers (although I did not have the Information Guard feature enabled in the firewall suite).
Thanks -In iChat Preferences > Alerts it is possible to set Accept Automatically Files sent to you.
In the top drop down select "Incoming File Transfer near the Bottom
In the AppleScript box place a tick
Select Auto Accept in the option drop down.
This can of course be turned Off/Deselected if required.
It give no access it just accepts any file sent to you without asking.
The File Transfer window will open if closed.
10:19 PM Wednesday; June 24, 2009 -
What do you do if your videochat is not working?
What do you do if your videochat only works on people who r not available?
Hi NattG,
That was perfectly clear and was one of the things I considered that you meant the first time.
However it is the oddest thing I have heard about an iChat Status and Capabilities I have heard of in a long time.
It may be possible to create this effect with AppleScript.
If you go to the iChat Preferences > Alerts can you change the top item to Buddy Becomes Available ?
I have ticked the AppleScript Box but then not selected any AppleScript in the picture above.
Does yours say anything at that point ?
(I tried changing my iChat 4 version to Auto Decline but it did not effect the Video icons of Buddies.)
I am wondering if you have an additional Script listed/Available there ? (i.e Not one of the Apple standard ones)
My Pic shows the Chax Add-on Preference icon.
Do you have this add-on ?
It can have additional options in that it can be set to Auto Accept from Certain Buddies.
Now my version for my iChat does not effect the Video Status icon for Available Buddies but I am wondering if you are running Chax for iChat 5 on iChat 6 and seeing some weirdness.
Does your own Video Icon disappear when you change from Away to Available ?
I would be hard pressed to think of other ways that this could be achieved, whether Inside or outside of iChat.
For that reason I am reluctant to suggest deleting any of the iChat .plists at the moment.
Could you also confirm which iChat version and OS version you are using ?
8:33 PM Sunday; September 4, 2011
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb( 10.6.8)
Mac OS X (10.6.8),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
Block incoming messages without blocking users?
Is there a way to block incoming messages on iChat (so that no conversation bubbles pop up) but not block users or appear invisible? I'd to have my away message visible to everyone, but not have messages pop up.
Hi,
You can turn On Auto Decline.
Go to iChat > Preferences > Alerts
Select Text Invitation in the top drop down
Tick the AppleScript Box
Select Auto Decline form the AppleScript drop down.
Chax lets you reply with specific auto Away messages.
In iChat you can Auto Reply with the Away message (Set in the General Section)
But these will not be sent if the first setting is chosen as the invite will be declined.
9:49 PM Tuesday; May 4, 2010
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat" -
Strange behavior for iCal alarms
To run an AppleScript from an iCal alarm you do the following:
In Automator, create a Calendar Alarm
Select Utilities from the library pane
Select & drag Run AppleScript into the workflow area
Copy/paste an AppleScript into the Run AppleScript box
Save the newly created Calendar Alarm with name (e.g. ArchNew)
This will open the Automator Calendar in iCal
Edit the Date/Time/Repeat/...... as you want as shown in the example below
The resulting AppleScript will be stored here
/Users/<user_acct>/Library/Workflows/Applications/Calendar/ArchNew.app
Now the problem
If at a later time you want to modify the AppleScript ArchNew.app using the AppleScript Editor, it will break the binding between the iCal alarm and the AppleScript ArchNew.app
The only way I've been able to do this is delete the file
/Users/<user_acct>/Library/Workflows/Applications/Calendar/ArchNew.app
and then go back to #1 above and repeat the whole process with the modified AppleScript.
Does anyone know why the simple approach of directly editing and saving the changes to the AppleScript ArchNew.app doesn't work?You still haven't provided your 4 digit Oracle version or the TABLE and INDEX DDL.
Your 'problem' could be nothing more than DEFERRED SEGMENT creation where Oracle doesn't allocate space until the first data is added for that segment.
See 'Understanding Deferred Segment Creation' in the DBA Guide
http://docs.oracle.com/cd/E11882_01/server.112/e25494/tables002.htm#CHDGJAGB
>
Understand Deferred Segment Creation
Beginning with Oracle Database 11g Release 2, when you create heap-organized tables in a locally managed tablespace, the database defers table segment creation until the first row is inserted.
In addition, segment creation is deferred for any LOB columns of the table, any indexes created implicitly as part of table creation, and any indexes subsequently explicitly created on the table.
Note:
In Release 11.2.0.1, deferred segment creation is not supported for partitioned tables. This restriction is removed in release 11.2.0.2 and later.
>
That is why it is MANDATORY that posters provide their 4 digit Oracle versions. There are too many features that depend on the version being used. -
Is it possible using Applescript to place a PDF as a link at a crop bounds other than Art Box?
I've spent countless hours trying to have an applescript place a PDF as an Illustrator Link at the PDF's Media Box using "make new placed item". The only result possible as far as I can tell is a link at the PDF's Art Box.
I've seached around and have seen others with the same issue, but no answers as to whether it is actually possible. As with most Applescript stuff, I am either way overthinking it or it is not possible directly.
Currently I have a workaround using an Applescript script controlling Acrobat to sidestep the problem by setting the Art and Crop box to Media box, then place as a link in Illustrator, but it is not a direct route into illustrator.
I have also noticed that in the "Adobe Illustrator CS5 Scripting Reference" that the "PDF options object properties" do not honor the PDF crop bounds (except for the default value of Media Box). Is this an inherent problem with Applescript/Illustrator and PDF crop boxes? Could it be that the options for Open PDF and Place PDF are crossed?
Thanks for any input on this, It has actually been a problem I could not get past for years.
NateThe AppleScript Dictionary says the same as the OMV and Jongs helper… CropToBox for placing & pageToOpen for opening… For me a misleading doc mistake… And forgiven for the fact that it should dammed well be there in the first place…
Properties
Property
Type
Access
Description
pDFCropToBox
PDFBoxType:
PDFBoxType.PDFARTBOX
PDFBoxType.PDFCROPBOX
PDFBoxType.PDFTRIMBOX
PDFBoxType.PDFBLEEDBOX
PDFBoxType.PDFMEDIABOX
PDFBoxType.PDFBOUNDINGBOX
r/w
What box should be used when placing a multipage document (default: PDF media box)
pageToOpen
int
r/w
What page should be used when opening a multipage document (default: 1)
parent
Object
readonly
The object's container.
typename
string
readonly
The class name of the object.
Isn't it cool that those can just be C&P into here… Thanks Jong… -
Sending an email via AppleScript and Dialogue Boxes
I am trying to write a script to send an email via Mail of which the body of the message is from a dialogue box. I decided upon using Automator and AppleScript. I have, so far, the following workflow:
1. Run Apple Script:
set mypass to text returned of (display dialog "What are you doing?" with icon 1 buttons {"Tweet", "Cancel"} default button "Tweet" default answer "")
2. New Mail Message.
3. Send Outgoing Messages.
4. Run Apple Script:
on run {input, parameters}
tell application "System Events" to set visible of process "Mail" to false
return input
end run
I wand this workflow to allow the user to input an answer and this answer to be in the message field of the email. I can use the "Ask for Text" action in Automator but it does not allow for any control over the appearance of the dialogue box. The first script returns the result "<whatever is typed>" (ie. "Test") in the Results field below the script box, as does the "Ask for Text" action but it does not insert it into the message. Does anyone know what is going wrong here?
I am relatively new to AppleScript which is why I am using Automator but would like any information on how this could be done entirely in AppleScript. My previous attempts at sending email using script was unsuccessful.
My aim is to save this as an Application with a proper icon.see my reply to your post in the snow leopard forum.
http://discussions.apple.com/thread.jspa?messageID=10318297� -
Applescript to open the Choose Folder dialog box and close the message after moving it
I've been trying to figure out how to get the same functionality as the Windows version of Outlook has so that the open message gets closed when it's moved to another folder.
It seems pretty simple to move a message to a pre-defined folder, but I can't find a way to open the Choose Folder dialog so I could choose the destination folder. I've looked through the dictionary, but couldn't find any direct way to activate the Choose Folder dialog. So I decided to use keystrokes for the job. Here's what I came up with:
on run {}
tell application "Microsoft Outlook"
try
set theMessage to first item of (get current messages)
set folderID to the folder of theMessage
on error errMsg number errNum
set dialogReply to display dialog "Please select one or more messages to file away before running this script." buttons {"Abort"} default button 1
return
end try
-- open the Choose Folder dialog
tell application "System Events" to keystroke "m" using {command down, shift down}
repeat
delay 2
set currentID to the folder of theMessage
if currentID is not folderID then exit repeat
end repeat
-- Close the active message
tell application "System Events" to keystroke "w" using command down
end tell
end run
This is my first attempt to do anything with AppleScript..
Now in addition to using keystrokes instead of Outlook built-in commands to open the Choose Folder dialog and to close the message, I also have another problem. Everytime I run the script from AppleScript Editor, everything runs fine, the message gets moved to the folder I choose and the message also gets closed. When I move the script to "~/Library/Application Support/Microsoft/Office/Outlook Script Menu Items" and start it from inside Outlook, Outlook gets stuck after opening the Choose Folder dialog and I have to force quit Outlook. I added some debuggin to the script and found out that the script keeps running, but I'm unable to select the folder from Outlook and cannot continue.
Anybody have an idea why this is happening?
Regard,
Kris(For the record)
Unchecking "Submit crash reports" in the Firefox [[Options window - Advanced panel]] General tab simply toggles the default of the "Tell Mozilla about this crash so they can fix it" check box in the Mozilla Crash Reporter dialog (upon crash). It does not turn off the Crash Reporter itself.
Related bug report:
* [https://bugzilla.mozilla.org/show_bug.cgi?id=577221 Bug 577221 - Firefox doesn't remember "submit crash report" check box]
The above information has been added to
http://kb.mozillazine.org/Breakpad#Can_I_disable_Crash_Reporter.3F -
Creating a Save As dialog box with Applescript for Excel 2008
This is going to be part of a larger script. I'm trying to figure out how to make the default save location to where the file opened from and the default file name to the current filename in the dialog box.
Here is what I go so far...
tell application "Microsoft Excel"
tell active workbook
set myFile to choose file name with prompt "Save file as:"
end tell
end tell
I'm very new with working with Applescript, so at this point I have been piecing together code snippets.
Any help would be great and thank youThe choose file name command supports a default location parameter that tells it where to open the dialog:
set myFile to choose file name with prompt "Save file as:" default location (alias "Macintosh HD:Users:username:foldername:")
So you need to look at the Excel dictionary to determine the path to the current file and insert it into the script. Every version of Excel has slightly different dictionaries so the version you're running is critical to getting the right syntax.
Maybe you are looking for
-
How to create a job card and how to add waranty card in sales order
I have one scenario for CS.the scenario is realted to automotive industry. Basically its a trading industry of HCV,MCV,LCV apart from that they will do servicing also. First the customer comes for a service.he is having free services. he will have wa
-
4.1 Beats Audio in dv76163cl not working as advertised
I recently purchased the multimedia dv7 6163cl with beats audio, 4 speakers and 1 subwoofer. From the point I purchased the computer, 3 weeks ago to now, the front two speakers have never worked. The sound clarity is great as is with the rear speaker
-
CHAR_COL_DECL_LENGTH in ALL_TAB_COLUMNS
Hello, Recently I've upgraded characterset of database to UTF8 and set NLS_LENGTH_SEMANTICS to CHAR. I'm creating a sample table create table sample4 (name1 char(1000), name2 char(2000), name3 varchar2(3000), name4 varchar2(4000) But the output in th
-
Hi What is the use of Holdback/Retainage indicator while defining a payment term Yogesh
-
Just updated my safari to 5.1 on my pc now no web pages will open
just updated my safari to 5.1 on my pc now no web pages will open